HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: /home/u547966/brikov.ru/www/wp-content/plugins/wp-media-folder/class/pages/gallery.php
<div class="content-box usegellery content-wpmf-gallery">
    <div class="box-usegellery" style="width: 100%;float: left;">
        <label class="title" style="float: left;"><?php _e('Gallery feature', 'wpmf'); ?></label>
        <input type="checkbox" class="btngallery cb_option" data-label="wpmf_usegellery" <?php if (isset($usegellery) && $usegellery == 1) echo 'checked' ?>>
        <label style="float: left;"><?php _e('Enable the gallery feature', 'wpmf'); ?></label>
        <input type="hidden" name="wpmf_usegellery" value="<?php echo $usegellery; ?>">
    </div>
    <p style="float: left;margin-left: 10px;" class="description"><?php _e('Enhance the WordPress default gallery system by adding themes and additional parameters in the gallery manager', 'wpmf'); ?></p>

    <div class="box-usegellery" style="width: 100%;float: left;">
        <label class="title" style="float: left;"><?php _e('Lightbox', 'wpmf'); ?></label>
        <input type="checkbox" class="btngallery cb_option" data-label="wpmf_usegellery_lightbox" <?php if (isset($option_usegellery_lightbox) && $option_usegellery_lightbox == 1) echo 'checked' ?>>
        <label style="float: left;"><?php _e('Enable the gallery lightbox feature', 'wpmf'); ?></label>
        <input type="hidden" name="wpmf_usegellery_lightbox" value="<?php echo $option_usegellery_lightbox; ?>">
    </div>
    <p style="float: left;margin-left: 10px;" class="description"><?php _e('Enhance/Disable gallery lightbox', 'wpmf'); ?></p>
</div>

<!--    setting sizes     -->
<div class="content-box wpmf-config-gallery content-wpmf-gallery">
    <div class="box-select">
        <div id="gallery_image_size" class="div_list">
            <ul class="image_size">
                <li class="div_list_child accordion-section control-section control-section-default open">
                    <h3 class="accordion-section-title wpmf-section-title sizes_title" data-title="sizes" tabindex="0"><?php _e('Gallery image sizes available', 'wpmf') ?></h3>
                    <ul class="content_list_sizes">
                        <?php
                        //global $_wp_additional_image_sizes;
                        $sizes = apply_filters('image_size_names_choose', array(
                            'thumbnail' => __('Thumbnail','wpmf'),
                            'medium' => __('Medium','wpmf'),
                            'large' => __('Large','wpmf'),
                            'full' => __('Full Size','wpmf'),
                                ));
                        foreach ($sizes as $key => $size):
                            ?>

                            <li class="customize-control customize-control-select" style="display: list-item;">
                                <input type="checkbox" name="size_value[]" value="<?php echo $key ?>" <?php if (in_array($key, $size_selected)) echo 'checked' ?> >
                                <span><?php echo $size ?></span>
                            </li>
                        <?php endforeach; ?>

                    </ul>
                    <p class="description"><?php _e('Select the image size you can load in galleries. Custom image size available here can be generated by 3rd party plugins', 'wpmf'); ?></p>
                </li>
            </ul>
        </div>

        <!--    setting padding     -->
        <div id="gallery_image_padding" class="div_list">
            <ul class="image_size">
                <li class="div_list_child accordion-section control-section control-section-default open">
                    <h3 class="accordion-section-title wpmf-section-title padding_title" data-title="padding" tabindex="0"><?php _e('Gallery themes settings', 'wpmf') ?></h3>
                    <ul class="content_list_padding">
                        <li class="customize-control customize-control-select" style="display: list-item;">
                            <span><?php _e('Masonry Theme', 'wpmf'); ?></span>
                            <label><?php _e('Space between images (padding)', 'wpmf') ?></label>
                            <input name="padding_gallery[wpmf_padding_masonry]" class="padding_gallery small-text" type="number" min="0" max="30" value="<?php echo $padding_masonry ?>" >
                            <label><?php _e('px', 'wpmf') ?></label>
                        </li>

                        <li class="customize-control customize-control-select" style="display: list-item;">
                            <span><?php _e('Portfolio Theme', 'wpmf'); ?></span>
                            <label><?php _e('Space between images (padding)', 'wpmf') ?></label>
                            <input name="padding_gallery[wpmf_padding_portfolio]" class="padding_gallery small-text" type="number" min="0" max="30" value="<?php echo $padding_portfolio ?>" >
                            <label><?php _e('px', 'wpmf') ?></label>
                        </li>
                    </ul>
                    <p class="description"><?php _e('Determine the space between images', 'wpmf'); ?></p>
                </li>
            </ul>
        </div>
    </div>
</div>

<?php if (defined('NGG_PLUGIN_VERSION')): ?>
    <?php if(current_user_can('manage_options')): ?>
    <div class="content-box content-wpmf-gallery">
        <div class="btnoption">
            <input type="button" id="btn_import_gallery" class="button btn_import_gallery button-primary" value="<?php _e('Sync/Import NextGEN galleries', 'wpmf'); ?>">
            <span class="spinner" style="float: left;display:none"></span>
            <span class="wpmf_info_update"><?php _e('Settings saved.', 'wpmf') ?></span>
        </div>
        <p style="margin-left:10px;" class="description"><?php _e('Import nextGEN albums as image in folders in the media manager. You can then create new galleries from WordPress media manager', 'wpmf'); ?></p>
    </div>
    <?php endif; ?>
<?php endif; ?>