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; ?>