Version Description
- Improved: Updated external libraries.
- Fixed: Security vulnerability.
- Fixed: Broken thumbnail for embed Instagram.
- Fixed: Load more duplicate images if order is random.
- Fixed: Scrollbar with short title in info.
- Fixed: HTML in masonry gallery group description.
Download this release
Release Info
| Developer | 10web |
| Plugin | |
| Version | 1.6.7 |
| Comparing to | |
| See all releases | |
Code changes from version 1.6.6 to 1.6.7
- addons/addons.php +8 -8
- admin/controllers/AddTags.php +1 -1
- admin/controllers/Albums.php +10 -10
- admin/controllers/Albumsgalleries.php +1 -1
- admin/controllers/Galleries.php +13 -13
- admin/controllers/Options.php +44 -23
- admin/controllers/Shortcode.php +10 -10
- admin/controllers/Themes.php +52 -52
- admin/controllers/Uninstall.php +2 -2
- admin/controllers/Widget.php +1 -1
- admin/controllers/WidgetSlideshow.php +17 -17
- admin/controllers/WidgetTags.php +1 -1
- admin/controllers/elementorWidget.php +2 -2
- admin/models/Galleries.php +16 -7
- admin/views/AddTags.php +6 -6
- admin/views/AdminView.php +14 -14
- admin/views/Albums.php +39 -39
- admin/views/Albumsgalleries.php +8 -8
- admin/views/Editimage.php +36 -21
- admin/views/Galleries.php +136 -129
- admin/views/Licensing.php +24 -24
- admin/views/Options.php +1096 -1096
- admin/views/Shortcode.php +73 -73
- admin/views/Themes.php +615 -615
addons/addons.php
CHANGED
|
@@ -3,23 +3,23 @@ function bwg_addons_display() {
|
|
| 3 |
wp_enqueue_style(BWG()->prefix . '_addons');
|
| 4 |
$addons = array(
|
| 5 |
'ngitopg' => array(
|
| 6 |
-
'name' => __('NextGen Gallery Import to Photo Gallery',
|
| 7 |
'url' => 'https://wordpress.org/plugins/import-to-photo-gallery-from-nextgen-gallery/',
|
| 8 |
-
'description' => __('This addon integrates NextGen with Photo Gallery allowing to import images and related data from NextGen to use with Photo Gallery',
|
| 9 |
'icon' => '',
|
| 10 |
'image' => BWG()->plugin_url . '/addons/images/nextgen_gallery.png',
|
| 11 |
),
|
| 12 |
'photo-gallery-export' => array(
|
| 13 |
-
'name' => __('Photo Gallery Export / Import',
|
| 14 |
'url' => BWG()->plugin_link . BWG()->utm_source,
|
| 15 |
-
'description' => __('Photo Gallery Export/Import helps to move created galleries and gallery groups from one site to another. This way you can save the gallery/album options and manual modifications.',
|
| 16 |
'icon' => '',
|
| 17 |
'image' => BWG()->plugin_url . '/addons/images/import_export.png',
|
| 18 |
),
|
| 19 |
'photo-gallery-google-photos' => array(
|
| 20 |
-
'name' => __('Photo Gallery Google Photos Integration',
|
| 21 |
'url' => BWG()->plugin_link . BWG()->utm_source,
|
| 22 |
-
'description' => __('Link and display your Google Photos albums in one click.',
|
| 23 |
'icon' => '',
|
| 24 |
'image' => BWG()->plugin_url . '/addons/images/google-photos.png',
|
| 25 |
),
|
|
@@ -29,7 +29,7 @@ function bwg_addons_display() {
|
|
| 29 |
<h1 class="bwg-head-notice"> </h1>
|
| 30 |
<div id="settings">
|
| 31 |
<div id="settings-content" >
|
| 32 |
-
<h2 id="add_on_title"><?php _e('Photo Gallery Add-ons',
|
| 33 |
<?php
|
| 34 |
if ($addons) {
|
| 35 |
foreach ($addons as $name => $addon) {
|
|
@@ -62,7 +62,7 @@ function bwg_addons_display() {
|
|
| 62 |
<?php
|
| 63 |
if ($addon['url'] !== '#') {
|
| 64 |
?>
|
| 65 |
-
<a href="<?php echo $addon['url']; ?>" target="_blank" class="addon"><span><?php _e('GET THIS ADD ON',
|
| 66 |
<?php
|
| 67 |
}
|
| 68 |
else {
|
| 3 |
wp_enqueue_style(BWG()->prefix . '_addons');
|
| 4 |
$addons = array(
|
| 5 |
'ngitopg' => array(
|
| 6 |
+
'name' => __('NextGen Gallery Import to Photo Gallery', 'photo-gallery'),
|
| 7 |
'url' => 'https://wordpress.org/plugins/import-to-photo-gallery-from-nextgen-gallery/',
|
| 8 |
+
'description' => __('This addon integrates NextGen with Photo Gallery allowing to import images and related data from NextGen to use with Photo Gallery', 'photo-gallery'),
|
| 9 |
'icon' => '',
|
| 10 |
'image' => BWG()->plugin_url . '/addons/images/nextgen_gallery.png',
|
| 11 |
),
|
| 12 |
'photo-gallery-export' => array(
|
| 13 |
+
'name' => __('Photo Gallery Export / Import', 'photo-gallery'),
|
| 14 |
'url' => BWG()->plugin_link . BWG()->utm_source,
|
| 15 |
+
'description' => __('Photo Gallery Export/Import helps to move created galleries and gallery groups from one site to another. This way you can save the gallery/album options and manual modifications.', 'photo-gallery'),
|
| 16 |
'icon' => '',
|
| 17 |
'image' => BWG()->plugin_url . '/addons/images/import_export.png',
|
| 18 |
),
|
| 19 |
'photo-gallery-google-photos' => array(
|
| 20 |
+
'name' => __('Photo Gallery Google Photos Integration', 'photo-gallery'),
|
| 21 |
'url' => BWG()->plugin_link . BWG()->utm_source,
|
| 22 |
+
'description' => __('Link and display your Google Photos albums in one click.', 'photo-gallery'),
|
| 23 |
'icon' => '',
|
| 24 |
'image' => BWG()->plugin_url . '/addons/images/google-photos.png',
|
| 25 |
),
|
| 29 |
<h1 class="bwg-head-notice"> </h1>
|
| 30 |
<div id="settings">
|
| 31 |
<div id="settings-content" >
|
| 32 |
+
<h2 id="add_on_title"><?php _e('Photo Gallery Add-ons', 'photo-gallery'); ?></h2>
|
| 33 |
<?php
|
| 34 |
if ($addons) {
|
| 35 |
foreach ($addons as $name => $addon) {
|
| 62 |
<?php
|
| 63 |
if ($addon['url'] !== '#') {
|
| 64 |
?>
|
| 65 |
+
<a href="<?php echo $addon['url']; ?>" target="_blank" class="addon"><span><?php _e('GET THIS ADD ON', 'photo-gallery'); ?></span></a>
|
| 66 |
<?php
|
| 67 |
}
|
| 68 |
else {
|
admin/controllers/AddTags.php
CHANGED
|
@@ -50,7 +50,7 @@ class AddTagsController_bwg {
|
|
| 50 |
// Set params for view.
|
| 51 |
$params = array();
|
| 52 |
$params['page'] = $this->page;
|
| 53 |
-
$params['page_title'] = __('Tags',
|
| 54 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 55 |
$params['orderby'] = WDWLibrary::get('orderby', 'name');
|
| 56 |
// To prevent SQL injections.
|
| 50 |
// Set params for view.
|
| 51 |
$params = array();
|
| 52 |
$params['page'] = $this->page;
|
| 53 |
+
$params['page_title'] = __('Tags', 'photo-gallery');
|
| 54 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 55 |
$params['orderby'] = WDWLibrary::get('orderby', 'name');
|
| 56 |
// To prevent SQL injections.
|
admin/controllers/Albums.php
CHANGED
|
@@ -35,20 +35,20 @@ class AlbumsController_bwg {
|
|
| 35 |
$this->page = WDWLibrary::get('page');
|
| 36 |
$this->actions = array(
|
| 37 |
'publish' => array(
|
| 38 |
-
'title' => __('Publish',
|
| 39 |
-
$this->bulk_action_name => __('published',
|
| 40 |
),
|
| 41 |
'unpublish' => array(
|
| 42 |
-
'title' => __('Unpublish',
|
| 43 |
-
$this->bulk_action_name => __('unpublished',
|
| 44 |
),
|
| 45 |
'duplicate' => array(
|
| 46 |
-
'title' => __('Duplicate',
|
| 47 |
-
$this->bulk_action_name => __('duplicate',
|
| 48 |
),
|
| 49 |
'delete' => array(
|
| 50 |
-
'title' => __('Delete',
|
| 51 |
-
$this->bulk_action_name => __('deleted',
|
| 52 |
),
|
| 53 |
);
|
| 54 |
$user = get_current_user_id();
|
|
@@ -92,7 +92,7 @@ class AlbumsController_bwg {
|
|
| 92 |
// Set params for view.
|
| 93 |
$params = array();
|
| 94 |
$params['page'] = $this->page;
|
| 95 |
-
$params['page_title'] = __('Gallery Groups',
|
| 96 |
$params['actions'] = $this->actions;
|
| 97 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 98 |
$params['orderby'] = WDWLibrary::get('orderby', '');
|
|
@@ -167,7 +167,7 @@ class AlbumsController_bwg {
|
|
| 167 |
}
|
| 168 |
if ($successfully_updated) {
|
| 169 |
$bulk_action = $this->bulk_action_name;
|
| 170 |
-
$message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $successfully_updated,
|
| 171 |
}
|
| 172 |
$key = ($message === 2 ? 'message' : 'msg');
|
| 173 |
$url_arg[$key] = $message;
|
| 35 |
$this->page = WDWLibrary::get('page');
|
| 36 |
$this->actions = array(
|
| 37 |
'publish' => array(
|
| 38 |
+
'title' => __('Publish', 'photo-gallery'),
|
| 39 |
+
$this->bulk_action_name => __('published', 'photo-gallery'),
|
| 40 |
),
|
| 41 |
'unpublish' => array(
|
| 42 |
+
'title' => __('Unpublish', 'photo-gallery'),
|
| 43 |
+
$this->bulk_action_name => __('unpublished', 'photo-gallery'),
|
| 44 |
),
|
| 45 |
'duplicate' => array(
|
| 46 |
+
'title' => __('Duplicate', 'photo-gallery'),
|
| 47 |
+
$this->bulk_action_name => __('duplicate', 'photo-gallery'),
|
| 48 |
),
|
| 49 |
'delete' => array(
|
| 50 |
+
'title' => __('Delete', 'photo-gallery'),
|
| 51 |
+
$this->bulk_action_name => __('deleted', 'photo-gallery'),
|
| 52 |
),
|
| 53 |
);
|
| 54 |
$user = get_current_user_id();
|
| 92 |
// Set params for view.
|
| 93 |
$params = array();
|
| 94 |
$params['page'] = $this->page;
|
| 95 |
+
$params['page_title'] = __('Gallery Groups', 'photo-gallery');
|
| 96 |
$params['actions'] = $this->actions;
|
| 97 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 98 |
$params['orderby'] = WDWLibrary::get('orderby', '');
|
| 167 |
}
|
| 168 |
if ($successfully_updated) {
|
| 169 |
$bulk_action = $this->bulk_action_name;
|
| 170 |
+
$message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $successfully_updated, 'photo-gallery'), $successfully_updated, $this->actions[$task][$bulk_action]);
|
| 171 |
}
|
| 172 |
$key = ($message === 2 ? 'message' : 'msg');
|
| 173 |
$url_arg[$key] = $message;
|
admin/controllers/Albumsgalleries.php
CHANGED
|
@@ -47,7 +47,7 @@ class AlbumsgalleriesController_bwg {
|
|
| 47 |
*/
|
| 48 |
public function display() {
|
| 49 |
$params = array();
|
| 50 |
-
$params['page_title'] = __('Galleries / Gallery groups',
|
| 51 |
$params['page_url'] = $this->page;
|
| 52 |
$params['album_id'] = WDWLibrary::get('album_id', 0, 'intval');
|
| 53 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 47 |
*/
|
| 48 |
public function display() {
|
| 49 |
$params = array();
|
| 50 |
+
$params['page_title'] = __('Galleries / Gallery groups', 'photo-gallery');
|
| 51 |
$params['page_url'] = $this->page;
|
| 52 |
$params['album_id'] = WDWLibrary::get('album_id', 0, 'intval');
|
| 53 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
admin/controllers/Galleries.php
CHANGED
|
@@ -31,20 +31,20 @@ class GalleriesController_bwg {
|
|
| 31 |
|
| 32 |
$this->actions = array(
|
| 33 |
'publish' => array(
|
| 34 |
-
'title' => __('Publish',
|
| 35 |
-
'bulk_action' => __('published',
|
| 36 |
),
|
| 37 |
'unpublish' => array(
|
| 38 |
-
'title' => __('Unpublish',
|
| 39 |
-
'bulk_action' => __('unpublished',
|
| 40 |
),
|
| 41 |
'duplicate' => array(
|
| 42 |
-
'title' => __('Duplicate',
|
| 43 |
-
'bulk_action' => __('duplicated',
|
| 44 |
),
|
| 45 |
'delete' => array(
|
| 46 |
-
'title' => __('Delete',
|
| 47 |
-
'bulk_action' => __('deleted',
|
| 48 |
),
|
| 49 |
);
|
| 50 |
|
|
@@ -94,7 +94,7 @@ class GalleriesController_bwg {
|
|
| 94 |
// Set params for view.
|
| 95 |
$params = array();
|
| 96 |
$params['page'] = $this->page;
|
| 97 |
-
$params['page_title'] = __('Galleries',
|
| 98 |
$params['actions'] = $this->actions;
|
| 99 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 100 |
$params['orderby'] = WDWLibrary::get('orderby', 'order');
|
|
@@ -175,14 +175,14 @@ class GalleriesController_bwg {
|
|
| 175 |
}
|
| 176 |
}
|
| 177 |
if ( $successfully_updated ) {
|
| 178 |
-
$message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $successfully_updated,
|
| 179 |
}
|
| 180 |
$key = ($message === 2 ? 'message' : 'msg');
|
| 181 |
$url_arg[$key] = $message;
|
| 182 |
}
|
| 183 |
}
|
| 184 |
|
| 185 |
-
|
| 186 |
}
|
| 187 |
|
| 188 |
/**
|
|
@@ -402,9 +402,9 @@ class GalleriesController_bwg {
|
|
| 402 |
$params['pager'] = 0;
|
| 403 |
$params['facebook_embed'] = $this->get_facebook_embed();
|
| 404 |
|
| 405 |
-
$gallery_types = array('' => __('Mixed',
|
| 406 |
if ( has_action('init_display_facebook_gallery_options_bwg') && $id != 0 ) {
|
| 407 |
-
$gallery_types['facebook'] = __('Facebook',
|
| 408 |
}
|
| 409 |
$params['gallery_types'] = apply_filters('bwg_get_gallery_types', $gallery_types);
|
| 410 |
|
| 31 |
|
| 32 |
$this->actions = array(
|
| 33 |
'publish' => array(
|
| 34 |
+
'title' => __('Publish', 'photo-gallery'),
|
| 35 |
+
'bulk_action' => __('published', 'photo-gallery'),
|
| 36 |
),
|
| 37 |
'unpublish' => array(
|
| 38 |
+
'title' => __('Unpublish', 'photo-gallery'),
|
| 39 |
+
'bulk_action' => __('unpublished', 'photo-gallery'),
|
| 40 |
),
|
| 41 |
'duplicate' => array(
|
| 42 |
+
'title' => __('Duplicate', 'photo-gallery'),
|
| 43 |
+
'bulk_action' => __('duplicated', 'photo-gallery'),
|
| 44 |
),
|
| 45 |
'delete' => array(
|
| 46 |
+
'title' => __('Delete', 'photo-gallery'),
|
| 47 |
+
'bulk_action' => __('deleted', 'photo-gallery'),
|
| 48 |
),
|
| 49 |
);
|
| 50 |
|
| 94 |
// Set params for view.
|
| 95 |
$params = array();
|
| 96 |
$params['page'] = $this->page;
|
| 97 |
+
$params['page_title'] = __('Galleries', 'photo-gallery');
|
| 98 |
$params['actions'] = $this->actions;
|
| 99 |
$params['order'] = WDWLibrary::get('order', 'asc');
|
| 100 |
$params['orderby'] = WDWLibrary::get('orderby', 'order');
|
| 175 |
}
|
| 176 |
}
|
| 177 |
if ( $successfully_updated ) {
|
| 178 |
+
$message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $successfully_updated, 'photo-gallery'), $successfully_updated, $this->actions[$task]['bulk_action']);
|
| 179 |
}
|
| 180 |
$key = ($message === 2 ? 'message' : 'msg');
|
| 181 |
$url_arg[$key] = $message;
|
| 182 |
}
|
| 183 |
}
|
| 184 |
|
| 185 |
+
WDWLibrary::redirect(add_query_arg($url_arg, admin_url('admin.php')));
|
| 186 |
}
|
| 187 |
|
| 188 |
/**
|
| 402 |
$params['pager'] = 0;
|
| 403 |
$params['facebook_embed'] = $this->get_facebook_embed();
|
| 404 |
|
| 405 |
+
$gallery_types = array('' => __('Mixed', 'photo-gallery'), 'instagram' => __('Instagram only', 'photo-gallery'));
|
| 406 |
if ( has_action('init_display_facebook_gallery_options_bwg') && $id != 0 ) {
|
| 407 |
+
$gallery_types['facebook'] = __('Facebook', 'photo-gallery');
|
| 408 |
}
|
| 409 |
$params['gallery_types'] = apply_filters('bwg_get_gallery_types', $gallery_types);
|
| 410 |
|
admin/controllers/Options.php
CHANGED
|
@@ -48,23 +48,23 @@ class OptionsController_bwg {
|
|
| 48 |
'monospace' => 'Monospace',
|
| 49 |
'serif' => 'Serif',
|
| 50 |
);
|
| 51 |
-
$params['page_title'] = __('Global Settings',
|
| 52 |
$params['active_tab'] = WDWLibrary::get('active_tab', 0, 'intval');
|
| 53 |
$params['gallery_type'] = WDWLibrary::get('gallery_type', 'thumbnails');
|
| 54 |
$params['album_type'] = WDWLibrary::get('album_type', 'album_compact_preview');
|
| 55 |
$params['gallery_types_name'] = array(
|
| 56 |
-
'thumbnails' => __('Thumbnails',
|
| 57 |
-
'thumbnails_masonry' => __('Masonry',
|
| 58 |
-
'thumbnails_mosaic' => __('Mosaic',
|
| 59 |
-
'slideshow' => __('Slideshow',
|
| 60 |
-
'image_browser' => __('Image Browser',
|
| 61 |
-
'blog_style' => __('Blog Style',
|
| 62 |
-
'carousel' => __('Carousel',
|
| 63 |
);
|
| 64 |
$params['album_types_name'] = array(
|
| 65 |
-
'album_compact_preview' => __('Compact',
|
| 66 |
-
'album_masonry_preview' => __('Masonry',
|
| 67 |
-
'album_extended_preview' => __('Extended',
|
| 68 |
);
|
| 69 |
if (method_exists($this, $task)) {
|
| 70 |
$this->$task($params);
|
|
@@ -129,7 +129,7 @@ class OptionsController_bwg {
|
|
| 129 |
'task' => 'reset_instagram_access_token',
|
| 130 |
BWG()->nonce => wp_create_nonce(BWG()->nonce),
|
| 131 |
), admin_url('admin.php'));
|
| 132 |
-
echo WDWLibrary::message_id(0, __('Default values restored. Changes must be saved.',
|
| 133 |
$this->view->display($params);
|
| 134 |
}
|
| 135 |
|
|
@@ -161,10 +161,10 @@ class OptionsController_bwg {
|
|
| 161 |
$row->images_directory = WDWLibrary::get('images_directory', '', 'sanitize_text_field');
|
| 162 |
if (!is_dir(BWG()->abspath . $row->images_directory) || (is_dir(BWG()->abspath . $row->images_directory . '/photo-gallery') && $row->old_images_directory && $row->old_images_directory != $row->images_directory)) {
|
| 163 |
if (!is_dir(BWG()->abspath . $row->images_directory)) {
|
| 164 |
-
echo WDWLibrary::message_id(0, __('Uploads directory doesn\'t exist. Old value is restored.',
|
| 165 |
}
|
| 166 |
else {
|
| 167 |
-
echo WDWLibrary::message_id(0, __('Warning: "photo-gallery" folder already exists in uploads directory. Old value is restored.',
|
| 168 |
}
|
| 169 |
if ($row->old_images_directory) {
|
| 170 |
$row->images_directory = $row->old_images_directory;
|
|
@@ -193,8 +193,13 @@ class OptionsController_bwg {
|
|
| 193 |
}
|
| 194 |
$save = update_option('wd_bwg_options', json_encode($row), 'no');
|
| 195 |
if ( WDWLibrary::get('recreate') == "resize_image_thumb" ) {
|
| 196 |
-
$this->resize_image_thumb();
|
| 197 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
}
|
| 199 |
|
| 200 |
if ( $save ) {
|
|
@@ -207,7 +212,7 @@ class OptionsController_bwg {
|
|
| 207 |
mkdir(BWG()->abspath . $row->images_directory . '/photo-gallery', 0755);
|
| 208 |
}
|
| 209 |
else {
|
| 210 |
-
echo WDWLibrary::message_id(0, __('Item Succesfully Saved.',
|
| 211 |
}
|
| 212 |
|
| 213 |
if ( BWG()->is_pro ) {
|
|
@@ -248,7 +253,7 @@ class OptionsController_bwg {
|
|
| 248 |
|
| 249 |
if ( ini_get('allow_url_fopen') == 0 ) {
|
| 250 |
$error = true;
|
| 251 |
-
$message = WDWLibrary::message_id(0, __('http:// wrapper is disabled in the server configuration by allow_url_fopen=0.',
|
| 252 |
}
|
| 253 |
else {
|
| 254 |
if ( !empty($update_options['built_in_watermark_url']) ) {
|
|
@@ -256,11 +261,11 @@ class OptionsController_bwg {
|
|
| 256 |
}
|
| 257 |
if ( isset($update_options['built_in_watermark_type']) && $update_options['built_in_watermark_type'] == 'image' && (empty($width_watermark) OR empty($height_watermark) OR empty($type_watermark)) ) {
|
| 258 |
$error = TRUE;
|
| 259 |
-
$message = WDWLibrary::message_id(0, __('Watermark could not be set. The image URL is incorrect.',
|
| 260 |
}
|
| 261 |
if ( $error === FALSE ) {
|
| 262 |
WDWLibrary::bwg_image_set_watermark(0, 0, $limitstart);
|
| 263 |
-
$message = WDWLibrary::message_id(0, __('All images are successfully watermarked.',
|
| 264 |
}
|
| 265 |
}
|
| 266 |
$json_data = array('error' => $error, 'message' => $message);
|
|
@@ -272,12 +277,19 @@ class OptionsController_bwg {
|
|
| 272 |
WDWLibrary::bwg_image_recover_all(0, $limitstart);
|
| 273 |
}
|
| 274 |
|
| 275 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 276 |
global $wpdb;
|
| 277 |
$max_width = WDWLibrary::get('img_option_width', 500, 'intval');
|
| 278 |
$max_height = WDWLibrary::get('img_option_height', 500, 'intval');
|
| 279 |
$limitstart = WDWLibrary::get('limitstart', 0, 'intval');
|
| 280 |
-
|
| 281 |
/* Update options only first time of the loop */
|
| 282 |
if ( $limitstart == 0 ) {
|
| 283 |
$this->model->update_options_by_key( array('upload_thumb_width' => $max_width,'upload_thumb_height' => $max_height ) );
|
|
@@ -290,8 +302,17 @@ class OptionsController_bwg {
|
|
| 290 |
$file_path = str_replace("thumb", ".original", htmlspecialchars_decode(BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES));
|
| 291 |
$new_file_path = htmlspecialchars_decode( BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES );
|
| 292 |
if ( WDWLibrary::repair_image_original($file_path) ) {
|
| 293 |
-
WDWLibrary::resize_image( $file_path, $new_file_path, $max_width, $max_height );
|
| 294 |
}
|
| 295 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 296 |
}
|
| 297 |
}
|
| 48 |
'monospace' => 'Monospace',
|
| 49 |
'serif' => 'Serif',
|
| 50 |
);
|
| 51 |
+
$params['page_title'] = __('Global Settings', 'photo-gallery');
|
| 52 |
$params['active_tab'] = WDWLibrary::get('active_tab', 0, 'intval');
|
| 53 |
$params['gallery_type'] = WDWLibrary::get('gallery_type', 'thumbnails');
|
| 54 |
$params['album_type'] = WDWLibrary::get('album_type', 'album_compact_preview');
|
| 55 |
$params['gallery_types_name'] = array(
|
| 56 |
+
'thumbnails' => __('Thumbnails', 'photo-gallery'),
|
| 57 |
+
'thumbnails_masonry' => __('Masonry', 'photo-gallery'),
|
| 58 |
+
'thumbnails_mosaic' => __('Mosaic', 'photo-gallery'),
|
| 59 |
+
'slideshow' => __('Slideshow', 'photo-gallery'),
|
| 60 |
+
'image_browser' => __('Image Browser', 'photo-gallery'),
|
| 61 |
+
'blog_style' => __('Blog Style', 'photo-gallery'),
|
| 62 |
+
'carousel' => __('Carousel', 'photo-gallery'),
|
| 63 |
);
|
| 64 |
$params['album_types_name'] = array(
|
| 65 |
+
'album_compact_preview' => __('Compact', 'photo-gallery'),
|
| 66 |
+
'album_masonry_preview' => __('Masonry', 'photo-gallery'),
|
| 67 |
+
'album_extended_preview' => __('Extended', 'photo-gallery'),
|
| 68 |
);
|
| 69 |
if (method_exists($this, $task)) {
|
| 70 |
$this->$task($params);
|
| 129 |
'task' => 'reset_instagram_access_token',
|
| 130 |
BWG()->nonce => wp_create_nonce(BWG()->nonce),
|
| 131 |
), admin_url('admin.php'));
|
| 132 |
+
echo WDWLibrary::message_id(0, __('Default values restored. Changes must be saved.', 'photo-gallery'), 'notice notice-warning');
|
| 133 |
$this->view->display($params);
|
| 134 |
}
|
| 135 |
|
| 161 |
$row->images_directory = WDWLibrary::get('images_directory', '', 'sanitize_text_field');
|
| 162 |
if (!is_dir(BWG()->abspath . $row->images_directory) || (is_dir(BWG()->abspath . $row->images_directory . '/photo-gallery') && $row->old_images_directory && $row->old_images_directory != $row->images_directory)) {
|
| 163 |
if (!is_dir(BWG()->abspath . $row->images_directory)) {
|
| 164 |
+
echo WDWLibrary::message_id(0, __('Uploads directory doesn\'t exist. Old value is restored.', 'photo-gallery'), 'error');
|
| 165 |
}
|
| 166 |
else {
|
| 167 |
+
echo WDWLibrary::message_id(0, __('Warning: "photo-gallery" folder already exists in uploads directory. Old value is restored.', 'photo-gallery'), 'error');
|
| 168 |
}
|
| 169 |
if ($row->old_images_directory) {
|
| 170 |
$row->images_directory = $row->old_images_directory;
|
| 193 |
}
|
| 194 |
$save = update_option('wd_bwg_options', json_encode($row), 'no');
|
| 195 |
if ( WDWLibrary::get('recreate') == "resize_image_thumb" ) {
|
| 196 |
+
$resize_status = $this->resize_image_thumb();
|
| 197 |
+
if ( !$resize_status ) {
|
| 198 |
+
echo WDWLibrary::message_id(31);
|
| 199 |
+
}
|
| 200 |
+
else {
|
| 201 |
+
echo WDWLibrary::message_id(0, __('All thumbnails are successfully recreated.', 'photo-gallery'));
|
| 202 |
+
}
|
| 203 |
}
|
| 204 |
|
| 205 |
if ( $save ) {
|
| 212 |
mkdir(BWG()->abspath . $row->images_directory . '/photo-gallery', 0755);
|
| 213 |
}
|
| 214 |
else {
|
| 215 |
+
echo WDWLibrary::message_id(0, __('Item Succesfully Saved.', 'photo-gallery'));
|
| 216 |
}
|
| 217 |
|
| 218 |
if ( BWG()->is_pro ) {
|
| 253 |
|
| 254 |
if ( ini_get('allow_url_fopen') == 0 ) {
|
| 255 |
$error = true;
|
| 256 |
+
$message = WDWLibrary::message_id(0, __('http:// wrapper is disabled in the server configuration by allow_url_fopen=0.', 'photo-gallery'), 'error');
|
| 257 |
}
|
| 258 |
else {
|
| 259 |
if ( !empty($update_options['built_in_watermark_url']) ) {
|
| 261 |
}
|
| 262 |
if ( isset($update_options['built_in_watermark_type']) && $update_options['built_in_watermark_type'] == 'image' && (empty($width_watermark) OR empty($height_watermark) OR empty($type_watermark)) ) {
|
| 263 |
$error = TRUE;
|
| 264 |
+
$message = WDWLibrary::message_id(0, __('Watermark could not be set. The image URL is incorrect.', 'photo-gallery'), 'error');
|
| 265 |
}
|
| 266 |
if ( $error === FALSE ) {
|
| 267 |
WDWLibrary::bwg_image_set_watermark(0, 0, $limitstart);
|
| 268 |
+
$message = WDWLibrary::message_id(0, __('All images are successfully watermarked.', 'photo-gallery'), 'updated');
|
| 269 |
}
|
| 270 |
}
|
| 271 |
$json_data = array('error' => $error, 'message' => $message);
|
| 277 |
WDWLibrary::bwg_image_recover_all(0, $limitstart);
|
| 278 |
}
|
| 279 |
|
| 280 |
+
/**
|
| 281 |
+
* Resize image thumb.
|
| 282 |
+
*
|
| 283 |
+
* @param array $params
|
| 284 |
+
*
|
| 285 |
+
* @return bool
|
| 286 |
+
*/
|
| 287 |
+
public function resize_image_thumb( $params = array() ) {
|
| 288 |
global $wpdb;
|
| 289 |
$max_width = WDWLibrary::get('img_option_width', 500, 'intval');
|
| 290 |
$max_height = WDWLibrary::get('img_option_height', 500, 'intval');
|
| 291 |
$limitstart = WDWLibrary::get('limitstart', 0, 'intval');
|
| 292 |
+
$resize_status = true;
|
| 293 |
/* Update options only first time of the loop */
|
| 294 |
if ( $limitstart == 0 ) {
|
| 295 |
$this->model->update_options_by_key( array('upload_thumb_width' => $max_width,'upload_thumb_height' => $max_height ) );
|
| 302 |
$file_path = str_replace("thumb", ".original", htmlspecialchars_decode(BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES));
|
| 303 |
$new_file_path = htmlspecialchars_decode( BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES );
|
| 304 |
if ( WDWLibrary::repair_image_original($file_path) ) {
|
| 305 |
+
$resize_status = WDWLibrary::resize_image( $file_path, $new_file_path, $max_width, $max_height );
|
| 306 |
}
|
| 307 |
}
|
| 308 |
+
if ( wp_doing_ajax() ) {
|
| 309 |
+
$message = ($resize_status) ? __('Thumbnails successfully recreated.', 'photo-gallery') : __('The webp support should be enabled for GD and/or ImageMagick.', 'photo-gallery');
|
| 310 |
+
echo json_encode( array(
|
| 311 |
+
'status' => $resize_status,
|
| 312 |
+
'message' => $message
|
| 313 |
+
) );
|
| 314 |
+
exit;
|
| 315 |
+
}
|
| 316 |
+
return $resize_status;
|
| 317 |
}
|
| 318 |
}
|
admin/controllers/Shortcode.php
CHANGED
|
@@ -37,18 +37,18 @@ class ShortcodeController_bwg {
|
|
| 37 |
|
| 38 |
$params['watermark_fonts'] = WDWLibrary::get_fonts();
|
| 39 |
$params['gallery_types_name'] = array(
|
| 40 |
-
'thumbnails' => __('Thumbnails',
|
| 41 |
-
'thumbnails_masonry' => __('Masonry',
|
| 42 |
-
'thumbnails_mosaic' => __('Mosaic',
|
| 43 |
-
'slideshow' => __('Slideshow',
|
| 44 |
-
'image_browser' => __('Image Browser',
|
| 45 |
-
'blog_style' => __('Blog Style',
|
| 46 |
-
'carousel' => __('Carousel',
|
| 47 |
);
|
| 48 |
$params['album_types_name'] = array(
|
| 49 |
-
'album_compact_preview' => __('Compact',
|
| 50 |
-
'album_masonry_preview' => __('Masonry',
|
| 51 |
-
'album_extended_preview' => __('Extended',
|
| 52 |
);
|
| 53 |
|
| 54 |
$this->view->display($params);
|
| 37 |
|
| 38 |
$params['watermark_fonts'] = WDWLibrary::get_fonts();
|
| 39 |
$params['gallery_types_name'] = array(
|
| 40 |
+
'thumbnails' => __('Thumbnails', 'photo-gallery'),
|
| 41 |
+
'thumbnails_masonry' => __('Masonry', 'photo-gallery'),
|
| 42 |
+
'thumbnails_mosaic' => __('Mosaic', 'photo-gallery'),
|
| 43 |
+
'slideshow' => __('Slideshow', 'photo-gallery'),
|
| 44 |
+
'image_browser' => __('Image Browser', 'photo-gallery'),
|
| 45 |
+
'blog_style' => __('Blog Style', 'photo-gallery'),
|
| 46 |
+
'carousel' => __('Carousel', 'photo-gallery'),
|
| 47 |
);
|
| 48 |
$params['album_types_name'] = array(
|
| 49 |
+
'album_compact_preview' => __('Compact', 'photo-gallery'),
|
| 50 |
+
'album_masonry_preview' => __('Masonry', 'photo-gallery'),
|
| 51 |
+
'album_extended_preview' => __('Extended', 'photo-gallery'),
|
| 52 |
);
|
| 53 |
|
| 54 |
$this->view->display($params);
|
admin/controllers/Themes.php
CHANGED
|
@@ -36,12 +36,12 @@ class ThemesController_bwg {
|
|
| 36 |
|
| 37 |
$this->actions = array(
|
| 38 |
'duplicate' => array(
|
| 39 |
-
'title' => __('Duplicate',
|
| 40 |
-
$this->bulk_action_name => __('duplicated',
|
| 41 |
),
|
| 42 |
'delete' => array(
|
| 43 |
-
'title' => __('Delete',
|
| 44 |
-
$this->bulk_action_name => __('deleted',
|
| 45 |
),
|
| 46 |
);
|
| 47 |
|
|
@@ -85,7 +85,7 @@ class ThemesController_bwg {
|
|
| 85 |
// Set params for view.
|
| 86 |
$params = array();
|
| 87 |
$params['page'] = $this->page;
|
| 88 |
-
$params['page_title'] = __('Themes',
|
| 89 |
$params['actions'] = $this->actions;
|
| 90 |
$params['order'] = WDWLibrary::get('order', 'desc');
|
| 91 |
$params['orderby'] = WDWLibrary::get('orderby', 'default_theme');
|
|
@@ -129,7 +129,7 @@ class ThemesController_bwg {
|
|
| 129 |
}
|
| 130 |
if ( $successfully_updated ) {
|
| 131 |
$block_action = $this->bulk_action_name;
|
| 132 |
-
$message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $successfully_updated,
|
| 133 |
}
|
| 134 |
}
|
| 135 |
WDWLibrary::redirect(add_query_arg(array(
|
|
@@ -240,31 +240,31 @@ class ThemesController_bwg {
|
|
| 240 |
), admin_url('admin.php') );
|
| 241 |
|
| 242 |
$tabs = array(
|
| 243 |
-
'Thumbnail' => __('Thumbnail',
|
| 244 |
-
'Masonry' => __('Masonry',
|
| 245 |
-
'Mosaic' => __('Mosaic',
|
| 246 |
-
'Slideshow' => __('Slideshow',
|
| 247 |
-
'Image_browser' => __('Image browser',
|
| 248 |
-
'Compact_album' => __('Compact album',
|
| 249 |
-
'Masonry_album' => __('Masonry album',
|
| 250 |
-
'Extended_album' => __('Extended album',
|
| 251 |
-
'Blog_style' => __('Blog style',
|
| 252 |
-
'Lightbox' => __('Lightbox',
|
| 253 |
-
'Navigation' => __('Navigation',
|
| 254 |
-
'Carousel' => __('Carousel',
|
| 255 |
-
'Tags' => __('Tags',
|
| 256 |
);
|
| 257 |
|
| 258 |
$border_styles = array(
|
| 259 |
-
'none' => __('None',
|
| 260 |
-
'solid' => __('Solid',
|
| 261 |
-
'dotted' => __('Dotted',
|
| 262 |
-
'dashed' => __('Dashed',
|
| 263 |
-
'double' => __('Double',
|
| 264 |
-
'groove' => __('Groove',
|
| 265 |
-
'ridge' => __('Ridge',
|
| 266 |
-
'inset' => __('Inset',
|
| 267 |
-
'outset' => __('Outset',
|
| 268 |
);
|
| 269 |
|
| 270 |
$google_fonts = WDWLibrary::get_google_fonts();
|
|
@@ -282,46 +282,46 @@ class ThemesController_bwg {
|
|
| 282 |
);
|
| 283 |
|
| 284 |
$aligns = array(
|
| 285 |
-
'left' => __('Left',
|
| 286 |
-
'center' => __('Center',
|
| 287 |
-
'right' => __('Right',
|
| 288 |
);
|
| 289 |
|
| 290 |
$font_weights = array(
|
| 291 |
-
'lighter' => __('Lighter',
|
| 292 |
-
'normal' => __('Normal',
|
| 293 |
-
'bold' => __('Bold',
|
| 294 |
);
|
| 295 |
|
| 296 |
// ToDO: Remove after global update.
|
| 297 |
$hover_effects = array(
|
| 298 |
-
'none' => __('None',
|
| 299 |
-
'rotate' => __('Rotate',
|
| 300 |
-
'scale' => __('Scale',
|
| 301 |
-
'skew' => __('Skew',
|
| 302 |
);
|
| 303 |
|
| 304 |
$thumbnail_hover_effects = array(
|
| 305 |
-
'none' => __('None',
|
| 306 |
-
'rotate' => __('Rotate',
|
| 307 |
-
'scale' => __('Scale',
|
| 308 |
-
'zoom' => __('Zoom',
|
| 309 |
-
'skew' => __('Skew',
|
| 310 |
);
|
| 311 |
|
| 312 |
$button_styles = array(
|
| 313 |
-
'bwg-icon-angle' => __('Angle',
|
| 314 |
-
'bwg-icon-chevron' => __('Chevron',
|
| 315 |
-
'bwg-icon-double' => __('Double',
|
| 316 |
);
|
| 317 |
|
| 318 |
$rate_icons = array(
|
| 319 |
-
'star' => __('Star',
|
| 320 |
-
'bell' => __('Bell',
|
| 321 |
-
'circle' => __('Circle',
|
| 322 |
-
'flag' => __('Flag',
|
| 323 |
-
'heart' => __('Heart',
|
| 324 |
-
'square' => __('Square',
|
| 325 |
);
|
| 326 |
|
| 327 |
$params = array(
|
| 36 |
|
| 37 |
$this->actions = array(
|
| 38 |
'duplicate' => array(
|
| 39 |
+
'title' => __('Duplicate', 'photo-gallery'),
|
| 40 |
+
$this->bulk_action_name => __('duplicated', 'photo-gallery'),
|
| 41 |
),
|
| 42 |
'delete' => array(
|
| 43 |
+
'title' => __('Delete', 'photo-gallery'),
|
| 44 |
+
$this->bulk_action_name => __('deleted', 'photo-gallery'),
|
| 45 |
),
|
| 46 |
);
|
| 47 |
|
| 85 |
// Set params for view.
|
| 86 |
$params = array();
|
| 87 |
$params['page'] = $this->page;
|
| 88 |
+
$params['page_title'] = __('Themes', 'photo-gallery');
|
| 89 |
$params['actions'] = $this->actions;
|
| 90 |
$params['order'] = WDWLibrary::get('order', 'desc');
|
| 91 |
$params['orderby'] = WDWLibrary::get('orderby', 'default_theme');
|
| 129 |
}
|
| 130 |
if ( $successfully_updated ) {
|
| 131 |
$block_action = $this->bulk_action_name;
|
| 132 |
+
$message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $successfully_updated, 'photo-gallery'), $successfully_updated, $this->actions[$task][$block_action]);
|
| 133 |
}
|
| 134 |
}
|
| 135 |
WDWLibrary::redirect(add_query_arg(array(
|
| 240 |
), admin_url('admin.php') );
|
| 241 |
|
| 242 |
$tabs = array(
|
| 243 |
+
'Thumbnail' => __('Thumbnail', 'photo-gallery'),
|
| 244 |
+
'Masonry' => __('Masonry', 'photo-gallery'),
|
| 245 |
+
'Mosaic' => __('Mosaic', 'photo-gallery'),
|
| 246 |
+
'Slideshow' => __('Slideshow', 'photo-gallery'),
|
| 247 |
+
'Image_browser' => __('Image browser', 'photo-gallery'),
|
| 248 |
+
'Compact_album' => __('Compact album', 'photo-gallery'),
|
| 249 |
+
'Masonry_album' => __('Masonry album', 'photo-gallery'),
|
| 250 |
+
'Extended_album' => __('Extended album', 'photo-gallery'),
|
| 251 |
+
'Blog_style' => __('Blog style', 'photo-gallery'),
|
| 252 |
+
'Lightbox' => __('Lightbox', 'photo-gallery'),
|
| 253 |
+
'Navigation' => __('Navigation', 'photo-gallery'),
|
| 254 |
+
'Carousel' => __('Carousel', 'photo-gallery'),
|
| 255 |
+
'Tags' => __('Tags', 'photo-gallery'),
|
| 256 |
);
|
| 257 |
|
| 258 |
$border_styles = array(
|
| 259 |
+
'none' => __('None', 'photo-gallery'),
|
| 260 |
+
'solid' => __('Solid', 'photo-gallery'),
|
| 261 |
+
'dotted' => __('Dotted', 'photo-gallery'),
|
| 262 |
+
'dashed' => __('Dashed', 'photo-gallery'),
|
| 263 |
+
'double' => __('Double', 'photo-gallery'),
|
| 264 |
+
'groove' => __('Groove', 'photo-gallery'),
|
| 265 |
+
'ridge' => __('Ridge', 'photo-gallery'),
|
| 266 |
+
'inset' => __('Inset', 'photo-gallery'),
|
| 267 |
+
'outset' => __('Outset', 'photo-gallery'),
|
| 268 |
);
|
| 269 |
|
| 270 |
$google_fonts = WDWLibrary::get_google_fonts();
|
| 282 |
);
|
| 283 |
|
| 284 |
$aligns = array(
|
| 285 |
+
'left' => __('Left', 'photo-gallery'),
|
| 286 |
+
'center' => __('Center', 'photo-gallery'),
|
| 287 |
+
'right' => __('Right', 'photo-gallery'),
|
| 288 |
);
|
| 289 |
|
| 290 |
$font_weights = array(
|
| 291 |
+
'lighter' => __('Lighter', 'photo-gallery'),
|
| 292 |
+
'normal' => __('Normal', 'photo-gallery'),
|
| 293 |
+
'bold' => __('Bold', 'photo-gallery'),
|
| 294 |
);
|
| 295 |
|
| 296 |
// ToDO: Remove after global update.
|
| 297 |
$hover_effects = array(
|
| 298 |
+
'none' => __('None', 'photo-gallery'),
|
| 299 |
+
'rotate' => __('Rotate', 'photo-gallery'),
|
| 300 |
+
'scale' => __('Scale', 'photo-gallery'),
|
| 301 |
+
'skew' => __('Skew', 'photo-gallery'),
|
| 302 |
);
|
| 303 |
|
| 304 |
$thumbnail_hover_effects = array(
|
| 305 |
+
'none' => __('None', 'photo-gallery'),
|
| 306 |
+
'rotate' => __('Rotate', 'photo-gallery'),
|
| 307 |
+
'scale' => __('Scale', 'photo-gallery'),
|
| 308 |
+
'zoom' => __('Zoom', 'photo-gallery'),
|
| 309 |
+
'skew' => __('Skew', 'photo-gallery'),
|
| 310 |
);
|
| 311 |
|
| 312 |
$button_styles = array(
|
| 313 |
+
'bwg-icon-angle' => __('Angle', 'photo-gallery'),
|
| 314 |
+
'bwg-icon-chevron' => __('Chevron', 'photo-gallery'),
|
| 315 |
+
'bwg-icon-double' => __('Double', 'photo-gallery'),
|
| 316 |
);
|
| 317 |
|
| 318 |
$rate_icons = array(
|
| 319 |
+
'star' => __('Star', 'photo-gallery'),
|
| 320 |
+
'bell' => __('Bell', 'photo-gallery'),
|
| 321 |
+
'circle' => __('Circle', 'photo-gallery'),
|
| 322 |
+
'flag' => __('Flag', 'photo-gallery'),
|
| 323 |
+
'heart' => __('Heart', 'photo-gallery'),
|
| 324 |
+
'square' => __('Square', 'photo-gallery'),
|
| 325 |
);
|
| 326 |
|
| 327 |
$params = array(
|
admin/controllers/Uninstall.php
CHANGED
|
@@ -56,7 +56,7 @@ class UninstallController_bwg {
|
|
| 56 |
*/
|
| 57 |
public function display() {
|
| 58 |
$params = array();
|
| 59 |
-
$params['page_title'] = sprintf(__('Uninstall %s',
|
| 60 |
$params['tables'] = $this->get_tables();
|
| 61 |
|
| 62 |
$this->view->display($params);
|
|
@@ -97,7 +97,7 @@ class UninstallController_bwg {
|
|
| 97 |
$this->model->delete_db_tables($params);
|
| 98 |
// Deactivate all addons.
|
| 99 |
WDWLibrary::deactivate_all_addons(BWG()->main_file);
|
| 100 |
-
$params['page_title'] = sprintf(__('Uninstall %s',
|
| 101 |
$deactivate_url =
|
| 102 |
add_query_arg(
|
| 103 |
array(
|
| 56 |
*/
|
| 57 |
public function display() {
|
| 58 |
$params = array();
|
| 59 |
+
$params['page_title'] = sprintf(__('Uninstall %s', 'photo-gallery'), BWG()->nicename);
|
| 60 |
$params['tables'] = $this->get_tables();
|
| 61 |
|
| 62 |
$this->view->display($params);
|
| 97 |
$this->model->delete_db_tables($params);
|
| 98 |
// Deactivate all addons.
|
| 99 |
WDWLibrary::deactivate_all_addons(BWG()->main_file);
|
| 100 |
+
$params['page_title'] = sprintf(__('Uninstall %s', 'photo-gallery'), BWG()->nicename);
|
| 101 |
$deactivate_url =
|
| 102 |
add_query_arg(
|
| 103 |
array(
|
admin/controllers/Widget.php
CHANGED
|
@@ -11,7 +11,7 @@ class WidgetController_bwg extends WP_Widget {
|
|
| 11 |
public function __construct() {
|
| 12 |
$widget_ops = array(
|
| 13 |
'classname' => 'bwp_gallery',
|
| 14 |
-
'description' => __('Add Photo Gallery albums or galleries to Your widget area.',
|
| 15 |
);
|
| 16 |
// Widget Control Settings.
|
| 17 |
$control_ops = array('id_base' => 'bwp_gallery');
|
| 11 |
public function __construct() {
|
| 12 |
$widget_ops = array(
|
| 13 |
'classname' => 'bwp_gallery',
|
| 14 |
+
'description' => __('Add Photo Gallery albums or galleries to Your widget area.', 'photo-gallery')
|
| 15 |
);
|
| 16 |
// Widget Control Settings.
|
| 17 |
$control_ops = array('id_base' => 'bwp_gallery');
|
admin/controllers/WidgetSlideshow.php
CHANGED
|
@@ -11,7 +11,7 @@ class WidgetSlideshowController_bwg extends WP_Widget {
|
|
| 11 |
public function __construct() {
|
| 12 |
$widget_ops = array(
|
| 13 |
'classname' => 'bwp_gallery_slideshow',
|
| 14 |
-
'description' => __('Add Photo Gallery slideshow to Your widget area.',
|
| 15 |
);
|
| 16 |
// Widget Control Settings.
|
| 17 |
$control_ops = array('id_base' => 'bwp_gallery_slideshow');
|
|
@@ -41,22 +41,22 @@ class WidgetSlideshowController_bwg extends WP_Widget {
|
|
| 41 |
*/
|
| 42 |
public function form( $instance ) {
|
| 43 |
$slideshow_effects = array(
|
| 44 |
-
'none' => __('None',
|
| 45 |
-
'cubeH' => __('Cube Horizontal',
|
| 46 |
-
'cubeV' => __('Cube Vertical',
|
| 47 |
-
'fade' => __('Fade',
|
| 48 |
-
'sliceH' => __('Slice Horizontal',
|
| 49 |
-
'sliceV' => __('Slice Vertical',
|
| 50 |
-
'slideH' => __('Slide Horizontal',
|
| 51 |
-
'slideV' => __('Slide Vertical',
|
| 52 |
-
'scaleOut' => __('Scale Out',
|
| 53 |
-
'scaleIn' => __('Scale In',
|
| 54 |
-
'blockScale' => __('Block Scale',
|
| 55 |
-
'kaleidoscope' => __('Kaleidoscope',
|
| 56 |
-
'fan' => __('Fan',
|
| 57 |
-
'blindH' => __('Blind Horizontal',
|
| 58 |
-
'blindV' => __('Blind Vertical',
|
| 59 |
-
'random' => __('Random',
|
| 60 |
);
|
| 61 |
|
| 62 |
// Set params for view.
|
| 11 |
public function __construct() {
|
| 12 |
$widget_ops = array(
|
| 13 |
'classname' => 'bwp_gallery_slideshow',
|
| 14 |
+
'description' => __('Add Photo Gallery slideshow to Your widget area.', 'photo-gallery')
|
| 15 |
);
|
| 16 |
// Widget Control Settings.
|
| 17 |
$control_ops = array('id_base' => 'bwp_gallery_slideshow');
|
| 41 |
*/
|
| 42 |
public function form( $instance ) {
|
| 43 |
$slideshow_effects = array(
|
| 44 |
+
'none' => __('None', 'photo-gallery'),
|
| 45 |
+
'cubeH' => __('Cube Horizontal', 'photo-gallery'),
|
| 46 |
+
'cubeV' => __('Cube Vertical', 'photo-gallery'),
|
| 47 |
+
'fade' => __('Fade', 'photo-gallery'),
|
| 48 |
+
'sliceH' => __('Slice Horizontal', 'photo-gallery'),
|
| 49 |
+
'sliceV' => __('Slice Vertical', 'photo-gallery'),
|
| 50 |
+
'slideH' => __('Slide Horizontal', 'photo-gallery'),
|
| 51 |
+
'slideV' => __('Slide Vertical', 'photo-gallery'),
|
| 52 |
+
'scaleOut' => __('Scale Out', 'photo-gallery'),
|
| 53 |
+
'scaleIn' => __('Scale In', 'photo-gallery'),
|
| 54 |
+
'blockScale' => __('Block Scale', 'photo-gallery'),
|
| 55 |
+
'kaleidoscope' => __('Kaleidoscope', 'photo-gallery'),
|
| 56 |
+
'fan' => __('Fan', 'photo-gallery'),
|
| 57 |
+
'blindH' => __('Blind Horizontal', 'photo-gallery'),
|
| 58 |
+
'blindV' => __('Blind Vertical', 'photo-gallery'),
|
| 59 |
+
'random' => __('Random', 'photo-gallery'),
|
| 60 |
);
|
| 61 |
|
| 62 |
// Set params for view.
|
admin/controllers/WidgetTags.php
CHANGED
|
@@ -11,7 +11,7 @@ class WidgetTagsController_bwg extends WP_Widget {
|
|
| 11 |
public function __construct() {
|
| 12 |
$widget_ops = array(
|
| 13 |
'classname' => 'bwp_gallery_tags',
|
| 14 |
-
'description' => __('Add Photo Gallery Tags dynamic cloud to Your widget area.',
|
| 15 |
);
|
| 16 |
// Widget Control Settings.
|
| 17 |
$control_ops = array('id_base' => 'bwp_gallery_tags');
|
| 11 |
public function __construct() {
|
| 12 |
$widget_ops = array(
|
| 13 |
'classname' => 'bwp_gallery_tags',
|
| 14 |
+
'description' => __('Add Photo Gallery Tags dynamic cloud to Your widget area.', 'photo-gallery')
|
| 15 |
);
|
| 16 |
// Widget Control Settings.
|
| 17 |
$control_ops = array('id_base' => 'bwp_gallery_tags');
|
admin/controllers/elementorWidget.php
CHANGED
|
@@ -33,7 +33,7 @@ class BWGElementor extends \Elementor\Widget_Base {
|
|
| 33 |
}
|
| 34 |
</style>
|
| 35 |
<?php
|
| 36 |
-
return __('Photo Gallery',
|
| 37 |
}
|
| 38 |
|
| 39 |
/**
|
|
@@ -65,7 +65,7 @@ class BWGElementor extends \Elementor\Widget_Base {
|
|
| 65 |
$this->start_controls_section(
|
| 66 |
'bwg_general',
|
| 67 |
[
|
| 68 |
-
'label' => __('General',
|
| 69 |
]
|
| 70 |
);
|
| 71 |
$url = add_query_arg(array('action' => 'shortcode_bwg','elementor_callback' => 1, 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
|
| 33 |
}
|
| 34 |
</style>
|
| 35 |
<?php
|
| 36 |
+
return __('Photo Gallery', 'photo-gallery');
|
| 37 |
}
|
| 38 |
|
| 39 |
/**
|
| 65 |
$this->start_controls_section(
|
| 66 |
'bwg_general',
|
| 67 |
[
|
| 68 |
+
'label' => __('General', 'photo-gallery'),
|
| 69 |
]
|
| 70 |
);
|
| 71 |
$url = add_query_arg(array('action' => 'shortcode_bwg','elementor_callback' => 1, 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
|
admin/models/Galleries.php
CHANGED
|
@@ -866,7 +866,7 @@ class GalleriesModel_bwg {
|
|
| 866 |
}
|
| 867 |
if ( !in_array($image_message, WDWLibrary::error_message_ids()) && $image_action && $checked_items_count ) {
|
| 868 |
$actions = WDWLibrary::image_actions();
|
| 869 |
-
$image_message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $checked_items_count,
|
| 870 |
}
|
| 871 |
if ( $all && $image_action && method_exists($this, $image_action) ) {
|
| 872 |
$get_excludeIds = WDWLibrary::get('ids_exclude', FALSE);
|
|
@@ -1341,11 +1341,13 @@ class GalleriesModel_bwg {
|
|
| 1341 |
$prepareArgs[] = "%" . trim($search) . "%";
|
| 1342 |
$prepareArgs[] = "%" . trim($search) . "%";
|
| 1343 |
}
|
|
|
|
|
|
|
| 1344 |
foreach ( $img_ids as $img_id ) {
|
| 1345 |
$file_path = str_replace("thumb", ".original", htmlspecialchars_decode(BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES));
|
| 1346 |
$new_file_path = htmlspecialchars_decode(BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES);
|
| 1347 |
if ( WDWLibrary::repair_image_original($file_path) ) {
|
| 1348 |
-
WDWLibrary::resize_image($file_path, $new_file_path, BWG()->options->upload_thumb_width, BWG()->options->upload_thumb_height);
|
| 1349 |
$resolution_thumb = WDWLibrary::$thumb_dimansions;
|
| 1350 |
if ( $resolution_thumb != '' ) {
|
| 1351 |
WDWLibrary::update_thumb_dimansions($resolution_thumb, "id = $img_id->id");
|
|
@@ -1354,7 +1356,10 @@ class GalleriesModel_bwg {
|
|
| 1354 |
}
|
| 1355 |
WDWLibrary::update_image_modified_date($where, $prepareArgs);
|
| 1356 |
|
| 1357 |
-
|
|
|
|
|
|
|
|
|
|
| 1358 |
}
|
| 1359 |
|
| 1360 |
/**
|
|
@@ -1395,19 +1400,23 @@ class GalleriesModel_bwg {
|
|
| 1395 |
}
|
| 1396 |
$query = $wpdb->prepare('SELECT * FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where, $prepareArgs);
|
| 1397 |
$images = $wpdb->get_results( $query );
|
|
|
|
|
|
|
| 1398 |
if ( !empty($images) ) {
|
| 1399 |
foreach ( $images as $image ) {
|
| 1400 |
$file_path = BWG()->upload_dir . $image->image_url;
|
| 1401 |
$thumb_filename = BWG()->upload_dir . $image->thumb_url;
|
| 1402 |
$original_filename = str_replace('/thumb/', '/.original/', $thumb_filename);
|
| 1403 |
if ( WDWLibrary::repair_image_original($original_filename) ) {
|
| 1404 |
-
WDWLibrary::resize_image($original_filename, $file_path, $image_width, $image_height);
|
| 1405 |
}
|
| 1406 |
}
|
| 1407 |
}
|
| 1408 |
WDWLibrary::update_image_modified_date($where, $prepareArgs);
|
| 1409 |
-
|
| 1410 |
-
|
|
|
|
|
|
|
| 1411 |
}
|
| 1412 |
|
| 1413 |
/**
|
|
@@ -1690,7 +1699,7 @@ class GalleriesModel_bwg {
|
|
| 1690 |
}
|
| 1691 |
}
|
| 1692 |
if ( empty($not_set_items) === FALSE ) {
|
| 1693 |
-
echo "<div class='bwg_msg'>" . __('Selected pricelist item longest dimension greater than some original images dimensions.',
|
| 1694 |
}
|
| 1695 |
}
|
| 1696 |
|
| 866 |
}
|
| 867 |
if ( !in_array($image_message, WDWLibrary::error_message_ids()) && $image_action && $checked_items_count ) {
|
| 868 |
$actions = WDWLibrary::image_actions();
|
| 869 |
+
$image_message = sprintf(_n('%s item successfully %s.', '%s items successfully %s.', $checked_items_count, 'photo-gallery'), $checked_items_count, $actions[$image_action]['bulk_action']);
|
| 870 |
}
|
| 871 |
if ( $all && $image_action && method_exists($this, $image_action) ) {
|
| 872 |
$get_excludeIds = WDWLibrary::get('ids_exclude', FALSE);
|
| 1341 |
$prepareArgs[] = "%" . trim($search) . "%";
|
| 1342 |
$prepareArgs[] = "%" . trim($search) . "%";
|
| 1343 |
}
|
| 1344 |
+
$message_id = 24;
|
| 1345 |
+
$resize_status = true;
|
| 1346 |
foreach ( $img_ids as $img_id ) {
|
| 1347 |
$file_path = str_replace("thumb", ".original", htmlspecialchars_decode(BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES));
|
| 1348 |
$new_file_path = htmlspecialchars_decode(BWG()->upload_dir . $img_id->thumb_url, ENT_COMPAT | ENT_QUOTES);
|
| 1349 |
if ( WDWLibrary::repair_image_original($file_path) ) {
|
| 1350 |
+
$resize_status = WDWLibrary::resize_image($file_path, $new_file_path, BWG()->options->upload_thumb_width, BWG()->options->upload_thumb_height);
|
| 1351 |
$resolution_thumb = WDWLibrary::$thumb_dimansions;
|
| 1352 |
if ( $resolution_thumb != '' ) {
|
| 1353 |
WDWLibrary::update_thumb_dimansions($resolution_thumb, "id = $img_id->id");
|
| 1356 |
}
|
| 1357 |
WDWLibrary::update_image_modified_date($where, $prepareArgs);
|
| 1358 |
|
| 1359 |
+
if ( ! $resize_status ) {
|
| 1360 |
+
$message_id = 31;
|
| 1361 |
+
}
|
| 1362 |
+
return $message_id;
|
| 1363 |
}
|
| 1364 |
|
| 1365 |
/**
|
| 1400 |
}
|
| 1401 |
$query = $wpdb->prepare('SELECT * FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where, $prepareArgs);
|
| 1402 |
$images = $wpdb->get_results( $query );
|
| 1403 |
+
$message_id = 24;
|
| 1404 |
+
$resize_status = true;
|
| 1405 |
if ( !empty($images) ) {
|
| 1406 |
foreach ( $images as $image ) {
|
| 1407 |
$file_path = BWG()->upload_dir . $image->image_url;
|
| 1408 |
$thumb_filename = BWG()->upload_dir . $image->thumb_url;
|
| 1409 |
$original_filename = str_replace('/thumb/', '/.original/', $thumb_filename);
|
| 1410 |
if ( WDWLibrary::repair_image_original($original_filename) ) {
|
| 1411 |
+
$resize_status = WDWLibrary::resize_image($original_filename, $file_path, $image_width, $image_height);
|
| 1412 |
}
|
| 1413 |
}
|
| 1414 |
}
|
| 1415 |
WDWLibrary::update_image_modified_date($where, $prepareArgs);
|
| 1416 |
+
if ( ! $resize_status ) {
|
| 1417 |
+
$message_id = 31;
|
| 1418 |
+
}
|
| 1419 |
+
return $message_id;
|
| 1420 |
}
|
| 1421 |
|
| 1422 |
/**
|
| 1699 |
}
|
| 1700 |
}
|
| 1701 |
if ( empty($not_set_items) === FALSE ) {
|
| 1702 |
+
echo "<div class='bwg_msg'>" . __('Selected pricelist item longest dimension greater than some original images dimensions.', 'photo-gallery') . "</div>";
|
| 1703 |
}
|
| 1704 |
}
|
| 1705 |
|
admin/views/AddTags.php
CHANGED
|
@@ -66,7 +66,7 @@ class AddTagsView_bwg extends AdminView_bwg {
|
|
| 66 |
<div class="tablenav top">
|
| 67 |
<div class="tablenav-pages">
|
| 68 |
<div class="displaying-num">
|
| 69 |
-
<?php printf(_n('%s item', '%s items', $params['total'],
|
| 70 |
</div>
|
| 71 |
</div>
|
| 72 |
</div>
|
|
@@ -75,10 +75,10 @@ class AddTagsView_bwg extends AdminView_bwg {
|
|
| 75 |
<table class="adminlist table table-striped wp-list-table widefat fixed pages">
|
| 76 |
<thead>
|
| 77 |
<td id="cb" class="column-cb check-column">
|
| 78 |
-
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all',
|
| 79 |
<input id="check_all" type="checkbox" onclick="spider_check_all(this)" />
|
| 80 |
</td>
|
| 81 |
-
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Name',
|
| 82 |
</thead>
|
| 83 |
<tbody id="tbody_arr">
|
| 84 |
<?php
|
|
@@ -96,7 +96,7 @@ class AddTagsView_bwg extends AdminView_bwg {
|
|
| 96 |
data-id="<?php echo $row->id; ?>"
|
| 97 |
data-name="<?php echo $row->name; ?>" />
|
| 98 |
</th>
|
| 99 |
-
<td class="column-primary column-title" data-colname="<?php _e('Name',
|
| 100 |
<a class="cursor-pointer" onclick="<?php echo $image_id ? 'window.parent.bwg_add_tag(\'' . $image_id . '\', [\'' . $row->id . '\'],[\'' . htmlspecialchars(addslashes($row->name)) . '\'])' : 'bwg_bulk_add_tags(\'' . $row->id . '\', \'' . 'add' . '\')'; ?>;" id="a_<?php echo $row->id; ?>">
|
| 101 |
<?php echo $row->name; ?>
|
| 102 |
</a>
|
|
@@ -117,8 +117,8 @@ class AddTagsView_bwg extends AdminView_bwg {
|
|
| 117 |
<div class="media-frame-toolbar">
|
| 118 |
<div class="media-toolbar">
|
| 119 |
<div class="media-toolbar-primary search-form">
|
| 120 |
-
<button class="button media-button button button-large media-button-insert" type="button" onclick="<?php echo $image_id ? 'bwg_remove_tags(\'' . $image_id . '\')' : 'bwg_bulk_add_tags(\'' . '' . '\',\'' . 'remove' . '\')'; ?>"><?php _e('Remove from image',
|
| 121 |
-
<button class="button media-button button-primary button-large media-button-insert" type="button" onclick="<?php echo $image_id ? 'bwg_add_tags(\'' . $image_id . '\')' : 'bwg_bulk_add_tags(\'' . '' . '\',\'' . 'add' . '\')'; ?>"><?php _e('Add to image',
|
| 122 |
</div>
|
| 123 |
</div>
|
| 124 |
</div>
|
| 66 |
<div class="tablenav top">
|
| 67 |
<div class="tablenav-pages">
|
| 68 |
<div class="displaying-num">
|
| 69 |
+
<?php printf(_n('%s item', '%s items', $params['total'], 'photo-gallery'), $params['total']); ?>
|
| 70 |
</div>
|
| 71 |
</div>
|
| 72 |
</div>
|
| 75 |
<table class="adminlist table table-striped wp-list-table widefat fixed pages">
|
| 76 |
<thead>
|
| 77 |
<td id="cb" class="column-cb check-column">
|
| 78 |
+
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all', 'photo-gallery'); ?></label>
|
| 79 |
<input id="check_all" type="checkbox" onclick="spider_check_all(this)" />
|
| 80 |
</td>
|
| 81 |
+
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Name', 'photo-gallery'), $params['page_url'], 'column-primary'); ?>
|
| 82 |
</thead>
|
| 83 |
<tbody id="tbody_arr">
|
| 84 |
<?php
|
| 96 |
data-id="<?php echo $row->id; ?>"
|
| 97 |
data-name="<?php echo $row->name; ?>" />
|
| 98 |
</th>
|
| 99 |
+
<td class="column-primary column-title" data-colname="<?php _e('Name', 'photo-gallery'); ?>">
|
| 100 |
<a class="cursor-pointer" onclick="<?php echo $image_id ? 'window.parent.bwg_add_tag(\'' . $image_id . '\', [\'' . $row->id . '\'],[\'' . htmlspecialchars(addslashes($row->name)) . '\'])' : 'bwg_bulk_add_tags(\'' . $row->id . '\', \'' . 'add' . '\')'; ?>;" id="a_<?php echo $row->id; ?>">
|
| 101 |
<?php echo $row->name; ?>
|
| 102 |
</a>
|
| 117 |
<div class="media-frame-toolbar">
|
| 118 |
<div class="media-toolbar">
|
| 119 |
<div class="media-toolbar-primary search-form">
|
| 120 |
+
<button class="button media-button button button-large media-button-insert" type="button" onclick="<?php echo $image_id ? 'bwg_remove_tags(\'' . $image_id . '\')' : 'bwg_bulk_add_tags(\'' . '' . '\',\'' . 'remove' . '\')'; ?>"><?php _e('Remove from image', 'photo-gallery'); ?></button>
|
| 121 |
+
<button class="button media-button button-primary button-large media-button-insert" type="button" onclick="<?php echo $image_id ? 'bwg_add_tags(\'' . $image_id . '\')' : 'bwg_bulk_add_tags(\'' . '' . '\',\'' . 'add' . '\')'; ?>"><?php _e('Add to image', 'photo-gallery'); ?></button>
|
| 122 |
</div>
|
| 123 |
</div>
|
| 124 |
</div>
|
admin/views/AdminView.php
CHANGED
|
@@ -74,7 +74,7 @@ class AdminView_bwg {
|
|
| 74 |
$add_new_button = !empty($params['add_new_button']) ? $params['add_new_button'] : '';
|
| 75 |
$how_to_button = !empty($params['how_to_button']) ? $params['how_to_button'] : false;
|
| 76 |
$buttons = !empty($params['buttons']) ? $params['buttons'] : false;
|
| 77 |
-
$add_new_button_text = !empty($params['add_new_button_text']) ? $params['add_new_button_text'] : __('Add new',
|
| 78 |
$popup_window = !empty($params['popup_window']) ? false : true;
|
| 79 |
|
| 80 |
$attributes = '';
|
|
@@ -217,9 +217,9 @@ class AdminView_bwg {
|
|
| 217 |
echo $this->sorting();
|
| 218 |
}
|
| 219 |
?>
|
| 220 |
-
<input name="s" value="<?php echo $search; ?>" type="search" onkeypress="return input_search(event, this)" placeholder="<?php _e('Search',
|
| 221 |
<?php // ToDo Search button comment is not deleted, it can be used again. ?>
|
| 222 |
-
<!-- <input class="button" value="--><?php //echo __('Search',
|
| 223 |
</div>
|
| 224 |
<?php
|
| 225 |
return ob_get_clean();
|
|
@@ -278,16 +278,16 @@ class AdminView_bwg {
|
|
| 278 |
}
|
| 279 |
else {
|
| 280 |
?>
|
| 281 |
-
<a data-paged="<?php echo 1; ?>" href="<?php echo add_query_arg(array('paged' => 1), $page_url); ?>" class="bwg-pagination-a-link wd-page first-page"><span class="screen-reader-text"><?php _e('First page',
|
| 282 |
-
<a data-paged="<?php echo ($page_number == 1 ? 1 : ($page_number - 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number == 1 ? 1 : ($page_number - 1))), $page_url); ?>" class="bwg-pagination-a-link wd-page previous-page"><span class="screen-reader-text"><?php _e('Previous page',
|
| 283 |
<?php
|
| 284 |
}
|
| 285 |
?>
|
| 286 |
<div class="paging-input">
|
| 287 |
-
<label for="current-page-selector" class="screen-reader-text"><?php _e('Current Page',
|
| 288 |
<input type="text" class="bwg-current-page current-page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return input_pagination(event, this)" size="1" />
|
| 289 |
<span class="tablenav-paging-text">
|
| 290 |
-
<?php _e('of',
|
| 291 |
<span class="total-pages"><?php echo $pages_count; ?></span>
|
| 292 |
</span>
|
| 293 |
</div>
|
|
@@ -300,8 +300,8 @@ class AdminView_bwg {
|
|
| 300 |
}
|
| 301 |
else {
|
| 302 |
?>
|
| 303 |
-
<a data-paged="<?php echo ($page_number >= $pages_count ? $pages_count : ($page_number + 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number >= $pages_count ? $pages_count : ($page_number + 1))), $page_url); ?>" class="bwg-pagination-a-link wd-page next-page"><span class="screen-reader-text"><?php _e('Next page',
|
| 304 |
-
<a data-paged="<?php echo $pages_count; ?>" href="<?php echo add_query_arg(array('paged' => $pages_count), $page_url); ?>" class="bwg-pagination-a-link wd-page last-page"><span class="screen-reader-text"><?php _e('Last page',
|
| 305 |
<?php
|
| 306 |
}
|
| 307 |
?>
|
|
@@ -310,7 +310,7 @@ class AdminView_bwg {
|
|
| 310 |
}
|
| 311 |
?>
|
| 312 |
<div class="displaying-num">
|
| 313 |
-
<?php printf(_n('%s item', '%s items', $total,
|
| 314 |
</div>
|
| 315 |
</div>
|
| 316 |
<?php
|
|
@@ -336,18 +336,18 @@ class AdminView_bwg {
|
|
| 336 |
if ( $select_all ) { ?>
|
| 337 |
<span class="button wd-check-all" onclick="spider_check_all_items(event)">
|
| 338 |
<input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox(event)" />
|
| 339 |
-
<span><?php _e('Select All',
|
| 340 |
</span>
|
| 341 |
<?php } ?>
|
| 342 |
|
| 343 |
-
<label for="bulk-action-selector-top" class="screen-reader-text"><?php _e('Select bulk action',
|
| 344 |
<select name="<?php echo $name; ?>" id="bulk-action-selector-top">
|
| 345 |
-
<option value="-1"><?php _e('Bulk Actions',
|
| 346 |
<?php foreach ( $actions as $key => $action ) { ?>
|
| 347 |
<option value="<?php echo $key; ?>" <?php echo isset($action['disabled']) ? $action['disabled'] : ''; ?>><?php echo $action['title']; ?></option>
|
| 348 |
<?php } ?>
|
| 349 |
</select>
|
| 350 |
-
<input type="button" id="doaction" class="button action" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 351 |
</div>
|
| 352 |
<?php
|
| 353 |
|
| 74 |
$add_new_button = !empty($params['add_new_button']) ? $params['add_new_button'] : '';
|
| 75 |
$how_to_button = !empty($params['how_to_button']) ? $params['how_to_button'] : false;
|
| 76 |
$buttons = !empty($params['buttons']) ? $params['buttons'] : false;
|
| 77 |
+
$add_new_button_text = !empty($params['add_new_button_text']) ? $params['add_new_button_text'] : __('Add new', 'photo-gallery');
|
| 78 |
$popup_window = !empty($params['popup_window']) ? false : true;
|
| 79 |
|
| 80 |
$attributes = '';
|
| 217 |
echo $this->sorting();
|
| 218 |
}
|
| 219 |
?>
|
| 220 |
+
<input name="s" value="<?php echo $search; ?>" type="search" onkeypress="return input_search(event, this)" placeholder="<?php _e('Search', 'photo-gallery'); ?>" />
|
| 221 |
<?php // ToDo Search button comment is not deleted, it can be used again. ?>
|
| 222 |
+
<!-- <input class="button" value="--><?php //echo __('Search', 'photo-gallery') . ' ' . ( !empty( $params['search_item_name'] ) ? $params['search_item_name'] : '' ); ?><!--" type="button" onclick="search(this)" />-->
|
| 223 |
</div>
|
| 224 |
<?php
|
| 225 |
return ob_get_clean();
|
| 278 |
}
|
| 279 |
else {
|
| 280 |
?>
|
| 281 |
+
<a data-paged="<?php echo 1; ?>" href="<?php echo add_query_arg(array('paged' => 1), $page_url); ?>" class="bwg-pagination-a-link wd-page first-page"><span class="screen-reader-text"><?php _e('First page', 'photo-gallery'); ?></span><span class="bwg-pagination-prev-all" aria-hidden="true"></span></a>
|
| 282 |
+
<a data-paged="<?php echo ($page_number == 1 ? 1 : ($page_number - 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number == 1 ? 1 : ($page_number - 1))), $page_url); ?>" class="bwg-pagination-a-link wd-page previous-page"><span class="screen-reader-text"><?php _e('Previous page', 'photo-gallery'); ?></span><span class="bwg-pagination-prev" aria-hidden="true"></span></a>
|
| 283 |
<?php
|
| 284 |
}
|
| 285 |
?>
|
| 286 |
<div class="paging-input">
|
| 287 |
+
<label for="current-page-selector" class="screen-reader-text"><?php _e('Current Page', 'photo-gallery'); ?></label>
|
| 288 |
<input type="text" class="bwg-current-page current-page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return input_pagination(event, this)" size="1" />
|
| 289 |
<span class="tablenav-paging-text">
|
| 290 |
+
<?php _e('of', 'photo-gallery'); ?>
|
| 291 |
<span class="total-pages"><?php echo $pages_count; ?></span>
|
| 292 |
</span>
|
| 293 |
</div>
|
| 300 |
}
|
| 301 |
else {
|
| 302 |
?>
|
| 303 |
+
<a data-paged="<?php echo ($page_number >= $pages_count ? $pages_count : ($page_number + 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number >= $pages_count ? $pages_count : ($page_number + 1))), $page_url); ?>" class="bwg-pagination-a-link wd-page next-page"><span class="screen-reader-text"><?php _e('Next page', 'photo-gallery'); ?></span><span class="bwg-pagination-next" aria-hidden="true"></span></a>
|
| 304 |
+
<a data-paged="<?php echo $pages_count; ?>" href="<?php echo add_query_arg(array('paged' => $pages_count), $page_url); ?>" class="bwg-pagination-a-link wd-page last-page"><span class="screen-reader-text"><?php _e('Last page', 'photo-gallery'); ?></span><span class="bwg-pagination-next-all" aria-hidden="true"></span></a>
|
| 305 |
<?php
|
| 306 |
}
|
| 307 |
?>
|
| 310 |
}
|
| 311 |
?>
|
| 312 |
<div class="displaying-num">
|
| 313 |
+
<?php printf(_n('%s item', '%s items', $total, 'photo-gallery'), $total); ?>
|
| 314 |
</div>
|
| 315 |
</div>
|
| 316 |
<?php
|
| 336 |
if ( $select_all ) { ?>
|
| 337 |
<span class="button wd-check-all" onclick="spider_check_all_items(event)">
|
| 338 |
<input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox(event)" />
|
| 339 |
+
<span><?php _e('Select All', 'photo-gallery'); ?></span>
|
| 340 |
</span>
|
| 341 |
<?php } ?>
|
| 342 |
|
| 343 |
+
<label for="bulk-action-selector-top" class="screen-reader-text"><?php _e('Select bulk action', 'photo-gallery'); ?></label>
|
| 344 |
<select name="<?php echo $name; ?>" id="bulk-action-selector-top">
|
| 345 |
+
<option value="-1"><?php _e('Bulk Actions', 'photo-gallery'); ?></option>
|
| 346 |
<?php foreach ( $actions as $key => $action ) { ?>
|
| 347 |
<option value="<?php echo $key; ?>" <?php echo isset($action['disabled']) ? $action['disabled'] : ''; ?>><?php echo $action['title']; ?></option>
|
| 348 |
<?php } ?>
|
| 349 |
</select>
|
| 350 |
+
<input type="button" id="doaction" class="button action" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\')' : 'wd_bulk_action(this)'); ?>" value="<?php _e('Apply', 'photo-gallery'); ?>" />
|
| 351 |
</div>
|
| 352 |
<?php
|
| 353 |
|
admin/views/Albums.php
CHANGED
|
@@ -41,7 +41,7 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 41 |
'add_new_button' => array(
|
| 42 |
'href' => add_query_arg(array( 'page' => $params['page'], 'task' => 'edit' ), admin_url('admin.php')),
|
| 43 |
),
|
| 44 |
-
'add_new_button_text' => __('Add new group',
|
| 45 |
'how_to_button' => true,
|
| 46 |
)
|
| 47 |
);
|
|
@@ -56,11 +56,11 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 56 |
<table class="images_table adminlist table table-striped wp-list-table widefat fixed pages media bwg-gallery-lists">
|
| 57 |
<thead class="alternate">
|
| 58 |
<td id="cb" class="column-cb check-column">
|
| 59 |
-
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all',
|
| 60 |
<input id="check_all" type="checkbox" onclick="spider_check_all(this)" />
|
| 61 |
</td>
|
| 62 |
-
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Title',
|
| 63 |
-
<?php echo WDWLibrary::ordering('author', $params['orderby'], $params['order'], __('Author',
|
| 64 |
</thead>
|
| 65 |
<tbody class="bwg-ordering">
|
| 66 |
<?php
|
|
@@ -96,7 +96,7 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 96 |
<th class="check-column">
|
| 97 |
<input type="checkbox" id="check_<?php echo $row->id; ?>" name="check[<?php echo $row->id; ?>]" onclick="spider_check_all(this)" />
|
| 98 |
</th>
|
| 99 |
-
<td class="column-primary column-title" data-colname="<?php _e('Title',
|
| 100 |
<strong class="has-media-icon">
|
| 101 |
<a href="<?php echo $edit_url; ?>">
|
| 102 |
<span class="media-icon image-icon">
|
|
@@ -105,21 +105,21 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 105 |
<?php echo esc_html( $row->name ); ?>
|
| 106 |
</a>
|
| 107 |
<?php if ( !$row->published ) { ?>
|
| 108 |
-
— <span class="post-state"><?php _e('Unpublished',
|
| 109 |
<?php } ?>
|
| 110 |
</strong>
|
| 111 |
<div class="row-actions">
|
| 112 |
-
<span><a href="<?php echo $edit_url; ?>"><?php _e('Edit',
|
| 113 |
-
<span><a href="<?php echo $publish_url; ?>"><?php echo ($row->published ? __('Unpublish',
|
| 114 |
-
<span><a href="<?php echo $duplicate_url; ?>"><?php _e('Duplicate',
|
| 115 |
-
<span class="trash"><a onclick="if (!confirm('<?php echo addslashes(__('Do you want to delete selected item?',
|
| 116 |
-
<span><a href="<?php echo esc_url( $preview_url ); ?>" target="_blank"><?php _e('Preview',
|
| 117 |
</div>
|
| 118 |
<button class="toggle-row" type="button">
|
| 119 |
-
<span class="screen-reader-text"><?php _e('Show more details',
|
| 120 |
</button>
|
| 121 |
</td>
|
| 122 |
-
<td data-colname="<?php _e('Author',
|
| 123 |
</tr>
|
| 124 |
<?php
|
| 125 |
}
|
|
@@ -176,15 +176,15 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 176 |
$demo_url_for_free = 'https://demo.10web.io/photo-gallery/';
|
| 177 |
$get_album_gallery_types = array(
|
| 178 |
'album_compact_preview' => array(
|
| 179 |
-
'title' => __('Compact',
|
| 180 |
'preview_url' => add_query_arg('bwg-preview-type', 'album_compact_preview', $params['preview_action']),
|
| 181 |
),
|
| 182 |
'album_masonry_preview' => array(
|
| 183 |
-
'title' => __('Masonry',
|
| 184 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free : add_query_arg('bwg-preview-type', 'album_masonry_preview', $params['preview_action']),
|
| 185 |
),
|
| 186 |
'album_extended_preview' => array(
|
| 187 |
-
'title' => __('Extended',
|
| 188 |
'preview_url' => add_query_arg('bwg-preview-type', 'album_extended_preview', $params['preview_action']),
|
| 189 |
),
|
| 190 |
);
|
|
@@ -192,19 +192,19 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 192 |
<div class="bwg-page-header wd-list-view-header<?php echo !BWG()->is_pro ? ' bwg-page-header-free' : ''?>">
|
| 193 |
<div class="wd-page-title wd-header wd-list-view-header-left">
|
| 194 |
<div>
|
| 195 |
-
<h1 class="wp-heading-inline bwg-heading"><?php _e('Gallery Group Title',
|
| 196 |
<input type="text" id="name" name="name" value="<?php echo !empty($row->name) ? esc_attr( $row->name ) : ''; ?>">
|
| 197 |
</div>
|
| 198 |
<div class="bwg-page-actions">
|
| 199 |
<button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
|
| 200 |
-
<?php echo ($params['id']) ? __('Update',
|
| 201 |
</button>
|
| 202 |
|
| 203 |
<?php /* Preview Section */
|
| 204 |
if ( $params['id'] && $params['preview_action'] ) { ?>
|
| 205 |
-
<div class="tw-button-secondary bwg-preview-button " id ="bwg-preview-button" onclick="bwg_preview_section(this);"><?php _e('Preview',
|
| 206 |
<div class="bwg-preview-section album">
|
| 207 |
-
<p><?php _e('Preview gallery group in:',
|
| 208 |
<?php foreach ( $get_album_gallery_types as $key => $value ) { ?>
|
| 209 |
<div class="bwg-preview-gallery-type" onclick="window.open('<?php echo $value['preview_url']; ?>')">
|
| 210 |
<div class="bwg-preview-gallery-type-icon"></div>
|
|
@@ -234,32 +234,32 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 234 |
<div class="wd-box-section">
|
| 235 |
<div class="postbox <?php echo $params['id'] ? 'closed' : '' ?>">
|
| 236 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 237 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 238 |
<span class="toggle-indicator" aria-hidden="true"></span>
|
| 239 |
</button>
|
| 240 |
<h2 class="hndle">
|
| 241 |
-
<span><?php _e('Basic',
|
| 242 |
</h2>
|
| 243 |
<div class="inside">
|
| 244 |
<div class="wd-box-content">
|
| 245 |
<div class="wd-group">
|
| 246 |
-
<label class="wd-label" for="preview_image"><?php _e('Preview image',
|
| 247 |
<div>
|
| 248 |
-
<a href="<?php echo $params['add_preview_image_action']; ?>" id="button_preview_image" class="button wd-preview-image-btn thickbox thickbox-preview <?php echo ($row->preview_image == '') ? 'bwg_not-preview-image' : '' ?>" title="<?php _e('Add Preview Image',
|
| 249 |
-
<span class="dashicons dashicons-camera"></span><?php _e('Add',
|
| 250 |
</a>
|
| 251 |
<img id="img_preview_image" src="<?php echo $row->preview_image ? (BWG()->upload_url . $row->preview_image) : ''; ?>" style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>" />
|
| 252 |
<span id="delete_preview_image" class="spider_delete_img dashicons dashicons-no-alt" onclick="spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image')" style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>"></span>
|
| 253 |
<input type="hidden" id="preview_image" name="preview_image" value="<?php echo $row->preview_image; ?>" />
|
| 254 |
-
<p class="description"><?php _e('Add a preview image, which will be displayed as the cover image of the gallery group when it is published in a parent gallery group.',
|
| 255 |
</div>
|
| 256 |
</div>
|
| 257 |
<div class="wd-group">
|
| 258 |
-
<label class="wd-label"><?php _e('Published',
|
| 259 |
<input type="radio" class="inputbox" id="published1" name="published" <?php echo(($row->published == 1 || !$params['id']) ? 'checked="checked"' : ''); ?> value="1" />
|
| 260 |
-
<label for="published1"><?php _e('Yes',
|
| 261 |
<input type="radio" class="inputbox" id="published0" name="published" <?php echo(($row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
| 262 |
-
<label for="published0"><?php _e('No',
|
| 263 |
</div>
|
| 264 |
</div>
|
| 265 |
</div>
|
|
@@ -270,27 +270,27 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 270 |
<div class="wd-box-section">
|
| 271 |
<div class="postbox closed">
|
| 272 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 273 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 274 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 275 |
</button>
|
| 276 |
<h2 class="hndle">
|
| 277 |
-
<span><?php _e('Advanced',
|
| 278 |
</h2>
|
| 279 |
<div class="inside bwg-flex bwg-flex-wrap bwg-align-items-top">
|
| 280 |
<div class="wd-table-col-50">
|
| 281 |
<div class="wd-box-section">
|
| 282 |
<div class="wd-box-content">
|
| 283 |
<div class="wd-group">
|
| 284 |
-
<label class="wd-label"><?php _e('Author',
|
| 285 |
<span><?php echo esc_html($row->author); ?></span>
|
| 286 |
</div>
|
| 287 |
<div class="wd-group">
|
| 288 |
-
<label class="wd-label" for="slug"><?php _e('Slug',
|
| 289 |
<input type="text" id="slug" name="slug" value="<?php echo esc_attr($row->slug); ?>">
|
| 290 |
<input type="hidden" id="old_slug" name="old_slug" value="<?php echo esc_attr($row->slug); ?>">
|
| 291 |
</div>
|
| 292 |
<div class="wd-group">
|
| 293 |
-
<label class="wd-label" for="description"><?php _e('Description',
|
| 294 |
<?php
|
| 295 |
if ( user_can_richedit() && $enable_wp_editor ) {
|
| 296 |
wp_editor(esc_html($row->description), 'description', array(
|
|
@@ -321,7 +321,7 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 321 |
<div class="wd-box-section">
|
| 322 |
<div class="wd-box-content">
|
| 323 |
<div class="wd-group">
|
| 324 |
-
<h2 class="wd-titles"><?php _e('Galleries and Gallery Groups',
|
| 325 |
<div id="bwg_tabs" class="bwg_tabs hidden">
|
| 326 |
<?php
|
| 327 |
foreach ( $params['albums_galleries'] as $item ) {
|
|
@@ -340,7 +340,7 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 340 |
<div class="bwg_subtab">
|
| 341 |
<div class="new_tab_image">
|
| 342 |
<a class="new_tab_link thickbox-preview" onclick="jQuery('#loading_div').show();" href="<?php echo $params['add_albums_galleries_action']; ?>">
|
| 343 |
-
<p id="add_album_gallery_text"><?php _e('Add',
|
| 344 |
</a>
|
| 345 |
</div>
|
| 346 |
</div>
|
|
@@ -373,7 +373,7 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 373 |
<div <?php echo $albumgallery_row->preview_image; ?> class="tab_image">
|
| 374 |
<div class="tab_buttons">
|
| 375 |
<div class="handle_wrap">
|
| 376 |
-
<span class="bwg_move dashicons dashicons-move" title="<?php _e('Drag to re-order',
|
| 377 |
</div>
|
| 378 |
<div class="bwg_tab_title_wrap" title="<?php echo $albumgallery_row->name; ?>">
|
| 379 |
<a href="<?php echo $edit_url?>" target="_blank">
|
|
@@ -383,8 +383,8 @@ class AlbumsView_bwg extends AdminView_bwg {
|
|
| 383 |
</div>
|
| 384 |
<div class="overlay">
|
| 385 |
<div class="hover_buttons">
|
| 386 |
-
<span class="bwg_tab_remove dashicons dashicons-trash" title="<?php _e('Remove',
|
| 387 |
-
<span class="bwg_tab_status dashicons <?php echo $albumgallery_row->published; ?>" title="<?php _e('Unpublished',
|
| 388 |
<span class="bwg_clear"></span>
|
| 389 |
</div>
|
| 390 |
</div>
|
| 41 |
'add_new_button' => array(
|
| 42 |
'href' => add_query_arg(array( 'page' => $params['page'], 'task' => 'edit' ), admin_url('admin.php')),
|
| 43 |
),
|
| 44 |
+
'add_new_button_text' => __('Add new group', 'photo-gallery'),
|
| 45 |
'how_to_button' => true,
|
| 46 |
)
|
| 47 |
);
|
| 56 |
<table class="images_table adminlist table table-striped wp-list-table widefat fixed pages media bwg-gallery-lists">
|
| 57 |
<thead class="alternate">
|
| 58 |
<td id="cb" class="column-cb check-column">
|
| 59 |
+
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all', 'photo-gallery'); ?></label>
|
| 60 |
<input id="check_all" type="checkbox" onclick="spider_check_all(this)" />
|
| 61 |
</td>
|
| 62 |
+
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Title', 'photo-gallery'), $params['page_url'], 'column-primary'); ?>
|
| 63 |
+
<?php echo WDWLibrary::ordering('author', $params['orderby'], $params['order'], __('Author', 'photo-gallery'), $params['page_url']); ?>
|
| 64 |
</thead>
|
| 65 |
<tbody class="bwg-ordering">
|
| 66 |
<?php
|
| 96 |
<th class="check-column">
|
| 97 |
<input type="checkbox" id="check_<?php echo $row->id; ?>" name="check[<?php echo $row->id; ?>]" onclick="spider_check_all(this)" />
|
| 98 |
</th>
|
| 99 |
+
<td class="column-primary column-title" data-colname="<?php _e('Title', 'photo-gallery'); ?>">
|
| 100 |
<strong class="has-media-icon">
|
| 101 |
<a href="<?php echo $edit_url; ?>">
|
| 102 |
<span class="media-icon image-icon">
|
| 105 |
<?php echo esc_html( $row->name ); ?>
|
| 106 |
</a>
|
| 107 |
<?php if ( !$row->published ) { ?>
|
| 108 |
+
— <span class="post-state"><?php _e('Unpublished', 'photo-gallery'); ?></span>
|
| 109 |
<?php } ?>
|
| 110 |
</strong>
|
| 111 |
<div class="row-actions">
|
| 112 |
+
<span><a href="<?php echo $edit_url; ?>"><?php _e('Edit', 'photo-gallery'); ?></a> |</span>
|
| 113 |
+
<span><a href="<?php echo $publish_url; ?>"><?php echo ($row->published ? __('Unpublish', 'photo-gallery') : __('Publish', 'photo-gallery')); ?></a> |</span>
|
| 114 |
+
<span><a href="<?php echo $duplicate_url; ?>"><?php _e('Duplicate', 'photo-gallery'); ?></a> |</span>
|
| 115 |
+
<span class="trash"><a onclick="if (!confirm('<?php echo addslashes(__('Do you want to delete selected item?', 'photo-gallery')); ?>')) {return false;}" href="<?php echo $delete_url; ?>"><?php _e('Delete', 'photo-gallery'); ?></a> |</span>
|
| 116 |
+
<span><a href="<?php echo esc_url( $preview_url ); ?>" target="_blank"><?php _e('Preview', 'photo-gallery'); ?></a></span>
|
| 117 |
</div>
|
| 118 |
<button class="toggle-row" type="button">
|
| 119 |
+
<span class="screen-reader-text"><?php _e('Show more details', 'photo-gallery'); ?></span>
|
| 120 |
</button>
|
| 121 |
</td>
|
| 122 |
+
<td data-colname="<?php _e('Author', 'photo-gallery'); ?>"><?php echo ( $user ) ? $user->display_name : ''; ?></td>
|
| 123 |
</tr>
|
| 124 |
<?php
|
| 125 |
}
|
| 176 |
$demo_url_for_free = 'https://demo.10web.io/photo-gallery/';
|
| 177 |
$get_album_gallery_types = array(
|
| 178 |
'album_compact_preview' => array(
|
| 179 |
+
'title' => __('Compact', 'photo-gallery'),
|
| 180 |
'preview_url' => add_query_arg('bwg-preview-type', 'album_compact_preview', $params['preview_action']),
|
| 181 |
),
|
| 182 |
'album_masonry_preview' => array(
|
| 183 |
+
'title' => __('Masonry', 'photo-gallery') . (!BWG()->is_pro ? '<span class="pro_btn">' . __('Premium', 'photo-gallery') . '</span>' : ''),
|
| 184 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free : add_query_arg('bwg-preview-type', 'album_masonry_preview', $params['preview_action']),
|
| 185 |
),
|
| 186 |
'album_extended_preview' => array(
|
| 187 |
+
'title' => __('Extended', 'photo-gallery'),
|
| 188 |
'preview_url' => add_query_arg('bwg-preview-type', 'album_extended_preview', $params['preview_action']),
|
| 189 |
),
|
| 190 |
);
|
| 192 |
<div class="bwg-page-header wd-list-view-header<?php echo !BWG()->is_pro ? ' bwg-page-header-free' : ''?>">
|
| 193 |
<div class="wd-page-title wd-header wd-list-view-header-left">
|
| 194 |
<div>
|
| 195 |
+
<h1 class="wp-heading-inline bwg-heading"><?php _e('Gallery Group Title', 'photo-gallery'); ?></h1>
|
| 196 |
<input type="text" id="name" name="name" value="<?php echo !empty($row->name) ? esc_attr( $row->name ) : ''; ?>">
|
| 197 |
</div>
|
| 198 |
<div class="bwg-page-actions">
|
| 199 |
<button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
|
| 200 |
+
<?php echo ($params['id']) ? __('Update', 'photo-gallery') : __('Publish', 'photo-gallery'); ?>
|
| 201 |
</button>
|
| 202 |
|
| 203 |
<?php /* Preview Section */
|
| 204 |
if ( $params['id'] && $params['preview_action'] ) { ?>
|
| 205 |
+
<div class="tw-button-secondary bwg-preview-button " id ="bwg-preview-button" onclick="bwg_preview_section(this);"><?php _e('Preview', 'photo-gallery'); ?></div>
|
| 206 |
<div class="bwg-preview-section album">
|
| 207 |
+
<p><?php _e('Preview gallery group in:', 'photo-gallery'); ?></p>
|
| 208 |
<?php foreach ( $get_album_gallery_types as $key => $value ) { ?>
|
| 209 |
<div class="bwg-preview-gallery-type" onclick="window.open('<?php echo $value['preview_url']; ?>')">
|
| 210 |
<div class="bwg-preview-gallery-type-icon"></div>
|
| 234 |
<div class="wd-box-section">
|
| 235 |
<div class="postbox <?php echo $params['id'] ? 'closed' : '' ?>">
|
| 236 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 237 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 238 |
<span class="toggle-indicator" aria-hidden="true"></span>
|
| 239 |
</button>
|
| 240 |
<h2 class="hndle">
|
| 241 |
+
<span><?php _e('Basic', 'photo-gallery'); ?></span>
|
| 242 |
</h2>
|
| 243 |
<div class="inside">
|
| 244 |
<div class="wd-box-content">
|
| 245 |
<div class="wd-group">
|
| 246 |
+
<label class="wd-label" for="preview_image"><?php _e('Preview image', 'photo-gallery'); ?></label>
|
| 247 |
<div>
|
| 248 |
+
<a href="<?php echo $params['add_preview_image_action']; ?>" id="button_preview_image" class="button wd-preview-image-btn thickbox thickbox-preview <?php echo ($row->preview_image == '') ? 'bwg_not-preview-image' : '' ?>" title="<?php _e('Add Preview Image', 'photo-gallery'); ?>" onclick="return false;" style="<?php echo !empty($row->preview_image) ? 'display:none;' : '' ?>">
|
| 249 |
+
<span class="dashicons dashicons-camera"></span><?php _e('Add', 'photo-gallery'); ?>
|
| 250 |
</a>
|
| 251 |
<img id="img_preview_image" src="<?php echo $row->preview_image ? (BWG()->upload_url . $row->preview_image) : ''; ?>" style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>" />
|
| 252 |
<span id="delete_preview_image" class="spider_delete_img dashicons dashicons-no-alt" onclick="spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image')" style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>"></span>
|
| 253 |
<input type="hidden" id="preview_image" name="preview_image" value="<?php echo $row->preview_image; ?>" />
|
| 254 |
+
<p class="description"><?php _e('Add a preview image, which will be displayed as the cover image of the gallery group when it is published in a parent gallery group.', 'photo-gallery'); ?></p>
|
| 255 |
</div>
|
| 256 |
</div>
|
| 257 |
<div class="wd-group">
|
| 258 |
+
<label class="wd-label"><?php _e('Published', 'photo-gallery'); ?></label>
|
| 259 |
<input type="radio" class="inputbox" id="published1" name="published" <?php echo(($row->published == 1 || !$params['id']) ? 'checked="checked"' : ''); ?> value="1" />
|
| 260 |
+
<label for="published1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 261 |
<input type="radio" class="inputbox" id="published0" name="published" <?php echo(($row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
| 262 |
+
<label for="published0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 263 |
</div>
|
| 264 |
</div>
|
| 265 |
</div>
|
| 270 |
<div class="wd-box-section">
|
| 271 |
<div class="postbox closed">
|
| 272 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 273 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 274 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 275 |
</button>
|
| 276 |
<h2 class="hndle">
|
| 277 |
+
<span><?php _e('Advanced', 'photo-gallery'); ?></span>
|
| 278 |
</h2>
|
| 279 |
<div class="inside bwg-flex bwg-flex-wrap bwg-align-items-top">
|
| 280 |
<div class="wd-table-col-50">
|
| 281 |
<div class="wd-box-section">
|
| 282 |
<div class="wd-box-content">
|
| 283 |
<div class="wd-group">
|
| 284 |
+
<label class="wd-label"><?php _e('Author', 'photo-gallery'); ?></label>
|
| 285 |
<span><?php echo esc_html($row->author); ?></span>
|
| 286 |
</div>
|
| 287 |
<div class="wd-group">
|
| 288 |
+
<label class="wd-label" for="slug"><?php _e('Slug', 'photo-gallery'); ?></label>
|
| 289 |
<input type="text" id="slug" name="slug" value="<?php echo esc_attr($row->slug); ?>">
|
| 290 |
<input type="hidden" id="old_slug" name="old_slug" value="<?php echo esc_attr($row->slug); ?>">
|
| 291 |
</div>
|
| 292 |
<div class="wd-group">
|
| 293 |
+
<label class="wd-label" for="description"><?php _e('Description', 'photo-gallery'); ?> </label>
|
| 294 |
<?php
|
| 295 |
if ( user_can_richedit() && $enable_wp_editor ) {
|
| 296 |
wp_editor(esc_html($row->description), 'description', array(
|
| 321 |
<div class="wd-box-section">
|
| 322 |
<div class="wd-box-content">
|
| 323 |
<div class="wd-group">
|
| 324 |
+
<h2 class="wd-titles"><?php _e('Galleries and Gallery Groups', 'photo-gallery'); ?></h2>
|
| 325 |
<div id="bwg_tabs" class="bwg_tabs hidden">
|
| 326 |
<?php
|
| 327 |
foreach ( $params['albums_galleries'] as $item ) {
|
| 340 |
<div class="bwg_subtab">
|
| 341 |
<div class="new_tab_image">
|
| 342 |
<a class="new_tab_link thickbox-preview" onclick="jQuery('#loading_div').show();" href="<?php echo $params['add_albums_galleries_action']; ?>">
|
| 343 |
+
<p id="add_album_gallery_text"><?php _e('Add', 'photo-gallery'); ?></p>
|
| 344 |
</a>
|
| 345 |
</div>
|
| 346 |
</div>
|
| 373 |
<div <?php echo $albumgallery_row->preview_image; ?> class="tab_image">
|
| 374 |
<div class="tab_buttons">
|
| 375 |
<div class="handle_wrap">
|
| 376 |
+
<span class="bwg_move dashicons dashicons-move" title="<?php _e('Drag to re-order', 'photo-gallery'); ?>"></span>
|
| 377 |
</div>
|
| 378 |
<div class="bwg_tab_title_wrap" title="<?php echo $albumgallery_row->name; ?>">
|
| 379 |
<a href="<?php echo $edit_url?>" target="_blank">
|
| 383 |
</div>
|
| 384 |
<div class="overlay">
|
| 385 |
<div class="hover_buttons">
|
| 386 |
+
<span class="bwg_tab_remove dashicons dashicons-trash" title="<?php _e('Remove', 'photo-gallery'); ?>" onclick="bwg_remove_album_gallery(this)"></span>
|
| 387 |
+
<span class="bwg_tab_status dashicons <?php echo $albumgallery_row->published; ?>" title="<?php _e('Unpublished', 'photo-gallery'); ?>"></span>
|
| 388 |
<span class="bwg_clear"></span>
|
| 389 |
</div>
|
| 390 |
</div>
|
admin/views/Albumsgalleries.php
CHANGED
|
@@ -76,8 +76,8 @@ class AlbumsgalleriesView_bwg extends AdminView_bwg {
|
|
| 76 |
<td class="sortable manage-column column-cb check-column table_small_col">
|
| 77 |
<input id="check_all" type="checkbox" />
|
| 78 |
</td>
|
| 79 |
-
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Title',
|
| 80 |
-
<?php echo WDWLibrary::ordering('is_album', $params['orderby'], $params['order'], __('Type',
|
| 81 |
</thead>
|
| 82 |
<tbody id="tbody_albums_galleries">
|
| 83 |
<?php
|
|
@@ -100,7 +100,7 @@ class AlbumsgalleriesView_bwg extends AdminView_bwg {
|
|
| 100 |
<th class="table_small_col check-column">
|
| 101 |
<input id="check_<?php echo $iterator; ?>" name="check_<?php echo $iterator; ?>" type="checkbox" data-id="<?php echo $row->id; ?>" data-is-album="<?php echo htmlspecialchars(addslashes($row->is_album)); ?>" data-preview-image="<?php echo esc_url( $preview_image ); ?>" data-name="<?php echo esc_attr( $row->name ); ?>" data-status="<?php echo !$row->published ? 'dashicons-hidden' : 'bwg-hidden'; ?>" />
|
| 102 |
</th>
|
| 103 |
-
<td class="column-primary column-title" data-colname="<?php _e('Title',
|
| 104 |
<strong class="has-media-icon">
|
| 105 |
<a class="wd-pointer" onclick="window.parent.bwg_add_album_gallery('<?php echo $row->id; ?>', '<?php echo $row->is_album; ?>', '<?php echo esc_url( $preview_image ); ?>', '<?php echo esc_attr( $row->name ); ?>','<?php echo !$row->published ? 'dashicons-hidden' : 'bwg-hidden' ?>')" id="a_<?php echo $iterator; ?>">
|
| 106 |
<span class="media-icon image-icon">
|
|
@@ -109,15 +109,15 @@ class AlbumsgalleriesView_bwg extends AdminView_bwg {
|
|
| 109 |
<?php echo esc_html( $row->name ); ?>
|
| 110 |
</a>
|
| 111 |
<?php if ( !$row->published ) { ?>
|
| 112 |
-
— <span class="post-state"><?php _e('Unpublished',
|
| 113 |
<?php } ?>
|
| 114 |
</strong>
|
| 115 |
<button class="toggle-row" type="button">
|
| 116 |
-
<span class="screen-reader-text"><?php _e('Show more details',
|
| 117 |
</button>
|
| 118 |
</td>
|
| 119 |
-
<td id="type_<?php echo $iterator; ?>" class="table_medium_col_uncenter" data-colname="<?php _e('Type',
|
| 120 |
-
<?php echo ($row->is_album ? __("Gallery group",
|
| 121 |
</td>
|
| 122 |
</tr>
|
| 123 |
<?php
|
|
@@ -135,7 +135,7 @@ class AlbumsgalleriesView_bwg extends AdminView_bwg {
|
|
| 135 |
<div class="media-frame-toolbar">
|
| 136 |
<div class="media-toolbar">
|
| 137 |
<div class="media-toolbar-primary search-form">
|
| 138 |
-
<button class="button media-button button-primary button-large media-button-insert" type="button" onclick="jQuery('#loading_div').show(); spider_get_items();"><?php _e('Add to Gallery Group',
|
| 139 |
</div>
|
| 140 |
</div>
|
| 141 |
</div>
|
| 76 |
<td class="sortable manage-column column-cb check-column table_small_col">
|
| 77 |
<input id="check_all" type="checkbox" />
|
| 78 |
</td>
|
| 79 |
+
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Title', 'photo-gallery'), $params['page_url'], 'column-primary'); ?>
|
| 80 |
+
<?php echo WDWLibrary::ordering('is_album', $params['orderby'], $params['order'], __('Type', 'photo-gallery'), $params['page_url']); ?>
|
| 81 |
</thead>
|
| 82 |
<tbody id="tbody_albums_galleries">
|
| 83 |
<?php
|
| 100 |
<th class="table_small_col check-column">
|
| 101 |
<input id="check_<?php echo $iterator; ?>" name="check_<?php echo $iterator; ?>" type="checkbox" data-id="<?php echo $row->id; ?>" data-is-album="<?php echo htmlspecialchars(addslashes($row->is_album)); ?>" data-preview-image="<?php echo esc_url( $preview_image ); ?>" data-name="<?php echo esc_attr( $row->name ); ?>" data-status="<?php echo !$row->published ? 'dashicons-hidden' : 'bwg-hidden'; ?>" />
|
| 102 |
</th>
|
| 103 |
+
<td class="column-primary column-title" data-colname="<?php _e('Title', 'photo-gallery'); ?>">
|
| 104 |
<strong class="has-media-icon">
|
| 105 |
<a class="wd-pointer" onclick="window.parent.bwg_add_album_gallery('<?php echo $row->id; ?>', '<?php echo $row->is_album; ?>', '<?php echo esc_url( $preview_image ); ?>', '<?php echo esc_attr( $row->name ); ?>','<?php echo !$row->published ? 'dashicons-hidden' : 'bwg-hidden' ?>')" id="a_<?php echo $iterator; ?>">
|
| 106 |
<span class="media-icon image-icon">
|
| 109 |
<?php echo esc_html( $row->name ); ?>
|
| 110 |
</a>
|
| 111 |
<?php if ( !$row->published ) { ?>
|
| 112 |
+
— <span class="post-state"><?php _e('Unpublished', 'photo-gallery'); ?></span>
|
| 113 |
<?php } ?>
|
| 114 |
</strong>
|
| 115 |
<button class="toggle-row" type="button">
|
| 116 |
+
<span class="screen-reader-text"><?php _e('Show more details', 'photo-gallery'); ?></span>
|
| 117 |
</button>
|
| 118 |
</td>
|
| 119 |
+
<td id="type_<?php echo $iterator; ?>" class="table_medium_col_uncenter" data-colname="<?php _e('Type', 'photo-gallery'); ?>">
|
| 120 |
+
<?php echo ($row->is_album ? __("Gallery group", 'photo-gallery') : __("Gallery", 'photo-gallery')) ; ?>
|
| 121 |
</td>
|
| 122 |
</tr>
|
| 123 |
<?php
|
| 135 |
<div class="media-frame-toolbar">
|
| 136 |
<div class="media-toolbar">
|
| 137 |
<div class="media-toolbar-primary search-form">
|
| 138 |
+
<button class="button media-button button-primary button-large media-button-insert" type="button" onclick="jQuery('#loading_div').show(); spider_get_items();"><?php _e('Add to Gallery Group', 'photo-gallery'); ?></button>
|
| 139 |
</div>
|
| 140 |
</div>
|
| 141 |
</div>
|
admin/views/Editimage.php
CHANGED
|
@@ -180,7 +180,7 @@ class EditimageView_bwg {
|
|
| 180 |
}
|
| 181 |
else {
|
| 182 |
?>
|
| 183 |
-
<div class="message"><strong><?php echo __("You can't crop this type of image.",
|
| 184 |
<?php
|
| 185 |
}
|
| 186 |
$where = ' `id` = ' . $image_id;
|
|
@@ -260,12 +260,12 @@ class EditimageView_bwg {
|
|
| 260 |
</style>
|
| 261 |
<div style="padding:0 5px;">
|
| 262 |
<div class="message<?php echo ( $task == 'crop' ) ? ' croped' : '' ?>">
|
| 263 |
-
<span id="select_msg" class="notice notice-warning"><p><?php _e('Select the area for the thumbnail.',
|
| 264 |
</div>
|
| 265 |
<form method="post" id="crop_image" action="<?php echo $form_action; ?>" class="wd-form wp-core-ui">
|
| 266 |
<div class="thumb_preview_td" style="padding: 5px;">
|
| 267 |
<input type="checkbox" id="chb" name="aspect_ratio" value="1" onclick="spider_crop_ratio()" checked="checked">
|
| 268 |
-
<label for="chb"><?php _e('Keep aspect ratio',
|
| 269 |
</div>
|
| 270 |
<?php wp_nonce_field('editimage_' . BWG()->prefix, 'bwg_nonce'); ?>
|
| 271 |
<div style="max-height:<?php echo $image_height-200; ?>px; margin: 0 auto;">
|
|
@@ -276,7 +276,7 @@ class EditimageView_bwg {
|
|
| 276 |
</td>
|
| 277 |
</tr>
|
| 278 |
</table>
|
| 279 |
-
<button type="button" class="button button-primary button-large button-hero spider_crop" style="margin-top: 10px" onclick="spider_crop(); return false;"><?php _e('Crop',
|
| 280 |
</div>
|
| 281 |
<input type="hidden" name="edit_type" id="edit_type" />
|
| 282 |
<input id="x" type="hidden" name="x" value="" />
|
|
@@ -287,11 +287,11 @@ class EditimageView_bwg {
|
|
| 287 |
</form>
|
| 288 |
|
| 289 |
<div id="croped_preview" class="bwg-hidden wp-core-ui">
|
| 290 |
-
<span id="success_msg" class="notice notice-success"><p><?php _e('The thumbnail was successfully cropped.',
|
| 291 |
<div id="croped_image_cont" style="height: 445px; display: grid;">
|
| 292 |
<img id='croped_image_thumb'>
|
| 293 |
</div>
|
| 294 |
-
<button type="button" class="button button-secondary button-large spider_crop button-hero" onclick="bwg_reset_crop(); return false;"><?php _e('Edit',
|
| 295 |
</div>
|
| 296 |
</div>
|
| 297 |
<script language="javascript">
|
|
@@ -409,6 +409,7 @@ class EditimageView_bwg {
|
|
| 409 |
|
| 410 |
public function recover_image( $id, $thumb_width, $thumb_height ) {
|
| 411 |
global $wpdb;
|
|
|
|
| 412 |
$image_data = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
|
| 413 |
if ( !$image_data ) {
|
| 414 |
$image_data = new stdClass();
|
|
@@ -419,9 +420,14 @@ class EditimageView_bwg {
|
|
| 419 |
$thumb_filename = htmlspecialchars_decode(BWG()->upload_dir . $image_data->thumb_url, ENT_COMPAT | ENT_QUOTES);
|
| 420 |
$original_filename = str_replace('/thumb/', '/.original/', $thumb_filename);
|
| 421 |
if ( WDWLibrary::repair_image_original($original_filename) ) {
|
| 422 |
-
WDWLibrary::resize_image( $original_filename, $filename, BWG()->options->upload_img_width, BWG()->options->upload_img_height );
|
| 423 |
-
WDWLibrary::resize_image( $original_filename, $thumb_filename, BWG()->options->upload_thumb_width, BWG()->options->upload_thumb_height );
|
|
|
|
|
|
|
|
|
|
| 424 |
}
|
|
|
|
|
|
|
| 425 |
}
|
| 426 |
|
| 427 |
public function rotate($image_data = array()) {
|
|
@@ -435,6 +441,7 @@ class EditimageView_bwg {
|
|
| 435 |
$contrast_val = WDWLibrary::get('contrast_val', 0, 'intval');
|
| 436 |
$image_data = new stdClass();
|
| 437 |
$modified_date = time();
|
|
|
|
| 438 |
if ( WDWLibrary::get('image_url') ) {
|
| 439 |
$image_data->image_url = WDWLibrary::get('image_url', '', 'esc_url_raw');
|
| 440 |
$image_data->thumb_url = WDWLibrary::get('thumb_url', '', 'esc_url_raw');
|
|
@@ -812,7 +819,10 @@ class EditimageView_bwg {
|
|
| 812 |
$id = WDWLibrary::get('image_id', 0, 'intval');
|
| 813 |
$thumb_width = BWG()->options->thumb_width;
|
| 814 |
$thumb_height = BWG()->options->thumb_height;
|
| 815 |
-
$this->recover_image($id, $thumb_width, $thumb_height);
|
|
|
|
|
|
|
|
|
|
| 816 |
}
|
| 817 |
@ini_restore('memory_limit');
|
| 818 |
if ( !empty($edit_type) ) {
|
|
@@ -826,9 +836,14 @@ class EditimageView_bwg {
|
|
| 826 |
$image_data->image_url = WDWLibrary::image_url_version($image_data->image_url, $updated_image['modified_date']);
|
| 827 |
$image_data->thumb_url = WDWLibrary::image_url_version($image_data->thumb_url, $updated_image['modified_date']);
|
| 828 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 829 |
wp_print_scripts('jquery');
|
| 830 |
wp_print_scripts('jquery-ui-widget');
|
| 831 |
wp_print_scripts('jquery-ui-slider');
|
|
|
|
| 832 |
?>
|
| 833 |
<link type="text/css" rel="stylesheet" id="bwg_tables-css" href="<?php echo BWG()->front_url . '/css/bwg_edit_image.css'; ?>" media="all">
|
| 834 |
<form method="post" id="bwg_rotate_image" action="<?php echo $form_action; ?>">
|
|
@@ -837,33 +852,33 @@ class EditimageView_bwg {
|
|
| 837 |
<div class="cont_for_effect">
|
| 838 |
<div class="effect_cont">
|
| 839 |
<img class="effect" onclick="spider_rotate('grayscale', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/grayscale.png'; ?>" />
|
| 840 |
-
<p class="effect_title"><?php echo __('Grayscale',
|
| 841 |
</div>
|
| 842 |
<div class="effect_cont">
|
| 843 |
<img class="effect" onclick="spider_rotate('negative', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/negative.png'; ?>" />
|
| 844 |
-
<p class="effect_title"><?php echo __('Negative',
|
| 845 |
</div>
|
| 846 |
<div class="effect_cont">
|
| 847 |
<img class="effect" onclick="spider_rotate('remove', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/remove.png'; ?>" />
|
| 848 |
-
<p class="effect_title"><?php echo __('Removal',
|
| 849 |
</div>
|
| 850 |
<div class="effect_cont">
|
| 851 |
<img class="effect" onclick="spider_rotate('sepia', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/sepia.png'; ?>" />
|
| 852 |
-
<p class="effect_title"><?php echo __('Sepia',
|
| 853 |
</div>
|
| 854 |
<div class="effect_cont">
|
| 855 |
<img class="effect" onclick="spider_rotate('dark_slate_grey', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/dark_slate_grey.png'; ?>" />
|
| 856 |
-
<p class="effect_title"><?php echo __('Slate',
|
| 857 |
</div>
|
| 858 |
<div class="effect_cont">
|
| 859 |
<img class="effect" onclick="spider_rotate('saturate', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/saturate.png'; ?>" />
|
| 860 |
-
<p class="effect_title"><?php echo __('Saturate',
|
| 861 |
</div>
|
| 862 |
</div>
|
| 863 |
<div class="reset_cont">
|
| 864 |
-
<a class="reset_img" onclick="if (confirm('<?php echo addslashes(__('Do you want to reset the image?',
|
| 865 |
}else {return false;
|
| 866 |
-
} "><?php echo __('Reset image',
|
| 867 |
</div>
|
| 868 |
<div class="flip_cont">
|
| 869 |
<img title="Flip Both" class="effect" onclick="spider_rotate('both', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/flip_both.png'; ?>" />
|
|
@@ -889,9 +904,9 @@ class EditimageView_bwg {
|
|
| 889 |
<div class="brightness_part_1">
|
| 890 |
<div class="brightness_butt">
|
| 891 |
<div class="contForBrightness">
|
| 892 |
-
<div class="brightness_title"><?php echo __('Brightness',
|
| 893 |
<img title="Press for brightness" class="brightnessEffect" onclick="spider_rotate('brightness', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/brightness.png'; ?>" />
|
| 894 |
-
<div class="tooltip_for_press"><?php echo __('Press for result',
|
| 895 |
</div>
|
| 896 |
</div>
|
| 897 |
<div class="cont_for_val">
|
|
@@ -914,9 +929,9 @@ class EditimageView_bwg {
|
|
| 914 |
</div>
|
| 915 |
<div class="contrast_butt">
|
| 916 |
<div class="contForContrast">
|
| 917 |
-
<div class="contrast_title"><?php echo __('Contrast',
|
| 918 |
<img title="Press for Contrast" class="contrastEffect" onclick="spider_rotate('contrast', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/contrast.png'; ?>" />
|
| 919 |
-
<div class="tooltip_for_press_contrast"><?php echo __('Press for result',
|
| 920 |
</div>
|
| 921 |
</div>
|
| 922 |
</div>
|
| 180 |
}
|
| 181 |
else {
|
| 182 |
?>
|
| 183 |
+
<div class="message"><strong><?php echo __("You can't crop this type of image.", 'photo-gallery'); ?></strong></div>
|
| 184 |
<?php
|
| 185 |
}
|
| 186 |
$where = ' `id` = ' . $image_id;
|
| 260 |
</style>
|
| 261 |
<div style="padding:0 5px;">
|
| 262 |
<div class="message<?php echo ( $task == 'crop' ) ? ' croped' : '' ?>">
|
| 263 |
+
<span id="select_msg" class="notice notice-warning"><p><?php _e('Select the area for the thumbnail.', 'photo-gallery'); ?></p></span>
|
| 264 |
</div>
|
| 265 |
<form method="post" id="crop_image" action="<?php echo $form_action; ?>" class="wd-form wp-core-ui">
|
| 266 |
<div class="thumb_preview_td" style="padding: 5px;">
|
| 267 |
<input type="checkbox" id="chb" name="aspect_ratio" value="1" onclick="spider_crop_ratio()" checked="checked">
|
| 268 |
+
<label for="chb"><?php _e('Keep aspect ratio', 'photo-gallery'); ?></label>
|
| 269 |
</div>
|
| 270 |
<?php wp_nonce_field('editimage_' . BWG()->prefix, 'bwg_nonce'); ?>
|
| 271 |
<div style="max-height:<?php echo $image_height-200; ?>px; margin: 0 auto;">
|
| 276 |
</td>
|
| 277 |
</tr>
|
| 278 |
</table>
|
| 279 |
+
<button type="button" class="button button-primary button-large button-hero spider_crop" style="margin-top: 10px" onclick="spider_crop(); return false;"><?php _e('Crop', 'photo-gallery'); ?></button>
|
| 280 |
</div>
|
| 281 |
<input type="hidden" name="edit_type" id="edit_type" />
|
| 282 |
<input id="x" type="hidden" name="x" value="" />
|
| 287 |
</form>
|
| 288 |
|
| 289 |
<div id="croped_preview" class="bwg-hidden wp-core-ui">
|
| 290 |
+
<span id="success_msg" class="notice notice-success"><p><?php _e('The thumbnail was successfully cropped.', 'photo-gallery'); ?></p></span>
|
| 291 |
<div id="croped_image_cont" style="height: 445px; display: grid;">
|
| 292 |
<img id='croped_image_thumb'>
|
| 293 |
</div>
|
| 294 |
+
<button type="button" class="button button-secondary button-large spider_crop button-hero" onclick="bwg_reset_crop(); return false;"><?php _e('Edit', 'photo-gallery'); ?></button>
|
| 295 |
</div>
|
| 296 |
</div>
|
| 297 |
<script language="javascript">
|
| 409 |
|
| 410 |
public function recover_image( $id, $thumb_width, $thumb_height ) {
|
| 411 |
global $wpdb;
|
| 412 |
+
$status = TRUE;
|
| 413 |
$image_data = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
|
| 414 |
if ( !$image_data ) {
|
| 415 |
$image_data = new stdClass();
|
| 420 |
$thumb_filename = htmlspecialchars_decode(BWG()->upload_dir . $image_data->thumb_url, ENT_COMPAT | ENT_QUOTES);
|
| 421 |
$original_filename = str_replace('/thumb/', '/.original/', $thumb_filename);
|
| 422 |
if ( WDWLibrary::repair_image_original($original_filename) ) {
|
| 423 |
+
$filename_status = WDWLibrary::resize_image( $original_filename, $filename, BWG()->options->upload_img_width, BWG()->options->upload_img_height );
|
| 424 |
+
$thumb_filename_status = WDWLibrary::resize_image( $original_filename, $thumb_filename, BWG()->options->upload_thumb_width, BWG()->options->upload_thumb_height );
|
| 425 |
+
if ( !$filename_status && !$thumb_filename_status ) {
|
| 426 |
+
$status = FALSE;
|
| 427 |
+
}
|
| 428 |
}
|
| 429 |
+
|
| 430 |
+
return $status;
|
| 431 |
}
|
| 432 |
|
| 433 |
public function rotate($image_data = array()) {
|
| 441 |
$contrast_val = WDWLibrary::get('contrast_val', 0, 'intval');
|
| 442 |
$image_data = new stdClass();
|
| 443 |
$modified_date = time();
|
| 444 |
+
$message = '';
|
| 445 |
if ( WDWLibrary::get('image_url') ) {
|
| 446 |
$image_data->image_url = WDWLibrary::get('image_url', '', 'esc_url_raw');
|
| 447 |
$image_data->thumb_url = WDWLibrary::get('thumb_url', '', 'esc_url_raw');
|
| 819 |
$id = WDWLibrary::get('image_id', 0, 'intval');
|
| 820 |
$thumb_width = BWG()->options->thumb_width;
|
| 821 |
$thumb_height = BWG()->options->thumb_height;
|
| 822 |
+
$recover_image = $this->recover_image($id, $thumb_width, $thumb_height);
|
| 823 |
+
if ( ! $recover_image ) {
|
| 824 |
+
$message = WDWLibrary::message_id(31);
|
| 825 |
+
}
|
| 826 |
}
|
| 827 |
@ini_restore('memory_limit');
|
| 828 |
if ( !empty($edit_type) ) {
|
| 836 |
$image_data->image_url = WDWLibrary::image_url_version($image_data->image_url, $updated_image['modified_date']);
|
| 837 |
$image_data->thumb_url = WDWLibrary::image_url_version($image_data->thumb_url, $updated_image['modified_date']);
|
| 838 |
}
|
| 839 |
+
// Register and include styles and scripts.
|
| 840 |
+
BWG()->register_admin_scripts();
|
| 841 |
+
wp_print_styles(BWG()->prefix . '_tables');
|
| 842 |
+
wp_print_scripts(BWG()->prefix . '_admin');
|
| 843 |
wp_print_scripts('jquery');
|
| 844 |
wp_print_scripts('jquery-ui-widget');
|
| 845 |
wp_print_scripts('jquery-ui-slider');
|
| 846 |
+
echo ( !empty($message) ) ? $message . '<br>' : '';
|
| 847 |
?>
|
| 848 |
<link type="text/css" rel="stylesheet" id="bwg_tables-css" href="<?php echo BWG()->front_url . '/css/bwg_edit_image.css'; ?>" media="all">
|
| 849 |
<form method="post" id="bwg_rotate_image" action="<?php echo $form_action; ?>">
|
| 852 |
<div class="cont_for_effect">
|
| 853 |
<div class="effect_cont">
|
| 854 |
<img class="effect" onclick="spider_rotate('grayscale', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/grayscale.png'; ?>" />
|
| 855 |
+
<p class="effect_title"><?php echo __('Grayscale', 'photo-gallery'); ?></p>
|
| 856 |
</div>
|
| 857 |
<div class="effect_cont">
|
| 858 |
<img class="effect" onclick="spider_rotate('negative', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/negative.png'; ?>" />
|
| 859 |
+
<p class="effect_title"><?php echo __('Negative', 'photo-gallery'); ?></p>
|
| 860 |
</div>
|
| 861 |
<div class="effect_cont">
|
| 862 |
<img class="effect" onclick="spider_rotate('remove', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/remove.png'; ?>" />
|
| 863 |
+
<p class="effect_title"><?php echo __('Removal', 'photo-gallery'); ?></p>
|
| 864 |
</div>
|
| 865 |
<div class="effect_cont">
|
| 866 |
<img class="effect" onclick="spider_rotate('sepia', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/sepia.png'; ?>" />
|
| 867 |
+
<p class="effect_title"><?php echo __('Sepia', 'photo-gallery'); ?></p>
|
| 868 |
</div>
|
| 869 |
<div class="effect_cont">
|
| 870 |
<img class="effect" onclick="spider_rotate('dark_slate_grey', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/dark_slate_grey.png'; ?>" />
|
| 871 |
+
<p class="effect_title"><?php echo __('Slate', 'photo-gallery'); ?></p>
|
| 872 |
</div>
|
| 873 |
<div class="effect_cont">
|
| 874 |
<img class="effect" onclick="spider_rotate('saturate', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/saturate.png'; ?>" />
|
| 875 |
+
<p class="effect_title"><?php echo __('Saturate', 'photo-gallery'); ?></p>
|
| 876 |
</div>
|
| 877 |
</div>
|
| 878 |
<div class="reset_cont">
|
| 879 |
+
<a class="reset_img" onclick="if (confirm('<?php echo addslashes(__('Do you want to reset the image?', 'photo-gallery')); ?>')){spider_rotate('recover', 'bwg_rotate_image');
|
| 880 |
}else {return false;
|
| 881 |
+
} "><?php echo __('Reset image', 'photo-gallery'); ?></a>
|
| 882 |
</div>
|
| 883 |
<div class="flip_cont">
|
| 884 |
<img title="Flip Both" class="effect" onclick="spider_rotate('both', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/flip_both.png'; ?>" />
|
| 904 |
<div class="brightness_part_1">
|
| 905 |
<div class="brightness_butt">
|
| 906 |
<div class="contForBrightness">
|
| 907 |
+
<div class="brightness_title"><?php echo __('Brightness', 'photo-gallery'); ?></div>
|
| 908 |
<img title="Press for brightness" class="brightnessEffect" onclick="spider_rotate('brightness', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/brightness.png'; ?>" />
|
| 909 |
+
<div class="tooltip_for_press"><?php echo __('Press for result', 'photo-gallery'); ?></div>
|
| 910 |
</div>
|
| 911 |
</div>
|
| 912 |
<div class="cont_for_val">
|
| 929 |
</div>
|
| 930 |
<div class="contrast_butt">
|
| 931 |
<div class="contForContrast">
|
| 932 |
+
<div class="contrast_title"><?php echo __('Contrast', 'photo-gallery'); ?></div>
|
| 933 |
<img title="Press for Contrast" class="contrastEffect" onclick="spider_rotate('contrast', 'bwg_rotate_image')" src="<?php echo BWG()->plugin_url . '/images/effects/contrast.png'; ?>" />
|
| 934 |
+
<div class="tooltip_for_press_contrast"><?php echo __('Press for result', 'photo-gallery'); ?></div>
|
| 935 |
</div>
|
| 936 |
</div>
|
| 937 |
</div>
|
admin/views/Galleries.php
CHANGED
|
@@ -43,7 +43,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 43 |
'task' => 'edit',
|
| 44 |
), admin_url('admin.php')),
|
| 45 |
),
|
| 46 |
-
'add_new_button_text' => __('Add new gallery',
|
| 47 |
'how_to_button' => true,
|
| 48 |
));
|
| 49 |
echo $this->search();
|
|
@@ -58,12 +58,12 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 58 |
<thead class="alternate">
|
| 59 |
<td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>" data-ordering-url="<?php echo $params['galleries_ordering_ajax_url']; ?>"></td>
|
| 60 |
<td id="cb" class="column-cb check-column">
|
| 61 |
-
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Title',
|
| 62 |
<input id="check_all" type="checkbox">
|
| 63 |
</td>
|
| 64 |
-
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Title',
|
| 65 |
-
<th class="col_count"><?php _e('Images count',
|
| 66 |
-
<?php echo WDWLibrary::ordering('author', $params['orderby'], $params['order'], __('Author',
|
| 67 |
</thead>
|
| 68 |
<tbody id="bwg-table-sortable" class="bwg-ordering">
|
| 69 |
<?php
|
|
@@ -97,14 +97,14 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 97 |
?>
|
| 98 |
<tr id="tr_<?php echo $row->id; ?>" <?php echo $alternate; ?>>
|
| 99 |
<th class="connectedSortable col_drag handles ui-sortable-handle">
|
| 100 |
-
<div title="<?php _e('Drag to re-order',
|
| 101 |
<input class="wd-id" id="id_input_<?php echo $row->id; ?>" name="id_input_<?php echo $row->id; ?>" type="hidden" size="1" value="<?php echo $row->id; ?>" />
|
| 102 |
<input class="wd-order" id="order_input_<?php echo $row->id; ?>" name="order_input_<?php echo $row->id; ?>" type="hidden" size="1" value="<?php echo $row->order; ?>" />
|
| 103 |
</th>
|
| 104 |
<th class="check-column">
|
| 105 |
<input type="checkbox" id="check_<?php echo $row->id; ?>" name="check[<?php echo $row->id; ?>]" onclick="spider_check_all(this)" />
|
| 106 |
</th>
|
| 107 |
-
<td class="column-primary column-title" data-colname="<?php _e('Title',
|
| 108 |
<strong class="has-media-icon">
|
| 109 |
<a href="<?php echo $edit_url; ?>">
|
| 110 |
<span class="media-icon image-icon">
|
|
@@ -113,22 +113,22 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 113 |
<?php echo $row->name; ?>
|
| 114 |
</a>
|
| 115 |
<?php if ( !$row->published ) { ?>
|
| 116 |
-
— <span class="post-state"><?php _e('Unpublished',
|
| 117 |
<?php } ?>
|
| 118 |
</strong>
|
| 119 |
<div class="row-actions">
|
| 120 |
-
<span><a href="<?php echo $edit_url; ?>"><?php _e('Edit',
|
| 121 |
-
<span><a href="<?php echo $publish_url; ?>"><?php echo($row->published ? __('Unpublish',
|
| 122 |
-
<span class="trash"><a onclick="if (!confirm('<?php echo addslashes(__('Do you want to delete selected item?',
|
| 123 |
-
<span><a href="<?php echo $duplicate_url; ?>"><?php _e('Duplicate',
|
| 124 |
-
<span><a target="_blank" href="<?php echo $preview_url; ?>"><?php _e('Preview',
|
| 125 |
</div>
|
| 126 |
<button class="toggle-row" type="button">
|
| 127 |
-
<span class="screen-reader-text"><?php _e('Show more details',
|
| 128 |
</button>
|
| 129 |
</td>
|
| 130 |
-
<td class="col_count" data-colname="<?php _e('Images count',
|
| 131 |
-
<td data-colname="<?php _e('Author',
|
| 132 |
</tr>
|
| 133 |
<?php
|
| 134 |
}
|
|
@@ -191,31 +191,31 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 191 |
|
| 192 |
$get_gallery_types = array(
|
| 193 |
'thumbnails' => array(
|
| 194 |
-
'title' => __('Thumbnails',
|
| 195 |
'preview_url' => add_query_arg('bwg-preview-type', 'thumbnails', $params['preview_action']),
|
| 196 |
),
|
| 197 |
'thumbnails_masonry' => array(
|
| 198 |
-
'title' => __('Masonry',
|
| 199 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free : add_query_arg('bwg-preview-type', 'thumbnails_masonry', $params['preview_action']),
|
| 200 |
),
|
| 201 |
'thumbnails_mosaic' => array(
|
| 202 |
-
'title' => __('Mosaic',
|
| 203 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free.'mosaic' : add_query_arg('bwg-preview-type', 'thumbnails_mosaic', $params['preview_action']),
|
| 204 |
),
|
| 205 |
'slideshow' => array(
|
| 206 |
-
'title' => __('Slideshow',
|
| 207 |
'preview_url' => add_query_arg('bwg-preview-type', 'slideshow', $params['preview_action']),
|
| 208 |
),
|
| 209 |
'image_browser' => array(
|
| 210 |
-
'title' => __('Image Browser',
|
| 211 |
'preview_url' => add_query_arg('bwg-preview-type', 'image_browser', $params['preview_action']),
|
| 212 |
),
|
| 213 |
'blog_style' => array(
|
| 214 |
-
'title' => __('Blog Style',
|
| 215 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free.'blog-style' : add_query_arg('bwg-preview-type', 'blog_style', $params['preview_action']),
|
| 216 |
),
|
| 217 |
'carousel' => array(
|
| 218 |
-
'title' => __('Carousel',
|
| 219 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free.'carousel' : add_query_arg('bwg-preview-type', 'carousel', $params['preview_action']),
|
| 220 |
),
|
| 221 |
);
|
|
@@ -236,7 +236,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 236 |
<div class="bwg-page-header wd-list-view-header<?php echo !BWG()->is_pro ? ' bwg-page-header-free' : ''?>">
|
| 237 |
<div class="wd-page-title wd-header wd-list-view-header-left">
|
| 238 |
<div>
|
| 239 |
-
<h1 class="wp-heading-inline bwg-heading"><?php _e('Gallery title',
|
| 240 |
<input type="text" id="name" name="name" class="bwg_requried" value="<?php echo !empty($row->name) ? $row->name : ''; ?>">
|
| 241 |
</div>
|
| 242 |
<div class="bwg-page-actions">
|
|
@@ -245,14 +245,14 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 245 |
spider_set_input_value('ajax_task', '');
|
| 246 |
spider_set_input_value('bulk-action-selector-top', '-1');
|
| 247 |
spider_ajax_save('<?php echo BWG()->prefix . '_gallery'; ?>');return false;">
|
| 248 |
-
<?php echo ($params['id']) ? __('Update',
|
| 249 |
</button>
|
| 250 |
|
| 251 |
<?php /* Preview Section */
|
| 252 |
if ( $params['id'] && $params['preview_action'] ) { ?>
|
| 253 |
-
<div class="tw-button-secondary bwg-preview-button " onclick="bwg_preview_section(this);"><?php _e('Preview',
|
| 254 |
<div class="bwg-preview-section">
|
| 255 |
-
<p><?php _e('Preview gallery in:',
|
| 256 |
<?php foreach ( $get_gallery_types as $key => $value ) { ?>
|
| 257 |
<div class="bwg-preview-gallery-type" onclick="window.open('<?php echo $value['preview_url']; ?>')">
|
| 258 |
<div class="bwg-preview-gallery-type-icon"></div>
|
|
@@ -283,37 +283,37 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 283 |
<div class="wd-box-section">
|
| 284 |
<div class="postbox <?php echo $current_id ? 'closed' : '' ?>">
|
| 285 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 286 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 287 |
<span class="toggle-indicator" aria-hidden="true"></span>
|
| 288 |
</button>
|
| 289 |
<h2 class="hndle">
|
| 290 |
-
<span><?php _e('Basic',
|
| 291 |
</h2>
|
| 292 |
<div class="inside">
|
| 293 |
<div class="wd-box-content">
|
| 294 |
<div class="wd-group">
|
| 295 |
-
<label class="wd-label" for="url"><?php _e('Preview image',
|
| 296 |
<a href="<?php echo $params['add_preview_image_action']; ?>"
|
| 297 |
class="button thickbox thickbox-preview"
|
| 298 |
id="button_preview_image"
|
| 299 |
-
title="<?php _e('Add Preview Image',
|
| 300 |
onclick="return false;"
|
| 301 |
style="<?php echo !empty($row->preview_image) ? 'display:none;' : '' ?>">
|
| 302 |
-
<span class="dashicons dashicons-camera"></span><?php _e('Add',
|
| 303 |
</a>
|
| 304 |
<input type="hidden" id="preview_image" name="preview_image" value="<?php echo $row->preview_image; ?>" style="display: inline-block;" />
|
| 305 |
<img id="img_preview_image"
|
| 306 |
style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>"
|
| 307 |
src="<?php echo $row->preview_image ? (BWG()->upload_url . $row->preview_image) : ''; ?>" />
|
| 308 |
<span id="delete_preview_image" class="spider_delete_img dashicons dashicons-no-alt" onclick="spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image')" style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>"></span>
|
| 309 |
-
<p class="description"><?php _e('Add a preview image, which will be displayed as the cover image of the gallery when it is published in a gallery group.',
|
| 310 |
</div>
|
| 311 |
<div class="wd-group">
|
| 312 |
-
<label class="wd-label"><?php _e('Published',
|
| 313 |
<input type="radio" class="inputbox" id="published1" name="published" <?php echo(($row->published) ? 'checked="checked"' : ''); ?> value="1" />
|
| 314 |
-
<label for="published1"><?php _e('Yes',
|
| 315 |
<input type="radio" class="inputbox" id="published0" name="published" <?php echo(($row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
| 316 |
-
<label for="published0"><?php _e('No',
|
| 317 |
</div>
|
| 318 |
</div>
|
| 319 |
</div>
|
|
@@ -324,27 +324,27 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 324 |
<div class="wd-box-section">
|
| 325 |
<div class="postbox closed">
|
| 326 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 327 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 328 |
<span class="toggle-indicator" aria-hidden="true"></span>
|
| 329 |
</button>
|
| 330 |
<h2 class="hndle">
|
| 331 |
-
<span><?php _e('Advanced',
|
| 332 |
</h2>
|
| 333 |
<div class="inside bwg-flex bwg-flex-wrap bwg-align-items-top">
|
| 334 |
<div class="wd-table-col-50">
|
| 335 |
<div class="wd-box-section">
|
| 336 |
<div class="wd-box-content">
|
| 337 |
<div class="wd-group">
|
| 338 |
-
<label class="wd-label" for="author"><?php _e('Author',
|
| 339 |
<span><?php echo $row->author; ?></span>
|
| 340 |
</div>
|
| 341 |
<div class="wd-group">
|
| 342 |
-
<label class="wd-label" for="slug"><?php _e('Slug',
|
| 343 |
<input type="text" id="slug" name="slug" value="<?php echo $row->slug; ?>" size="39" />
|
| 344 |
<input type="hidden" id="old_slug" name="old_slug" value="<?php echo $row->slug; ?>" size="39" />
|
| 345 |
</div>
|
| 346 |
<div class="wd-group">
|
| 347 |
-
<label class="wd-label" for="description"><?php _e('Description',
|
| 348 |
<div>
|
| 349 |
<?php
|
| 350 |
if ( user_can_richedit() && $enable_wp_editor ) {
|
|
@@ -370,7 +370,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 370 |
<div class="wd-box-section">
|
| 371 |
<div class="wd-box-content">
|
| 372 |
<div class="wd-group">
|
| 373 |
-
<label class="wd-label" for="gallery_type"><?php _e('Gallery content type',
|
| 374 |
<select <?php echo ( !empty($params['rows'][0]) ) ? 'disabled' : ''; ?> name="gallery_type" id="gallery_type" onchange="bwg_gallery_type('<?php echo BWG()->options->instagram_access_token ?>');">
|
| 375 |
<?php
|
| 376 |
foreach ($params['gallery_types'] as $id => $type) {
|
|
@@ -384,35 +384,35 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 384 |
</select>
|
| 385 |
<input type="text" id="gallery_type_old" name="gallery_type_old" value="<?php echo $row->gallery_type; ?>" style='display:none;' />
|
| 386 |
<?php if ( empty($params['rows'][0]) ) { ?>
|
| 387 |
-
<p class="description"><?php _e('Select the type of gallery content. Mixed galleries can include all supported items. Alternatively, you can showcase images from one specific source only.',
|
| 388 |
<?php } else { ?>
|
| 389 |
-
<p class="description"><?php _e('Gallery type cannot be changed, as it is not empty. If you would like to show images from another source, please create a new gallery.',
|
| 390 |
<?php } ?>
|
| 391 |
</div>
|
| 392 |
<!-- instagram gallery -->
|
| 393 |
<div id="add_instagram_gallery" class="bwg-gallery-type-options" <?php echo($params['gallery_type'] == 'instagram' ? '' : 'style="display:none"'); ?>>
|
| 394 |
<div class="wd-group" id='tr_autogallery_image_number'>
|
| 395 |
-
<label class="wd-label" for="autogallery_image_number"><?php _e('Number of Instagram recent posts to add to gallery',
|
| 396 |
<input type="number" id="autogallery_image_number" name="autogallery_image_number" value="<?php echo $row->autogallery_image_number; ?>" />
|
| 397 |
</div>
|
| 398 |
<div class="wd-group" id='tr_instagram_post_gallery'>
|
| 399 |
-
<label class="wd-label"><?php _e('Instagram embed type',
|
| 400 |
<input type="radio" class="inputbox" id="instagram_post_gallery_0" name="instagram_post_gallery" <?php echo ($params['instagram_post_gallery'] ? '' : 'checked="checked"'); ?> value="0" />
|
| 401 |
-
<label for="instagram_post_gallery_0"><?php _e('Content',
|
| 402 |
<input type="radio" class="inputbox" id="instagram_post_gallery_1" name="instagram_post_gallery" <?php echo ($params['instagram_post_gallery'] ? 'checked="checked"' : ''); ?> value="1" />
|
| 403 |
-
<label for="instagram_post_gallery_1"><?php _e('Whole post',
|
| 404 |
</div>
|
| 405 |
<div class="wd-group" id='tr_update_flag'>
|
| 406 |
-
<label class="wd-label"><?php _e('Gallery autoupdate option',
|
| 407 |
<input type="radio" class="inputbox" id="update_flag_0" name="update_flag" <?php echo($row->update_flag == '' ? 'checked="checked"' : ''); ?> value="" />
|
| 408 |
-
<label for="update_flag_0"><?php _e('No update',
|
| 409 |
<input type="radio" class="inputbox" id="update_flag_1" name="update_flag" <?php echo($row->update_flag == 'add' ? 'checked="checked"' : ''); ?> value="add" />
|
| 410 |
-
<label for="update_flag_1"><?php _e('Add new media, keep old ones published.',
|
| 411 |
<input type="radio" class="inputbox" id="update_flag_2" name="update_flag" <?php echo($row->update_flag == 'replace' ? 'checked="checked"' : ''); ?> value="replace" />
|
| 412 |
-
<label for="update_flag_2"><?php _e('Add new media, unpublish old ones.',
|
| 413 |
</div>
|
| 414 |
<div class="wd-group" id='tr_instagram_gallery_add_button' <?php echo(($params['total']) ? 'style="display:none"' : ''); ?>>
|
| 415 |
-
<input id="instagram_gallery_add_button" class="button-primary" type="button" onclick="bwg_add_instagram_gallery('<?php echo BWG()->options->instagram_access_token ?>');" value="<?php _e('Add Instagram Gallery',
|
| 416 |
</div>
|
| 417 |
</div>
|
| 418 |
<div id="add_facebook_gallery" class="bwg-gallery-type-options" <?php echo($params['gallery_type'] == 'facebook' ? '' : 'style="display:none"'); ?>>
|
|
@@ -421,8 +421,8 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 421 |
do_action('init_display_facebook_gallery_options_bwg', $params);
|
| 422 |
}
|
| 423 |
else {
|
| 424 |
-
$link = '<a href="' . BWG()->plugin_link . BWG()->utm_source . '" target="_blank">' . __('Photo Gallery Facebook Integration',
|
| 425 |
-
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.",
|
| 426 |
}
|
| 427 |
?>
|
| 428 |
</div>
|
|
@@ -451,22 +451,22 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 451 |
<div class="buttons_div_left">
|
| 452 |
<a href="<?php echo $params['add_images_action']; ?>" id="add_image_bwg"
|
| 453 |
class="button button-primary button-large thickbox thickbox-preview"
|
| 454 |
-
title="<?php _e("Add Images",
|
| 455 |
style="margin-bottom:5px; <?php if ( $params['gallery_type'] != '' ) { echo 'display:none'; } ?>">
|
| 456 |
-
<?php _e('Add Images',
|
| 457 |
</a>
|
| 458 |
-
<input type="button" id="import_image_bwg" class="button button-secondary button-large" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 459 |
<?php
|
| 460 |
/*(re?)define ajax_url to add nonce only in admin*/
|
| 461 |
?>
|
| 462 |
<script>
|
| 463 |
var bwg_ajax_url_nonce = "<?php echo wp_nonce_url(admin_url('admin-ajax.php'), '', 'bwg_nonce'); ?>";
|
| 464 |
</script>
|
| 465 |
-
<input id="show_add_embed" class="button button-secondary button-large" title="<?php _e('Embed Media',
|
| 466 |
-
<input id="show_bulk_embed" class="button button-secondary button-large" title="<?php _e('Social Bulk Embed',
|
| 467 |
<?php
|
| 468 |
if ( is_plugin_active('image-optimizer-wd/io-wd.php') && !empty($params['rows']) ) {
|
| 469 |
-
?><a href="<?php echo add_query_arg(array('page' => 'iowd_settings', 'target' => 'wd_gallery'), admin_url('admin.php')); ?>" class="button button-primary button-large" target="_blank"><?php _e("Optimize Images",
|
| 470 |
}
|
| 471 |
?>
|
| 472 |
</div>
|
|
@@ -483,22 +483,22 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 483 |
|
| 484 |
<!-- Media Embed -->
|
| 485 |
<div id="add_embed" class="opacity_add_embed bwg_add_embed">
|
| 486 |
-
<input type="text" id="embed_url" name="embed_url" value="" placeholder="<?php _e('Enter YouTube, Vimeo, Instagram, Flickr or Dailymotion URL here.',
|
| 487 |
-
<input class="button button-primary button-large" type="button" onclick="if (bwg_get_embed_info('embed_url')) {jQuery('.opacity_add_embed').hide();} return false;" value="<?php _e('Add to gallery',
|
| 488 |
-
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_add_embed').hide(); return false;" value="<?php _e('Cancel',
|
| 489 |
<p class="description"></p>
|
| 490 |
<br>
|
| 491 |
<div class="spider_description">
|
| 492 |
<div>
|
| 493 |
-
<p class="spider_description_title"><?php _e('<b>Youtube</b> URL example:',
|
| 494 |
<input type="text" value="https://www.youtube.com/watch?v=pA8-5qaMBqM" disabled="disabled">
|
| 495 |
</div>
|
| 496 |
<div>
|
| 497 |
-
<p class="spider_description_title"><?php _e('<b>Vimeo</b> URL example:',
|
| 498 |
<input type="text" value="https://vimeo.com/69726973" disabled="disabled">
|
| 499 |
</div>
|
| 500 |
<div>
|
| 501 |
-
<p class="spider_description_title"><?php _e('<b>Instagram</b> URL example:',
|
| 502 |
<input type="text" value="https://instagram.com/p/ykvv0puS4u" disabled="disabled">
|
| 503 |
</div>
|
| 504 |
<?php
|
|
@@ -507,19 +507,19 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 507 |
}
|
| 508 |
?>
|
| 509 |
<div class="row">
|
| 510 |
-
<p class="spider_description_title"><?php _e('<b>Flickr</b> URL example:',
|
| 511 |
<input type="text" value="https://www.flickr.com/photos/powerpig/18780957662/in/photostream/" disabled="disabled">
|
| 512 |
</div>
|
| 513 |
<div class="row">
|
| 514 |
-
<p class="spider_description_title"><?php _e('<b>Dailymotion</b> URL example:',
|
| 515 |
<input type="text" value="http://www.dailymotion.com/video/x2w0jzl_cortoons-tv-tropty-episodio-2_fun" disabled="disabled">
|
| 516 |
</div>
|
| 517 |
</div>
|
| 518 |
</div>
|
| 519 |
<!-- Social Bulk Embed -->
|
| 520 |
<div id="bulk_embed" class="opacity_bulk_embed bwg_bulk_embed">
|
| 521 |
-
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_bulk_embed').hide(); jQuery('#loading_div').hide(); return false;" value="<?php _e('Cancel',
|
| 522 |
-
<input class="button button-primary button-large" type="button" onclick="bwg_bulk_embed('instagram', '<?php echo BWG()->options->instagram_access_token ?>');" value="<?php _e('Add to gallery',
|
| 523 |
<div class="spider_description"></div>
|
| 524 |
<div>
|
| 525 |
<?php
|
|
@@ -530,7 +530,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 530 |
<div id="instagram_bulk_params">
|
| 531 |
<div id='popup_tr_instagram_gallery_source'>
|
| 532 |
<div class="spider_label_galleries">
|
| 533 |
-
<label for="popup_instagram_gallery_source">Instagram <?php echo __('username:',
|
| 534 |
</div>
|
| 535 |
<div>
|
| 536 |
<input type="text" id="popup_instagram_gallery_source" name="popup_instagram_gallery_source" value="" size="64" class="bwg_requried" />
|
|
@@ -538,7 +538,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 538 |
</div>
|
| 539 |
<div id='popup_tr_instagram_image_number'>
|
| 540 |
<div class="spider_label_galleries">
|
| 541 |
-
<label for="popup_instagram_image_number"><?php echo __('Number of Instagram recent posts to add to gallery:',
|
| 542 |
</div>
|
| 543 |
<div>
|
| 544 |
<input type="number" id="popup_instagram_image_number" name="popup_instagram_image_number" value="12" />
|
|
@@ -546,12 +546,12 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 546 |
</div>
|
| 547 |
<div id='popup_tr_instagram_post_gallery'>
|
| 548 |
<div class="spider_label_galleries">
|
| 549 |
-
<label>Instagram <?php echo __('embed type:',
|
| 550 |
<div>
|
| 551 |
<input type="radio" class="inputbox" id="popup_instagram_post_gallery_0" name="popup_instagram_post_gallery" checked="checked" value="0">
|
| 552 |
-
<label for="popup_instagram_post_gallery_0"><?php echo __('Content',
|
| 553 |
<input type="radio" class="inputbox" id="popup_instagram_post_gallery_1" name="popup_instagram_post_gallery" value="1">
|
| 554 |
-
<label for="popup_instagram_post_gallery_1"><?php echo __('Whole post',
|
| 555 |
</div>
|
| 556 |
</div>
|
| 557 |
</div>
|
|
@@ -565,17 +565,17 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 565 |
<!-- Resize -->
|
| 566 |
<div class="opacity_resize_image bwg_resize_image">
|
| 567 |
<div id="resize_cont">
|
| 568 |
-
<?php _e("Resize images to: ",
|
| 569 |
<input type="text" name="image_width" id="image_width" value="1600" /> x
|
| 570 |
<input type="text" name="image_height" id="image_height" value="1200" /> px
|
| 571 |
-
<p class="description"><?php _e("The maximum size of resized image.",
|
| 572 |
</div>
|
| 573 |
<div id="resize_buttons">
|
| 574 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_resize');
|
| 575 |
spider_ajax_save('bwg_gallery');
|
| 576 |
jQuery('.opacity_resize_image').hide();
|
| 577 |
-
return false;" value="<?php _e("Resize",
|
| 578 |
-
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_resize_image').hide(); return false;" value="<?php _e("Cancel",
|
| 579 |
</div>
|
| 580 |
</div>
|
| 581 |
|
|
@@ -585,18 +585,18 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 585 |
|
| 586 |
<div>
|
| 587 |
<span class="bwg_popup_label">
|
| 588 |
-
<?php _e('Alt/Title: ',
|
| 589 |
</span>
|
| 590 |
<input class="bwg_popup_input" type="text" id="title" name="title" value="" />
|
| 591 |
-
<p class="description"><?php _e('Leave blank and click to "Save changes" to delete Alt/Titles.',
|
| 592 |
</div>
|
| 593 |
<br>
|
| 594 |
<div class="edit_cont_buttons">
|
| 595 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_edit_field');
|
| 596 |
spider_ajax_save('bwg_gallery');
|
| 597 |
jQuery('.opacity_image_alt').hide();
|
| 598 |
-
return false;" value="<?php _e('Save changes',
|
| 599 |
-
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_image_alt').hide(); return false;" value="<?php echo __('Cancel',
|
| 600 |
</div>
|
| 601 |
</div>
|
| 602 |
|
|
@@ -604,18 +604,18 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 604 |
<div id="add_red_url" class="opacity_image_redirect bwg_image_desc">
|
| 605 |
<div>
|
| 606 |
<span class="bwg_popup_label">
|
| 607 |
-
<?php _e('Redirect URL: ',
|
| 608 |
</span>
|
| 609 |
<input class="bwg_popup_input" type="text" id="redirecturl" name="redirecturl" value="" />
|
| 610 |
-
<p class="description"><?php _e('Leave blank and click to "Save changes" to delete Redirect URLs.',
|
| 611 |
</div>
|
| 612 |
<br>
|
| 613 |
<div class="edit_cont_buttons">
|
| 614 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_edit_field');
|
| 615 |
spider_ajax_save('bwg_gallery');
|
| 616 |
jQuery('.opacity_image_redirect').hide();
|
| 617 |
-
return false;" value="<?php _e('Save changes',
|
| 618 |
-
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_image_redirect').hide(); return false;" value="<?php echo __('Cancel',
|
| 619 |
</div>
|
| 620 |
</div>
|
| 621 |
|
|
@@ -623,10 +623,10 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 623 |
<div id="add_desc" class="opacity_image_description bwg_image_desc">
|
| 624 |
<div>
|
| 625 |
<span class="bwg_popup_label">
|
| 626 |
-
<?php _e('Description: ',
|
| 627 |
</span>
|
| 628 |
<textarea class="bwg_popup_input" type="text" id="desc" name="desc"></textarea>
|
| 629 |
-
<p class="description"><?php _e('Leave blank and click to "Save changes" to delete Descriptions.',
|
| 630 |
|
| 631 |
</div>
|
| 632 |
<br>
|
|
@@ -634,8 +634,8 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 634 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_edit_field');
|
| 635 |
spider_ajax_save('bwg_gallery');
|
| 636 |
jQuery('.opacity_image_description').hide();
|
| 637 |
-
return false;" value="<?php _e('Save changes',
|
| 638 |
-
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_image_description').hide(); return false;" value="<?php echo __('Cancel',
|
| 639 |
</div>
|
| 640 |
</div>
|
| 641 |
<div class="ajax-msg wd-hide">
|
|
@@ -654,12 +654,12 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 654 |
</div>
|
| 655 |
<div class="unsaved-msg wd-hide">
|
| 656 |
<?php
|
| 657 |
-
echo WDWLibrary::message_id(0, __('You have unsaved changes.',
|
| 658 |
?>
|
| 659 |
</div>
|
| 660 |
<div class="sorting-msg wd-hide">
|
| 661 |
<?php
|
| 662 |
-
echo WDWLibrary::message_id(0, __('This sorting does not affect the published galleries. You can change the ordering on frontend by editing gallery shortcode or Photo Gallery Options.',
|
| 663 |
?>
|
| 664 |
</div>
|
| 665 |
<?php echo $this->search(array('sorting' => true)); ?>
|
|
@@ -676,26 +676,26 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 676 |
<?php if( !$is_google_photos ) { ?>
|
| 677 |
<td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>">
|
| 678 |
<?php if ($params['orderby'] == 'order') { ?>
|
| 679 |
-
<select title="<?php _e('Show order column',
|
| 680 |
-
<option><?php _e('Drag&Drop',
|
| 681 |
-
<option><?php _e('Numerate',
|
| 682 |
</select>
|
| 683 |
<?php
|
| 684 |
}
|
| 685 |
else {
|
| 686 |
?>
|
| 687 |
-
<?php _e('Ordering',
|
| 688 |
<?php
|
| 689 |
}
|
| 690 |
?>
|
| 691 |
</td>
|
| 692 |
<td id="cb" class="column-cb check-column">
|
| 693 |
-
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Filename',
|
| 694 |
<input id="check_all" type="checkbox" />
|
| 695 |
</td>
|
| 696 |
<?php } ?>
|
| 697 |
<td class="col_num">#</td>
|
| 698 |
-
<th class="column-primary column-title"><?php _e('Image',
|
| 699 |
<th></th>
|
| 700 |
</thead>
|
| 701 |
<tbody id="tbody_arr" data-meta="<?php echo BWG()->options->read_metadata; ?>" class="bwg-ordering">
|
|
@@ -745,74 +745,81 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 745 |
$image_link = add_query_arg(array('TB_iframe' => '1'), $image_link);
|
| 746 |
$edit_link = add_query_arg(array('type' => 'rotate', 'TB_iframe' => '1'), $link);
|
| 747 |
$crop_link = add_query_arg(array('bwg_height' => '600', 'type' => 'crop', 'TB_iframe' => '1'), $link);
|
| 748 |
-
$image_url = (!$is_embed ? BWG()->upload_url :
|
| 749 |
$add_tag_url = add_query_arg(array('image_id' => $row->id, 'TB_iframe' => '1'), $params['add_tags_action']);
|
| 750 |
?>
|
| 751 |
<tr id="tr_<?php echo $row->id; ?>" class="<?php echo $alternate; ?><?php echo $temp ? ' wd-template wd-hide' : ''; ?>">
|
| 752 |
-
|
| 753 |
<th class="<?php if ($params['orderby'] == 'order') echo 'connectedSortable'; ?> col_drag handles ui-sortable-handle">
|
| 754 |
-
<div title="<?php _e('Drag to re-order',
|
| 755 |
<input class="wd-hide wd-order" id="order_input_<?php echo $row->id; ?>" name="order_input_<?php echo $row->id; ?>" type="text" size="1" value="<?php echo $row->order; ?>" />
|
| 756 |
</th>
|
| 757 |
<th class="check-column">
|
| 758 |
<input type="checkbox" id="check_<?php echo $row->id; ?>" name="check[<?php echo $row->id; ?>]" onclick="spider_check_all(this)" />
|
| 759 |
</th>
|
| 760 |
-
|
| 761 |
<th class="col_num"><?php echo $temp ? 'tempnum' : ++$i; ?></th>
|
| 762 |
-
<td class="column-primary column-title" data-colname="<?php _e('Filename',
|
| 763 |
<strong class="has-media-icon">
|
| 764 |
<?php if ( !$is_oembed_instagram_post ) { ?>
|
| 765 |
-
|
| 766 |
<?php } ?>
|
| 767 |
<span class="media-icon image-icon">
|
| 768 |
-
<img id="image_thumb_<?php echo $row->id; ?>" class="preview-image gallery_image_thumb <?php echo $temp ? '' : 'bwg_no_border' ?>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 769 |
</span>
|
| 770 |
<?php echo $row->filename; ?>
|
| 771 |
<i class="wd-info dashicons dashicons-info" data-id="wd-info-<?php echo $row->id; ?>"></i>
|
| 772 |
<div id="wd-info-<?php echo $row->id; ?>" class="wd-hide">
|
| 773 |
-
<p><?php echo __("Date",
|
| 774 |
-
<p><?php echo __("Resolution",
|
| 775 |
-
<p><?php echo __("Size",
|
| 776 |
-
<p><?php echo __("Type",
|
| 777 |
</div>
|
| 778 |
<?php if ( !$is_oembed_instagram_post ) { ?>
|
| 779 |
-
|
| 780 |
<?php } ?>
|
| 781 |
<?php if ( !$row->published ) { ?>
|
| 782 |
-
— <span class="post-state"><?php _e('Unpublished',
|
| 783 |
<?php } ?>
|
| 784 |
</strong>
|
| 785 |
<?php if( !$is_google_photos) {
|
| 786 |
$svg_check = strpos(strtolower($row->filetype), 'svg') > -1 ? true : false;
|
| 787 |
?>
|
| 788 |
<div class="row-actions">
|
| 789 |
-
<span class="wd-image-actions <?php echo ( !$svg_check && !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="<?php echo (BWG()->is_demo || !BWG()->wp_editor_exists ? '' : 'thickbox thickbox-preview'); ?>" href="<?php echo (BWG()->is_demo ? 'javascript:alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 790 |
-
<span class="wd-image-actions <?php echo ( !$svg_check && !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="<?php echo (BWG()->is_demo || !BWG()->wp_editor_exists ? '' : 'thickbox thickbox-preview'); ?>" href="<?php echo (BWG()->is_demo ? 'javascript:alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 791 |
-
<span class="wd-image-actions <?php echo ( !$svg_check && !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 792 |
<span><a onclick="spider_set_input_value('ajax_task', 'image_<?php echo $row->published ? 'unpublish' : 'publish'; ?>');
|
| 793 |
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
| 794 |
-
spider_ajax_save('bwg_gallery');"><?php echo($row->published ? __('Unpublish',
|
| 795 |
-
<span class="trash"><a onclick="if (confirm('<?php echo addslashes(__('Do you want to delete selected item?',
|
| 796 |
spider_set_input_value('ajax_task', 'image_delete');
|
| 797 |
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
| 798 |
spider_ajax_save('bwg_gallery');
|
| 799 |
} else {
|
| 800 |
return false;
|
| 801 |
-
}"><?php _e('Delete',
|
| 802 |
</div>
|
| 803 |
<?php } ?>
|
| 804 |
<button class="toggle-row" type="button">
|
| 805 |
-
<span class="screen-reader-text"><?php _e('Show more details',
|
| 806 |
</button>
|
| 807 |
</td>
|
| 808 |
<td class="column-data">
|
| 809 |
<div class="bwg-td-container">
|
| 810 |
<div class="bwg-td-item">
|
| 811 |
-
<label class="wd-table-label" for="image_alt_text_<?php echo $row->id; ?>"><?php _e('Alt/Title',
|
| 812 |
<textarea rows="4" id="image_alt_text_<?php echo $row->id; ?>" <?php disabled($is_google_photos) ?> name="image_alt_text_<?php echo $row->id; ?>"><?php echo $row->alt; ?></textarea>
|
| 813 |
</div>
|
| 814 |
<div class="bwg-td-item">
|
| 815 |
-
<label class="wd-table-label" for="image_description_<?php echo $row->id; ?>"><?php _e('Description',
|
| 816 |
<textarea rows="4" id="image_description_<?php echo $row->id; ?>" <?php disabled($is_google_photos) ?> name="image_description_<?php echo $row->id; ?>"><?php echo $row->description; ?></textarea>
|
| 817 |
</div>
|
| 818 |
<?php
|
|
@@ -820,7 +827,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 820 |
$priselist_name = $row->priselist_name ? "Pricelist: " . $row->priselist_name : "Not for sale";
|
| 821 |
$unset = $priselist_name == "Not for sale" ? "" : " <span onclick='bwg_remove_pricelist(this);' data-image-id= '" . $row->id . "' data-pricelist-id='" . $row->pricelist_id . "' class ='spider_delete_img_small' style='margin-top: -2px;margin-left: 3px;'></span>";
|
| 822 |
echo "<div class=\"bwg-td-item\"><div><strong>" . $priselist_name . " </strong>" . $unset . "</div>";
|
| 823 |
-
$not_set_text = $row->not_set_items == 1 ? __('Selected pricelist item longest dimension greater than some original images dimensions.',
|
| 824 |
echo "<small id='priselist_set_error" . $row->id . "' style='color:#B41111;' >" . $not_set_text . "</small>";
|
| 825 |
echo "<input type='hidden' id='pricelist_id_" . $row->id . "' value='" . $row->pricelist_id . "'></div>";
|
| 826 |
}
|
|
@@ -830,19 +837,19 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 830 |
if( !$is_google_photos ) {
|
| 831 |
?>
|
| 832 |
<div class="bwg-td-item bwg-td-item-redirect-url">
|
| 833 |
-
<label class="wd-table-label" for="redirect_url_<?php echo $row->id; ?>"><?php _e('Redirect URL',
|
| 834 |
<i class="wd-info dashicons dashicons-info" data-id="wd-info-redirect"></i>
|
| 835 |
<div id="wd-info-redirect" class="wd-hide">
|
| 836 |
<p><?php
|
| 837 |
-
$link = '<a target="_blank" href="'.add_query_arg(array('page' => 'options_bwg'), admin_url('admin.php')).'">'. __('Options > General',
|
| 838 |
-
echo sprintf(__('To activate this feature, go to %s, then set "Image click action" to "Redirect to URL". Please use absolute URLs when specifying the links.',
|
| 839 |
?>
|
| 840 |
</p>
|
| 841 |
</div>
|
| 842 |
<textarea rows="4" onkeypress="prevent_new_line(event)" class="bwg_redirect_url" id="redirect_url_<?php echo $row->id; ?>" name="redirect_url_<?php echo $row->id; ?>"><?php echo $row->redirect_url; ?></textarea>
|
| 843 |
</div>
|
| 844 |
<div class="bwg-td-item bwg-td-item-tags">
|
| 845 |
-
<label class="wd-table-label"><?php _e('Tags',
|
| 846 |
<div class="tags_div<?php echo count($row->tags) > 1 ? '' : ' tags_div_empty'; ?>">
|
| 847 |
<?php
|
| 848 |
if ( $row->tags ) {
|
|
@@ -853,7 +860,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 853 |
?>
|
| 854 |
<div class="tag_div<?php echo $row_tag_data->term_id == 'temptagid' ? ' wd-tag-template wd-hide' : ''; ?>" id="<?php echo $row->id; ?>_tag_<?php echo $row_tag_data->term_id; ?>">
|
| 855 |
<span class="tag_name"><?php echo $row_tag_data->name; ?></span>
|
| 856 |
-
<span class="dashicons dashicons-no-alt wd-delete-tag" title="<?php _e('Remove tag',
|
| 857 |
</div>
|
| 858 |
<?php
|
| 859 |
$tags_id_string .= ($row_tag_data->term_id == 'temptagid' ? '' : ($row_tag_data->term_id . ','));
|
|
@@ -863,7 +870,7 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
| 863 |
<?php
|
| 864 |
}
|
| 865 |
?>
|
| 866 |
-
<a onclick="jQuery('#loading_div').show();" href="<?php echo $add_tag_url; ?>" class="thickbox thickbox-preview"><span class="dashicons dashicons-plus"></span><?php _e('Add tag',
|
| 867 |
</div>
|
| 868 |
</div>
|
| 869 |
<?php } ?>
|
| 43 |
'task' => 'edit',
|
| 44 |
), admin_url('admin.php')),
|
| 45 |
),
|
| 46 |
+
'add_new_button_text' => __('Add new gallery', 'photo-gallery'),
|
| 47 |
'how_to_button' => true,
|
| 48 |
));
|
| 49 |
echo $this->search();
|
| 58 |
<thead class="alternate">
|
| 59 |
<td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>" data-ordering-url="<?php echo $params['galleries_ordering_ajax_url']; ?>"></td>
|
| 60 |
<td id="cb" class="column-cb check-column">
|
| 61 |
+
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Title', 'photo-gallery'); ?></label>
|
| 62 |
<input id="check_all" type="checkbox">
|
| 63 |
</td>
|
| 64 |
+
<?php echo WDWLibrary::ordering('name', $params['orderby'], $params['order'], __('Title', 'photo-gallery'), $params['page_url'], 'column-primary'); ?>
|
| 65 |
+
<th class="col_count"><?php _e('Images count', 'photo-gallery'); ?></th>
|
| 66 |
+
<?php echo WDWLibrary::ordering('author', $params['orderby'], $params['order'], __('Author', 'photo-gallery'), $params['page_url']); ?>
|
| 67 |
</thead>
|
| 68 |
<tbody id="bwg-table-sortable" class="bwg-ordering">
|
| 69 |
<?php
|
| 97 |
?>
|
| 98 |
<tr id="tr_<?php echo $row->id; ?>" <?php echo $alternate; ?>>
|
| 99 |
<th class="connectedSortable col_drag handles ui-sortable-handle">
|
| 100 |
+
<div title="<?php _e('Drag to re-order', 'photo-gallery'); ?>" class="wd-drag handle dashicons dashicons-move"></div>
|
| 101 |
<input class="wd-id" id="id_input_<?php echo $row->id; ?>" name="id_input_<?php echo $row->id; ?>" type="hidden" size="1" value="<?php echo $row->id; ?>" />
|
| 102 |
<input class="wd-order" id="order_input_<?php echo $row->id; ?>" name="order_input_<?php echo $row->id; ?>" type="hidden" size="1" value="<?php echo $row->order; ?>" />
|
| 103 |
</th>
|
| 104 |
<th class="check-column">
|
| 105 |
<input type="checkbox" id="check_<?php echo $row->id; ?>" name="check[<?php echo $row->id; ?>]" onclick="spider_check_all(this)" />
|
| 106 |
</th>
|
| 107 |
+
<td class="column-primary column-title" data-colname="<?php _e('Title', 'photo-gallery'); ?>">
|
| 108 |
<strong class="has-media-icon">
|
| 109 |
<a href="<?php echo $edit_url; ?>">
|
| 110 |
<span class="media-icon image-icon">
|
| 113 |
<?php echo $row->name; ?>
|
| 114 |
</a>
|
| 115 |
<?php if ( !$row->published ) { ?>
|
| 116 |
+
— <span class="post-state"><?php _e('Unpublished', 'photo-gallery'); ?></span>
|
| 117 |
<?php } ?>
|
| 118 |
</strong>
|
| 119 |
<div class="row-actions">
|
| 120 |
+
<span><a href="<?php echo $edit_url; ?>"><?php _e('Edit', 'photo-gallery'); ?></a> |</span>
|
| 121 |
+
<span><a href="<?php echo $publish_url; ?>"><?php echo($row->published ? __('Unpublish', 'photo-gallery') : __('Publish', 'photo-gallery')); ?></a> |</span>
|
| 122 |
+
<span class="trash"><a onclick="if (!confirm('<?php echo addslashes(__('Do you want to delete selected item?', 'photo-gallery')); ?>')) {return false;}" href="<?php echo $delete_url; ?>"><?php _e('Delete', 'photo-gallery'); ?></a> |</span>
|
| 123 |
+
<span><a href="<?php echo $duplicate_url; ?>"><?php _e('Duplicate', 'photo-gallery'); ?></a> |</span>
|
| 124 |
+
<span><a target="_blank" href="<?php echo $preview_url; ?>"><?php _e('Preview', 'photo-gallery'); ?></a></span>
|
| 125 |
</div>
|
| 126 |
<button class="toggle-row" type="button">
|
| 127 |
+
<span class="screen-reader-text"><?php _e('Show more details', 'photo-gallery'); ?></span>
|
| 128 |
</button>
|
| 129 |
</td>
|
| 130 |
+
<td class="col_count" data-colname="<?php _e('Images count', 'photo-gallery'); ?>"><?php echo $row->images_count; ?></td>
|
| 131 |
+
<td data-colname="<?php _e('Author', 'photo-gallery'); ?>" class="col-author"><?php echo ($user) ? $user->display_name : ''; ?></td>
|
| 132 |
</tr>
|
| 133 |
<?php
|
| 134 |
}
|
| 191 |
|
| 192 |
$get_gallery_types = array(
|
| 193 |
'thumbnails' => array(
|
| 194 |
+
'title' => __('Thumbnails', 'photo-gallery'),
|
| 195 |
'preview_url' => add_query_arg('bwg-preview-type', 'thumbnails', $params['preview_action']),
|
| 196 |
),
|
| 197 |
'thumbnails_masonry' => array(
|
| 198 |
+
'title' => __('Masonry', 'photo-gallery') . (!BWG()->is_pro ? '<span class="pro_btn">' . __('Premium', 'photo-gallery') . '</span>' : ''),
|
| 199 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free : add_query_arg('bwg-preview-type', 'thumbnails_masonry', $params['preview_action']),
|
| 200 |
),
|
| 201 |
'thumbnails_mosaic' => array(
|
| 202 |
+
'title' => __('Mosaic', 'photo-gallery') . (!BWG()->is_pro ? '<span class="pro_btn">' . __('Premium', 'photo-gallery') . '</span>' : ''),
|
| 203 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free.'mosaic' : add_query_arg('bwg-preview-type', 'thumbnails_mosaic', $params['preview_action']),
|
| 204 |
),
|
| 205 |
'slideshow' => array(
|
| 206 |
+
'title' => __('Slideshow', 'photo-gallery'),
|
| 207 |
'preview_url' => add_query_arg('bwg-preview-type', 'slideshow', $params['preview_action']),
|
| 208 |
),
|
| 209 |
'image_browser' => array(
|
| 210 |
+
'title' => __('Image Browser', 'photo-gallery'),
|
| 211 |
'preview_url' => add_query_arg('bwg-preview-type', 'image_browser', $params['preview_action']),
|
| 212 |
),
|
| 213 |
'blog_style' => array(
|
| 214 |
+
'title' => __('Blog Style', 'photo-gallery') . (!BWG()->is_pro ? '<span class="pro_btn">' . __('Premium', 'photo-gallery') . '</span>' : ''),
|
| 215 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free.'blog-style' : add_query_arg('bwg-preview-type', 'blog_style', $params['preview_action']),
|
| 216 |
),
|
| 217 |
'carousel' => array(
|
| 218 |
+
'title' => __('Carousel', 'photo-gallery') . (!BWG()->is_pro ? '<span class="pro_btn">' . __('Premium', 'photo-gallery') . '</span>' : ''),
|
| 219 |
'preview_url' => !BWG()->is_pro ? $demo_url_for_free.'carousel' : add_query_arg('bwg-preview-type', 'carousel', $params['preview_action']),
|
| 220 |
),
|
| 221 |
);
|
| 236 |
<div class="bwg-page-header wd-list-view-header<?php echo !BWG()->is_pro ? ' bwg-page-header-free' : ''?>">
|
| 237 |
<div class="wd-page-title wd-header wd-list-view-header-left">
|
| 238 |
<div>
|
| 239 |
+
<h1 class="wp-heading-inline bwg-heading"><?php _e('Gallery title', 'photo-gallery'); ?></h1>
|
| 240 |
<input type="text" id="name" name="name" class="bwg_requried" value="<?php echo !empty($row->name) ? $row->name : ''; ?>">
|
| 241 |
</div>
|
| 242 |
<div class="bwg-page-actions">
|
| 245 |
spider_set_input_value('ajax_task', '');
|
| 246 |
spider_set_input_value('bulk-action-selector-top', '-1');
|
| 247 |
spider_ajax_save('<?php echo BWG()->prefix . '_gallery'; ?>');return false;">
|
| 248 |
+
<?php echo ($params['id']) ? __('Update', 'photo-gallery') : __('Publish', 'photo-gallery'); ?>
|
| 249 |
</button>
|
| 250 |
|
| 251 |
<?php /* Preview Section */
|
| 252 |
if ( $params['id'] && $params['preview_action'] ) { ?>
|
| 253 |
+
<div class="tw-button-secondary bwg-preview-button " onclick="bwg_preview_section(this);"><?php _e('Preview', 'photo-gallery'); ?></div>
|
| 254 |
<div class="bwg-preview-section">
|
| 255 |
+
<p><?php _e('Preview gallery in:', 'photo-gallery'); ?></p>
|
| 256 |
<?php foreach ( $get_gallery_types as $key => $value ) { ?>
|
| 257 |
<div class="bwg-preview-gallery-type" onclick="window.open('<?php echo $value['preview_url']; ?>')">
|
| 258 |
<div class="bwg-preview-gallery-type-icon"></div>
|
| 283 |
<div class="wd-box-section">
|
| 284 |
<div class="postbox <?php echo $current_id ? 'closed' : '' ?>">
|
| 285 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 286 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 287 |
<span class="toggle-indicator" aria-hidden="true"></span>
|
| 288 |
</button>
|
| 289 |
<h2 class="hndle">
|
| 290 |
+
<span><?php _e('Basic', 'photo-gallery'); ?></span>
|
| 291 |
</h2>
|
| 292 |
<div class="inside">
|
| 293 |
<div class="wd-box-content">
|
| 294 |
<div class="wd-group">
|
| 295 |
+
<label class="wd-label" for="url"><?php _e('Preview image', 'photo-gallery'); ?> </label>
|
| 296 |
<a href="<?php echo $params['add_preview_image_action']; ?>"
|
| 297 |
class="button thickbox thickbox-preview"
|
| 298 |
id="button_preview_image"
|
| 299 |
+
title="<?php _e('Add Preview Image', 'photo-gallery'); ?>"
|
| 300 |
onclick="return false;"
|
| 301 |
style="<?php echo !empty($row->preview_image) ? 'display:none;' : '' ?>">
|
| 302 |
+
<span class="dashicons dashicons-camera"></span><?php _e('Add', 'photo-gallery'); ?>
|
| 303 |
</a>
|
| 304 |
<input type="hidden" id="preview_image" name="preview_image" value="<?php echo $row->preview_image; ?>" style="display: inline-block;" />
|
| 305 |
<img id="img_preview_image"
|
| 306 |
style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>"
|
| 307 |
src="<?php echo $row->preview_image ? (BWG()->upload_url . $row->preview_image) : ''; ?>" />
|
| 308 |
<span id="delete_preview_image" class="spider_delete_img dashicons dashicons-no-alt" onclick="spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image')" style="<?php echo empty($row->preview_image) ? 'display:none;' : '' ?>"></span>
|
| 309 |
+
<p class="description"><?php _e('Add a preview image, which will be displayed as the cover image of the gallery when it is published in a gallery group.', 'photo-gallery'); ?></p>
|
| 310 |
</div>
|
| 311 |
<div class="wd-group">
|
| 312 |
+
<label class="wd-label"><?php _e('Published', 'photo-gallery'); ?></label>
|
| 313 |
<input type="radio" class="inputbox" id="published1" name="published" <?php echo(($row->published) ? 'checked="checked"' : ''); ?> value="1" />
|
| 314 |
+
<label for="published1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 315 |
<input type="radio" class="inputbox" id="published0" name="published" <?php echo(($row->published) ? '' : 'checked="checked"'); ?> value="0" />
|
| 316 |
+
<label for="published0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 317 |
</div>
|
| 318 |
</div>
|
| 319 |
</div>
|
| 324 |
<div class="wd-box-section">
|
| 325 |
<div class="postbox closed">
|
| 326 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 327 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 328 |
<span class="toggle-indicator" aria-hidden="true"></span>
|
| 329 |
</button>
|
| 330 |
<h2 class="hndle">
|
| 331 |
+
<span><?php _e('Advanced', 'photo-gallery'); ?></span>
|
| 332 |
</h2>
|
| 333 |
<div class="inside bwg-flex bwg-flex-wrap bwg-align-items-top">
|
| 334 |
<div class="wd-table-col-50">
|
| 335 |
<div class="wd-box-section">
|
| 336 |
<div class="wd-box-content">
|
| 337 |
<div class="wd-group">
|
| 338 |
+
<label class="wd-label" for="author"><?php _e('Author', 'photo-gallery'); ?></label>
|
| 339 |
<span><?php echo $row->author; ?></span>
|
| 340 |
</div>
|
| 341 |
<div class="wd-group">
|
| 342 |
+
<label class="wd-label" for="slug"><?php _e('Slug', 'photo-gallery'); ?></label>
|
| 343 |
<input type="text" id="slug" name="slug" value="<?php echo $row->slug; ?>" size="39" />
|
| 344 |
<input type="hidden" id="old_slug" name="old_slug" value="<?php echo $row->slug; ?>" size="39" />
|
| 345 |
</div>
|
| 346 |
<div class="wd-group">
|
| 347 |
+
<label class="wd-label" for="description"><?php _e('Description', 'photo-gallery'); ?></label>
|
| 348 |
<div>
|
| 349 |
<?php
|
| 350 |
if ( user_can_richedit() && $enable_wp_editor ) {
|
| 370 |
<div class="wd-box-section">
|
| 371 |
<div class="wd-box-content">
|
| 372 |
<div class="wd-group">
|
| 373 |
+
<label class="wd-label" for="gallery_type"><?php _e('Gallery content type', 'photo-gallery'); ?></label>
|
| 374 |
<select <?php echo ( !empty($params['rows'][0]) ) ? 'disabled' : ''; ?> name="gallery_type" id="gallery_type" onchange="bwg_gallery_type('<?php echo BWG()->options->instagram_access_token ?>');">
|
| 375 |
<?php
|
| 376 |
foreach ($params['gallery_types'] as $id => $type) {
|
| 384 |
</select>
|
| 385 |
<input type="text" id="gallery_type_old" name="gallery_type_old" value="<?php echo $row->gallery_type; ?>" style='display:none;' />
|
| 386 |
<?php if ( empty($params['rows'][0]) ) { ?>
|
| 387 |
+
<p class="description"><?php _e('Select the type of gallery content. Mixed galleries can include all supported items. Alternatively, you can showcase images from one specific source only.', 'photo-gallery'); ?></p>
|
| 388 |
<?php } else { ?>
|
| 389 |
+
<p class="description"><?php _e('Gallery type cannot be changed, as it is not empty. If you would like to show images from another source, please create a new gallery.', 'photo-gallery'); ?></p>
|
| 390 |
<?php } ?>
|
| 391 |
</div>
|
| 392 |
<!-- instagram gallery -->
|
| 393 |
<div id="add_instagram_gallery" class="bwg-gallery-type-options" <?php echo($params['gallery_type'] == 'instagram' ? '' : 'style="display:none"'); ?>>
|
| 394 |
<div class="wd-group" id='tr_autogallery_image_number'>
|
| 395 |
+
<label class="wd-label" for="autogallery_image_number"><?php _e('Number of Instagram recent posts to add to gallery', 'photo-gallery'); ?> </label>
|
| 396 |
<input type="number" id="autogallery_image_number" name="autogallery_image_number" value="<?php echo $row->autogallery_image_number; ?>" />
|
| 397 |
</div>
|
| 398 |
<div class="wd-group" id='tr_instagram_post_gallery'>
|
| 399 |
+
<label class="wd-label"><?php _e('Instagram embed type', 'photo-gallery'); ?></label>
|
| 400 |
<input type="radio" class="inputbox" id="instagram_post_gallery_0" name="instagram_post_gallery" <?php echo ($params['instagram_post_gallery'] ? '' : 'checked="checked"'); ?> value="0" />
|
| 401 |
+
<label for="instagram_post_gallery_0"><?php _e('Content', 'photo-gallery'); ?></label> <br>
|
| 402 |
<input type="radio" class="inputbox" id="instagram_post_gallery_1" name="instagram_post_gallery" <?php echo ($params['instagram_post_gallery'] ? 'checked="checked"' : ''); ?> value="1" />
|
| 403 |
+
<label for="instagram_post_gallery_1"><?php _e('Whole post', 'photo-gallery'); ?></label>
|
| 404 |
</div>
|
| 405 |
<div class="wd-group" id='tr_update_flag'>
|
| 406 |
+
<label class="wd-label"><?php _e('Gallery autoupdate option', 'photo-gallery'); ?> </label>
|
| 407 |
<input type="radio" class="inputbox" id="update_flag_0" name="update_flag" <?php echo($row->update_flag == '' ? 'checked="checked"' : ''); ?> value="" />
|
| 408 |
+
<label for="update_flag_0"><?php _e('No update', 'photo-gallery'); ?></label> <br>
|
| 409 |
<input type="radio" class="inputbox" id="update_flag_1" name="update_flag" <?php echo($row->update_flag == 'add' ? 'checked="checked"' : ''); ?> value="add" />
|
| 410 |
+
<label for="update_flag_1"><?php _e('Add new media, keep old ones published.', 'photo-gallery'); ?></label> <br>
|
| 411 |
<input type="radio" class="inputbox" id="update_flag_2" name="update_flag" <?php echo($row->update_flag == 'replace' ? 'checked="checked"' : ''); ?> value="replace" />
|
| 412 |
+
<label for="update_flag_2"><?php _e('Add new media, unpublish old ones.', 'photo-gallery'); ?></label>
|
| 413 |
</div>
|
| 414 |
<div class="wd-group" id='tr_instagram_gallery_add_button' <?php echo(($params['total']) ? 'style="display:none"' : ''); ?>>
|
| 415 |
+
<input id="instagram_gallery_add_button" class="button-primary" type="button" onclick="bwg_add_instagram_gallery('<?php echo BWG()->options->instagram_access_token ?>');" value="<?php _e('Add Instagram Gallery', 'photo-gallery'); ?>" />
|
| 416 |
</div>
|
| 417 |
</div>
|
| 418 |
<div id="add_facebook_gallery" class="bwg-gallery-type-options" <?php echo($params['gallery_type'] == 'facebook' ? '' : 'style="display:none"'); ?>>
|
| 421 |
do_action('init_display_facebook_gallery_options_bwg', $params);
|
| 422 |
}
|
| 423 |
else {
|
| 424 |
+
$link = '<a href="' . BWG()->plugin_link . BWG()->utm_source . '" target="_blank">' . __('Photo Gallery Facebook Integration', 'photo-gallery') . '</a>';
|
| 425 |
+
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", 'photo-gallery'), $link) . '</p></div>';
|
| 426 |
}
|
| 427 |
?>
|
| 428 |
</div>
|
| 451 |
<div class="buttons_div_left">
|
| 452 |
<a href="<?php echo $params['add_images_action']; ?>" id="add_image_bwg"
|
| 453 |
class="button button-primary button-large thickbox thickbox-preview"
|
| 454 |
+
title="<?php _e("Add Images", 'photo-gallery'); ?>"
|
| 455 |
style="margin-bottom:5px; <?php if ( $params['gallery_type'] != '' ) { echo 'display:none'; } ?>">
|
| 456 |
+
<?php _e('Add Images', 'photo-gallery'); ?>
|
| 457 |
</a>
|
| 458 |
+
<input type="button" id="import_image_bwg" class="button button-secondary button-large" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\');' : 'spider_media_uploader(event, true);'); ?>return false;" value="<?php _e("Import from Media Library", 'photo-gallery'); ?>" style="<?php if ( $params['gallery_type'] != '' ) { echo 'display:none';} ?>" />
|
| 459 |
<?php
|
| 460 |
/*(re?)define ajax_url to add nonce only in admin*/
|
| 461 |
?>
|
| 462 |
<script>
|
| 463 |
var bwg_ajax_url_nonce = "<?php echo wp_nonce_url(admin_url('admin-ajax.php'), '', 'bwg_nonce'); ?>";
|
| 464 |
</script>
|
| 465 |
+
<input id="show_add_embed" class="button button-secondary button-large" title="<?php _e('Embed Media', 'photo-gallery'); ?>" style="<?php if ( $params['gallery_type'] != '' ) { echo 'display:none'; } ?>" type="button" onclick="jQuery('.opacity_add_embed').show(); jQuery('#add_embed_help').hide(); return false;" value="<?php _e('Embed Media', 'photo-gallery'); ?>" />
|
| 466 |
+
<input id="show_bulk_embed" class="button button-secondary button-large" title="<?php _e('Social Bulk Embed', 'photo-gallery'); ?>" style="<?php if ( $params['gallery_type'] != '' ) { echo 'display:none'; } ?>" type="button" onclick="<?php echo (!BWG()->is_pro ? 'alert(\'' . addslashes(__('This option is available in Premium version', 'photo-gallery')) . '\');' : 'jQuery(\'.opacity_bulk_embed\').show();'); ?> return false;" value="<?php _e('Social Bulk Embed', 'photo-gallery'); ?>" />
|
| 467 |
<?php
|
| 468 |
if ( is_plugin_active('image-optimizer-wd/io-wd.php') && !empty($params['rows']) ) {
|
| 469 |
+
?><a href="<?php echo add_query_arg(array('page' => 'iowd_settings', 'target' => 'wd_gallery'), admin_url('admin.php')); ?>" class="button button-primary button-large" target="_blank"><?php _e("Optimize Images", 'photo-gallery'); ?></a><?php
|
| 470 |
}
|
| 471 |
?>
|
| 472 |
</div>
|
| 483 |
|
| 484 |
<!-- Media Embed -->
|
| 485 |
<div id="add_embed" class="opacity_add_embed bwg_add_embed">
|
| 486 |
+
<input type="text" id="embed_url" name="embed_url" value="" placeholder="<?php _e('Enter YouTube, Vimeo, Instagram, Flickr or Dailymotion URL here.', 'photo-gallery'); ?>"/>
|
| 487 |
+
<input class="button button-primary button-large" type="button" onclick="if (bwg_get_embed_info('embed_url')) {jQuery('.opacity_add_embed').hide();} return false;" value="<?php _e('Add to gallery', 'photo-gallery'); ?>" />
|
| 488 |
+
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_add_embed').hide(); return false;" value="<?php _e('Cancel', 'photo-gallery'); ?>" />
|
| 489 |
<p class="description"></p>
|
| 490 |
<br>
|
| 491 |
<div class="spider_description">
|
| 492 |
<div>
|
| 493 |
+
<p class="spider_description_title"><?php _e('<b>Youtube</b> URL example:', 'photo-gallery'); ?></p>
|
| 494 |
<input type="text" value="https://www.youtube.com/watch?v=pA8-5qaMBqM" disabled="disabled">
|
| 495 |
</div>
|
| 496 |
<div>
|
| 497 |
+
<p class="spider_description_title"><?php _e('<b>Vimeo</b> URL example:', 'photo-gallery'); ?></p>
|
| 498 |
<input type="text" value="https://vimeo.com/69726973" disabled="disabled">
|
| 499 |
</div>
|
| 500 |
<div>
|
| 501 |
+
<p class="spider_description_title"><?php _e('<b>Instagram</b> URL example:', 'photo-gallery'); ?></p>
|
| 502 |
<input type="text" value="https://instagram.com/p/ykvv0puS4u" disabled="disabled">
|
| 503 |
</div>
|
| 504 |
<?php
|
| 507 |
}
|
| 508 |
?>
|
| 509 |
<div class="row">
|
| 510 |
+
<p class="spider_description_title"><?php _e('<b>Flickr</b> URL example:', 'photo-gallery'); ?></p>
|
| 511 |
<input type="text" value="https://www.flickr.com/photos/powerpig/18780957662/in/photostream/" disabled="disabled">
|
| 512 |
</div>
|
| 513 |
<div class="row">
|
| 514 |
+
<p class="spider_description_title"><?php _e('<b>Dailymotion</b> URL example:', 'photo-gallery'); ?></p>
|
| 515 |
<input type="text" value="http://www.dailymotion.com/video/x2w0jzl_cortoons-tv-tropty-episodio-2_fun" disabled="disabled">
|
| 516 |
</div>
|
| 517 |
</div>
|
| 518 |
</div>
|
| 519 |
<!-- Social Bulk Embed -->
|
| 520 |
<div id="bulk_embed" class="opacity_bulk_embed bwg_bulk_embed">
|
| 521 |
+
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_bulk_embed').hide(); jQuery('#loading_div').hide(); return false;" value="<?php _e('Cancel', 'photo-gallery'); ?>" style="float: right; margin-left: 5px;" />
|
| 522 |
+
<input class="button button-primary button-large" type="button" onclick="bwg_bulk_embed('instagram', '<?php echo BWG()->options->instagram_access_token ?>');" value="<?php _e('Add to gallery', 'photo-gallery'); ?>" style="float: right; margin-left: 5px;" />
|
| 523 |
<div class="spider_description"></div>
|
| 524 |
<div>
|
| 525 |
<?php
|
| 530 |
<div id="instagram_bulk_params">
|
| 531 |
<div id='popup_tr_instagram_gallery_source'>
|
| 532 |
<div class="spider_label_galleries">
|
| 533 |
+
<label for="popup_instagram_gallery_source">Instagram <?php echo __('username:', 'photo-gallery'); ?> </label>
|
| 534 |
</div>
|
| 535 |
<div>
|
| 536 |
<input type="text" id="popup_instagram_gallery_source" name="popup_instagram_gallery_source" value="" size="64" class="bwg_requried" />
|
| 538 |
</div>
|
| 539 |
<div id='popup_tr_instagram_image_number'>
|
| 540 |
<div class="spider_label_galleries">
|
| 541 |
+
<label for="popup_instagram_image_number"><?php echo __('Number of Instagram recent posts to add to gallery:', 'photo-gallery'); ?> </label>
|
| 542 |
</div>
|
| 543 |
<div>
|
| 544 |
<input type="number" id="popup_instagram_image_number" name="popup_instagram_image_number" value="12" />
|
| 546 |
</div>
|
| 547 |
<div id='popup_tr_instagram_post_gallery'>
|
| 548 |
<div class="spider_label_galleries">
|
| 549 |
+
<label>Instagram <?php echo __('embed type:', 'photo-gallery'); ?> </label></div>
|
| 550 |
<div>
|
| 551 |
<input type="radio" class="inputbox" id="popup_instagram_post_gallery_0" name="popup_instagram_post_gallery" checked="checked" value="0">
|
| 552 |
+
<label for="popup_instagram_post_gallery_0"><?php echo __('Content', 'photo-gallery'); ?></label>
|
| 553 |
<input type="radio" class="inputbox" id="popup_instagram_post_gallery_1" name="popup_instagram_post_gallery" value="1">
|
| 554 |
+
<label for="popup_instagram_post_gallery_1"><?php echo __('Whole post', 'photo-gallery'); ?></label>
|
| 555 |
</div>
|
| 556 |
</div>
|
| 557 |
</div>
|
| 565 |
<!-- Resize -->
|
| 566 |
<div class="opacity_resize_image bwg_resize_image">
|
| 567 |
<div id="resize_cont">
|
| 568 |
+
<?php _e("Resize images to: ", 'photo-gallery'); ?>
|
| 569 |
<input type="text" name="image_width" id="image_width" value="1600" /> x
|
| 570 |
<input type="text" name="image_height" id="image_height" value="1200" /> px
|
| 571 |
+
<p class="description"><?php _e("The maximum size of resized image.", 'photo-gallery'); ?></p>
|
| 572 |
</div>
|
| 573 |
<div id="resize_buttons">
|
| 574 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_resize');
|
| 575 |
spider_ajax_save('bwg_gallery');
|
| 576 |
jQuery('.opacity_resize_image').hide();
|
| 577 |
+
return false;" value="<?php _e("Resize", 'photo-gallery'); ?>" />
|
| 578 |
+
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_resize_image').hide(); return false;" value="<?php _e("Cancel", 'photo-gallery'); ?>" />
|
| 579 |
</div>
|
| 580 |
</div>
|
| 581 |
|
| 585 |
|
| 586 |
<div>
|
| 587 |
<span class="bwg_popup_label">
|
| 588 |
+
<?php _e('Alt/Title: ', 'photo-gallery'); ?>
|
| 589 |
</span>
|
| 590 |
<input class="bwg_popup_input" type="text" id="title" name="title" value="" />
|
| 591 |
+
<p class="description"><?php _e('Leave blank and click to "Save changes" to delete Alt/Titles.', 'photo-gallery'); ?></p>
|
| 592 |
</div>
|
| 593 |
<br>
|
| 594 |
<div class="edit_cont_buttons">
|
| 595 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_edit_field');
|
| 596 |
spider_ajax_save('bwg_gallery');
|
| 597 |
jQuery('.opacity_image_alt').hide();
|
| 598 |
+
return false;" value="<?php _e('Save changes', 'photo-gallery'); ?>" />
|
| 599 |
+
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_image_alt').hide(); return false;" value="<?php echo __('Cancel', 'photo-gallery'); ?>" />
|
| 600 |
</div>
|
| 601 |
</div>
|
| 602 |
|
| 604 |
<div id="add_red_url" class="opacity_image_redirect bwg_image_desc">
|
| 605 |
<div>
|
| 606 |
<span class="bwg_popup_label">
|
| 607 |
+
<?php _e('Redirect URL: ', 'photo-gallery'); ?>
|
| 608 |
</span>
|
| 609 |
<input class="bwg_popup_input" type="text" id="redirecturl" name="redirecturl" value="" />
|
| 610 |
+
<p class="description"><?php _e('Leave blank and click to "Save changes" to delete Redirect URLs.', 'photo-gallery'); ?></p>
|
| 611 |
</div>
|
| 612 |
<br>
|
| 613 |
<div class="edit_cont_buttons">
|
| 614 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_edit_field');
|
| 615 |
spider_ajax_save('bwg_gallery');
|
| 616 |
jQuery('.opacity_image_redirect').hide();
|
| 617 |
+
return false;" value="<?php _e('Save changes', 'photo-gallery'); ?>" />
|
| 618 |
+
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_image_redirect').hide(); return false;" value="<?php echo __('Cancel', 'photo-gallery'); ?>" />
|
| 619 |
</div>
|
| 620 |
</div>
|
| 621 |
|
| 623 |
<div id="add_desc" class="opacity_image_description bwg_image_desc">
|
| 624 |
<div>
|
| 625 |
<span class="bwg_popup_label">
|
| 626 |
+
<?php _e('Description: ', 'photo-gallery'); ?>
|
| 627 |
</span>
|
| 628 |
<textarea class="bwg_popup_input" type="text" id="desc" name="desc"></textarea>
|
| 629 |
+
<p class="description"><?php _e('Leave blank and click to "Save changes" to delete Descriptions.', 'photo-gallery'); ?></p>
|
| 630 |
|
| 631 |
</div>
|
| 632 |
<br>
|
| 634 |
<input class="button button-primary button-large" type="button" onclick="spider_set_input_value('ajax_task', 'image_edit_field');
|
| 635 |
spider_ajax_save('bwg_gallery');
|
| 636 |
jQuery('.opacity_image_description').hide();
|
| 637 |
+
return false;" value="<?php _e('Save changes', 'photo-gallery'); ?>" />
|
| 638 |
+
<input class="button button-secondary button-large" type="button" onclick="jQuery('.opacity_image_description').hide(); return false;" value="<?php echo __('Cancel', 'photo-gallery'); ?>" />
|
| 639 |
</div>
|
| 640 |
</div>
|
| 641 |
<div class="ajax-msg wd-hide">
|
| 654 |
</div>
|
| 655 |
<div class="unsaved-msg wd-hide">
|
| 656 |
<?php
|
| 657 |
+
echo WDWLibrary::message_id(0, __('You have unsaved changes.', 'photo-gallery'), 'notice notice-warning');
|
| 658 |
?>
|
| 659 |
</div>
|
| 660 |
<div class="sorting-msg wd-hide">
|
| 661 |
<?php
|
| 662 |
+
echo WDWLibrary::message_id(0, __('This sorting does not affect the published galleries. You can change the ordering on frontend by editing gallery shortcode or Photo Gallery Options.', 'photo-gallery'), 'notice notice-warning');
|
| 663 |
?>
|
| 664 |
</div>
|
| 665 |
<?php echo $this->search(array('sorting' => true)); ?>
|
| 676 |
<?php if( !$is_google_photos ) { ?>
|
| 677 |
<td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>">
|
| 678 |
<?php if ($params['orderby'] == 'order') { ?>
|
| 679 |
+
<select title="<?php _e('Show order column', 'photo-gallery'); ?>" onchange="wd_showhide_weights(true);return false;">
|
| 680 |
+
<option><?php _e('Drag&Drop', 'photo-gallery'); ?></option>
|
| 681 |
+
<option><?php _e('Numerate', 'photo-gallery'); ?></option>
|
| 682 |
</select>
|
| 683 |
<?php
|
| 684 |
}
|
| 685 |
else {
|
| 686 |
?>
|
| 687 |
+
<?php _e('Ordering', 'photo-gallery'); ?>
|
| 688 |
<?php
|
| 689 |
}
|
| 690 |
?>
|
| 691 |
</td>
|
| 692 |
<td id="cb" class="column-cb check-column">
|
| 693 |
+
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Filename', 'photo-gallery'); ?></label>
|
| 694 |
<input id="check_all" type="checkbox" />
|
| 695 |
</td>
|
| 696 |
<?php } ?>
|
| 697 |
<td class="col_num">#</td>
|
| 698 |
+
<th class="column-primary column-title"><?php _e('Image', 'photo-gallery'); ?></th>
|
| 699 |
<th></th>
|
| 700 |
</thead>
|
| 701 |
<tbody id="tbody_arr" data-meta="<?php echo BWG()->options->read_metadata; ?>" class="bwg-ordering">
|
| 745 |
$image_link = add_query_arg(array('TB_iframe' => '1'), $image_link);
|
| 746 |
$edit_link = add_query_arg(array('type' => 'rotate', 'TB_iframe' => '1'), $link);
|
| 747 |
$crop_link = add_query_arg(array('bwg_height' => '600', 'type' => 'crop', 'TB_iframe' => '1'), $link);
|
| 748 |
+
$image_url = ( !$is_embed ? BWG()->upload_url : '') . $row->thumb_url;
|
| 749 |
$add_tag_url = add_query_arg(array('image_id' => $row->id, 'TB_iframe' => '1'), $params['add_tags_action']);
|
| 750 |
?>
|
| 751 |
<tr id="tr_<?php echo $row->id; ?>" class="<?php echo $alternate; ?><?php echo $temp ? ' wd-template wd-hide' : ''; ?>">
|
| 752 |
+
<?php if( !$is_google_photos ) { ?>
|
| 753 |
<th class="<?php if ($params['orderby'] == 'order') echo 'connectedSortable'; ?> col_drag handles ui-sortable-handle">
|
| 754 |
+
<div title="<?php _e('Drag to re-order', 'photo-gallery'); ?>" class="wd-drag handle dashicons dashicons-move <?php if ($params['orderby'] != 'order') echo 'wd-hide'; ?>"></div>
|
| 755 |
<input class="wd-hide wd-order" id="order_input_<?php echo $row->id; ?>" name="order_input_<?php echo $row->id; ?>" type="text" size="1" value="<?php echo $row->order; ?>" />
|
| 756 |
</th>
|
| 757 |
<th class="check-column">
|
| 758 |
<input type="checkbox" id="check_<?php echo $row->id; ?>" name="check[<?php echo $row->id; ?>]" onclick="spider_check_all(this)" />
|
| 759 |
</th>
|
| 760 |
+
<?php } ?>
|
| 761 |
<th class="col_num"><?php echo $temp ? 'tempnum' : ++$i; ?></th>
|
| 762 |
+
<td class="column-primary column-title" data-colname="<?php _e('Filename', 'photo-gallery'); ?>">
|
| 763 |
<strong class="has-media-icon">
|
| 764 |
<?php if ( !$is_oembed_instagram_post ) { ?>
|
| 765 |
+
<a class="thickbox thickbox-preview" onclick="jQuery('#loading_div').show();" href="<?php echo $image_link; ?>">
|
| 766 |
<?php } ?>
|
| 767 |
<span class="media-icon image-icon">
|
| 768 |
+
<img id="image_thumb_<?php echo $row->id; ?>" class="preview-image gallery_image_thumb <?php echo $temp ? '' : 'bwg_no_border' ?>"
|
| 769 |
+
<?php echo $temp ? 'tempthumb_src=""' : ''; ?>
|
| 770 |
+
data-embed="<?php echo $is_embed; ?>"
|
| 771 |
+
data-instagram="<?php echo $is_instagram; ?>"
|
| 772 |
+
data-type="<?php echo $row->filetype; ?>"
|
| 773 |
+
data-src="<?php echo $temp ? '' : $image_url ?>"
|
| 774 |
+
title="<?php echo $row->filename; ?>"
|
| 775 |
+
alt="<?php echo $row->filename; ?>"/>
|
| 776 |
</span>
|
| 777 |
<?php echo $row->filename; ?>
|
| 778 |
<i class="wd-info dashicons dashicons-info" data-id="wd-info-<?php echo $row->id; ?>"></i>
|
| 779 |
<div id="wd-info-<?php echo $row->id; ?>" class="wd-hide">
|
| 780 |
+
<p><?php echo __("Date", 'photo-gallery') . ': ' . ($temp ? $row->date : date("d F Y, H:i", strtotime($row->date))); ?></p>
|
| 781 |
+
<p><?php echo __("Resolution", 'photo-gallery') . ': ' . $row->resolution; ?></p>
|
| 782 |
+
<p><?php echo __("Size", 'photo-gallery') . ': ' . $row->size; ?></p>
|
| 783 |
+
<p><?php echo __("Type", 'photo-gallery') . ': ' . $row->filetype; ?></p>
|
| 784 |
</div>
|
| 785 |
<?php if ( !$is_oembed_instagram_post ) { ?>
|
| 786 |
+
</a>
|
| 787 |
<?php } ?>
|
| 788 |
<?php if ( !$row->published ) { ?>
|
| 789 |
+
— <span class="post-state"><?php _e('Unpublished', 'photo-gallery'); ?></span>
|
| 790 |
<?php } ?>
|
| 791 |
</strong>
|
| 792 |
<?php if( !$is_google_photos) {
|
| 793 |
$svg_check = strpos(strtolower($row->filetype), 'svg') > -1 ? true : false;
|
| 794 |
?>
|
| 795 |
<div class="row-actions">
|
| 796 |
+
<span class="wd-image-actions <?php echo ( !$svg_check && !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="<?php echo (BWG()->is_demo || !BWG()->wp_editor_exists ? '' : 'thickbox thickbox-preview'); ?>" href="<?php echo (BWG()->is_demo ? 'javascript:alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\');' : (BWG()->wp_editor_exists ? $edit_link : 'javascript:alert(\'' . addslashes(__('Image edit functionality is not supported by your web host.', 'photo-gallery')) . '\');')); ?>"><?php _e('Edit', 'photo-gallery'); ?></a> |</span>
|
| 797 |
+
<span class="wd-image-actions <?php echo ( !$svg_check && !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="<?php echo (BWG()->is_demo || !BWG()->wp_editor_exists ? '' : 'thickbox thickbox-preview'); ?>" href="<?php echo (BWG()->is_demo ? 'javascript:alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\');' : (BWG()->wp_editor_exists ? $crop_link : 'javascript:alert(\'' . addslashes(__('Image edit functionality is not supported by your web host.', 'photo-gallery')) . '\');')); ?>"><?php _e('Crop Thumbnail', 'photo-gallery'); ?></a> |</span>
|
| 798 |
+
<span class="wd-image-actions <?php echo ( !$svg_check && !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\');' : 'if (confirm(\'' . addslashes(__('Do you want to reset the image?', 'photo-gallery')) . '\')) { spider_set_input_value(\'ajax_task\', \'image_reset\'); spider_set_input_value(\'image_current_id\', \'' . $row->id . '\'); spider_ajax_save(\'bwg_gallery\'); } return false;'); ?>"><?php _e('Reset', 'photo-gallery'); ?></a> |</span>
|
| 799 |
<span><a onclick="spider_set_input_value('ajax_task', 'image_<?php echo $row->published ? 'unpublish' : 'publish'; ?>');
|
| 800 |
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
| 801 |
+
spider_ajax_save('bwg_gallery');"><?php echo($row->published ? __('Unpublish', 'photo-gallery') : __('Publish', 'photo-gallery')); ?></a> |</span>
|
| 802 |
+
<span class="trash"><a onclick="if (confirm('<?php echo addslashes(__('Do you want to delete selected item?', 'photo-gallery')); ?>')) {
|
| 803 |
spider_set_input_value('ajax_task', 'image_delete');
|
| 804 |
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
| 805 |
spider_ajax_save('bwg_gallery');
|
| 806 |
} else {
|
| 807 |
return false;
|
| 808 |
+
}"><?php _e('Delete', 'photo-gallery'); ?></a></span>
|
| 809 |
</div>
|
| 810 |
<?php } ?>
|
| 811 |
<button class="toggle-row" type="button">
|
| 812 |
+
<span class="screen-reader-text"><?php _e('Show more details', 'photo-gallery'); ?></span>
|
| 813 |
</button>
|
| 814 |
</td>
|
| 815 |
<td class="column-data">
|
| 816 |
<div class="bwg-td-container">
|
| 817 |
<div class="bwg-td-item">
|
| 818 |
+
<label class="wd-table-label" for="image_alt_text_<?php echo $row->id; ?>"><?php _e('Alt/Title', 'photo-gallery'); ?></label>
|
| 819 |
<textarea rows="4" id="image_alt_text_<?php echo $row->id; ?>" <?php disabled($is_google_photos) ?> name="image_alt_text_<?php echo $row->id; ?>"><?php echo $row->alt; ?></textarea>
|
| 820 |
</div>
|
| 821 |
<div class="bwg-td-item">
|
| 822 |
+
<label class="wd-table-label" for="image_description_<?php echo $row->id; ?>"><?php _e('Description', 'photo-gallery'); ?></label>
|
| 823 |
<textarea rows="4" id="image_description_<?php echo $row->id; ?>" <?php disabled($is_google_photos) ?> name="image_description_<?php echo $row->id; ?>"><?php echo $row->description; ?></textarea>
|
| 824 |
</div>
|
| 825 |
<?php
|
| 827 |
$priselist_name = $row->priselist_name ? "Pricelist: " . $row->priselist_name : "Not for sale";
|
| 828 |
$unset = $priselist_name == "Not for sale" ? "" : " <span onclick='bwg_remove_pricelist(this);' data-image-id= '" . $row->id . "' data-pricelist-id='" . $row->pricelist_id . "' class ='spider_delete_img_small' style='margin-top: -2px;margin-left: 3px;'></span>";
|
| 829 |
echo "<div class=\"bwg-td-item\"><div><strong>" . $priselist_name . " </strong>" . $unset . "</div>";
|
| 830 |
+
$not_set_text = $row->not_set_items == 1 ? __('Selected pricelist item longest dimension greater than some original images dimensions.', 'photo-gallery') : "";
|
| 831 |
echo "<small id='priselist_set_error" . $row->id . "' style='color:#B41111;' >" . $not_set_text . "</small>";
|
| 832 |
echo "<input type='hidden' id='pricelist_id_" . $row->id . "' value='" . $row->pricelist_id . "'></div>";
|
| 833 |
}
|
| 837 |
if( !$is_google_photos ) {
|
| 838 |
?>
|
| 839 |
<div class="bwg-td-item bwg-td-item-redirect-url">
|
| 840 |
+
<label class="wd-table-label" for="redirect_url_<?php echo $row->id; ?>"><?php _e('Redirect URL', 'photo-gallery'); ?></label>
|
| 841 |
<i class="wd-info dashicons dashicons-info" data-id="wd-info-redirect"></i>
|
| 842 |
<div id="wd-info-redirect" class="wd-hide">
|
| 843 |
<p><?php
|
| 844 |
+
$link = '<a target="_blank" href="'.add_query_arg(array('page' => 'options_bwg'), admin_url('admin.php')).'">'. __('Options > General', 'photo-gallery') . '</a>';
|
| 845 |
+
echo sprintf(__('To activate this feature, go to %s, then set "Image click action" to "Redirect to URL". Please use absolute URLs when specifying the links.', 'photo-gallery'), $link);
|
| 846 |
?>
|
| 847 |
</p>
|
| 848 |
</div>
|
| 849 |
<textarea rows="4" onkeypress="prevent_new_line(event)" class="bwg_redirect_url" id="redirect_url_<?php echo $row->id; ?>" name="redirect_url_<?php echo $row->id; ?>"><?php echo $row->redirect_url; ?></textarea>
|
| 850 |
</div>
|
| 851 |
<div class="bwg-td-item bwg-td-item-tags">
|
| 852 |
+
<label class="wd-table-label"><?php _e('Tags', 'photo-gallery'); ?></label>
|
| 853 |
<div class="tags_div<?php echo count($row->tags) > 1 ? '' : ' tags_div_empty'; ?>">
|
| 854 |
<?php
|
| 855 |
if ( $row->tags ) {
|
| 860 |
?>
|
| 861 |
<div class="tag_div<?php echo $row_tag_data->term_id == 'temptagid' ? ' wd-tag-template wd-hide' : ''; ?>" id="<?php echo $row->id; ?>_tag_<?php echo $row_tag_data->term_id; ?>">
|
| 862 |
<span class="tag_name"><?php echo $row_tag_data->name; ?></span>
|
| 863 |
+
<span class="dashicons dashicons-no-alt wd-delete-tag" title="<?php _e('Remove tag', 'photo-gallery'); ?>" onclick="bwg_remove_tag('<?php echo $row_tag_data->term_id; ?>', '<?php echo $row->id; ?>')" />
|
| 864 |
</div>
|
| 865 |
<?php
|
| 866 |
$tags_id_string .= ($row_tag_data->term_id == 'temptagid' ? '' : ($row_tag_data->term_id . ','));
|
| 870 |
<?php
|
| 871 |
}
|
| 872 |
?>
|
| 873 |
+
<a onclick="jQuery('#loading_div').show();" href="<?php echo $add_tag_url; ?>" class="thickbox thickbox-preview"><span class="dashicons dashicons-plus"></span><?php _e('Add tag', 'photo-gallery'); ?></a>
|
| 874 |
</div>
|
| 875 |
</div>
|
| 876 |
<?php } ?>
|
admin/views/Licensing.php
CHANGED
|
@@ -13,27 +13,27 @@ class LicensingView_bwg {
|
|
| 13 |
?>
|
| 14 |
<div id="featurs_tables">
|
| 15 |
<div id="featurs_table1">
|
| 16 |
-
<span>WordPress 3.4+ <?php _e("ready",
|
| 17 |
-
<span>SEO-<?php _e("friendly",
|
| 18 |
-
<span><?php _e("Responsive Design and Layout",
|
| 19 |
-
<span><?php _e("5 Standard Gallery/Album Views",
|
| 20 |
-
<span><?php _e("Watermarking/ Advertising Possibility",
|
| 21 |
-
<span><?php _e("Basic Tag Cloud Widget",
|
| 22 |
-
<span><?php _e("Image Download",
|
| 23 |
-
<span><?php _e("Photo Gallery Slideshow Widget",
|
| 24 |
-
<span><?php _e("Photo Gallery Widget",
|
| 25 |
-
<span><?php _e("Slideshow/Lightbox Effects",
|
| 26 |
-
<span><?php _e("Possibility of Editing/Creating New Themes",
|
| 27 |
-
<span><?php _e("10 Pro Gallery/Album Views",
|
| 28 |
-
<span><?php _e("Image Commenting",
|
| 29 |
-
<span><?php _e("Image Social Sharing",
|
| 30 |
-
<span><?php _e("Photo Gallery Tags Cloud Widget",
|
| 31 |
-
<span><?php _e("Instagram Integration",
|
| 32 |
-
<span>AddThis <?php _e("Integration",
|
| 33 |
-
<span><?php _e("Add-ons Support",
|
| 34 |
</div>
|
| 35 |
<div id="featurs_table2">
|
| 36 |
-
<span style="padding-top: 18px;height: 39px;"><?php _e("Free",
|
| 37 |
<span class="yes"></span>
|
| 38 |
<span class="yes"></span>
|
| 39 |
<span class="yes"></span>
|
|
@@ -54,7 +54,7 @@ class LicensingView_bwg {
|
|
| 54 |
<span class="no"></span>
|
| 55 |
</div>
|
| 56 |
<div id="featurs_table3">
|
| 57 |
-
<span><?php _e("Pro Version",
|
| 58 |
<span class="yes"></span>
|
| 59 |
<span class="yes"></span>
|
| 60 |
<span class="yes"></span>
|
|
@@ -76,11 +76,11 @@ class LicensingView_bwg {
|
|
| 76 |
</div>
|
| 77 |
</div>
|
| 78 |
<div style="float: left; clear: both;">
|
| 79 |
-
<p><?php _e("After purchasing the commercial version follow these steps:",
|
| 80 |
<ol>
|
| 81 |
-
<li><?php _e("Deactivate Photo Gallery plugin.",
|
| 82 |
-
<li><?php _e("Delete Photo Gallery plugin.",
|
| 83 |
-
<li><?php _e("Install the downloaded commercial version of the plugin.",
|
| 84 |
</ol>
|
| 85 |
</div>
|
| 86 |
<?php
|
| 13 |
?>
|
| 14 |
<div id="featurs_tables">
|
| 15 |
<div id="featurs_table1">
|
| 16 |
+
<span>WordPress 3.4+ <?php _e("ready", 'photo-gallery'); ?></span>
|
| 17 |
+
<span>SEO-<?php _e("friendly", 'photo-gallery'); ?></span>
|
| 18 |
+
<span><?php _e("Responsive Design and Layout", 'photo-gallery'); ?></span>
|
| 19 |
+
<span><?php _e("5 Standard Gallery/Album Views", 'photo-gallery'); ?></span>
|
| 20 |
+
<span><?php _e("Watermarking/ Advertising Possibility", 'photo-gallery'); ?></span>
|
| 21 |
+
<span><?php _e("Basic Tag Cloud Widget", 'photo-gallery'); ?></span>
|
| 22 |
+
<span><?php _e("Image Download", 'photo-gallery'); ?></span>
|
| 23 |
+
<span><?php _e("Photo Gallery Slideshow Widget", 'photo-gallery'); ?></span>
|
| 24 |
+
<span><?php _e("Photo Gallery Widget", 'photo-gallery'); ?></span>
|
| 25 |
+
<span><?php _e("Slideshow/Lightbox Effects", 'photo-gallery'); ?></span>
|
| 26 |
+
<span><?php _e("Possibility of Editing/Creating New Themes", 'photo-gallery'); ?></span>
|
| 27 |
+
<span><?php _e("10 Pro Gallery/Album Views", 'photo-gallery'); ?></span>
|
| 28 |
+
<span><?php _e("Image Commenting", 'photo-gallery'); ?></span>
|
| 29 |
+
<span><?php _e("Image Social Sharing", 'photo-gallery'); ?></span>
|
| 30 |
+
<span><?php _e("Photo Gallery Tags Cloud Widget", 'photo-gallery'); ?></span>
|
| 31 |
+
<span><?php _e("Instagram Integration", 'photo-gallery'); ?></span>
|
| 32 |
+
<span>AddThis <?php _e("Integration", 'photo-gallery'); ?></span>
|
| 33 |
+
<span><?php _e("Add-ons Support", 'photo-gallery'); ?></span>
|
| 34 |
</div>
|
| 35 |
<div id="featurs_table2">
|
| 36 |
+
<span style="padding-top: 18px;height: 39px;"><?php _e("Free", 'photo-gallery'); ?></span>
|
| 37 |
<span class="yes"></span>
|
| 38 |
<span class="yes"></span>
|
| 39 |
<span class="yes"></span>
|
| 54 |
<span class="no"></span>
|
| 55 |
</div>
|
| 56 |
<div id="featurs_table3">
|
| 57 |
+
<span><?php _e("Pro Version", 'photo-gallery'); ?></span>
|
| 58 |
<span class="yes"></span>
|
| 59 |
<span class="yes"></span>
|
| 60 |
<span class="yes"></span>
|
| 76 |
</div>
|
| 77 |
</div>
|
| 78 |
<div style="float: left; clear: both;">
|
| 79 |
+
<p><?php _e("After purchasing the commercial version follow these steps:", 'photo-gallery'); ?></p>
|
| 80 |
<ol>
|
| 81 |
+
<li><?php _e("Deactivate Photo Gallery plugin.", 'photo-gallery'); ?></li>
|
| 82 |
+
<li><?php _e("Delete Photo Gallery plugin.", 'photo-gallery'); ?></li>
|
| 83 |
+
<li><?php _e("Install the downloaded commercial version of the plugin.", 'photo-gallery'); ?></li>
|
| 84 |
</ol>
|
| 85 |
</div>
|
| 86 |
<?php
|
admin/views/Options.php
CHANGED
|
@@ -54,14 +54,14 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 54 |
$buttons = array(
|
| 55 |
'save' => array(
|
| 56 |
'id' => 'bwg_save_options',
|
| 57 |
-
'title' => __('Save options',
|
| 58 |
'onclick' => 'spider_set_input_value("task", "save")',
|
| 59 |
'class' => 'tw-button-primary',
|
| 60 |
),
|
| 61 |
'reset' => array(
|
| 62 |
'id' => 'bwg_save_options',
|
| 63 |
-
'title' => __('Reset',
|
| 64 |
-
'onclick' => 'if (confirm("' . addslashes(__('Do you want to reset to default?',
|
| 65 |
spider_set_input_value("task", "reset");
|
| 66 |
} else {
|
| 67 |
return false;
|
|
@@ -89,37 +89,37 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 89 |
<div id='search_in_options_container' class="top">
|
| 90 |
<ul class="bwg-tabs">
|
| 91 |
<li class="tabs">
|
| 92 |
-
<a href="#bwg_tab_general_content" class="bwg-tablink"><?php _e('General',
|
| 93 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 94 |
</a>
|
| 95 |
<div class='search_count' id="bwg_tab_general_content_bage"></div>
|
| 96 |
</li>
|
| 97 |
<li class="tabs">
|
| 98 |
-
<a href="#bwg_tab_gallery_content" class="bwg-tablink"><?php _e('Gallery views',
|
| 99 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 100 |
</a>
|
| 101 |
<div class='search_count' id="bwg_tab_gallery_content_bage"></div>
|
| 102 |
</li>
|
| 103 |
<li class="tabs">
|
| 104 |
-
<a href="#bwg_tab_gallery_group_content" class="bwg-tablink"><?php _e('Group of gallery views',
|
| 105 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 106 |
</a>
|
| 107 |
<div class='search_count' id="bwg_tab_gallery_group_content_bage"></div>
|
| 108 |
</li>
|
| 109 |
<li class="tabs">
|
| 110 |
-
<a href="#bwg_tab_lightbox_content" class="bwg-tablink"><?php _e('Lightbox',
|
| 111 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 112 |
</a>
|
| 113 |
<div class='search_count' id="bwg_tab_lightbox_content_bage"></div>
|
| 114 |
</li>
|
| 115 |
<li class="tabs">
|
| 116 |
-
<a href="#bwg_tab_watermark_content" class="bwg-tablink"><?php _e('Watermark',
|
| 117 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 118 |
</a>
|
| 119 |
<div class='search_count' id="bwg_tab_watermark_content_bage"></div>
|
| 120 |
</li>
|
| 121 |
<li class="tabs">
|
| 122 |
-
<a href="#bwg_tab_advanced_content" class="bwg-tablink"><?php _e('Advanced',
|
| 123 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 124 |
</a>
|
| 125 |
<div class='search_count' id="bwg_tab_advanced_content_bage"></div>
|
|
@@ -144,12 +144,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 144 |
?>
|
| 145 |
<div class="wd-box-content wd-width-100">
|
| 146 |
<div class="wd-group">
|
| 147 |
-
<label class="wd-label" for="images_directory"><?php _e('Images directory',
|
| 148 |
<div class="bwg-flex">
|
| 149 |
-
<input id="images_directory" name="images_directory" type="text" style="display:inline-block; width:100%;" value="<?php echo
|
| 150 |
-
<input type="hidden" id="old_images_directory" name="old_images_directory" value="<?php echo
|
| 151 |
</div>
|
| 152 |
-
<p class="description"><?php _e('Provide the path of an existing folder inside the WordPress directory of your website to store uploaded images.<br />The content of the previous directory will be moved to the new one.',
|
| 153 |
</div>
|
| 154 |
</div>
|
| 155 |
<?php
|
|
@@ -157,251 +157,251 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 157 |
?>
|
| 158 |
<div class="wd-box-content wd-width-100">
|
| 159 |
<div class="wd-group">
|
| 160 |
-
<label class="wd-label"><?php _e('Image click action',
|
| 161 |
<div class="bwg-flex">
|
| 162 |
-
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if ($row->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_1" class="wd-radio-label"><?php _e('Open lightbox',
|
| 163 |
-
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if ($row->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_2" class="wd-radio-label"><?php _e('Redirect to url',
|
| 164 |
-
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if ($row->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_3" class="wd-radio-label"><?php _e('Do Nothing',
|
| 165 |
</div>
|
| 166 |
-
<p class="description"><?php _e('Select the action which runs after clicking on gallery thumbnails.',
|
| 167 |
</div>
|
| 168 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-redirect" id="tr_thumb_link_target">
|
| 169 |
<div class="wd-group">
|
| 170 |
-
<label class="wd-label"><?php _e('Open in a new window',
|
| 171 |
<div class="bwg-flex">
|
| 172 |
-
<input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if ($row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes" class="wd-radio-label"><?php _e('Yes',
|
| 173 |
-
<input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!$row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no" class="wd-radio-label"><?php _e('No',
|
| 174 |
</div>
|
| 175 |
</div>
|
| 176 |
</div>
|
| 177 |
</div>
|
| 178 |
<div class="wd-box-content wd-width-100">
|
| 179 |
<div class="wd-group">
|
| 180 |
-
<label class="wd-label" for="upload_img_width"><?php _e('Image dimensions',
|
| 181 |
<div class="bwg-flex">
|
| 182 |
<input type="number" name="upload_img_width" id="upload_img_width" value="<?php echo intval($row->upload_img_width); ?>" min="0" /><span>x</span>
|
| 183 |
<input type="number" name="upload_img_height" id="upload_img_height" value="<?php echo intval($row->upload_img_height); ?>" min="0" /><span>px</span>
|
| 184 |
</div>
|
| 185 |
-
<p class="description"><?php _e('Specify the maximum dimensions of uploaded images (set 0 for original size).',
|
| 186 |
</div>
|
| 187 |
</div>
|
| 188 |
<div class="wd-box-content wd-width-100">
|
| 189 |
<div class="wd-group">
|
| 190 |
-
<label class="wd-label" for="upload_thumb_width"><?php _e('Generated thumbnail dimensions',
|
| 191 |
<div class="bwg-flex">
|
| 192 |
<input type="number" name="upload_thumb_width" id="upload_thumb_width" value="<?php echo intval($row->upload_thumb_width); ?>" min="0" /><span>x</span>
|
| 193 |
<input type="number" name="upload_thumb_height" id="upload_thumb_height" value="<?php echo intval($row->upload_thumb_height); ?>" min="0" /><span>px</span>
|
| 194 |
<input type="hidden" name="imgcount" id="bwg_imgcount" value="<?php echo intval($imgcount); ?>">
|
| 195 |
-
<input type="submit" class="button-primary" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 196 |
</div>
|
| 197 |
-
<p class="description"><?php _e('Specify the maximum dimensions of generated thumbnails. They must be larger than frontend thumbnail dimensions.',
|
| 198 |
</div>
|
| 199 |
</div>
|
| 200 |
<div class="wd-box-content wd-width-100">
|
| 201 |
<div class="wd-group">
|
| 202 |
-
<label class="wd-label" for="image_quality"><?php _e('Image quality',
|
| 203 |
<div class="bwg-flex">
|
| 204 |
<input type="number" name="image_quality" id="image_quality" value="<?php echo intval($row->image_quality); ?>" min="0" max="100" /><span>%</span>
|
| 205 |
</div>
|
| 206 |
-
<p class="description"><?php _e('Set the quality of gallery images. Provide a value from 0 to 100%.',
|
| 207 |
</div>
|
| 208 |
</div>
|
| 209 |
<div class="wd-box-content wd-width-100">
|
| 210 |
<div class="wd-group">
|
| 211 |
-
<label class="wd-label"><?php _e('Resizable thumbnails',
|
| 212 |
<div class="bwg-flex">
|
| 213 |
-
<input type="radio" name="resizable_thumbnails" id="resizable_thumbnails_1" value="1" <?php if ($row->resizable_thumbnails) echo 'checked="checked"'; ?> /><label for="resizable_thumbnails_1" class="wd-radio-label"><?php _e('Yes',
|
| 214 |
-
<input type="radio" name="resizable_thumbnails" id="resizable_thumbnails_0" value="0" <?php if (!$row->resizable_thumbnails) echo 'checked="checked"'; ?> /><label for="resizable_thumbnails_0" class="wd-radio-label"><?php _e('No',
|
| 215 |
</div>
|
| 216 |
-
<p class="description"><?php _e('Enable this option to allow resizing gallery thumbnails on smaller screens.',
|
| 217 |
</div>
|
| 218 |
</div>
|
| 219 |
<div class="wd-box-content wd-width-100">
|
| 220 |
<div class="wd-group">
|
| 221 |
-
<label class="wd-label"><?php _e('Lazy load',
|
| 222 |
<div class="bwg-flex">
|
| 223 |
-
<input type="radio" name="lazyload_images" id="lazyload_images_1" value="1" <?php if ($row->lazyload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_lazyload_images_count', 'lazyload_images_1')" /><label for="lazyload_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 224 |
-
<input type="radio" name="lazyload_images" id="lazyload_images_0" value="0" <?php if (!$row->lazyload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_lazyload_images_count', 'lazyload_images_0')" /><label for="lazyload_images_0" class="wd-radio-label"><?php _e('No',
|
| 225 |
</div>
|
| 226 |
-
<p class="description"><?php _e('Enable this option to activate lazy loading for images and improve the loading speed on your galleries.',
|
| 227 |
</div>
|
| 228 |
</div>
|
| 229 |
<div class="wd-box-content wd-width-100">
|
| 230 |
<div class="wd-group">
|
| 231 |
-
<label class="wd-label"><?php _e('Preload images',
|
| 232 |
<div class="bwg-flex">
|
| 233 |
-
<input type="radio" name="preload_images" id="preload_images_1" value="1" <?php if ($row->preload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_preload_images_count', 'preload_images_1')" /><label for="preload_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 234 |
-
<input type="radio" name="preload_images" id="preload_images_0" value="0" <?php if (!$row->preload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_preload_images_count', 'preload_images_0')" /><label for="preload_images_0" class="wd-radio-label"><?php _e('No',
|
| 235 |
</div>
|
| 236 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery loads a specific number of images before opening lightbox. This lets you showcase images without loading delays, providing better user experience.',
|
| 237 |
</div>
|
| 238 |
</div>
|
| 239 |
<div class="wd-box-content wd-width-100" id="tr_preload_images_count">
|
| 240 |
<div class="wd-group">
|
| 241 |
-
<label class="wd-label" for="preload_images_count"><?php _e('Number of preloaded images',
|
| 242 |
<div class="bwg-flex">
|
| 243 |
<input type="number" name="preload_images_count" id="preload_images_count" value="<?php echo intval($row->preload_images_count); ?>" min="0" />
|
| 244 |
</div>
|
| 245 |
-
<p class="description"><?php _e('Specify the number of images to preload, e.g. 5 (set 0 for all).',
|
| 246 |
</div>
|
| 247 |
</div>
|
| 248 |
<div class="wd-box-content wd-width-100">
|
| 249 |
<div class="wd-group">
|
| 250 |
-
<label class="wd-label"><?php _e('Show custom posts',
|
| 251 |
<div class="bwg-flex">
|
| 252 |
-
<input type="radio" name="show_hide_custom_post" id="show_hide_custom_post_1" value="1" <?php if ($row->show_hide_custom_post) echo 'checked="checked"'; ?> /><label for="show_hide_custom_post_1" class="wd-radio-label"><?php _e('Yes',
|
| 253 |
-
<input type="radio" name="show_hide_custom_post" id="show_hide_custom_post_0" value="0" <?php if (!$row->show_hide_custom_post) echo 'checked="checked"'; ?> /><label for="show_hide_custom_post_0" class="wd-radio-label"><?php _e('No',
|
| 254 |
</div>
|
| 255 |
-
<p class="description"><?php _e('Activate this setting to display Photo Gallery custom posts with new menu items under WordPress admin menu.',
|
| 256 |
</div>
|
| 257 |
</div>
|
| 258 |
<div class="wd-box-content wd-width-100">
|
| 259 |
<div class="wd-group">
|
| 260 |
-
<label class="wd-label"><?php _e('Discourage Search Engine Visibility',
|
| 261 |
<div class="bwg-flex">
|
| 262 |
-
<input type="radio" name="noindex_custom_post" id="noindex_custom_post_1" value="1" <?php if ($row->noindex_custom_post) echo 'checked="checked"'; ?> /><label for="noindex_custom_post_1" class="wd-radio-label"><?php _e('Yes',
|
| 263 |
-
<input type="radio" name="noindex_custom_post" id="noindex_custom_post_0" value="0" <?php if (!$row->noindex_custom_post) echo 'checked="checked"'; ?> /><label for="noindex_custom_post_0" class="wd-radio-label"><?php _e('No',
|
| 264 |
</div>
|
| 265 |
-
<p class="description"><?php _e('Discourage search engines from indexing Photo Gallery custom posts.',
|
| 266 |
</div>
|
| 267 |
</div>
|
| 268 |
<div class="wd-box-content wd-width-100">
|
| 269 |
<div class="wd-group">
|
| 270 |
-
<label class="wd-label"><?php _e('Show comments for custom posts',
|
| 271 |
<div class="bwg-flex">
|
| 272 |
-
<input type="radio" name="show_hide_post_meta" id="show_hide_post_meta_1" value="1" <?php if ($row->show_hide_post_meta) echo 'checked="checked"'; ?> /><label for="show_hide_post_meta_1" class="wd-radio-label"><?php _e('Yes',
|
| 273 |
-
<input type="radio" name="show_hide_post_meta" id="show_hide_post_meta_0" value="0" <?php if (!$row->show_hide_post_meta) echo 'checked="checked"'; ?> /><label for="show_hide_post_meta_0" class="wd-radio-label"><?php _e('No',
|
| 274 |
</div>
|
| 275 |
-
<p class="description"><?php _e('Use this setting to show or hide comments under Photo Gallery custom posts.',
|
| 276 |
</div>
|
| 277 |
</div>
|
| 278 |
<div class="wd-box-content wd-width-100">
|
| 279 |
<div class="wd-group">
|
| 280 |
-
<label class="wd-label"><?php _e('Use AND operator for tag filtering',
|
| 281 |
<div class="bwg-flex">
|
| 282 |
-
<input type="radio" name="tags_filter_and_or" id="tags_filter_and_or_1" value="1" <?php if ($row->tags_filter_and_or) echo 'checked="checked"'; ?> /><label for="tags_filter_and_or_1" class="wd-radio-label"><?php _e('Yes',
|
| 283 |
-
<input type="radio" name="tags_filter_and_or" id="tags_filter_and_or_0" value="0" <?php if (!$row->tags_filter_and_or) echo 'checked="checked"'; ?> /><label for="tags_filter_and_or_0" class="wd-radio-label"><?php _e('No',
|
| 284 |
</div>
|
| 285 |
-
<p class="description"><?php _e('Enable this option to filter images with AND operator. In this case, the filter results must have all selected tags in the Tag Box.',
|
| 286 |
</div>
|
| 287 |
</div>
|
| 288 |
<div class="wd-box-content wd-width-100">
|
| 289 |
<div class="wd-group">
|
| 290 |
-
<label class="wd-label"><?php _e('Enable GDPR compliance',
|
| 291 |
<div class="bwg-flex">
|
| 292 |
-
<input type="radio" name="gdpr_compliance" id="gdpr_compliance_1" value="1" <?php if ($row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="gdpr_compliance_1" class="wd-radio-label"><?php _e('Yes',
|
| 293 |
-
<input type="radio" name="gdpr_compliance" id="gdpr_compliance_0" value="0" <?php if (!$row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="gdpr_compliance_0" class="wd-radio-label"><?php _e('No',
|
| 294 |
</div>
|
| 295 |
-
<p class="description"><?php _e('Enable this option to have General Data Protection Regulation.',
|
| 296 |
</div>
|
| 297 |
</div>
|
| 298 |
</div>
|
| 299 |
<div class="wd-box-content wd-width-50">
|
| 300 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 301 |
<div class="wd-group">
|
| 302 |
-
<label class="wd-label"><?php _e('Save IP ',
|
| 303 |
<div class="bwg-flex">
|
| 304 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="save_ip" id="save_ip_1" value="1" <?php if ($row->save_ip) echo 'checked="checked"'; ?> /><label for="save_ip_1" class="wd-radio-label"><?php _e('Yes',
|
| 305 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="save_ip" id="save_ip_0" value="0" <?php if (!$row->save_ip) echo 'checked="checked"'; ?> /><label for="save_ip_0" class="wd-radio-label"><?php _e('No',
|
| 306 |
</div>
|
| 307 |
-
<p class="description"><?php _e('Disable saving user IP address when rating the images.',
|
| 308 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 309 |
</div>
|
| 310 |
</div>
|
| 311 |
<div class="wd-box-content wd-width-100">
|
| 312 |
<div class="wd-group">
|
| 313 |
-
<label class="wd-label"><?php _e('Right-click protection',
|
| 314 |
<div class="bwg-flex">
|
| 315 |
-
<input type="radio" name="image_right_click" id="image_right_click_1" value="1" <?php if ($row->image_right_click) echo 'checked="checked"'; ?> /><label for="image_right_click_1" class="wd-radio-label"><?php _e('Yes',
|
| 316 |
-
<input type="radio" name="image_right_click" id="image_right_click_0" value="0" <?php if (!$row->image_right_click) echo 'checked="checked"'; ?> /><label for="image_right_click_0" class="wd-radio-label"><?php _e('No',
|
| 317 |
</div>
|
| 318 |
-
<p class="description"><?php _e('Switch off right-click on your gallery images by enabling this setting.',
|
| 319 |
</div>
|
| 320 |
</div>
|
| 321 |
<div class="wd-box-content wd-width-100">
|
| 322 |
<div class="wd-group">
|
| 323 |
-
<label class="wd-label"><?php _e('Include styles/scripts on gallery pages only',
|
| 324 |
<div class="bwg-flex">
|
| 325 |
-
<input type="radio" name="use_inline_stiles_and_scripts" id="use_inline_stiles_and_scripts_1" value="1" <?php if ($row->use_inline_stiles_and_scripts) echo 'checked="checked"'; ?> /><label for="use_inline_stiles_and_scripts_1" class="wd-radio-label"><?php _e('Yes',
|
| 326 |
-
<input type="radio" name="use_inline_stiles_and_scripts" id="use_inline_stiles_and_scripts_0" value="0" <?php if (!$row->use_inline_stiles_and_scripts) echo 'checked="checked"'; ?> /><label for="use_inline_stiles_and_scripts_0" class="wd-radio-label"><?php _e('No',
|
| 327 |
</div>
|
| 328 |
-
<p class="description"><?php _e('If this option is enabled, CSS and Javascript files of Photo Gallery will only load on pages with galleries and gallery groups.',
|
| 329 |
</div>
|
| 330 |
</div>
|
| 331 |
<div class="wd-box-content wd-width-100">
|
| 332 |
<div class="wd-group">
|
| 333 |
-
<label class="wd-label"><?php _e('Enable Google fonts',
|
| 334 |
<div class="bwg-flex">
|
| 335 |
-
<input type="radio" name="enable_google_fonts" id="enable_google_fonts_1" value="1" <?php if ($row->enable_google_fonts) echo 'checked="checked"'; ?> /><label for="enable_google_fonts_1" class="wd-radio-label"><?php _e('Yes',
|
| 336 |
-
<input type="radio" name="enable_google_fonts" id="enable_google_fonts_0" value="0" <?php if (!$row->enable_google_fonts) echo 'checked="checked"'; ?> /><label for="enable_google_fonts_0" class="wd-radio-label"><?php _e('No',
|
| 337 |
</div>
|
| 338 |
-
<p class="description"><?php _e('If this option is disabled, Google fonts will not be included in your pages.',
|
| 339 |
</div>
|
| 340 |
</div>
|
| 341 |
<div class="wd-box-content wd-width-100">
|
| 342 |
<div class="wd-group">
|
| 343 |
-
<label class="wd-label"><?php _e('Enable HTML editor',
|
| 344 |
<div class="bwg-flex">
|
| 345 |
-
<input type="radio" name="enable_wp_editor" id="enable_wp_editor_1" value="1" <?php if ($row->enable_wp_editor) echo 'checked="checked"'; ?> /><label for="enable_wp_editor_1" class="wd-radio-label"><?php _e('Yes',
|
| 346 |
-
<input type="radio" name="enable_wp_editor" id="enable_wp_editor_0" value="0" <?php if (!$row->enable_wp_editor) echo 'checked="checked"'; ?> /><label for="enable_wp_editor_0" class="wd-radio-label"><?php _e('No',
|
| 347 |
</div>
|
| 348 |
-
<p class="description"><?php _e('Description text boxes of Photo Gallery will use TinyMCE editor, in case this setting is enabled.',
|
| 349 |
</div>
|
| 350 |
<div class="wd-box-content wd-width-100">
|
| 351 |
<div class="wd-group">
|
| 352 |
-
<label class="wd-label"><?php _e('Enable get parameter for image URL',
|
| 353 |
<div class="bwg-flex">
|
| 354 |
-
<input type="radio" name="enable_date_parameter" id="enable_date_parameter_1" value="1" <?php if ($row->enable_date_parameter) echo 'checked="checked"'; ?> /><label for="enable_date_parameter_1" class="wd-radio-label"><?php _e('Yes',
|
| 355 |
-
<input type="radio" name="enable_date_parameter" id="enable_date_parameter_0" value="0" <?php if (!$row->enable_date_parameter) echo 'checked="checked"'; ?> /><label for="enable_date_parameter_0" class="wd-radio-label"><?php _e('No',
|
| 356 |
</div>
|
| 357 |
-
<p class="description"><?php _e('If this option is enabled, some IDs will be added after the image extension to enable CDN to serve those images.',
|
| 358 |
</div>
|
| 359 |
</div>
|
| 360 |
<div class="wd-box-content wd-width-100">
|
| 361 |
<div class="wd-group">
|
| 362 |
-
<label class="wd-label"><?php _e('Enable href attribute',
|
| 363 |
<div class="bwg-flex">
|
| 364 |
-
<input type="radio" name="enable_seo" id="enable_seo_1" value="1" <?php if ($row->enable_seo) echo 'checked="checked"'; ?> /><label for="enable_seo_1" class="wd-radio-label"><?php _e('Yes',
|
| 365 |
-
<input type="radio" name="enable_seo" id="enable_seo_0" value="0" <?php if (!$row->enable_seo) echo 'checked="checked"'; ?> /><label for="enable_seo_0" class="wd-radio-label"><?php _e('No',
|
| 366 |
</div>
|
| 367 |
-
<p class="description"><?php _e('Disable this option only if Photo Gallery conflicts with your theme.',
|
| 368 |
</div>
|
| 369 |
</div>
|
| 370 |
<div class="wd-box-content wd-width-100">
|
| 371 |
<div class="wd-group">
|
| 372 |
-
<label class="wd-label"><?php _e('Auto-fill metadata',
|
| 373 |
<div class="bwg-flex">
|
| 374 |
-
<input type="radio" name="read_metadata" id="read_metadata_1" value="1" <?php if ($row->read_metadata) echo 'checked="checked"'; ?> /><label for="read_metadata_1" class="wd-radio-label"><?php _e('Yes',
|
| 375 |
-
<input type="radio" name="read_metadata" id="read_metadata_0" value="0" <?php if (!$row->read_metadata) echo 'checked="checked"'; ?> /><label for="read_metadata_0" class="wd-radio-label"><?php _e('No',
|
| 376 |
</div>
|
| 377 |
-
<p class="description"><?php _e('Enabling this option will let the plugin fill in meta descriptions of photos into Image Description option automatically.',
|
| 378 |
</div>
|
| 379 |
</div>
|
| 380 |
<div class="wd-box-content wd-width-100">
|
| 381 |
<div class="wd-group">
|
| 382 |
-
<label class="wd-label"><?php _e('Generate Shortcode',
|
| 383 |
<div class="bwg-flex">
|
| 384 |
<a class="button" href="<?php echo add_query_arg( array( 'page' => 'shortcode_' . BWG()->prefix), admin_url('admin.php') ); ?>" target="_blank">
|
| 385 |
-
<?php _e('Generate Shortcode',
|
| 386 |
</a>
|
| 387 |
</div>
|
| 388 |
-
<p class="description"><?php _e('Generate or edit Photo Gallery shortcodes that are used to publish galleries or gallery groups.',
|
| 389 |
</div>
|
| 390 |
<div class="wd-group">
|
| 391 |
-
<label class="wd-label"><?php _e('Enable dynamic URLs for galleries and gallery groups',
|
| 392 |
<div class="bwg-flex">
|
| 393 |
-
<input type="radio" name="front_ajax" id="front_ajax_1" value="1" <?php if ($row->front_ajax) echo 'checked="checked"'; ?> /><label for="front_ajax_1" class="wd-radio-label"><?php _e('Yes',
|
| 394 |
-
<input type="radio" name="front_ajax" id="front_ajax_0" value="0" <?php if (!$row->front_ajax) echo 'checked="checked"'; ?> /><label for="front_ajax_0" class="wd-radio-label"><?php _e('No',
|
| 395 |
</div>
|
| 396 |
-
<p class="description"><?php _e('Enable this option to browse galleries and gallery groups, as well as search results and tagged images with dynamic links.',
|
| 397 |
</div>
|
| 398 |
<div class="wd-group">
|
| 399 |
-
<label class="wd-label"><?php _e('Developer mode',
|
| 400 |
<div class="bwg-flex">
|
| 401 |
-
<input type="radio" name="developer_mode" id="developer_mode_1" value="1" <?php if ($row->developer_mode) echo 'checked="checked"'; ?> /><label for="developer_mode_1" class="wd-radio-label"><?php _e('Yes',
|
| 402 |
-
<input type="radio" name="developer_mode" id="developer_mode_0" value="0" <?php if (!$row->developer_mode) echo 'checked="checked"'; ?> /><label for="developer_mode_0" class="wd-radio-label"><?php _e('No',
|
| 403 |
</div>
|
| 404 |
-
<p class="description"><?php _e('Do not use minified JS and CSS files. Enable this option if You need to debug JS or CSS issues.',
|
| 405 |
</div>
|
| 406 |
</div>
|
| 407 |
<?php
|
|
@@ -409,13 +409,13 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 409 |
?>
|
| 410 |
<div class="wd-box-content wd-width-100">
|
| 411 |
<div class="wd-group">
|
| 412 |
-
<label class="wd-label"><?php echo sprintf(__('Uninstall %s',
|
| 413 |
<div class="bwg-flex">
|
| 414 |
<a class="button" href="<?php echo add_query_arg( array( 'page' => 'uninstall_' . BWG()->prefix), admin_url('admin.php') ); ?>">
|
| 415 |
-
<?php _e('Uninstall',
|
| 416 |
</a>
|
| 417 |
</div>
|
| 418 |
-
<p class="description"><?php _e('Note, that uninstalling Photo Gallery will completely remove all galleries, gallery groups and other data on the plugin. Please make sure you don\'t have any important information before you proceed.',
|
| 419 |
</div>
|
| 420 |
</div>
|
| 421 |
<?php
|
|
@@ -439,7 +439,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 439 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_active.svg'; ?>" />
|
| 440 |
</label>
|
| 441 |
<input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails" />
|
| 442 |
-
<label class="gallery_type_label" for="thumbnails"><?php echo __('Thumbnails',
|
| 443 |
</div>
|
| 444 |
</span>
|
| 445 |
<span class="gallery_type bwg-thumbnails_masonry" onClick="bwg_gallery_type_options('thumbnails_masonry')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
|
@@ -449,7 +449,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 449 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry_active.svg'; ?>" />
|
| 450 |
</label>
|
| 451 |
<input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" />
|
| 452 |
-
<label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry',
|
| 453 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 454 |
<span class="pro_btn">Premium</span>
|
| 455 |
<?php } ?>
|
|
@@ -462,7 +462,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 462 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic_active.svg'; ?>" />
|
| 463 |
</label>
|
| 464 |
<input type="radio" class="gallery_type_radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" />
|
| 465 |
-
<label class="gallery_type_label" for="thumbnails_mosaic"><?php echo __('Mosaic',
|
| 466 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 467 |
<span class="pro_btn">Premium</span>
|
| 468 |
<?php } ?>
|
|
@@ -475,7 +475,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 475 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/slideshow_active.svg'; ?>" />
|
| 476 |
</label>
|
| 477 |
<input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" />
|
| 478 |
-
<label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow',
|
| 479 |
</div>
|
| 480 |
</span>
|
| 481 |
<span class="gallery_type" onClick="bwg_gallery_type_options('image_browser')">
|
|
@@ -485,7 +485,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 485 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/image_browser_active.svg'; ?>" />
|
| 486 |
</label>
|
| 487 |
<input type="radio" class="gallery_type_radio" id="image_browser" name="gallery_type" value="image_browser" />
|
| 488 |
-
<label class="gallery_type_label" for="image_browser"><?php echo __('Image Browser',
|
| 489 |
</div>
|
| 490 |
</span>
|
| 491 |
<span class="gallery_type bwg-blog_style" onClick="bwg_gallery_type_options('blog_style')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_blog_style.png'; ?>" data-title="Blog Style" data-demo-link="https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin">
|
|
@@ -495,7 +495,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 495 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/blog_style_active.svg'; ?>" />
|
| 496 |
</label>
|
| 497 |
<input type="radio" class="gallery_type_radio" id="blog_style" name="gallery_type" value="blog_style" />
|
| 498 |
-
<label class="gallery_type_label" for="blog_style"><?php echo __('Blog Style',
|
| 499 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 500 |
<span class="pro_btn">Premium</span>
|
| 501 |
<?php } ?>
|
|
@@ -508,7 +508,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 508 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/carousel_active.svg'; ?>" />
|
| 509 |
</label>
|
| 510 |
<input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" />
|
| 511 |
-
<label class="gallery_type_label" for="carousel"><?php echo __('Carousel',
|
| 512 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 513 |
<span class="pro_btn">Premium</span>
|
| 514 |
<?php } ?>
|
|
@@ -516,7 +516,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 516 |
</span>
|
| 517 |
</div>
|
| 518 |
<div class="bwg_select_gallery_type">
|
| 519 |
-
<!-- <label class="wd-label" for="gallery_types_name">--><?php //_e('View type',
|
| 520 |
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type_options(jQuery(this).val());">
|
| 521 |
<?php
|
| 522 |
foreach ($gallery_types_name as $key=>$gallery_type_name) {
|
|
@@ -585,7 +585,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 585 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview_active.svg'; ?>" />
|
| 586 |
</label>
|
| 587 |
<input type="radio" class="album_type_radio" id="album_compact_preview" name="album_type" value="album_compact_preview" />
|
| 588 |
-
<label class="album_type_label" for="album_compact_preview"><?php echo __('Compact',
|
| 589 |
</div>
|
| 590 |
</span>
|
| 591 |
<span class="gallery_type bwg-album_masonry_preview" onClick="bwg_album_type_options('album_masonry_preview')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
|
@@ -596,7 +596,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 596 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview_active.svg'; ?>" />
|
| 597 |
</label>
|
| 598 |
<input type="radio" class="album_type_radio" id="album_masonry_preview" name="album_type" value="album_masonry_preview" />
|
| 599 |
-
<label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry',
|
| 600 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 601 |
<span class="pro_btn">Premium</span>
|
| 602 |
<?php } ?>
|
|
@@ -609,12 +609,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 609 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview_active.svg'; ?>" />
|
| 610 |
</label>
|
| 611 |
<input type="radio" class="album_type_radio" id="album_extended_preview" name="album_type" value="album_extended_preview" />
|
| 612 |
-
<label class="album_type_label" for="album_extended_preview"><?php echo __('Extended',
|
| 613 |
</div>
|
| 614 |
</span>
|
| 615 |
</div>
|
| 616 |
<div class="bwg_select_gallery_type">
|
| 617 |
-
<!-- <label class="wd-label" for="album_types_name">--><?php //_e('View type',
|
| 618 |
<select name="album_types_name" id="album_types_name" onchange="bwg_album_type_options(jQuery(this).val());">
|
| 619 |
<?php
|
| 620 |
foreach ($album_types_name as $key=>$album_type_name) {
|
|
@@ -683,39 +683,39 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 683 |
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
| 684 |
<div class="postbox">
|
| 685 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 686 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 687 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 688 |
</button>
|
| 689 |
<h2 class="hndle">
|
| 690 |
-
<span><?php _e('Social',
|
| 691 |
</h2>
|
| 692 |
<div class="inside bwg-flex-wrap">
|
| 693 |
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
| 694 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 695 |
<div class="wd-group wd-width-50">
|
| 696 |
-
<label class="wd-label" for="autoupdate_interval_hour"><?php _e('Gallery autoupdate interval',
|
| 697 |
<div class="bwg-flex">
|
| 698 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" id="autoupdate_interval_hour" name="autoupdate_interval_hour" min="0" max="24" value="<?php echo floor($row->autoupdate_interval / 60); ?>" />
|
| 699 |
-
<span><?php _e('hour',
|
| 700 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" id="autoupdate_interval_min" name="autoupdate_interval_min" min="0" max="59" value="<?php echo floor($row->autoupdate_interval % 60); ?>" />
|
| 701 |
-
<span><?php _e('min',
|
| 702 |
</div>
|
| 703 |
-
<p class="description"><?php _e('Set the interval when Instagram galleries will be updated, and will display new posts of your Instagram or Facebook account.',
|
| 704 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 705 |
</div>
|
| 706 |
</div>
|
| 707 |
<div class="wd-box-content wd-width-50 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 708 |
<div class="wd-box-title">
|
| 709 |
-
<strong><?php _e('Instagram',
|
| 710 |
</div>
|
| 711 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 712 |
<div class="wd-group" id="login_with_instagram">
|
| 713 |
<input id="instagram_access_token" name="instagram_access_token" type="hidden" size="30" value="<?php echo esc_attr($row->instagram_access_token); ?>" readonly />
|
| 714 |
<?php if ( empty($row->instagram_access_token) ) { ?>
|
| 715 |
<a <?php echo BWG()->is_pro ? 'href="' . $instagram_return_url . '"' : 'disabled="disabled"'; ?> class="bwg-connect-instagram">
|
| 716 |
-
<?php _e('Connect an Instagram Account',
|
| 717 |
</a>
|
| 718 |
-
<p class="bwg-clear description"><?php _e('Press this button to sign in to your Instagram account. This lets you incorporate Instagram API to your website.',
|
| 719 |
<?php }
|
| 720 |
else {
|
| 721 |
?>
|
|
@@ -728,15 +728,15 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 728 |
</div>
|
| 729 |
</div>
|
| 730 |
<div>
|
| 731 |
-
<a <?php echo BWG()->is_pro ? 'href="' . $instagram_reset_href . '" onClick="if(confirm(\'' . addslashes(__('Are you sure you want to reset access token, after resetting it you will need to log in with Instagram again for using plugin',
|
| 732 |
-
<span class="button bwg-account-remove"><?php _e('Remove',
|
| 733 |
</a>
|
| 734 |
</div>
|
| 735 |
</div>
|
| 736 |
<div class="bwg-account-accesstoken" style="display: block;">
|
| 737 |
<div>
|
| 738 |
<p class="bwg-input-group">
|
| 739 |
-
<label><?php _e('User ID:',
|
| 740 |
<input type="text" value="<?php echo esc_attr($row->instagram_user_id); ?>" readonly="readonly"
|
| 741 |
onclick="this.focus();this.select()"
|
| 742 |
title="To copy, click the field then press Ctrl + C (PC) or Cmd + C (Mac).">
|
|
@@ -753,7 +753,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 753 |
<?php if ( has_action('init_display_facebook_options_bwg') ) { ?>
|
| 754 |
<div class="wd-box-content wd-width-50">
|
| 755 |
<div class="wd-box-title">
|
| 756 |
-
<strong><?php _e('Facebook',
|
| 757 |
</div>
|
| 758 |
<?php
|
| 759 |
do_action('init_display_facebook_options_bwg', $row );
|
|
@@ -768,17 +768,17 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 768 |
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
| 769 |
<div class="postbox closed">
|
| 770 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 771 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 772 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 773 |
</button>
|
| 774 |
<h2 class="hndle">
|
| 775 |
-
<span><?php _e('Roles',
|
| 776 |
</h2>
|
| 777 |
<div class="inside bwg-flex-wrap">
|
| 778 |
<div class="wd-box-content wd-width-50">
|
| 779 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 780 |
<div class="wd-group">
|
| 781 |
-
<label class="wd-label" for="permissions"><?php _e('Roles',
|
| 782 |
<div class="bwg-flex">
|
| 783 |
<select <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> id="permissions" name="permissions" onchange="bwg_show_hide_roles();">
|
| 784 |
<?php
|
|
@@ -790,7 +790,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 790 |
?>
|
| 791 |
</select>
|
| 792 |
</div>
|
| 793 |
-
<p class="description"><?php _e('Choose a WordPress user role which can add and edit galleries, images, gallery groups, tags, themes and edit settings.',
|
| 794 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 795 |
</div>
|
| 796 |
</div>
|
|
@@ -798,67 +798,67 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 798 |
<div class="wd-box-content wd-width-50">
|
| 799 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 800 |
<div class="wd-group">
|
| 801 |
-
<label class="wd-label"><?php _e('Gallery role restrictions',
|
| 802 |
<div class="bwg-flex">
|
| 803 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="gallery_role" id="gallery_role_1" value="1" <?php if ($row->gallery_role) echo 'checked="checked"'; ?> /><label for="gallery_role_1" class="wd-radio-label"><?php _e('Yes',
|
| 804 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="gallery_role" id="gallery_role_0" value="0" <?php if (!$row->gallery_role) echo 'checked="checked"'; ?> /><label for="gallery_role_0" class="wd-radio-label"><?php _e('No',
|
| 805 |
</div>
|
| 806 |
-
<p class="description"><?php _e('Enable this setting to restrict authors from modifying galleries created by other users.',
|
| 807 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 808 |
</div>
|
| 809 |
</div>
|
| 810 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 811 |
<div class="wd-group">
|
| 812 |
-
<label class="wd-label"><?php _e('Gallery group restrictions',
|
| 813 |
<div class="bwg-flex">
|
| 814 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_role" id="album_role_1" value="1" <?php if ($row->album_role) echo 'checked="checked"'; ?> /><label for="album_role_1" class="wd-radio-label"><?php _e('Yes',
|
| 815 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_role" id="album_role_0" value="0" <?php if (!$row->album_role) echo 'checked="checked"'; ?> /><label for="album_role_0" class="wd-radio-label"><?php _e('No',
|
| 816 |
</div>
|
| 817 |
-
<p class="description"><?php _e('Enabling this option will restrict authors from modifying galleries groups created by other users.',
|
| 818 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 819 |
</div>
|
| 820 |
</div>
|
| 821 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 822 |
<div class="wd-group">
|
| 823 |
-
<label class="wd-label"><?php _e('Image role restrictions',
|
| 824 |
<div class="bwg-flex">
|
| 825 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="image_role" id="image_role_1" value="1" <?php if ($row->image_role) echo 'checked="checked"'; ?> /><label for="image_role_1" class="wd-radio-label"><?php _e('Yes',
|
| 826 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="image_role" id="image_role_0" value="0" <?php if (!$row->image_role) echo 'checked="checked"'; ?> /><label for="image_role_0" class="wd-radio-label"><?php _e('No',
|
| 827 |
</div>
|
| 828 |
-
<p class="description"><?php _e('Enable this setting to restrict authors from modifying images added by other users.',
|
| 829 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 830 |
</div>
|
| 831 |
</div>
|
| 832 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 833 |
<div class="wd-group">
|
| 834 |
-
<label class="wd-label"><?php _e('Tag permission',
|
| 835 |
<div class="bwg-flex">
|
| 836 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="tag_role" id="tag_role_1" value="1" <?php if ($row->tag_role) echo 'checked="checked"'; ?> /><label for="tag_role_1" class="wd-radio-label"><?php _e('Yes',
|
| 837 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="tag_role" id="tag_role_0" value="0" <?php if (!$row->tag_role) echo 'checked="checked"'; ?> /><label for="tag_role_0" class="wd-radio-label"><?php _e('No',
|
| 838 |
</div>
|
| 839 |
-
<p class="description"><?php _e('Enable this setting to allow users to add/edit tags.',
|
| 840 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 841 |
</div>
|
| 842 |
</div>
|
| 843 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 844 |
<div class="wd-group">
|
| 845 |
-
<label class="wd-label"><?php _e('Theme permission',
|
| 846 |
<div class="bwg-flex">
|
| 847 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="theme_role" id="theme_role_1" value="1" <?php if ($row->theme_role) echo 'checked="checked"'; ?> /><label for="theme_role_1" class="wd-radio-label"><?php _e('Yes',
|
| 848 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="theme_role" id="theme_role_0" value="0" <?php if (!$row->theme_role) echo 'checked="checked"'; ?> /><label for="theme_role_0" class="wd-radio-label"><?php _e('No',
|
| 849 |
</div>
|
| 850 |
-
<p class="description"><?php _e('Enable this setting to allow users to add/edit themes.',
|
| 851 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 852 |
</div>
|
| 853 |
</div>
|
| 854 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 855 |
<div class="wd-group">
|
| 856 |
-
<label class="wd-label"><?php _e('Global settings permission',
|
| 857 |
<div class="bwg-flex">
|
| 858 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="settings_role" id="settings_role_1" value="1" <?php if ($row->settings_role) echo 'checked="checked"'; ?> /><label for="settings_role_1" class="wd-radio-label"><?php _e('Yes',
|
| 859 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="settings_role" id="settings_role_0" value="0" <?php if (!$row->settings_role) echo 'checked="checked"'; ?> /><label for="settings_role_0" class="wd-radio-label"><?php _e('No',
|
| 860 |
</div>
|
| 861 |
-
<p class="description"><?php _e('Enable this setting to allow users to edit global settings.',
|
| 862 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 863 |
</div>
|
| 864 |
</div>
|
|
@@ -869,28 +869,28 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 869 |
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
| 870 |
<div class="postbox closed">
|
| 871 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 872 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 873 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 874 |
</button>
|
| 875 |
<h2 class="hndle">
|
| 876 |
-
<span><?php _e('Advertisement',
|
| 877 |
</h2>
|
| 878 |
<div class="inside bwg-flex-wrap">
|
| 879 |
<div class="wd-box-content wd-width-50">
|
| 880 |
<div class="wd-box-content wd-width-100">
|
| 881 |
<div class="wd-group">
|
| 882 |
-
<label class="wd-label"><?php _e('Advertisement type',
|
| 883 |
<div class="bwg-flex">
|
| 884 |
-
<div><input type="radio" name="watermark_type" id="watermark_type_none" value="none" <?php if ($row->watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_none')" /><label for="watermark_type_none" class="wd-radio-label"><?php _e('None',
|
| 885 |
-
<div><input type="radio" name="watermark_type" id="watermark_type_text" value="text" <?php if ($row->watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_text')" onchange="preview_watermark()" /><label for="watermark_type_text" class="wd-radio-label"><?php _e('Text',
|
| 886 |
-
<div><input type="radio" name="watermark_type" id="watermark_type_image" value="image" <?php if ($row->watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_image')" onchange="preview_watermark()" /><label for="watermark_type_image" class="wd-radio-label"><?php _e('Image',
|
| 887 |
</div>
|
| 888 |
-
<p class="description"><?php _e('Add Text or Image advertisement to your images with this option.',
|
| 889 |
</div>
|
| 890 |
</div>
|
| 891 |
<div class="wd-box-content wd-width-100" id="tr_watermark_url">
|
| 892 |
<div class="wd-group">
|
| 893 |
-
<label class="wd-label" for="watermark_url"><?php _e('Advertisement URL',
|
| 894 |
<div>
|
| 895 |
<?php
|
| 896 |
$query_url = add_query_arg(array(
|
|
@@ -903,56 +903,56 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 903 |
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url );
|
| 904 |
?>
|
| 905 |
<a href="<?php echo esc_url($query_url); ?>" id="button_add_watermark_image" class="button-primary thickbox thickbox-preview"
|
| 906 |
-
title="<?php _e('Select Image',
|
| 907 |
onclick="return false;">
|
| 908 |
-
<?php _e('Select Image',
|
| 909 |
</a>
|
| 910 |
-
<br /><?php _e('or',
|
| 911 |
<input type="text" id="watermark_url" name="watermark_url" value="<?php echo esc_url($row->watermark_url); ?>" onchange="preview_watermark()" placeholder="e.g. https://example.com/uploads/watermark.png" />
|
| 912 |
</div>
|
| 913 |
-
<p class="description"><?php _e('Provide the absolute URL of the image you would like to use as advertisement.',
|
| 914 |
</div>
|
| 915 |
</div>
|
| 916 |
<div class="wd-box-content wd-width-100" id="tr_watermark_text">
|
| 917 |
<div class="wd-group">
|
| 918 |
-
<label class="wd-label" for="watermark_text"><?php _e('Advertisement text',
|
| 919 |
<div class="bwg-flex">
|
| 920 |
<input type="text" name="watermark_text" id="watermark_text" style="width: 100%;" value="<?php echo esc_attr($row->watermark_text); ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
|
| 921 |
</div>
|
| 922 |
-
<p class="description"><?php _e('Write the text to add to images as advertisement.',
|
| 923 |
</div>
|
| 924 |
</div>
|
| 925 |
<div class="wd-box-content wd-width-100" id="tr_watermark_link">
|
| 926 |
<div class="wd-group">
|
| 927 |
-
<label class="wd-label" for="watermark_link"><?php _e('Advertisement link',
|
| 928 |
<div class="bwg-flex">
|
| 929 |
<input type="text" name="watermark_link" id="watermark_link" style="width: 100%;" value="<?php echo esc_url($row->watermark_link); ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
|
| 930 |
</div>
|
| 931 |
-
<p class="description"><?php _e('Provide the link to be added to advertisement on images.',
|
| 932 |
</div>
|
| 933 |
</div>
|
| 934 |
<div class="wd-box-content wd-width-100" id="tr_watermark_width_height">
|
| 935 |
<div class="wd-group">
|
| 936 |
-
<label class="wd-label" for="watermark_width"><?php _e('Advertisement dimensions',
|
| 937 |
<div class="bwg-flex">
|
| 938 |
<input type="number" name="watermark_width" id="watermark_width" value="<?php echo intval($row->watermark_width); ?>" min="0" onchange="preview_watermark()" /><span>x</span>
|
| 939 |
<input type="number" name="watermark_height" id="watermark_height" value="<?php echo intval($row->watermark_height); ?>" min="0" onchange="preview_watermark()" /><span>px</span>
|
| 940 |
</div>
|
| 941 |
-
<p class="description"><?php _e('Select the dimensions of the advertisement image.',
|
| 942 |
</div>
|
| 943 |
</div>
|
| 944 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font_size">
|
| 945 |
<div class="wd-group">
|
| 946 |
-
<label class="wd-label" for="watermark_font_size"><?php _e('Advertisement font size',
|
| 947 |
<div class="bwg-flex">
|
| 948 |
<input type="number" name="watermark_font_size" id="watermark_font_size" value="<?php echo intval($row->watermark_font_size); ?>" min="0" onchange="preview_watermark()" /><span>px</span>
|
| 949 |
</div>
|
| 950 |
-
<p class="description"><?php _e('Specify the font size of the advertisement text.',
|
| 951 |
</div>
|
| 952 |
</div>
|
| 953 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font">
|
| 954 |
<div class="wd-group">
|
| 955 |
-
<label class="wd-label" for="watermark_font"><?php _e('Advertisement font style',
|
| 956 |
<div>
|
| 957 |
<select name="watermark_font" id="watermark_font" onchange="preview_watermark()">
|
| 958 |
<?php
|
|
@@ -968,35 +968,35 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 968 |
</select>
|
| 969 |
<div class="bwg-flex">
|
| 970 |
<input type="radio" name="watermark_google_fonts" id="watermark_google_fonts1" onchange="bwg_change_fonts('watermark_font', jQuery(this).attr('id'))" value="1" <?php if ($is_google_fonts) echo 'checked="checked"'; ?> />
|
| 971 |
-
<label for="watermark_google_fonts1" id="watermark_google_fonts1_lbl" class="wd-radio-label"><?php _e('Google fonts',
|
| 972 |
<input type="radio" name="watermark_google_fonts" id="watermark_google_fonts0" onchange="bwg_change_fonts('watermark_font', '')" value="0" <?php if (!$is_google_fonts) echo 'checked="checked"'; ?> />
|
| 973 |
-
<label for="watermark_google_fonts0" id="watermark_google_fonts0_lbl" class="wd-radio-label"><?php _e('Default',
|
| 974 |
</div>
|
| 975 |
</div>
|
| 976 |
-
<p class="description"><?php _e('Select the font family of the advertisement text.',
|
| 977 |
</div>
|
| 978 |
</div>
|
| 979 |
<div class="wd-box-content wd-width-100" id="tr_watermark_color">
|
| 980 |
<div class="wd-group">
|
| 981 |
-
<label class="wd-label" for="watermark_color"><?php _e('Advertisement color',
|
| 982 |
<div class="bwg-flex">
|
| 983 |
<input type="text" name="watermark_color" id="watermark_color" value="<?php echo esc_attr($row->watermark_color); ?>" class="jscolor" onchange="preview_watermark()" />
|
| 984 |
</div>
|
| 985 |
-
<p class="description"><?php _e('Choose the color for the advertisement text on images.',
|
| 986 |
</div>
|
| 987 |
</div>
|
| 988 |
<div class="wd-box-content wd-width-100" id="tr_watermark_opacity">
|
| 989 |
<div class="wd-group">
|
| 990 |
-
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement opacity',
|
| 991 |
<div class="bwg-flex">
|
| 992 |
<input type="number" name="watermark_opacity" id="watermark_opacity" value="<?php echo intval($row->watermark_opacity); ?>" min="0" max="100" onchange="preview_watermark()" /><span>%</span>
|
| 993 |
</div>
|
| 994 |
-
<p class="description"><?php _e('Specify the opacity of the advertisement. The value must be between 0 to 100.',
|
| 995 |
</div>
|
| 996 |
</div>
|
| 997 |
<div class="wd-box-content wd-width-100" id="tr_watermark_position">
|
| 998 |
<div class="wd-group">
|
| 999 |
-
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement position',
|
| 1000 |
<div class="bwg-flex">
|
| 1001 |
<table class="bwg_position_table">
|
| 1002 |
<tbody>
|
|
@@ -1019,7 +1019,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1019 |
</table>
|
| 1020 |
</div>
|
| 1021 |
</div>
|
| 1022 |
-
<p class="description"><?php _e('Mark the position where the advertisement should appear on images.',
|
| 1023 |
</div>
|
| 1024 |
</div>
|
| 1025 |
<div class="wd-box-content wd-width-50">
|
|
@@ -1036,21 +1036,21 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1036 |
<div class="wd-box-content wd-width-50">
|
| 1037 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_type">
|
| 1038 |
<div class="wd-group">
|
| 1039 |
-
<label class="wd-label"><?php _e('Watermark type',
|
| 1040 |
<div class="bwg-flex">
|
| 1041 |
<input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_none" value="none" <?php if ($row->built_in_watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_none')" />
|
| 1042 |
-
<label for="built_in_watermark_type_none" class="wd-radio-label"><?php _e('None',
|
| 1043 |
<input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_text" value="text" <?php if ($row->built_in_watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_text')" onchange="preview_built_in_watermark()" />
|
| 1044 |
-
<label for="built_in_watermark_type_text" class="wd-radio-label"><?php _e('Text',
|
| 1045 |
<input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_image" value="image" <?php if ($row->built_in_watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_image')" onchange="preview_built_in_watermark()" />
|
| 1046 |
-
<label for="built_in_watermark_type_image" class="wd-radio-label"><?php _e('Image',
|
| 1047 |
</div>
|
| 1048 |
-
<p class="description"><?php _e('Add Text or Image watermark to your images with this option.',
|
| 1049 |
</div>
|
| 1050 |
</div>
|
| 1051 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_url">
|
| 1052 |
<div class="wd-group">
|
| 1053 |
-
<label class="wd-label" for="built_in_watermark_url"><?php _e('Watermark URL',
|
| 1054 |
<div>
|
| 1055 |
<?php
|
| 1056 |
$query_url = add_query_arg(array('action' => 'addImages', 'width' => '800', 'height' => '550', 'extensions' => 'png', 'callback' => 'bwg_add_built_in_watermark_image'), admin_url('admin-ajax.php'));
|
|
@@ -1058,46 +1058,46 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1058 |
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url );
|
| 1059 |
?>
|
| 1060 |
<a href="<?php echo esc_url($query_url); ?>" id="button_add_built_in_watermark_image" class="button-primary thickbox thickbox-preview"
|
| 1061 |
-
title="<?php _e('Select Image',
|
| 1062 |
onclick="return false;">
|
| 1063 |
-
<?php _e('Select Image',
|
| 1064 |
</a>
|
| 1065 |
-
<br /><?php _e('or',
|
| 1066 |
<input type="text" id="built_in_watermark_url" name="built_in_watermark_url" value="<?php echo esc_url($row->built_in_watermark_url); ?>" onchange="preview_built_in_watermark()" placeholder="e.g. https://example.com/uploads/watermark.png" />
|
| 1067 |
</div>
|
| 1068 |
-
<p class="description"><?php _e('Provide the absolute URL of the image you would like to use as watermark.',
|
| 1069 |
</div>
|
| 1070 |
</div>
|
| 1071 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_text">
|
| 1072 |
<div class="wd-group">
|
| 1073 |
-
<label class="wd-label" for="built_in_watermark_text"><?php _e('Watermark text',
|
| 1074 |
<div class="bwg-flex">
|
| 1075 |
<input type="text" name="built_in_watermark_text" id="built_in_watermark_text" style="width: 100%;" value="<?php echo esc_attr($row->built_in_watermark_text); ?>" onchange="preview_built_in_watermark()" onkeypress="preview_built_in_watermark()" />
|
| 1076 |
</div>
|
| 1077 |
-
<p class="description"><?php _e('Provide the text to add to images as watermark.',
|
| 1078 |
</div>
|
| 1079 |
</div>
|
| 1080 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_size">
|
| 1081 |
<div class="wd-group">
|
| 1082 |
-
<label class="wd-label" for="built_in_watermark_size"><?php _e('Watermark size',
|
| 1083 |
<div class="bwg-flex">
|
| 1084 |
<input type="number" name="built_in_watermark_size" id="built_in_watermark_size" value="<?php echo intval($row->built_in_watermark_size); ?>" min="0" max="100" onchange="preview_built_in_watermark()" /><span>%</span>
|
| 1085 |
</div>
|
| 1086 |
-
<p class="description"><?php _e('Specify the size of watermark on images in percent.',
|
| 1087 |
</div>
|
| 1088 |
</div>
|
| 1089 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_font_size">
|
| 1090 |
<div class="wd-group">
|
| 1091 |
-
<label class="wd-label" for="built_in_watermark_font_size"><?php _e('Watermark font size',
|
| 1092 |
<div class="bwg-flex">
|
| 1093 |
<input type="number" name="built_in_watermark_font_size" id="built_in_watermark_font_size" value="<?php echo intval($row->built_in_watermark_font_size); ?>" min="0" onchange="preview_built_in_watermark()" />
|
| 1094 |
</div>
|
| 1095 |
-
<p class="description"><?php _e('Specify the font size of the watermark text.',
|
| 1096 |
</div>
|
| 1097 |
</div>
|
| 1098 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_font">
|
| 1099 |
<div class="wd-group">
|
| 1100 |
-
<label class="wd-label" for="built_in_watermark_font"><?php _e('Watermark font style',
|
| 1101 |
<div class="bwg-flex">
|
| 1102 |
<select name="built_in_watermark_font" id="built_in_watermark_font" onchange="preview_built_in_watermark()">
|
| 1103 |
<?php
|
|
@@ -1121,30 +1121,30 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1121 |
}
|
| 1122 |
?>
|
| 1123 |
</div>
|
| 1124 |
-
<p class="description"><?php _e('Select the font family of the watermark text.',
|
| 1125 |
</div>
|
| 1126 |
</div>
|
| 1127 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_color">
|
| 1128 |
<div class="wd-group">
|
| 1129 |
-
<label class="wd-label" for="built_in_watermark_color"><?php _e('Watermark color',
|
| 1130 |
<div class="bwg-flex">
|
| 1131 |
<input type="text" name="built_in_watermark_color" id="built_in_watermark_color" value="<?php echo esc_attr($row->built_in_watermark_color); ?>" class="jscolor" onchange="preview_built_in_watermark()" />
|
| 1132 |
</div>
|
| 1133 |
-
<p class="description"><?php _e('Choose the color for the watermark text on images.',
|
| 1134 |
</div>
|
| 1135 |
</div>
|
| 1136 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_opacity">
|
| 1137 |
<div class="wd-group">
|
| 1138 |
-
<label class="wd-label" for="built_in_watermark_opacity"><?php _e('Watermark opacity',
|
| 1139 |
<div class="bwg-flex">
|
| 1140 |
<input type="number" name="built_in_watermark_opacity" id="built_in_watermark_opacity" value="<?php echo intval($row->built_in_watermark_opacity); ?>" min="0" max="100" onchange="preview_built_in_watermark()" /><span>%</span>
|
| 1141 |
</div>
|
| 1142 |
-
<p class="description"><?php _e('Specify the opacity of the watermark. The value must be between 0 to 100.',
|
| 1143 |
</div>
|
| 1144 |
</div>
|
| 1145 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_position">
|
| 1146 |
<div class="wd-group">
|
| 1147 |
-
<label class="wd-label"><?php _e('Watermark position',
|
| 1148 |
<div class="">
|
| 1149 |
<table class="bwg_position_table">
|
| 1150 |
<tbody>
|
|
@@ -1165,14 +1165,14 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1165 |
</tr>
|
| 1166 |
</tbody>
|
| 1167 |
</table>
|
| 1168 |
-
<input type="submit" class="button-primary" title="<?php _e('Set watermark',
|
| 1169 |
-
onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 1170 |
-
value="<?php _e('Set Watermark',
|
| 1171 |
-
<input type="submit" class="button" title="<?php _e('Reset watermark',
|
| 1172 |
-
onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.',
|
| 1173 |
-
value="<?php _e('Reset Watermark',
|
| 1174 |
</div>
|
| 1175 |
-
<p class="description"><?php _e('Mark the position where the watermark should appear on images.',
|
| 1176 |
</div>
|
| 1177 |
</div>
|
| 1178 |
</div>
|
|
@@ -1286,22 +1286,22 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1286 |
|
| 1287 |
private static function get_effects() {
|
| 1288 |
return array(
|
| 1289 |
-
'none' => __('None',
|
| 1290 |
-
'cubeH' => __('Cube Horizontal',
|
| 1291 |
-
'cubeV' => __('Cube Vertical',
|
| 1292 |
-
'fade' => __('Fade',
|
| 1293 |
-
'sliceH' => __('Slice Horizontal',
|
| 1294 |
-
'sliceV' => __('Slice Vertical',
|
| 1295 |
-
'slideH' => __('Slide Horizontal',
|
| 1296 |
-
'slideV' => __('Slide Vertical',
|
| 1297 |
-
'scaleOut' => __('Scale Out',
|
| 1298 |
-
'scaleIn' => __('Scale In',
|
| 1299 |
-
'blockScale' => __('Block Scale',
|
| 1300 |
-
'kaleidoscope' => __('Kaleidoscope',
|
| 1301 |
-
'fan' => __('Fan',
|
| 1302 |
-
'blindH' => __('Blind Horizontal',
|
| 1303 |
-
'blindV' => __('Blind Vertical',
|
| 1304 |
-
'random' => __('Random',
|
| 1305 |
);
|
| 1306 |
}
|
| 1307 |
|
|
@@ -1313,54 +1313,54 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1313 |
<div class="wd-box-content wd-width-33">
|
| 1314 |
<div class="wd-box-content wd-width-100">
|
| 1315 |
<div class="wd-group">
|
| 1316 |
-
<label class="wd-label" for="thumb_width"><?php _e('Thumbnail dimensions',
|
| 1317 |
<div class="bwg-flex">
|
| 1318 |
<input type="number" name="thumb_width" id="thumb_width" value="<?php echo intval($row->thumb_width); ?>" min="0" /><span>x</span>
|
| 1319 |
<input type="number" name="thumb_height" id="thumb_height" value="<?php echo intval($row->thumb_height); ?>" min="0" /><span>px</span>
|
| 1320 |
</div>
|
| 1321 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.',
|
| 1322 |
</div>
|
| 1323 |
</div>
|
| 1324 |
<div class="wd-box-content wd-width-100">
|
| 1325 |
<div class="wd-group">
|
| 1326 |
-
<label class="wd-label" for="image_column_number"><?php _e('Number of image columns',
|
| 1327 |
<div class="bwg-flex">
|
| 1328 |
<input type="number" name="image_column_number" id="image_column_number" value="<?php echo intval($row->image_column_number); ?>" min="0" />
|
| 1329 |
</div>
|
| 1330 |
-
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.',
|
| 1331 |
</div>
|
| 1332 |
</div>
|
| 1333 |
<div class="wd-box-content wd-width-100">
|
| 1334 |
<div class="wd-group">
|
| 1335 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 1336 |
<div class="bwg-flex">
|
| 1337 |
-
<div><input type="radio" name="image_enable_page" id="image_enable_page_0" value="0" <?php if ($row->image_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_load_more_image_count', 'image_enable_page_0'); bwg_pagination_description(this);" /><label for="image_enable_page_0" class="wd-radio-label"><?php _e('None',
|
| 1338 |
-
<div><input type="radio" name="image_enable_page" id="image_enable_page_1" value="1" <?php if ($row->image_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_load_more_image_count', 'image_enable_page_1'); bwg_pagination_description(this);" /><label for="image_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 1339 |
-
<div><input type="radio" name="image_enable_page" id="image_enable_page_2" value="2" <?php if ($row->image_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_load_more_image_count', 'image_enable_page_2'); bwg_pagination_description(this);" /><label for="image_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 1340 |
-
<div><input type="radio" name="image_enable_page" id="image_enable_page_3" value="3" <?php if ($row->image_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_load_more_image_count', 'image_enable_page_3'); bwg_pagination_description(this);" /><label for="image_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 1341 |
</div>
|
| 1342 |
-
<p class="description" id="image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 1343 |
-
<p class="description" id="image_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 1344 |
-
<p class="description" id="image_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 1345 |
-
<p class="description" id="image_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 1346 |
</div>
|
| 1347 |
</div>
|
| 1348 |
<div class="wd-box-content wd-width-100" id="tr_images_per_page">
|
| 1349 |
<div class="wd-group">
|
| 1350 |
-
<label class="wd-label" for="images_per_page"><?php _e('Images per page',
|
| 1351 |
<div class="bwg-flex">
|
| 1352 |
<input type="number" name="images_per_page" id="images_per_page" value="<?php echo intval($row->images_per_page); ?>" min="0" />
|
| 1353 |
</div>
|
| 1354 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.',
|
| 1355 |
</div>
|
| 1356 |
</div>
|
| 1357 |
<div class="wd-box-content wd-width-100" id="tr_load_more_image_count">
|
| 1358 |
<div class="wd-group">
|
| 1359 |
-
<label class="wd-label" for="load_more_image_count"><?php _e('Images per load',
|
| 1360 |
<div class="bwg-flex">
|
| 1361 |
<input type="number" name="load_more_image_count" id="load_more_image_count" value="<?php echo intval($row->load_more_image_count); ?>" min="0" />
|
| 1362 |
</div>
|
| 1363 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.',
|
| 1364 |
</div>
|
| 1365 |
</div>
|
| 1366 |
</div>
|
|
@@ -1368,38 +1368,38 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1368 |
<div class="wd-box-content wd-width-100">
|
| 1369 |
<div class="wd-group">
|
| 1370 |
<div class="wd-width-43">
|
| 1371 |
-
<label class="wd-label" for="sort_by"><?php _e('Order by',
|
| 1372 |
<select name="sort_by" id="sort_by">
|
| 1373 |
-
<option value="order" <?php if ($row->sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 1374 |
-
<option value="alt" <?php if ($row->sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 1375 |
-
<option value="date" <?php if ($row->sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 1376 |
-
<option value="filename" <?php if ($row->sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 1377 |
-
<option value="size" <?php if ($row->sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 1378 |
-
<option value="random" <?php if ($row->sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 1379 |
</select>
|
| 1380 |
</div>
|
| 1381 |
<div class="wd-width-55">
|
| 1382 |
<select name="order_by" id="order_by">
|
| 1383 |
-
<option value="asc" <?php if ($row->order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 1384 |
-
<option value="desc" <?php if ($row->order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 1385 |
</select>
|
| 1386 |
</div>
|
| 1387 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 1388 |
</div>
|
| 1389 |
</div>
|
| 1390 |
<div class="wd-box-content wd-width-100">
|
| 1391 |
<div class="wd-group">
|
| 1392 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 1393 |
<div class="bwg-flex">
|
| 1394 |
-
<input type="radio" name="show_search_box" id="show_search_box_1" value="1" <?php if ($row->show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_search_box_width', 'show_search_box_1'); bwg_enable_disable('', 'tr_search_box_placeholder', 'show_search_box_1')" /><label for="show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 1395 |
-
<input type="radio" name="show_search_box" id="show_search_box_0" value="0" <?php if (!$row->show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_search_box_width', 'show_search_box_0'); bwg_enable_disable('none', 'tr_search_box_placeholder', 'show_search_box_0')" /><label for="show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 1396 |
</div>
|
| 1397 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 1398 |
</div>
|
| 1399 |
</div>
|
| 1400 |
<div class="wd-box-content wd-width-100" id="tr_search_box_placeholder">
|
| 1401 |
<div class="wd-group">
|
| 1402 |
-
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search',
|
| 1403 |
<div class="bwg-flex">
|
| 1404 |
<input type="text" name="placeholder" id="placeholder" value="<?php echo esc_attr($row->placeholder); ?>" />
|
| 1405 |
</div>
|
|
@@ -1407,7 +1407,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1407 |
</div>
|
| 1408 |
<div class="wd-box-content wd-width-100" id="tr_search_box_width">
|
| 1409 |
<div class="wd-group">
|
| 1410 |
-
<label class="wd-label" for="search_box_width"><?php _e('Search box maximum width',
|
| 1411 |
<div class="bwg-flex">
|
| 1412 |
<input type="number" name="search_box_width" id="search_box_width" value="<?php echo intval($row->search_box_width); ?>" min="0" /><span>px</span>
|
| 1413 |
</div>
|
|
@@ -1415,85 +1415,85 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1415 |
</div>
|
| 1416 |
<div class="wd-box-content wd-width-100">
|
| 1417 |
<div class="wd-group">
|
| 1418 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 1419 |
<div class="bwg-flex">
|
| 1420 |
-
<input type="radio" name="show_sort_images" id="show_sort_images_1" value="1" <?php if ($row->show_sort_images) echo 'checked="checked"'; ?> /><label for="show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 1421 |
-
<input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!$row->show_sort_images) echo 'checked="checked"'; ?> /><label for="show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 1422 |
</div>
|
| 1423 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 1424 |
</div>
|
| 1425 |
</div>
|
| 1426 |
<div class="wd-box-content wd-width-100">
|
| 1427 |
<div class="wd-group">
|
| 1428 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 1429 |
<div class="bwg-flex">
|
| 1430 |
-
<input type="radio" name="show_tag_box" id="show_tag_box_1" value="1" <?php if ($row->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 1431 |
-
<input type="radio" name="show_tag_box" id="show_tag_box_0" value="0" <?php if (!$row->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 1432 |
</div>
|
| 1433 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 1434 |
</div>
|
| 1435 |
</div>
|
| 1436 |
</div>
|
| 1437 |
<div class="wd-box-content wd-width-33">
|
| 1438 |
<div class="wd-box-content wd-width-100">
|
| 1439 |
<div class="wd-group">
|
| 1440 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 1441 |
<div class="bwg-flex">
|
| 1442 |
-
<input type="radio" name="showthumbs_name" id="thumb_name_yes" value="1" <?php if ($row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_yes" class="wd-radio-label"><?php _e('Yes',
|
| 1443 |
-
<input type="radio" name="showthumbs_name" id="thumb_name_no" value="0" <?php if (!$row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_no" class="wd-radio-label"><?php _e('No',
|
| 1444 |
</div>
|
| 1445 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.',
|
| 1446 |
</div>
|
| 1447 |
</div>
|
| 1448 |
<div class="wd-box-content wd-width-100">
|
| 1449 |
<div class="wd-group">
|
| 1450 |
-
<label class="wd-label"><?php _e('Show gallery description',
|
| 1451 |
<div class="bwg-flex">
|
| 1452 |
-
<input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if ($row->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 1453 |
-
<input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!$row->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 1454 |
</div>
|
| 1455 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.',
|
| 1456 |
</div>
|
| 1457 |
</div>
|
| 1458 |
<div class="wd-box-content wd-width-100">
|
| 1459 |
<div class="wd-group">
|
| 1460 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 1461 |
<div class="bwg-flex">
|
| 1462 |
-
<div><input type="radio" name="image_title_show_hover" id="image_title_show_hover_1" value="hover" <?php if ($row->image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 1463 |
-
<div><input type="radio" name="image_title_show_hover" id="image_title_show_hover_0" value="show" <?php if ($row->image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show',
|
| 1464 |
-
<div><input type="radio" name="image_title_show_hover" id="image_title_show_hover_2" value="none" <?php if ($row->image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 1465 |
</div>
|
| 1466 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.',
|
| 1467 |
</div>
|
| 1468 |
</div>
|
| 1469 |
<div class="wd-box-content wd-width-100">
|
| 1470 |
<div class="wd-group">
|
| 1471 |
-
<label class="wd-label"><?php _e('Show image descriptions',
|
| 1472 |
<div class="bwg-flex">
|
| 1473 |
-
<input type="radio" name="show_thumb_description" id="thumb_desc_1" value="1" <?php if ($row->show_thumb_description) echo 'checked="checked"'; ?> /><label for="thumb_desc_1" class="wd-radio-label"><?php _e('Yes',
|
| 1474 |
-
<input type="radio" name="show_thumb_description" id="thumb_desc_0" value="0" <?php if (!$row->show_thumb_description) echo 'checked="checked"'; ?> /><label for="thumb_desc_0" class="wd-radio-label"><?php _e('No',
|
| 1475 |
</div>
|
| 1476 |
-
<p class="description"><?php _e('Enable this setting to display descriptions under images.',
|
| 1477 |
</div>
|
| 1478 |
</div>
|
| 1479 |
<div class="wd-box-content wd-width-100">
|
| 1480 |
<div class="wd-group">
|
| 1481 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails',
|
| 1482 |
<div class="bwg-flex">
|
| 1483 |
-
<input type="radio" name="play_icon" id="play_icon_yes" value="1" <?php if ($row->play_icon) echo 'checked="checked"'; ?> /><label for="play_icon_yes" class="wd-radio-label"><?php _e('Yes',
|
| 1484 |
-
<input type="radio" name="play_icon" id="play_icon_no" value="0" <?php if (!$row->play_icon) echo 'checked="checked"'; ?> /><label for="play_icon_no" class="wd-radio-label"><?php _e('No',
|
| 1485 |
</div>
|
| 1486 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.',
|
| 1487 |
</div>
|
| 1488 |
</div>
|
| 1489 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1490 |
<div class="wd-group">
|
| 1491 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 1492 |
<div class="bwg-flex">
|
| 1493 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="gallery_download" id="gallery_download_1" value="1" <?php if ($row->gallery_download) echo 'checked="checked"'; ?> /><label for="gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 1494 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="gallery_download" id="gallery_download_0" value="0" <?php if (!$row->gallery_download) echo 'checked="checked"'; ?> /><label for="gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 1495 |
</div>
|
| 1496 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 1497 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1498 |
<?php
|
| 1499 |
if ( !$zipArchiveClass) {
|
|
@@ -1507,13 +1507,13 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1507 |
?>
|
| 1508 |
<div class="wd-box-content wd-width-100">
|
| 1509 |
<div class="wd-group">
|
| 1510 |
-
<label class="wd-label"><?php _e('Show ecommerce icon',
|
| 1511 |
<div class="bwg-flex">
|
| 1512 |
-
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_1" value="hover" <?php if ($row->ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 1513 |
-
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_0" value="show" <?php if ($row->ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show',
|
| 1514 |
-
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_2" value="none" <?php if ($row->ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 1515 |
</div>
|
| 1516 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.',
|
| 1517 |
</div>
|
| 1518 |
</div>
|
| 1519 |
<?php
|
|
@@ -1526,12 +1526,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1526 |
<?php /*
|
| 1527 |
<div class="wd-box-content wd-width-100">
|
| 1528 |
<div class="wd-group">
|
| 1529 |
-
<label class="wd-label"><?php _e('Masonry type',
|
| 1530 |
<div class="bwg-flex">
|
| 1531 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry" id="masonry_0" value="vertical" <?php if ($row->masonry == "vertical") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'bwg-vertical-block-masonry', 'masonry_0');" /><label for="masonry_0" class="wd-radio-label"><?php _e('Vertical',
|
| 1532 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry" id="masonry_1" value="horizontal" <?php if ($row->masonry == "horizontal") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'bwg-vertical-block-masonry', 'masonry_1');" /><label for="masonry_1" class="wd-radio-label"><?php _e('Horizontal',
|
| 1533 |
</div>
|
| 1534 |
-
<p class="description"><?php _e('Select the type of Masonry galleries, Vertical or Horizontal.',
|
| 1535 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1536 |
</div>
|
| 1537 |
</div>
|
|
@@ -1539,93 +1539,93 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1539 |
?>
|
| 1540 |
<div class="wd-box-content wd-width-100">
|
| 1541 |
<div class="wd-group">
|
| 1542 |
-
<label class="wd-label" for="masonry_thumb_size"><?php _e('Thumbnail size',
|
| 1543 |
<div class="bwg-flex">
|
| 1544 |
<input type="number" name="masonry_thumb_size" id="masonry_thumb_size" value="<?php echo intval($row->masonry_thumb_size); ?>" min="0" /><span>px</span>
|
| 1545 |
</div>
|
| 1546 |
-
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.',
|
| 1547 |
</div>
|
| 1548 |
</div>
|
| 1549 |
<div class="wd-box-content wd-width-100">
|
| 1550 |
<div class="wd-group">
|
| 1551 |
-
<label class="wd-label masonry_col_num" style="<?php echo ($row->masonry == "vertical") ? '' : 'display:none'; ?>" for="masonry_image_column_number"><?php _e('Number of image columns',
|
| 1552 |
-
<label class="wd-label masonry_row_num" style="<?php echo ($row->masonry == "vertical") ? 'display:none' : ''; ?>" for="masonry_image_column_number"><?php _e('Number of image rows',
|
| 1553 |
<div class="bwg-flex">
|
| 1554 |
<input type="number" name="masonry_image_column_number" id="masonry_image_column_number" value="<?php echo intval($row->masonry_image_column_number); ?>" min="0" />
|
| 1555 |
</div>
|
| 1556 |
-
<p class="description"><?php _e('Set the maximum number of image columns (or rows) in galleries. Note, that the parent container needs to be large enough to display all columns.',
|
| 1557 |
</div>
|
| 1558 |
</div>
|
| 1559 |
<div class="wd-box-content wd-width-100">
|
| 1560 |
<div class="wd-group">
|
| 1561 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 1562 |
<div class="bwg-flex">
|
| 1563 |
-
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_0" value="0" <?php if ($row->masonry_image_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_0'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_0" class="wd-radio-label"><?php _e('None',
|
| 1564 |
-
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_1" value="1" <?php if ($row->masonry_image_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_1'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 1565 |
-
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_2" value="2" <?php if ($row->masonry_image_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_2'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 1566 |
-
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_3" value="3" <?php if ($row->masonry_image_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_3'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 1567 |
</div>
|
| 1568 |
-
<p class="description" id="masonry_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 1569 |
-
<p class="description" id="masonry_image_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 1570 |
-
<p class="description" id="masonry_image_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 1571 |
-
<p class="description" id="masonry_image_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 1572 |
</div>
|
| 1573 |
</div>
|
| 1574 |
<div class="wd-box-content wd-width-100" id="tr_masonry_images_per_page">
|
| 1575 |
<div class="wd-group">
|
| 1576 |
-
<label class="wd-label" for="masonry_images_per_page"><?php _e('Images per page',
|
| 1577 |
<div class="bwg-flex">
|
| 1578 |
<input type="number" name="masonry_images_per_page" id="masonry_images_per_page" value="<?php echo intval($row->masonry_images_per_page); ?>" min="0" />
|
| 1579 |
</div>
|
| 1580 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.',
|
| 1581 |
</div>
|
| 1582 |
</div>
|
| 1583 |
<div class="wd-box-content wd-width-100" id="tr_masonry_load_more_image_count">
|
| 1584 |
<div class="wd-group">
|
| 1585 |
-
<label class="wd-label" for="masonry_load_more_image_count"><?php _e('Images per load',
|
| 1586 |
<div class="bwg-flex">
|
| 1587 |
<input type="number" name="masonry_load_more_image_count" id="masonry_load_more_image_count" value="<?php echo intval($row->masonry_load_more_image_count); ?>" min="0" />
|
| 1588 |
</div>
|
| 1589 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.',
|
| 1590 |
</div>
|
| 1591 |
</div>
|
| 1592 |
</div>
|
| 1593 |
<div class="wd-box-content wd-width-33">
|
| 1594 |
<div class="wd-box-content wd-width-100">
|
| 1595 |
<div class="wd-group">
|
| 1596 |
-
<label class="wd-label" for="masonry_sort_by"><?php _e('Order by',
|
| 1597 |
<div class="wd-width-43">
|
| 1598 |
<select name="masonry_sort_by" id="masonry_sort_by">
|
| 1599 |
-
<option value="order" <?php if ($row->masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 1600 |
-
<option value="alt" <?php if ($row->masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 1601 |
-
<option value="date" <?php if ($row->masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 1602 |
-
<option value="filename" <?php if ($row->masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 1603 |
-
<option value="size" <?php if ($row->masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 1604 |
-
<option value="random" <?php if ($row->masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 1605 |
</select>
|
| 1606 |
</div>
|
| 1607 |
<div class="wd-width-55">
|
| 1608 |
<select name="masonry_order_by" id="masonry_order_by">
|
| 1609 |
-
<option value="asc" <?php if ($row->masonry_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 1610 |
-
<option value="desc" <?php if ($row->masonry_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 1611 |
</select>
|
| 1612 |
</div>
|
| 1613 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 1614 |
</div>
|
| 1615 |
</div>
|
| 1616 |
<div class="wd-box-content wd-width-100">
|
| 1617 |
<div class="wd-group">
|
| 1618 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 1619 |
<div class="bwg-flex">
|
| 1620 |
-
<input type="radio" name="masonry_show_search_box" id="masonry_show_search_box_1" value="1" <?php if ($row->masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_masonry_search_box_width', 'masonry_show_search_box_1'); bwg_enable_disable('', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_1')" /><label for="masonry_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 1621 |
-
<input type="radio" name="masonry_show_search_box" id="masonry_show_search_box_0" value="0" <?php if (!$row->masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_search_box_width', 'masonry_show_search_box_0'); bwg_enable_disable('none', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_0')" /><label for="masonry_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 1622 |
</div>
|
| 1623 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 1624 |
</div>
|
| 1625 |
</div>
|
| 1626 |
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_placeholder">
|
| 1627 |
<div class="wd-group">
|
| 1628 |
-
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search',
|
| 1629 |
<div class="bwg-flex">
|
| 1630 |
<input type="text" name="masonry_placeholder" id="masonry_placeholder" value="<?php echo esc_attr($row->masonry_placeholder); ?>" />
|
| 1631 |
</div>
|
|
@@ -1633,7 +1633,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1633 |
</div>
|
| 1634 |
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_width">
|
| 1635 |
<div class="wd-group">
|
| 1636 |
-
<label class="wd-label" for="masonry_search_box_width"><?php _e('Search box maximum width',
|
| 1637 |
<div class="bwg-flex">
|
| 1638 |
<input type="number" name="masonry_search_box_width" id="masonry_search_box_width" value="<?php echo intval($row->masonry_search_box_width); ?>" min="0" /><span>px</span>
|
| 1639 |
</div>
|
|
@@ -1641,86 +1641,86 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1641 |
</div>
|
| 1642 |
<div class="wd-box-content wd-width-100">
|
| 1643 |
<div class="wd-group">
|
| 1644 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 1645 |
<div class="bwg-flex">
|
| 1646 |
-
<input type="radio" name="masonry_show_sort_images" id="masonry_show_sort_images_1" value="1" <?php if ($row->masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="masonry_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 1647 |
-
<input type="radio" name="masonry_show_sort_images" id="masonry_show_sort_images_0" value="0" <?php if (!$row->masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="masonry_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 1648 |
</div>
|
| 1649 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 1650 |
</div>
|
| 1651 |
</div>
|
| 1652 |
<div class="wd-box-content wd-width-100">
|
| 1653 |
<div class="wd-group">
|
| 1654 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 1655 |
<div class="bwg-flex">
|
| 1656 |
-
<input type="radio" name="masonry_show_tag_box" id="masonry_show_tag_box_1" value="1" <?php if ($row->masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="masonry_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 1657 |
-
<input type="radio" name="masonry_show_tag_box" id="masonry_show_tag_box_0" value="0" <?php if (!$row->masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="masonry_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 1658 |
</div>
|
| 1659 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 1660 |
</div>
|
| 1661 |
</div>
|
| 1662 |
</div>
|
| 1663 |
<div class="wd-box-content wd-width-33">
|
| 1664 |
<div class="wd-box-content wd-width-100">
|
| 1665 |
<div class="wd-group">
|
| 1666 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 1667 |
<div class="bwg-flex">
|
| 1668 |
-
<input type="radio" name="masonry_show_gallery_title" id="masonry_thumb_name_yes" value="1" <?php if ($row->masonry_show_gallery_title) echo 'checked="checked"'; ?> /><label for="masonry_thumb_name_yes" class="wd-radio-label"><?php _e('Yes',
|
| 1669 |
-
<input type="radio" name="masonry_show_gallery_title" id="masonry_thumb_name_no" value="0" <?php if (!$row->masonry_show_gallery_title) echo 'checked="checked"'; ?> /><label for="masonry_thumb_name_no" class="wd-radio-label"><?php _e('No',
|
| 1670 |
</div>
|
| 1671 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.',
|
| 1672 |
</div>
|
| 1673 |
</div>
|
| 1674 |
<div class="wd-box-content wd-width-100">
|
| 1675 |
<div class="wd-group">
|
| 1676 |
-
<label class="wd-label"><?php _e('Show gallery description',
|
| 1677 |
<div class="bwg-flex">
|
| 1678 |
-
<input type="radio" name="masonry_show_gallery_description" id="masonry_show_gallery_description_1" value="1" <?php if ($row->masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="masonry_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 1679 |
-
<input type="radio" name="masonry_show_gallery_description" id="masonry_show_gallery_description_0" value="0" <?php if (!$row->masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="masonry_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 1680 |
</div>
|
| 1681 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.',
|
| 1682 |
</div>
|
| 1683 |
</div>
|
| 1684 |
<div class="wd-box-content wd-width-100 bwg-vertical-block-masonry">
|
| 1685 |
<div class="wd-group">
|
| 1686 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 1687 |
<div class="bwg-flex">
|
| 1688 |
-
<div><input type="radio" name="masonry_image_title" id="masonry_image_title_0" value="hover" <?php if ($row->masonry_image_title == "hover") echo 'checked="checked"'; ?> /><label for="masonry_image_title_0" class="wd-radio-label"><?php _e('Show on hover',
|
| 1689 |
-
<div><input type="radio" name="masonry_image_title" id="masonry_image_title_1" value="show" <?php if ($row->masonry_image_title == "show") echo 'checked="checked"'; ?> /><label for="masonry_image_title_1" class="wd-radio-label"><?php _e('Always show',
|
| 1690 |
-
<div><input type="radio" name="masonry_image_title" id="masonry_image_title_2" value="none" <?php if ($row->masonry_image_title == "none") echo 'checked="checked"'; ?> /><label for="masonry_image_title_2" class="wd-radio-label"><?php _e("Don't show",
|
| 1691 |
</div>
|
| 1692 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.',
|
| 1693 |
</div>
|
| 1694 |
</div>
|
| 1695 |
<div class="wd-box-content wd-width-100 bwg-vertical-block-masonry <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_show_masonry_thumb_description">
|
| 1696 |
<div class="wd-group">
|
| 1697 |
-
<label class="wd-label"><?php _e('Show image descriptions',
|
| 1698 |
<div class="bwg-flex">
|
| 1699 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_1" value="1" <?php if ($row->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_1" class="wd-radio-label"><?php _e('Yes',
|
| 1700 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_0" value="0" <?php if (!$row->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_0" class="wd-radio-label"><?php _e('No',
|
| 1701 |
</div>
|
| 1702 |
-
<p class="description"><?php _e('Enable this setting to display descriptions under images.',
|
| 1703 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1704 |
</div>
|
| 1705 |
</div>
|
| 1706 |
<div class="wd-box-content wd-width-100">
|
| 1707 |
<div class="wd-group">
|
| 1708 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails',
|
| 1709 |
<div class="bwg-flex">
|
| 1710 |
-
<input type="radio" name="masonry_play_icon" id="masonry_play_icon_yes" value="1" <?php if ($row->masonry_play_icon) echo 'checked="checked"'; ?> /><label for="masonry_play_icon_yes" class="wd-radio-label"><?php _e('Yes',
|
| 1711 |
-
<input type="radio" name="masonry_play_icon" id="masonry_play_icon_no" value="0" <?php if (!$row->masonry_play_icon) echo 'checked="checked"'; ?> /><label for="masonry_play_icon_no" class="wd-radio-label"><?php _e('No',
|
| 1712 |
</div>
|
| 1713 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.',
|
| 1714 |
</div>
|
| 1715 |
</div>
|
| 1716 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1717 |
<div class="wd-group">
|
| 1718 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 1719 |
<div class="bwg-flex">
|
| 1720 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="masonry_gallery_download" id="masonry_gallery_download_1" value="1" <?php if ($row->masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="masonry_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 1721 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="masonry_gallery_download" id="masonry_gallery_download_0" value="0" <?php if (!$row->masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="masonry_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 1722 |
</div>
|
| 1723 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 1724 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1725 |
<?php
|
| 1726 |
if ( !$zipArchiveClass) {
|
|
@@ -1734,12 +1734,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1734 |
?>
|
| 1735 |
<div class="wd-box-content wd-width-100">
|
| 1736 |
<div class="wd-group">
|
| 1737 |
-
<label class="wd-label"><?php _e('Show ecommerce icon',
|
| 1738 |
<div class="bwg-flex">
|
| 1739 |
-
<input type="radio" name="masonry_ecommerce_icon_show_hover" id="masonry_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->masonry_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="masonry_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 1740 |
-
<input type="radio" name="masonry_ecommerce_icon_show_hover" id="masonry_ecommerce_icon_show_hover_2" value="none" <?php if ($row->masonry_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="masonry_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 1741 |
</div>
|
| 1742 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.',
|
| 1743 |
</div>
|
| 1744 |
</div>
|
| 1745 |
<?php
|
|
@@ -1751,115 +1751,115 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1751 |
<div class="wd-box-content wd-width-33">
|
| 1752 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1753 |
<div class="wd-group">
|
| 1754 |
-
<label class="wd-label"><?php _e('Mosaic gallery type',
|
| 1755 |
<div class="bwg-flex">
|
| 1756 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic" id="mosaic_0" value="vertical" <?php if ($row->mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="mosaic_0" class="wd-radio-label"><?php _e('Vertical',
|
| 1757 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic" id="mosaic_1" value="horizontal" <?php if ($row->mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="mosaic_1" class="wd-radio-label"><?php _e('Horizontal',
|
| 1758 |
</div>
|
| 1759 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.',
|
| 1760 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1761 |
</div>
|
| 1762 |
</div>
|
| 1763 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1764 |
<div class="wd-group">
|
| 1765 |
-
<label class="wd-label"><?php _e('Resizable mosaic',
|
| 1766 |
<div class="bwg-flex">
|
| 1767 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="resizable_mosaic" id="resizable_mosaic_1" value="1" <?php if ($row->resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes',
|
| 1768 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="resizable_mosaic" id="resizable_mosaic_0" value="0" <?php if ($row->resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="resizable_mosaic_0" class="wd-radio-label"><?php _e('No',
|
| 1769 |
</div>
|
| 1770 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.',
|
| 1771 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1772 |
</div>
|
| 1773 |
</div>
|
| 1774 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1775 |
<div class="wd-group">
|
| 1776 |
-
<label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries',
|
| 1777 |
<div class="bwg-flex">
|
| 1778 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo intval($row->mosaic_total_width); ?>" min="0" /><span>%</span>
|
| 1779 |
</div>
|
| 1780 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.',
|
| 1781 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1782 |
</div>
|
| 1783 |
</div>
|
| 1784 |
<div class="wd-box-content wd-width-100">
|
| 1785 |
<div class="wd-group">
|
| 1786 |
-
<label class="wd-label" for="mosaic_thumb_size"><?php _e('Thumbnail size',
|
| 1787 |
<div class="bwg-flex">
|
| 1788 |
<input type="number" name="mosaic_thumb_size" id="mosaic_thumb_size" value="<?php echo intval($row->mosaic_thumb_size); ?>" min="0" /><span>px</span>
|
| 1789 |
</div>
|
| 1790 |
-
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.',
|
| 1791 |
</div>
|
| 1792 |
</div>
|
| 1793 |
<div class="wd-box-content wd-width-100">
|
| 1794 |
<div class="wd-group">
|
| 1795 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 1796 |
<div class="bwg-flex">
|
| 1797 |
-
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_0" value="0" <?php if ($row->mosaic_image_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_0'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_0" class="wd-radio-label"><?php _e('None',
|
| 1798 |
-
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_1" value="1" <?php if ($row->mosaic_image_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_1'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 1799 |
-
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_2" value="2" <?php if ($row->mosaic_image_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_2'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 1800 |
-
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_3" value="3" <?php if ($row->mosaic_image_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_3'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 1801 |
</div>
|
| 1802 |
-
<p class="description" id="mosaic_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 1803 |
-
<p class="description" id="mosaic_image_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 1804 |
-
<p class="description" id="mosaic_image_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 1805 |
-
<p class="description" id="mosaic_image_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 1806 |
</div>
|
| 1807 |
</div>
|
| 1808 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_images_per_page">
|
| 1809 |
<div class="wd-group">
|
| 1810 |
-
<label class="wd-label" for="mosaic_images_per_page"><?php _e('Images per page',
|
| 1811 |
<div class="bwg-flex">
|
| 1812 |
<input type="number" name="mosaic_images_per_page" id="mosaic_images_per_page" value="<?php echo intval($row->mosaic_images_per_page); ?>" min="0" />
|
| 1813 |
</div>
|
| 1814 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.',
|
| 1815 |
</div>
|
| 1816 |
</div>
|
| 1817 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_load_more_image_count">
|
| 1818 |
<div class="wd-group">
|
| 1819 |
-
<label class="wd-label" for="mosaic_load_more_image_count"><?php _e('Images per load',
|
| 1820 |
<div class="bwg-flex">
|
| 1821 |
<input type="number" name="mosaic_load_more_image_count" id="mosaic_load_more_image_count" value="<?php echo intval($row->mosaic_load_more_image_count); ?>" min="0" />
|
| 1822 |
</div>
|
| 1823 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.',
|
| 1824 |
</div>
|
| 1825 |
</div>
|
| 1826 |
</div>
|
| 1827 |
<div class="wd-box-content wd-width-33">
|
| 1828 |
<div class="wd-box-content wd-width-100">
|
| 1829 |
<div class="wd-group">
|
| 1830 |
-
<label class="wd-label" for="mosaic_sort_by"><?php _e('Order by',
|
| 1831 |
<div class="wd-width-43">
|
| 1832 |
<select name="mosaic_sort_by" id="mosaic_sort_by">
|
| 1833 |
-
<option value="order" <?php if ($row->mosaic_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 1834 |
-
<option value="alt" <?php if ($row->mosaic_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 1835 |
-
<option value="date" <?php if ($row->mosaic_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 1836 |
-
<option value="filename" <?php if ($row->mosaic_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 1837 |
-
<option value="size" <?php if ($row->mosaic_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 1838 |
-
<option value="random" <?php if ($row->mosaic_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 1839 |
</select>
|
| 1840 |
</div>
|
| 1841 |
<div class="wd-width-55">
|
| 1842 |
<select name="mosaic_order_by" id="mosaic_order_by">
|
| 1843 |
-
<option value="asc" <?php if ($row->mosaic_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 1844 |
-
<option value="desc" <?php if ($row->mosaic_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 1845 |
</select>
|
| 1846 |
</div>
|
| 1847 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 1848 |
</div>
|
| 1849 |
</div>
|
| 1850 |
<div class="wd-box-content wd-width-100">
|
| 1851 |
<div class="wd-group">
|
| 1852 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 1853 |
<div class="bwg-flex">
|
| 1854 |
-
<input type="radio" name="mosaic_show_search_box" id="mosaic_show_search_box_1" value="1" <?php if ($row->mosaic_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_1'); bwg_enable_disable('', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_1')" /><label for="mosaic_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 1855 |
-
<input type="radio" name="mosaic_show_search_box" id="mosaic_show_search_box_0" value="0" <?php if (!$row->mosaic_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_0'); bwg_enable_disable('none', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_0')" /><label for="mosaic_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 1856 |
</div>
|
| 1857 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 1858 |
</div>
|
| 1859 |
</div>
|
| 1860 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_placeholder">
|
| 1861 |
<div class="wd-group">
|
| 1862 |
-
<label class="wd-label" for="mosaic_placeholder"><?php _e('Add placeholder to search',
|
| 1863 |
<div class="bwg-flex">
|
| 1864 |
<input type="text" name="mosaic_placeholder" id="mosaic_placeholder" value="<?php echo esc_attr($row->mosaic_placeholder); ?>" />
|
| 1865 |
</div>
|
|
@@ -1867,7 +1867,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1867 |
</div>
|
| 1868 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_width">
|
| 1869 |
<div class="wd-group">
|
| 1870 |
-
<label class="wd-label" for="mosaic_search_box_width"><?php _e('Search box maximum width',
|
| 1871 |
<div class="bwg-flex">
|
| 1872 |
<input type="number" name="mosaic_search_box_width" id="mosaic_search_box_width" value="<?php echo intval($row->mosaic_search_box_width); ?>" min="0" /><span>px</span>
|
| 1873 |
</div>
|
|
@@ -1875,74 +1875,74 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1875 |
</div>
|
| 1876 |
<div class="wd-box-content wd-width-100">
|
| 1877 |
<div class="wd-group">
|
| 1878 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 1879 |
<div class="bwg-flex">
|
| 1880 |
-
<input type="radio" name="mosaic_show_sort_images" id="mosaic_show_sort_images_1" value="1" <?php if ($row->mosaic_show_sort_images) echo 'checked="checked"'; ?> /><label for="mosaic_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 1881 |
-
<input type="radio" name="mosaic_show_sort_images" id="mosaic_show_sort_images_0" value="0" <?php if (!$row->mosaic_show_sort_images) echo 'checked="checked"'; ?> /><label for="mosaic_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 1882 |
</div>
|
| 1883 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 1884 |
</div>
|
| 1885 |
</div>
|
| 1886 |
<div class="wd-box-content wd-width-100">
|
| 1887 |
<div class="wd-group">
|
| 1888 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 1889 |
<div class="bwg-flex">
|
| 1890 |
-
<input type="radio" name="mosaic_show_tag_box" id="mosaic_show_tag_box_1" value="1" <?php if ($row->mosaic_show_tag_box) echo 'checked="checked"'; ?> /><label for="mosaic_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 1891 |
-
<input type="radio" name="mosaic_show_tag_box" id="mosaic_show_tag_box_0" value="0" <?php if (!$row->mosaic_show_tag_box) echo 'checked="checked"'; ?> /><label for="mosaic_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 1892 |
</div>
|
| 1893 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 1894 |
</div>
|
| 1895 |
</div>
|
| 1896 |
</div>
|
| 1897 |
<div class="wd-box-content wd-width-33">
|
| 1898 |
<div class="wd-box-content wd-width-100">
|
| 1899 |
<div class="wd-group">
|
| 1900 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 1901 |
<div class="bwg-flex">
|
| 1902 |
-
<input type="radio" name="mosaic_show_gallery_title" id="mosaic_thumb_name_yes" value="1" <?php if ($row->mosaic_show_gallery_title) echo 'checked="checked"'; ?> /><label for="mosaic_thumb_name_yes" class="wd-radio-label"><?php _e('Yes',
|
| 1903 |
-
<input type="radio" name="mosaic_show_gallery_title" id="mosaic_thumb_name_no" value="0" <?php if (!$row->mosaic_show_gallery_title) echo 'checked="checked"'; ?> /><label for="mosaic_thumb_name_no" class="wd-radio-label"><?php _e('No',
|
| 1904 |
</div>
|
| 1905 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.',
|
| 1906 |
</div>
|
| 1907 |
</div>
|
| 1908 |
<div class="wd-box-content wd-width-100">
|
| 1909 |
<div class="wd-group">
|
| 1910 |
-
<label class="wd-label"><?php _e('Show gallery description',
|
| 1911 |
<div class="bwg-flex">
|
| 1912 |
-
<input type="radio" name="mosaic_show_gallery_description" id="mosaic_show_gallery_description_1" value="1" <?php if ($row->mosaic_show_gallery_description) echo 'checked="checked"'; ?> /><label for="mosaic_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 1913 |
-
<input type="radio" name="mosaic_show_gallery_description" id="mosaic_show_gallery_description_0" value="0" <?php if (!$row->mosaic_show_gallery_description) echo 'checked="checked"'; ?> /><label for="mosaic_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 1914 |
</div>
|
| 1915 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.',
|
| 1916 |
</div>
|
| 1917 |
</div>
|
| 1918 |
<div class="wd-box-content wd-width-100">
|
| 1919 |
<div class="wd-group">
|
| 1920 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 1921 |
<div class="bwg-flex">
|
| 1922 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_1" value="hover" <?php if ($row->mosaic_image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 1923 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_0" value="none" <?php if ($row->mosaic_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_0" class="wd-radio-label"><?php _e("Don't show",
|
| 1924 |
</div>
|
| 1925 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.',
|
| 1926 |
</div>
|
| 1927 |
</div>
|
| 1928 |
<div class="wd-box-content wd-width-100">
|
| 1929 |
<div class="wd-group">
|
| 1930 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails',
|
| 1931 |
<div class="bwg-flex">
|
| 1932 |
-
<input type="radio" name="mosaic_play_icon" id="mosaic_play_icon_yes" value="1" <?php if ($row->mosaic_play_icon) echo 'checked="checked"'; ?> /><label for="mosaic_play_icon_yes" class="wd-radio-label"><?php _e('Yes',
|
| 1933 |
-
<input type="radio" name="mosaic_play_icon" id="mosaic_play_icon_no" value="0" <?php if (!$row->mosaic_play_icon) echo 'checked="checked"'; ?> /><label for="mosaic_play_icon_no" class="wd-radio-label"><?php _e('No',
|
| 1934 |
</div>
|
| 1935 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.',
|
| 1936 |
</div>
|
| 1937 |
</div>
|
| 1938 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1939 |
<div class="wd-group">
|
| 1940 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 1941 |
<div class="bwg-flex">
|
| 1942 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="mosaic_gallery_download" id="mosaic_gallery_download_1" value="1" <?php if ($row->mosaic_gallery_download) echo 'checked="checked"'; ?> /><label for="mosaic_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 1943 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="mosaic_gallery_download" id="mosaic_gallery_download_0" value="0" <?php if (!$row->mosaic_gallery_download) echo 'checked="checked"'; ?> /><label for="mosaic_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 1944 |
</div>
|
| 1945 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 1946 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1947 |
<?php
|
| 1948 |
if ( !$zipArchiveClass) {
|
|
@@ -1956,12 +1956,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1956 |
?>
|
| 1957 |
<div class="wd-box-content wd-width-100">
|
| 1958 |
<div class="wd-group">
|
| 1959 |
-
<label class="wd-label"><?php _e('Show ecommerce icon',
|
| 1960 |
<div class="bwg-flex">
|
| 1961 |
-
<input type="radio" name="mosaic_ecommerce_icon_show_hover" id="mosaic_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->mosaic_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="mosaic_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 1962 |
-
<input type="radio" name="mosaic_ecommerce_icon_show_hover" id="mosaic_ecommerce_icon_show_hover_2" value="none" <?php if ($row->mosaic_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 1963 |
</div>
|
| 1964 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.',
|
| 1965 |
</div>
|
| 1966 |
</div>
|
| 1967 |
<?php
|
|
@@ -1973,162 +1973,162 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 1973 |
<div class="wd-box-content wd-width-33">
|
| 1974 |
<div class="wd-box-content wd-width-100">
|
| 1975 |
<div class="wd-group">
|
| 1976 |
-
<label class="wd-label" for="slideshow_type"><?php _e('Slideshow effect',
|
| 1977 |
<div class="bwg-flex">
|
| 1978 |
<select name="slideshow_type" id="slideshow_type">
|
| 1979 |
<?php
|
| 1980 |
foreach ($effects as $key => $effect) {
|
| 1981 |
?>
|
| 1982 |
<option value="<?php echo esc_attr($key); ?>"
|
| 1983 |
-
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.',
|
| 1984 |
-
<?php if ($row->slideshow_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect,
|
| 1985 |
<?php
|
| 1986 |
}
|
| 1987 |
?>
|
| 1988 |
</select>
|
| 1989 |
</div>
|
| 1990 |
-
<p class="description"><?php _e('Select the animation effect for your slideshow.',
|
| 1991 |
</div>
|
| 1992 |
</div>
|
| 1993 |
<div class="wd-box-content wd-width-100">
|
| 1994 |
<div class="wd-group">
|
| 1995 |
-
<label class="wd-label" for="slideshow_effect_duration"><?php _e('Effect duration',
|
| 1996 |
<div class="bwg-flex">
|
| 1997 |
<input type="number" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo floatval($row->slideshow_effect_duration); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 1998 |
</div>
|
| 1999 |
-
<p class="description"><?php _e('Set the duration of your slideshow animation effect.',
|
| 2000 |
</div>
|
| 2001 |
</div>
|
| 2002 |
<div class="wd-box-content wd-width-100">
|
| 2003 |
<div class="wd-group">
|
| 2004 |
-
<label class="wd-label" for="slideshow_interval"><?php _e('Time interval',
|
| 2005 |
<div class="bwg-flex">
|
| 2006 |
<input type="number" name="slideshow_interval" id="slideshow_interval" value="<?php echo intval($row->slideshow_interval); ?>" min="0" /><span>sec.</span>
|
| 2007 |
</div>
|
| 2008 |
-
<p class="description"><?php _e('Specify the time interval between slides in Photo Gallery\'s Slideshow view.',
|
| 2009 |
</div>
|
| 2010 |
</div>
|
| 2011 |
<div class="wd-box-content wd-width-100">
|
| 2012 |
<div class="wd-group">
|
| 2013 |
-
<label class="wd-label" for="slideshow_width"><?php _e('Slideshow dimensions',
|
| 2014 |
<div class="bwg-flex">
|
| 2015 |
<input type="number" name="slideshow_width" id="slideshow_width" value="<?php echo intval($row->slideshow_width); ?>" min="0" /><span>px</span>
|
| 2016 |
<input type="number" name="slideshow_height" id="slideshow_height" value="<?php echo intval($row->slideshow_height); ?>" min="0" /><span>px</span>
|
| 2017 |
</div>
|
| 2018 |
-
<p class="description"><?php _e('Set the default dimensions of your slideshow galleries.',
|
| 2019 |
</div>
|
| 2020 |
</div>
|
| 2021 |
</div>
|
| 2022 |
<div class="wd-box-content wd-width-33">
|
| 2023 |
<div class="wd-box-content wd-width-100">
|
| 2024 |
<div class="wd-group">
|
| 2025 |
-
<label class="wd-label" for="slideshow_sort_by"><?php _e('Order by',
|
| 2026 |
<div class="wd-width-43">
|
| 2027 |
<select name="slideshow_sort_by" id="slideshow_sort_by">
|
| 2028 |
-
<option value="order" <?php if ($row->slideshow_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 2029 |
-
<option value="alt" <?php if ($row->slideshow_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 2030 |
-
<option value="date" <?php if ($row->slideshow_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 2031 |
-
<option value="filename" <?php if ($row->slideshow_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 2032 |
-
<option value="size" <?php if ($row->slideshow_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 2033 |
-
<option value="random" <?php if ($row->slideshow_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 2034 |
</select>
|
| 2035 |
</div>
|
| 2036 |
<div class="wd-width-55">
|
| 2037 |
<select name="slideshow_order_by" id="slideshow_order_by">
|
| 2038 |
-
<option value="asc" <?php if ($row->slideshow_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 2039 |
-
<option value="desc" <?php if ($row->slideshow_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 2040 |
</select>
|
| 2041 |
</div>
|
| 2042 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 2043 |
</div>
|
| 2044 |
</div>
|
| 2045 |
<div class="wd-box-content wd-width-100">
|
| 2046 |
<div class="wd-group">
|
| 2047 |
-
<label class="wd-label"><?php _e('Enable autoplay',
|
| 2048 |
<div class="bwg-flex">
|
| 2049 |
-
<input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_yes" value="1" <?php if ($row->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2050 |
-
<input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_no" value="0" <?php if (!$row->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_no" class="wd-radio-label"><?php _e('No',
|
| 2051 |
</div>
|
| 2052 |
-
<p class="description"><?php _e('Activate this option to autoplay slideshow galleries.',
|
| 2053 |
</div>
|
| 2054 |
</div>
|
| 2055 |
<div class="wd-box-content wd-width-100">
|
| 2056 |
<div class="wd-group">
|
| 2057 |
-
<label class="wd-label"><?php _e('Enable shuffle',
|
| 2058 |
<div class="bwg-flex">
|
| 2059 |
-
<input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_yes" value="1" <?php if ($row->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2060 |
-
<input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_no" value="0" <?php if (!$row->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_no" class="wd-radio-label"><?php _e('No',
|
| 2061 |
</div>
|
| 2062 |
-
<p class="description"><?php _e('The slideshow images will be shuffled in case this setting is enabled.',
|
| 2063 |
</div>
|
| 2064 |
</div>
|
| 2065 |
<div class="wd-box-content wd-width-100">
|
| 2066 |
<div class="wd-group">
|
| 2067 |
-
<label class="wd-label"><?php _e('Enable control buttons',
|
| 2068 |
<div class="bwg-flex">
|
| 2069 |
-
<input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_yes" value="1" <?php if ($row->slideshow_enable_ctrl) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_yes');" /><label for="slideshow_enable_ctrl_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2070 |
-
<input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_no" value="0" <?php if (!$row->slideshow_enable_ctrl) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_no');" /><label for="slideshow_enable_ctrl_no" class="wd-radio-label"><?php _e('No',
|
| 2071 |
</div>
|
| 2072 |
-
<p class="description"><?php _e('Enable this option to show control buttons on your slideshow galleries.',
|
| 2073 |
</div>
|
| 2074 |
</div>
|
| 2075 |
<div class="wd-box-content wd-width-100" id="tr_autohide_slideshow_navigation">
|
| 2076 |
<div class="wd-group">
|
| 2077 |
-
<label class="wd-label"><?php _e('Show Next / Previous buttons',
|
| 2078 |
<div class="bwg-flex">
|
| 2079 |
-
<input type="radio" name="autohide_slideshow_navigation" id="autohide_slideshow_navigation_1" value="1" <?php if ($row->autohide_slideshow_navigation) echo 'checked="checked"'; ?> /><label for="autohide_slideshow_navigation_1" class="wd-radio-label"><?php _e('On hover',
|
| 2080 |
-
<input type="radio" name="autohide_slideshow_navigation" id="autohide_slideshow_navigation_0" value="0" <?php if (!$row->autohide_slideshow_navigation) echo 'checked="checked"'; ?> /><label for="autohide_slideshow_navigation_0" class="wd-radio-label"><?php _e('Always',
|
| 2081 |
</div>
|
| 2082 |
-
<p class="description"><?php _e('Display Next/Previous buttons on your slideshow galleries activating this setting.',
|
| 2083 |
</div>
|
| 2084 |
</div>
|
| 2085 |
</div>
|
| 2086 |
<div class="wd-box-content wd-width-33">
|
| 2087 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2088 |
<div class="wd-group">
|
| 2089 |
-
<label class="wd-label"><?php _e('Slideshow filmstrip type',
|
| 2090 |
<div class="bwg-flex">
|
| 2091 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_filmstrip_type" id="slideshow_filmstrip_none" value="0" <?php if (!$row->slideshow_filmstrip_type) echo 'checked="checked"'; ?> onclick="bwg_enable_disable('none','tr_slideshow_thumbnails_count','slideshow_filmstrip_none'); bwg_enable_disable('none','tr_slideshow_filmstrip_height','slideshow_filmstrip_none');" /><label for="slideshow_filmstrip_none" class="wd-radio-label"><?php _e('None',
|
| 2092 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_filmstrip_type" id="slideshow_filmstrip_fix_dimension" value="1" <?php if ($row->slideshow_filmstrip_type && $row->slideshow_filmstrip_type == 1) echo 'checked="checked"'; ?> onclick="bwg_enable_disable('none','tr_slideshow_thumbnails_count','slideshow_filmstrip_fix_dimension'); bwg_enable_disable('','tr_slideshow_filmstrip_height','slideshow_filmstrip_fix_dimension');" /><label for="slideshow_filmstrip_fix_dimension" class="wd-radio-label"><?php _e('Fix dimension',
|
| 2093 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_filmstrip_type" id="slideshow_filmstrip_fix_count" value="2" <?php if ($row->slideshow_filmstrip_type && $row->slideshow_filmstrip_type == 2) echo 'checked="checked"'; ?> onclick="bwg_enable_disable('','tr_slideshow_thumbnails_count','slideshow_filmstrip_fix_count'); bwg_enable_disable('none','tr_slideshow_filmstrip_height','slideshow_filmstrip_fix_count');" /><label for="slideshow_filmstrip_fix_count" class="wd-radio-label"><?php _e('Fix count',
|
| 2094 |
</div>
|
| 2095 |
-
<p class="description"><?php _e('Select the type for the slideshow filmstrip.',
|
| 2096 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2097 |
</div>
|
| 2098 |
</div>
|
| 2099 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_slideshow_thumbnails_count">
|
| 2100 |
<div class="wd-group">
|
| 2101 |
-
<label class="wd-label" for="slideshow_thumbnails_count"><?php _e('Slideshow thumbnails count',
|
| 2102 |
<div class="bwg-flex">
|
| 2103 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_thumbnails_count" id="slideshow_thumbnails_count" value="<?php echo intval($row->slideshow_thumbnails_count); ?>" min="1" />
|
| 2104 |
</div>
|
| 2105 |
-
<p class="description"><?php _e('Set the number of items that will be displayed in the filmstrip. This will also construct the width of the filmstrip.',
|
| 2106 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2107 |
</div>
|
| 2108 |
</div>
|
| 2109 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_slideshow_filmstrip_height">
|
| 2110 |
<div class="wd-group">
|
| 2111 |
-
<label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size',
|
| 2112 |
<div class="bwg-flex">
|
| 2113 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo intval($row->slideshow_filmstrip_height); ?>" min="0" /><span>px</span>
|
| 2114 |
</div>
|
| 2115 |
-
<p class="description"><?php _e('Set the size of your filmstrip. If the filmstrip is horizontal, this indicates its height, whereas for vertical filmstrips it sets the width.',
|
| 2116 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2117 |
</div>
|
| 2118 |
</div>
|
| 2119 |
<div class="wd-box-content wd-width-100">
|
| 2120 |
<div class="wd-group">
|
| 2121 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 2122 |
<div class="bwg-flex">
|
| 2123 |
-
<input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_yes" value="1" <?php if ($row->slideshow_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_enable_title_yes')" /><label for="slideshow_enable_title_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2124 |
-
<input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_no" value="0" <?php if (!$row->slideshow_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_title_position', 'slideshow_enable_title_no')" /><label for="slideshow_enable_title_no" class="wd-radio-label"><?php _e('No',
|
| 2125 |
</div>
|
| 2126 |
-
<p class="description"><?php _e('Set the size of your filmstrip. If the filmstrip is horizontal, this indicates its height, whereas for vertical filmstrips it sets the width.',
|
| 2127 |
</div>
|
| 2128 |
</div>
|
| 2129 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_title_position">
|
| 2130 |
<div class="wd-group">
|
| 2131 |
-
<label class="wd-label"><?php _e('Title position',
|
| 2132 |
<div class="bwg-flex">
|
| 2133 |
<table class="bwg_position_table">
|
| 2134 |
<tbody>
|
|
@@ -2150,32 +2150,32 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2150 |
</tbody>
|
| 2151 |
</table>
|
| 2152 |
</div>
|
| 2153 |
-
<p class="description"><?php _e('Set the position of image titles in Slideshow view.',
|
| 2154 |
</div>
|
| 2155 |
</div>
|
| 2156 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_full_width_title">
|
| 2157 |
<div class="wd-group">
|
| 2158 |
-
<label class="wd-label"><?php _e('Full width title',
|
| 2159 |
<div class="bwg-flex">
|
| 2160 |
-
<input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_1" value="1" <?php if ($row->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_1" class="wd-radio-label"><?php _e('Yes',
|
| 2161 |
-
<input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_0" value="0" <?php if (!$row->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_0" class="wd-radio-label"><?php _e('No',
|
| 2162 |
</div>
|
| 2163 |
-
<p class="description"><?php _e('Display image title based on the slideshow dimensions.',
|
| 2164 |
</div>
|
| 2165 |
</div>
|
| 2166 |
<div class="wd-box-content wd-width-100">
|
| 2167 |
<div class="wd-group">
|
| 2168 |
-
<label class="wd-label"><?php _e('Show image description',
|
| 2169 |
<div class="bwg-flex">
|
| 2170 |
-
<input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_yes" value="1" <?php if ($row->slideshow_enable_description) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_enable_description_yes')" /><label for="slideshow_enable_description_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2171 |
-
<input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_no" value="0" <?php if (!$row->slideshow_enable_description) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_description_position', 'slideshow_enable_description_no')" /><label for="slideshow_enable_description_no" class="wd-radio-label"><?php _e('No',
|
| 2172 |
</div>
|
| 2173 |
-
<p class="description"><?php _e('Enable this setting to show descriptions of images in Slideshow view.',
|
| 2174 |
</div>
|
| 2175 |
</div>
|
| 2176 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_description_position">
|
| 2177 |
<div class="wd-group">
|
| 2178 |
-
<label class="wd-label"><?php _e('Description position',
|
| 2179 |
<div class="bwg-flex">
|
| 2180 |
<table class="bwg_position_table">
|
| 2181 |
<tbody>
|
|
@@ -2197,36 +2197,36 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2197 |
</tbody>
|
| 2198 |
</table>
|
| 2199 |
</div>
|
| 2200 |
-
<p class="description"><?php _e('Set the position of image descriptions in Slideshow view.',
|
| 2201 |
</div>
|
| 2202 |
</div>
|
| 2203 |
<div class="wd-box-content wd-width-100">
|
| 2204 |
<div class="wd-group">
|
| 2205 |
-
<label class="wd-label"><?php _e('Enable slideshow Music',
|
| 2206 |
<div class="bwg-flex">
|
| 2207 |
-
<input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_yes" value="1" <?php if ($row->slideshow_enable_music) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_enable_music_yes')" /><label for="slideshow_enable_music_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2208 |
-
<input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_no" value="0" <?php if (!$row->slideshow_enable_music) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_music_url', 'slideshow_enable_music_no')" /><label for="slideshow_enable_music_no" class="wd-radio-label"><?php _e('No',
|
| 2209 |
</div>
|
| 2210 |
-
<p class="description"><?php _e('Enabling this option, you can have music playing along with your slideshow.',
|
| 2211 |
</div>
|
| 2212 |
</div>
|
| 2213 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_music_url">
|
| 2214 |
<div class="wd-group">
|
| 2215 |
-
<label class="wd-label" for="slideshow_audio_url"><?php _e('Audio URL',
|
| 2216 |
<div class="bwg-flex">
|
| 2217 |
<input type="text" id="slideshow_audio_url" name="slideshow_audio_url" value="<?php echo esc_url($row->slideshow_audio_url); ?>" />
|
| 2218 |
</div>
|
| 2219 |
-
<p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.',
|
| 2220 |
</div>
|
| 2221 |
</div>
|
| 2222 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2223 |
<div class="wd-group">
|
| 2224 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 2225 |
<div class="bwg-flex">
|
| 2226 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="slideshow_gallery_download" id="slideshow_gallery_download_1" value="1" <?php if ($row->slideshow_gallery_download) echo 'checked="checked"'; ?> /><label for="slideshow_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 2227 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="slideshow_gallery_download" id="slideshow_gallery_download_0" value="0" <?php if (!$row->slideshow_gallery_download) echo 'checked="checked"'; ?> /><label for="slideshow_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 2228 |
</div>
|
| 2229 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 2230 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2231 |
<?php
|
| 2232 |
if ( !$zipArchiveClass) {
|
|
@@ -2241,69 +2241,69 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2241 |
<div class="wd-box-content wd-width-33">
|
| 2242 |
<div class="wd-box-content wd-width-100">
|
| 2243 |
<div class="wd-group">
|
| 2244 |
-
<label class="wd-label" for="image_browser_width"><?php _e('Image width',
|
| 2245 |
<div class="bwg-flex">
|
| 2246 |
<input type="number" name="image_browser_width" id="image_browser_width" value="<?php echo intval($row->image_browser_width); ?>" min="0" /><span>px</span>
|
| 2247 |
</div>
|
| 2248 |
-
<p class="description"><?php _e('Specify the default width of images in Image Browser view.',
|
| 2249 |
</div>
|
| 2250 |
</div>
|
| 2251 |
<div class="wd-box-content wd-width-100">
|
| 2252 |
<div class="wd-group">
|
| 2253 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 2254 |
<div class="bwg-flex">
|
| 2255 |
-
<input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_1" value="1" <?php if ($row->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 2256 |
-
<input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_0" value="0" <?php if (!$row->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_0" class="wd-radio-label"><?php _e('No',
|
| 2257 |
</div>
|
| 2258 |
</div>
|
| 2259 |
</div>
|
| 2260 |
<div class="wd-box-content wd-width-100">
|
| 2261 |
<div class="wd-group">
|
| 2262 |
-
<label class="wd-label"><?php _e('Show image description',
|
| 2263 |
<div class="bwg-flex">
|
| 2264 |
-
<input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_1" value="1" <?php if ($row->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 2265 |
-
<input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_0" value="0" <?php if (!$row->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_0" class="wd-radio-label"><?php _e('No',
|
| 2266 |
</div>
|
| 2267 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Image Browser view.',
|
| 2268 |
</div>
|
| 2269 |
</div>
|
| 2270 |
</div>
|
| 2271 |
<div class="wd-box-content wd-width-33">
|
| 2272 |
<div class="wd-box-content wd-width-100">
|
| 2273 |
<div class="wd-group">
|
| 2274 |
-
<label class="wd-label" for="image_browser_sort_by"><?php _e('Order by',
|
| 2275 |
<div class="wd-width-43">
|
| 2276 |
<select name="image_browser_sort_by" id="image_browser_sort_by">
|
| 2277 |
-
<option value="order" <?php if ($row->image_browser_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 2278 |
-
<option value="alt" <?php if ($row->image_browser_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 2279 |
-
<option value="date" <?php if ($row->image_browser_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 2280 |
-
<option value="filename" <?php if ($row->image_browser_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 2281 |
-
<option value="size" <?php if ($row->image_browser_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 2282 |
-
<option value="random" <?php if ($row->image_browser_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 2283 |
</select>
|
| 2284 |
</div>
|
| 2285 |
<div class="wd-width-55">
|
| 2286 |
<select name="image_browser_order_by" id="image_browser_order_by">
|
| 2287 |
-
<option value="asc" <?php if ($row->image_browser_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 2288 |
-
<option value="desc" <?php if ($row->image_browser_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 2289 |
</select>
|
| 2290 |
</div>
|
| 2291 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 2292 |
</div>
|
| 2293 |
</div>
|
| 2294 |
<div class="wd-box-content wd-width-100">
|
| 2295 |
<div class="wd-group">
|
| 2296 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 2297 |
<div class="bwg-flex">
|
| 2298 |
-
<input type="radio" name="image_browser_show_search_box" id="image_browser_show_search_box_1" value="1" <?php if ($row->image_browser_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_1'); bwg_enable_disable('', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_1')" /><label for="image_browser_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 2299 |
-
<input type="radio" name="image_browser_show_search_box" id="image_browser_show_search_box_0" value="0" <?php if (!$row->image_browser_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_0'); bwg_enable_disable('none', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_0')" /><label for="image_browser_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 2300 |
</div>
|
| 2301 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 2302 |
</div>
|
| 2303 |
</div>
|
| 2304 |
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_placeholder">
|
| 2305 |
<div class="wd-group">
|
| 2306 |
-
<label class="wd-label" for="image_browser_placeholder"><?php _e('Add placeholder to search',
|
| 2307 |
<div class="bwg-flex">
|
| 2308 |
<input type="text" name="image_browser_placeholder" id="image_browser_placeholder" value="<?php echo esc_attr($row->image_browser_placeholder); ?>" />
|
| 2309 |
</div>
|
|
@@ -2311,7 +2311,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2311 |
</div>
|
| 2312 |
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_width">
|
| 2313 |
<div class="wd-group">
|
| 2314 |
-
<label class="wd-label" for="image_browser_search_box_width"><?php _e('Search box maximum width',
|
| 2315 |
<div class="bwg-flex">
|
| 2316 |
<input type="number" name="image_browser_search_box_width" id="image_browser_search_box_width" value="<?php echo intval($row->image_browser_search_box_width); ?>" min="0" /><span>px</span>
|
| 2317 |
</div>
|
|
@@ -2319,54 +2319,54 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2319 |
</div>
|
| 2320 |
<div class="wd-box-content wd-width-100">
|
| 2321 |
<div class="wd-group">
|
| 2322 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 2323 |
<div class="bwg-flex">
|
| 2324 |
-
<input type="radio" name="image_browser_show_sort_images" id="image_browser_show_sort_images_1" value="1" <?php if ($row->image_browser_show_sort_images) echo 'checked="checked"'; ?> /><label for="image_browser_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 2325 |
-
<input type="radio" name="image_browser_show_sort_images" id="image_browser_show_sort_images_0" value="0" <?php if (!$row->image_browser_show_sort_images) echo 'checked="checked"'; ?> /><label for="image_browser_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 2326 |
</div>
|
| 2327 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 2328 |
</div>
|
| 2329 |
</div>
|
| 2330 |
<div class="wd-box-content wd-width-100">
|
| 2331 |
<div class="wd-group">
|
| 2332 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 2333 |
<div class="bwg-flex">
|
| 2334 |
-
<input type="radio" name="image_browser_show_tag_box" id="image_browser_show_tag_box_1" value="1" <?php if ($row->image_browser_show_tag_box) echo 'checked="checked"'; ?> /><label for="image_browser_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 2335 |
-
<input type="radio" name="image_browser_show_tag_box" id="image_browser_show_tag_box_0" value="0" <?php if (!$row->image_browser_show_tag_box) echo 'checked="checked"'; ?> /><label for="image_browser_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 2336 |
</div>
|
| 2337 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 2338 |
</div>
|
| 2339 |
</div>
|
| 2340 |
</div>
|
| 2341 |
<div class="wd-box-content wd-width-33">
|
| 2342 |
<div class="wd-box-content wd-width-100">
|
| 2343 |
<div class="wd-group">
|
| 2344 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 2345 |
<div class="bwg-flex">
|
| 2346 |
-
<input type="radio" name="image_browser_show_gallery_title" id="image_browser_thumb_name_yes" value="1" <?php if ($row->image_browser_show_gallery_title) echo 'checked="checked"'; ?> /><label for="image_browser_thumb_name_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2347 |
-
<input type="radio" name="image_browser_show_gallery_title" id="image_browser_thumb_name_no" value="0" <?php if (!$row->image_browser_show_gallery_title) echo 'checked="checked"'; ?> /><label for="image_browser_thumb_name_no" class="wd-radio-label"><?php _e('No',
|
| 2348 |
</div>
|
| 2349 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.',
|
| 2350 |
</div>
|
| 2351 |
</div>
|
| 2352 |
<div class="wd-box-content wd-width-100">
|
| 2353 |
<div class="wd-group">
|
| 2354 |
-
<label class="wd-label"><?php _e('Show gallery description',
|
| 2355 |
<div class="bwg-flex">
|
| 2356 |
-
<input type="radio" name="image_browser_show_gallery_description" id="image_browser_show_gallery_description_1" value="1" <?php if ($row->image_browser_show_gallery_description) echo 'checked="checked"'; ?> /><label for="image_browser_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 2357 |
-
<input type="radio" name="image_browser_show_gallery_description" id="image_browser_show_gallery_description_0" value="0" <?php if (!$row->image_browser_show_gallery_description) echo 'checked="checked"'; ?> /><label for="image_browser_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 2358 |
</div>
|
| 2359 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.',
|
| 2360 |
</div>
|
| 2361 |
</div>
|
| 2362 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2363 |
<div class="wd-group">
|
| 2364 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 2365 |
<div class="bwg-flex">
|
| 2366 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="image_browser_gallery_download" id="image_browser_gallery_download_1" value="1" <?php if ($row->image_browser_gallery_download) echo 'checked="checked"'; ?> /><label for="image_browser_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 2367 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="image_browser_gallery_download" id="image_browser_gallery_download_0" value="0" <?php if (!$row->image_browser_gallery_download) echo 'checked="checked"'; ?> /><label for="image_browser_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 2368 |
</div>
|
| 2369 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 2370 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2371 |
<?php
|
| 2372 |
if ( !$zipArchiveClass) {
|
|
@@ -2381,86 +2381,86 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2381 |
<div class="wd-box-content wd-width-33">
|
| 2382 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2383 |
<div class="wd-group">
|
| 2384 |
-
<label class="wd-label" for="blog_style_width"><?php _e('Image width',
|
| 2385 |
<div class="bwg-flex">
|
| 2386 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_width" id="blog_style_width" value="<?php echo intval($row->blog_style_width); ?>" min="0" /><span>px</span>
|
| 2387 |
</div>
|
| 2388 |
-
<p class="description"><?php _e('Specify the default width of images in Blog Style view.',
|
| 2389 |
</div>
|
| 2390 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2391 |
</div>
|
| 2392 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2393 |
<div class="wd-group">
|
| 2394 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 2395 |
<div class="bwg-flex">
|
| 2396 |
-
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_0" value="0" <?php if ($row->blog_style_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_0'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_0" class="wd-radio-label"><?php _e('None',
|
| 2397 |
-
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_1" value="1" <?php if ($row->blog_style_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_1'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 2398 |
-
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_2" value="2" <?php if ($row->blog_style_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_2'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 2399 |
-
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_3" value="3" <?php if ($row->blog_style_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_3'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 2400 |
</div>
|
| 2401 |
-
<p class="description" id="blog_style_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 2402 |
-
<p class="description" id="blog_style_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 2403 |
-
<p class="description" id="blog_style_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 2404 |
-
<p class="description" id="blog_style_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 2405 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2406 |
</div>
|
| 2407 |
</div>
|
| 2408 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_blog_style_images_per_page">
|
| 2409 |
<div class="wd-group">
|
| 2410 |
-
<label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page',
|
| 2411 |
<div class="bwg-flex">
|
| 2412 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_images_per_page" id="blog_style_images_per_page" value="<?php echo intval($row->blog_style_images_per_page); ?>" min="0" />
|
| 2413 |
</div>
|
| 2414 |
-
<p class="description"><?php _e('Select the number of images displayed per page in Blog Style view.',
|
| 2415 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2416 |
</div>
|
| 2417 |
</div>
|
| 2418 |
<div class="wd-box-content wd-width-100" id="tr_blog_style_load_more_image_count">
|
| 2419 |
<div class="wd-group">
|
| 2420 |
-
<label class="wd-label" for="blog_style_load_more_image_count"><?php _e('Images per load',
|
| 2421 |
<div class="bwg-flex">
|
| 2422 |
<input type="number" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo intval($row->blog_style_load_more_image_count); ?>" min="0" />
|
| 2423 |
</div>
|
| 2424 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.',
|
| 2425 |
</div>
|
| 2426 |
</div>
|
| 2427 |
</div>
|
| 2428 |
<div class="wd-box-content wd-width-33">
|
| 2429 |
<div class="wd-box-content wd-width-100">
|
| 2430 |
<div class="wd-group">
|
| 2431 |
-
<label class="wd-label" for="blog_style_sort_by"><?php _e('Order by',
|
| 2432 |
<div class="wd-width-43">
|
| 2433 |
<select name="blog_style_sort_by" id="blog_style_sort_by">
|
| 2434 |
-
<option value="order" <?php if ($row->blog_style_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 2435 |
-
<option value="alt" <?php if ($row->blog_style_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 2436 |
-
<option value="date" <?php if ($row->blog_style_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 2437 |
-
<option value="filename" <?php if ($row->blog_style_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 2438 |
-
<option value="size" <?php if ($row->blog_style_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 2439 |
-
<option value="random" <?php if ($row->blog_style_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 2440 |
</select>
|
| 2441 |
</div>
|
| 2442 |
<div class="wd-width-55">
|
| 2443 |
<select name="blog_style_order_by" id="blog_style_order_by">
|
| 2444 |
-
<option value="asc" <?php if ($row->blog_style_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 2445 |
-
<option value="desc" <?php if ($row->blog_style_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 2446 |
</select>
|
| 2447 |
</div>
|
| 2448 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 2449 |
</div>
|
| 2450 |
</div>
|
| 2451 |
<div class="wd-box-content wd-width-100">
|
| 2452 |
<div class="wd-group">
|
| 2453 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 2454 |
<div class="bwg-flex">
|
| 2455 |
-
<input type="radio" name="blog_style_show_search_box" id="blog_style_show_search_box_1" value="1" <?php if ($row->blog_style_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_1'); bwg_enable_disable('', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_1')" /><label for="blog_style_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 2456 |
-
<input type="radio" name="blog_style_show_search_box" id="blog_style_show_search_box_0" value="0" <?php if (!$row->blog_style_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_0'); bwg_enable_disable('none', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_0')" /><label for="blog_style_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 2457 |
</div>
|
| 2458 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 2459 |
</div>
|
| 2460 |
</div>
|
| 2461 |
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_placeholder">
|
| 2462 |
<div class="wd-group">
|
| 2463 |
-
<label class="wd-label" for="blog_style_placeholder"><?php _e('Add placeholder to search',
|
| 2464 |
<div class="bwg-flex">
|
| 2465 |
<input type="text" name="blog_style_placeholder" id="blog_style_placeholder" value="<?php echo esc_attr($row->blog_style_placeholder); ?>" />
|
| 2466 |
</div>
|
|
@@ -2468,7 +2468,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2468 |
</div>
|
| 2469 |
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_width">
|
| 2470 |
<div class="wd-group">
|
| 2471 |
-
<label class="wd-label" for="blog_style_search_box_width"><?php _e('Search box maximum width',
|
| 2472 |
<div class="bwg-flex">
|
| 2473 |
<input type="number" name="blog_style_search_box_width" id="blog_style_search_box_width" value="<?php echo intval($row->blog_style_search_box_width); ?>" min="0" /><span>px</span>
|
| 2474 |
</div>
|
|
@@ -2476,76 +2476,76 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2476 |
</div>
|
| 2477 |
<div class="wd-box-content wd-width-100">
|
| 2478 |
<div class="wd-group">
|
| 2479 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 2480 |
<div class="bwg-flex">
|
| 2481 |
-
<input type="radio" name="blog_style_show_sort_images" id="blog_style_show_sort_images_1" value="1" <?php if ($row->blog_style_show_sort_images) echo 'checked="checked"'; ?> /><label for="blog_style_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 2482 |
-
<input type="radio" name="blog_style_show_sort_images" id="blog_style_show_sort_images_0" value="0" <?php if (!$row->blog_style_show_sort_images) echo 'checked="checked"'; ?> /><label for="blog_style_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 2483 |
</div>
|
| 2484 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 2485 |
</div>
|
| 2486 |
</div>
|
| 2487 |
<div class="wd-box-content wd-width-100">
|
| 2488 |
<div class="wd-group">
|
| 2489 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 2490 |
<div class="bwg-flex">
|
| 2491 |
-
<input type="radio" name="blog_style_show_tag_box" id="blog_style_show_tag_box_1" value="1" <?php if ($row->blog_style_show_tag_box) echo 'checked="checked"'; ?> /><label for="blog_style_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 2492 |
-
<input type="radio" name="blog_style_show_tag_box" id="blog_style_show_tag_box_0" value="0" <?php if (!$row->blog_style_show_tag_box) echo 'checked="checked"'; ?> /><label for="blog_style_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 2493 |
</div>
|
| 2494 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 2495 |
</div>
|
| 2496 |
</div>
|
| 2497 |
</div>
|
| 2498 |
<div class="wd-box-content wd-width-33">
|
| 2499 |
<div class="wd-box-content wd-width-100">
|
| 2500 |
<div class="wd-group">
|
| 2501 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 2502 |
<div class="bwg-flex">
|
| 2503 |
-
<input type="radio" name="blog_style_show_gallery_title" id="blog_style_thumb_name_yes" value="1" <?php if ($row->blog_style_show_gallery_title) echo 'checked="checked"'; ?> /><label for="blog_style_thumb_name_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2504 |
-
<input type="radio" name="blog_style_show_gallery_title" id="blog_style_thumb_name_no" value="0" <?php if (!$row->blog_style_show_gallery_title) echo 'checked="checked"'; ?> /><label for="blog_style_thumb_name_no" class="wd-radio-label"><?php _e('No',
|
| 2505 |
</div>
|
| 2506 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.',
|
| 2507 |
</div>
|
| 2508 |
</div>
|
| 2509 |
<div class="wd-box-content wd-width-100">
|
| 2510 |
<div class="wd-group">
|
| 2511 |
-
<label class="wd-label"><?php _e('Show gallery description',
|
| 2512 |
<div class="bwg-flex">
|
| 2513 |
-
<input type="radio" name="blog_style_show_gallery_description" id="blog_style_show_gallery_description_1" value="1" <?php if ($row->blog_style_show_gallery_description) echo 'checked="checked"'; ?> /><label for="blog_style_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 2514 |
-
<input type="radio" name="blog_style_show_gallery_description" id="blog_style_show_gallery_description_0" value="0" <?php if (!$row->blog_style_show_gallery_description) echo 'checked="checked"'; ?> /><label for="blog_style_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 2515 |
</div>
|
| 2516 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.',
|
| 2517 |
</div>
|
| 2518 |
</div>
|
| 2519 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2520 |
<div class="wd-group">
|
| 2521 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 2522 |
<div class="bwg-flex">
|
| 2523 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_title_enable" id="blog_style_title_enable_1" value="1" <?php if ($row->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 2524 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_title_enable" id="blog_style_title_enable_0" value="0" <?php if (!$row->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_0" class="wd-radio-label"><?php _e('No',
|
| 2525 |
</div>
|
| 2526 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Blog Style view.',
|
| 2527 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2528 |
</div>
|
| 2529 |
</div>
|
| 2530 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2531 |
<div class="wd-group">
|
| 2532 |
-
<label class="wd-label"><?php _e('Show image description',
|
| 2533 |
<div class="bwg-flex">
|
| 2534 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_description_enable" id="blog_style_description_enable_1" value="1" <?php if ($row->blog_style_description_enable) echo 'checked="checked"'; ?> /><label for="blog_style_description_enable_1" class="wd-radio-label"><?php echo _e('Yes',
|
| 2535 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_description_enable" id="blog_style_description_enable_0" value="0" <?php if (!$row->blog_style_description_enable) echo 'checked="checked"'; ?> /><label for="blog_style_description_enable_0" class="wd-radio-label"><?php echo _e('No',
|
| 2536 |
</div>
|
| 2537 |
-
<p class="description"><?php _e('Enable this setting to show descriptions of images in Blog Style view.',
|
| 2538 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2539 |
</div>
|
| 2540 |
</div>
|
| 2541 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2542 |
<div class="wd-group">
|
| 2543 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 2544 |
<div class="bwg-flex">
|
| 2545 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="blog_style_gallery_download" id="blog_style_gallery_download_1" value="1" <?php if ($row->blog_style_gallery_download) echo 'checked="checked"'; ?> /><label for="blog_style_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 2546 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="blog_style_gallery_download" id="blog_style_gallery_download_0" value="0" <?php if (!$row->blog_style_gallery_download) echo 'checked="checked"'; ?> /><label for="blog_style_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 2547 |
</div>
|
| 2548 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 2549 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2550 |
<?php
|
| 2551 |
if ( !$zipArchiveClass) {
|
|
@@ -2560,42 +2560,42 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2560 |
<div class="wd-box-content wd-width-33">
|
| 2561 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2562 |
<div class="wd-group">
|
| 2563 |
-
<label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images',
|
| 2564 |
<div class="bwg-flex">
|
| 2565 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_column_number" id="carousel_image_column_number" value="<?php echo intval($row->carousel_image_column_number); ?>" min="0" />
|
| 2566 |
</div>
|
| 2567 |
-
<p class="description"><?php _e('Set the maximum number of images that are shown with Carousel display.',
|
| 2568 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2569 |
</div>
|
| 2570 |
</div>
|
| 2571 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2572 |
<div class="wd-group">
|
| 2573 |
-
<label class="wd-label" for="carousel_width"><?php _e('Image dimensions',
|
| 2574 |
<div class="bwg-flex">
|
| 2575 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_width" id="carousel_width" value="<?php echo intval($row->carousel_width); ?>" min="0" /><span>x</span>
|
| 2576 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_height" id="carousel_height" value="<?php echo intval($row->carousel_height); ?>" min="0" /><span>px</span>
|
| 2577 |
</div>
|
| 2578 |
-
<p class="description"><?php _e('Specify the dimensions of carousel images in pixels.',
|
| 2579 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2580 |
</div>
|
| 2581 |
</div>
|
| 2582 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2583 |
<div class="wd-group">
|
| 2584 |
-
<label class="wd-label" for="carousel_image_par"><?php _e('Carousel ratio',
|
| 2585 |
<div class="bwg-flex">
|
| 2586 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_par" id="carousel_image_par" value="<?php echo
|
| 2587 |
</div>
|
| 2588 |
-
<p class="description"><?php _e('This option defines the proportion of dimensions between neighboring images in the carousel.',
|
| 2589 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2590 |
</div>
|
| 2591 |
</div>
|
| 2592 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2593 |
<div class="wd-group">
|
| 2594 |
-
<label class="wd-label" for="carousel_r_width"><?php _e('Fixed width',
|
| 2595 |
<div class="bwg-flex">
|
| 2596 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_r_width" id="carousel_r_width" value="<?php echo intval($row->carousel_r_width); ?>" min="0" /><span>px</span>
|
| 2597 |
</div>
|
| 2598 |
-
<p class="description"><?php _e('Specify the fixed width of Carousel gallery container.',
|
| 2599 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2600 |
</div>
|
| 2601 |
</div>
|
|
@@ -2603,66 +2603,66 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2603 |
<div class="wd-box-content wd-width-33">
|
| 2604 |
<div class="wd-box-content wd-width-100">
|
| 2605 |
<div class="wd-group">
|
| 2606 |
-
<label class="wd-label" for="carousel_sort_by"><?php _e('Order by',
|
| 2607 |
<div class="wd-width-43">
|
| 2608 |
<select name="carousel_sort_by" id="carousel_sort_by">
|
| 2609 |
-
<option value="order" <?php if ($row->carousel_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 2610 |
-
<option value="alt" <?php if ($row->carousel_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 2611 |
-
<option value="date" <?php if ($row->carousel_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 2612 |
-
<option value="filename" <?php if ($row->carousel_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 2613 |
-
<option value="size" <?php if ($row->carousel_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 2614 |
-
<option value="random" <?php if ($row->carousel_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 2615 |
</select>
|
| 2616 |
</div>
|
| 2617 |
<div class="wd-width-55">
|
| 2618 |
<select name="carousel_order_by" id="carousel_order_by">
|
| 2619 |
-
<option value="asc" <?php if ($row->carousel_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 2620 |
-
<option value="desc" <?php if ($row->carousel_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 2621 |
</select>
|
| 2622 |
</div>
|
| 2623 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 2624 |
</div>
|
| 2625 |
</div>
|
| 2626 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2627 |
<div class="wd-group">
|
| 2628 |
-
<label class="wd-label"><?php _e('Enable autoplay',
|
| 2629 |
<div class="bwg-flex">
|
| 2630 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_autoplay" id="carousel_enable_autoplay_yes" value="1" <?php if ($row->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2631 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_autoplay" id="carousel_enable_autoplay_no" value="0" <?php if (!$row->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_no" class="wd-radio-label"><?php _e('No',
|
| 2632 |
</div>
|
| 2633 |
-
<p class="description"><?php _e('Activate this option to autoplay Carousel galleries.',
|
| 2634 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2635 |
</div>
|
| 2636 |
</div>
|
| 2637 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2638 |
<div class="wd-group">
|
| 2639 |
-
<label class="wd-label" for="carousel_interval"><?php _e('Time interval',
|
| 2640 |
<div class="bwg-flex">
|
| 2641 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_interval" id="carousel_interval" value="<?php echo floatval($row->carousel_interval); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 2642 |
</div>
|
| 2643 |
-
<p class="description"><?php _e('Specify the time interval between rotations in Photo Gallery\'s Carousel view.',
|
| 2644 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2645 |
</div>
|
| 2646 |
</div>
|
| 2647 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2648 |
<div class="wd-group">
|
| 2649 |
-
<label class="wd-label"><?php _e('Container fit',
|
| 2650 |
<div class="bwg-flex">
|
| 2651 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_yes" value="1" <?php if ($row->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_yes" class="wd-radio-label"><?php _e("Yes",
|
| 2652 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_no" value="0" <?php if (!$row->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_no" class="wd-radio-label"><?php _e('No',
|
| 2653 |
</div>
|
| 2654 |
-
<p class="description"><?php _e('Enabling this setting fits the images inside their container on Carousel galleries with fixed width.',
|
| 2655 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2656 |
</div>
|
| 2657 |
</div>
|
| 2658 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2659 |
<div class="wd-group">
|
| 2660 |
-
<label class="wd-label"><?php _e('Next/Previous buttons',
|
| 2661 |
<div class="bwg-flex">
|
| 2662 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_prev_next_butt" id="carousel_prev_next_butt_yes" value="1" <?php if ($row->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_yes" class="wd-radio-label"><?php _e("Yes",
|
| 2663 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_prev_next_butt" id="carousel_prev_next_butt_no" value="0" <?php if (!$row->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_no" class="wd-radio-label"><?php _e('No',
|
| 2664 |
</div>
|
| 2665 |
-
<p class="description"><?php _e('Enable this setting to display Next/Previous buttons on your galleries with Carousel view.',
|
| 2666 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2667 |
</div>
|
| 2668 |
</div>
|
|
@@ -2670,55 +2670,55 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2670 |
<div class="wd-box-content wd-width-33">
|
| 2671 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2672 |
<div class="wd-group">
|
| 2673 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 2674 |
<div class="bwg-flex">
|
| 2675 |
-
<input type="radio" name="carousel_show_gallery_title" id="carousel_thumb_name_yes" value="1" <?php if ($row->carousel_show_gallery_title) echo 'checked="checked"'; ?> /><label for="carousel_thumb_name_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2676 |
-
<input type="radio" name="carousel_show_gallery_title" id="carousel_thumb_name_no" value="0" <?php if (!$row->carousel_show_gallery_title) echo 'checked="checked"'; ?> /><label for="carousel_thumb_name_no" class="wd-radio-label"><?php _e('No',
|
| 2677 |
</div>
|
| 2678 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.',
|
| 2679 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2680 |
</div>
|
| 2681 |
</div>
|
| 2682 |
<div class="wd-box-content wd-width-100">
|
| 2683 |
<div class="wd-group">
|
| 2684 |
-
<label class="wd-label"><?php _e('Show gallery description',
|
| 2685 |
<div class="bwg-flex">
|
| 2686 |
-
<input type="radio" name="carousel_show_gallery_description" id="carousel_show_gallery_description_1" value="1" <?php if ($row->carousel_show_gallery_description) echo 'checked="checked"'; ?> /><label for="carousel_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 2687 |
-
<input type="radio" name="carousel_show_gallery_description" id="carousel_show_gallery_description_0" value="0" <?php if (!$row->carousel_show_gallery_description) echo 'checked="checked"'; ?> /><label for="carousel_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 2688 |
</div>
|
| 2689 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.',
|
| 2690 |
</div>
|
| 2691 |
</div>
|
| 2692 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2693 |
<div class="wd-group">
|
| 2694 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 2695 |
<div class="bwg-flex">
|
| 2696 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_title" id="carousel_enable_title_yes" value="1" <?php if ($row->carousel_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_carousel_title_position', 'carousel_enable_title_yes')" /><label for="carousel_enable_title_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2697 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_title" id="carousel_enable_title_no" value="0" <?php if (!$row->carousel_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_carousel_title_position', 'carousel_enable_title_no')" /><label for="carousel_enable_title_no" class="wd-radio-label"><?php _e('No',
|
| 2698 |
</div>
|
| 2699 |
-
<p class="description"><?php _e('Display image titles in Photo Gallery Carousel view by activating this option.',
|
| 2700 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2701 |
</div>
|
| 2702 |
</div>
|
| 2703 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2704 |
<div class="wd-group">
|
| 2705 |
-
<label class="wd-label"><?php _e('Play/Pause buttons',
|
| 2706 |
<div class="bwg-flex">
|
| 2707 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_play_pause_butt" id="carousel_play_pause_butt_yes" value="1" <?php if ($row->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2708 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_play_pause_butt" id="carousel_play_pause_butt_no" value="0" <?php if (!$row->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_no" class="wd-radio-label"><?php _e('No',
|
| 2709 |
</div>
|
| 2710 |
-
<p class="description"><?php _e('Activate this to show Play/Pause buttons on your Carousel galleries.',
|
| 2711 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2712 |
</div>
|
| 2713 |
</div>
|
| 2714 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2715 |
<div class="wd-group">
|
| 2716 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 2717 |
<div class="bwg-flex">
|
| 2718 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="carousel_gallery_download" id="carousel_gallery_download_1" value="1" <?php if ($row->carousel_gallery_download) echo 'checked="checked"'; ?> /><label for="carousel_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 2719 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="carousel_gallery_download" id="carousel_gallery_download_0" value="0" <?php if (!$row->carousel_gallery_download) echo 'checked="checked"'; ?> /><label for="carousel_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 2720 |
</div>
|
| 2721 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 2722 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2723 |
<?php
|
| 2724 |
if ( !$zipArchiveClass) {
|
|
@@ -2739,130 +2739,130 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2739 |
<div class="wd-box-content wd-width-33">
|
| 2740 |
<div class="wd-box-content wd-width-100">
|
| 2741 |
<div class="wd-group">
|
| 2742 |
-
<label class="wd-label" for="album_column_number"><?php _e('Number of gallery group columns',
|
| 2743 |
<div class="bwg-flex">
|
| 2744 |
<input type="number" name="album_column_number" id="album_column_number" value="<?php echo intval($row->album_column_number); ?>" min="0" />
|
| 2745 |
</div>
|
| 2746 |
-
<p class="description"><?php _e('Set the maximum number of columns in gallery groups. Note, that the parent container needs to be large enough to display all columns.',
|
| 2747 |
</div>
|
| 2748 |
</div>
|
| 2749 |
<div class="wd-box-content wd-width-100">
|
| 2750 |
<div class="wd-group">
|
| 2751 |
-
<label class="wd-label" for="album_thumb_width"><?php _e('Gallery group thumbnail dimensions',
|
| 2752 |
<div class="bwg-flex">
|
| 2753 |
<input type="number" name="album_thumb_width" id="album_thumb_width" value="<?php echo intval($row->album_thumb_width); ?>" min="0" /><span>x</span>
|
| 2754 |
<input type="number" name="album_thumb_height" id="album_thumb_height" value="<?php echo intval($row->album_thumb_height); ?>" min="0" /><span>px</span>
|
| 2755 |
</div>
|
| 2756 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.',
|
| 2757 |
</div>
|
| 2758 |
</div>
|
| 2759 |
<div class="wd-box-content wd-width-100">
|
| 2760 |
<div class="wd-group">
|
| 2761 |
-
<label class="wd-label" for="album_image_column_number"><?php _e('Number of image columns',
|
| 2762 |
<div class="bwg-flex">
|
| 2763 |
<input type="number" name="album_image_column_number" id="album_image_column_number" value="<?php echo intval($row->album_image_column_number); ?>" min="0" />
|
| 2764 |
</div>
|
| 2765 |
-
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.',
|
| 2766 |
</div>
|
| 2767 |
</div>
|
| 2768 |
<div class="wd-box-content wd-width-100" id="tr_album_thumbnail_dimensions">
|
| 2769 |
<div class="wd-group">
|
| 2770 |
-
<label class="wd-label" for="album_image_thumb_width"><?php _e('Thumbnail dimensions',
|
| 2771 |
<div class="bwg-flex">
|
| 2772 |
<input type="number" name="album_image_thumb_width" id="album_image_thumb_width" value="<?php echo intval($row->album_image_thumb_width); ?>" min="0" /><span>x</span>
|
| 2773 |
<input type="number" name="album_image_thumb_height" id="album_image_thumb_height" value="<?php echo intval($row->album_image_thumb_height); ?>" min="0" /><span>px</span>
|
| 2774 |
</div>
|
| 2775 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.',
|
| 2776 |
</div>
|
| 2777 |
</div>
|
| 2778 |
<div class="wd-box-content wd-width-100" id="tr_album_pagination">
|
| 2779 |
<div class="wd-group">
|
| 2780 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 2781 |
<div class="bwg-flex">
|
| 2782 |
-
<div><input type="radio" name="album_enable_page" id="album_enable_page_0" value="0" <?php if ($row->album_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_0" class="wd-radio-label"><?php _e('No',
|
| 2783 |
-
<div><input type="radio" name="album_enable_page" id="album_enable_page_1" value="1" <?php if ($row->album_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 2784 |
-
<div><input type="radio" name="album_enable_page" id="album_enable_page_2" value="2" <?php if ($row->album_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 2785 |
-
<div><input type="radio" name="album_enable_page" id="album_enable_page_3" value="3" <?php if ($row->album_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 2786 |
</div>
|
| 2787 |
-
<p class="description" id="album_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 2788 |
-
<p class="description" id="album_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 2789 |
-
<p class="description" id="album_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 2790 |
-
<p class="description" id="album_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 2791 |
</div>
|
| 2792 |
</div>
|
| 2793 |
<div class="wd-box-content wd-width-100" id="tr_albums_per_page">
|
| 2794 |
<div class="wd-group">
|
| 2795 |
-
<label class="wd-label" for="albums_per_page"><?php _e('Gallery groups per page',
|
| 2796 |
<div class="bwg-flex">
|
| 2797 |
<input type="number" name="albums_per_page" id="albums_per_page" value="<?php echo intval($row->albums_per_page); ?>" min="0" />
|
| 2798 |
</div>
|
| 2799 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.',
|
| 2800 |
</div>
|
| 2801 |
</div>
|
| 2802 |
<div class="wd-box-content wd-width-100" id="tr_album_images_per_page">
|
| 2803 |
<div class="wd-group">
|
| 2804 |
-
<label class="wd-label" for="album_images_per_page"><?php _e('Images per page',
|
| 2805 |
<div class="bwg-flex">
|
| 2806 |
<input type="number" name="album_images_per_page" id="album_images_per_page" value="<?php echo intval($row->album_images_per_page); ?>" min="0" />
|
| 2807 |
</div>
|
| 2808 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.',
|
| 2809 |
</div>
|
| 2810 |
</div>
|
| 2811 |
</div>
|
| 2812 |
<div class="wd-box-content wd-width-33">
|
| 2813 |
<div class="wd-box-content wd-width-100">
|
| 2814 |
<div class="wd-group">
|
| 2815 |
-
<label class="wd-label" for="compact_album_sort_by"><?php _e('Order Gallery group by',
|
| 2816 |
<div class="wd-width-43">
|
| 2817 |
<select name="compact_album_sort_by" id="compact_album_sort_by">
|
| 2818 |
-
<option value="order" <?php if ($row->compact_album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 2819 |
-
<option value="name" <?php if ($row->compact_album_sort_by == 'name') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 2820 |
-
<option value="modified_date" <?php if ($row->compact_album_sort_by == 'modified_date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 2821 |
-
<option value="random" <?php if ($row->compact_album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 2822 |
</select>
|
| 2823 |
</div>
|
| 2824 |
<div class="wd-width-55">
|
| 2825 |
<select name="compact_album_order_by" id="compact_album_order_by">
|
| 2826 |
-
<option value="asc" <?php if ($row->compact_album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 2827 |
-
<option value="desc" <?php if ($row->compact_album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 2828 |
</select>
|
| 2829 |
</div>
|
| 2830 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery group images with. E.g. Title and Ascending.",
|
| 2831 |
</div>
|
| 2832 |
<div class="wd-group">
|
| 2833 |
-
<label class="wd-label" for="album_sort_by"><?php _e('Order images by',
|
| 2834 |
<div class="wd-width-43">
|
| 2835 |
<select name="album_sort_by" id="album_sort_by">
|
| 2836 |
-
<option value="order" <?php if ($row->album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 2837 |
-
<option value="alt" <?php if ($row->album_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 2838 |
-
<option value="date" <?php if ($row->album_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 2839 |
-
<option value="filename" <?php if ($row->album_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 2840 |
-
<option value="size" <?php if ($row->album_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 2841 |
-
<option value="random" <?php if ($row->album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 2842 |
</select>
|
| 2843 |
</div>
|
| 2844 |
<div class="wd-width-55">
|
| 2845 |
<select name="album_order_by" id="album_order_by">
|
| 2846 |
-
<option value="asc" <?php if ($row->album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 2847 |
-
<option value="desc" <?php if ($row->album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 2848 |
</select>
|
| 2849 |
</div>
|
| 2850 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 2851 |
</div>
|
| 2852 |
</div>
|
| 2853 |
<div class="wd-box-content wd-width-100">
|
| 2854 |
<div class="wd-group">
|
| 2855 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 2856 |
<div class="bwg-flex">
|
| 2857 |
-
<input type="radio" name="album_show_search_box" id="album_show_search_box_1" value="1" <?php if ($row->album_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_search_box_width', 'album_show_search_box_1'); bwg_enable_disable('', 'tr_album_search_box_placeholder', 'album_show_search_box_1')" /><label for="album_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 2858 |
-
<input type="radio" name="album_show_search_box" id="album_show_search_box_0" value="0" <?php if (!$row->album_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_search_box_width', 'album_show_search_box_0'); bwg_enable_disable('none', 'tr_album_search_box_placeholder', 'album_show_search_box_0')" /><label for="album_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 2859 |
</div>
|
| 2860 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 2861 |
</div>
|
| 2862 |
</div>
|
| 2863 |
<div class="wd-box-content wd-width-100" id="tr_album_search_box_placeholder">
|
| 2864 |
<div class="wd-group">
|
| 2865 |
-
<label class="wd-label" for="album_placeholder"><?php _e('Add placeholder to search',
|
| 2866 |
<div class="bwg-flex">
|
| 2867 |
<input type="text" name="album_placeholder" id="album_placeholder" value="<?php echo esc_attr($row->album_placeholder); ?>" />
|
| 2868 |
</div>
|
|
@@ -2870,7 +2870,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2870 |
</div>
|
| 2871 |
<div class="wd-box-content wd-width-100" id="tr_album_search_box_width">
|
| 2872 |
<div class="wd-group">
|
| 2873 |
-
<label class="wd-label" for="album_search_box_width"><?php _e('Search box maximum width',
|
| 2874 |
<div class="bwg-flex">
|
| 2875 |
<input type="number" name="album_search_box_width" id="album_search_box_width" value="<?php echo intval($row->album_search_box_width); ?>" min="0" /><span>px</span>
|
| 2876 |
</div>
|
|
@@ -2878,134 +2878,134 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 2878 |
</div>
|
| 2879 |
<div class="wd-box-content wd-width-100">
|
| 2880 |
<div class="wd-group">
|
| 2881 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 2882 |
<div class="bwg-flex">
|
| 2883 |
-
<input type="radio" name="album_show_sort_images" id="album_show_sort_images_1" value="1" <?php if ($row->album_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 2884 |
-
<input type="radio" name="album_show_sort_images" id="album_show_sort_images_0" value="0" <?php if (!$row->album_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 2885 |
</div>
|
| 2886 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 2887 |
</div>
|
| 2888 |
</div>
|
| 2889 |
<div class="wd-box-content wd-width-100">
|
| 2890 |
<div class="wd-group">
|
| 2891 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 2892 |
<div class="bwg-flex">
|
| 2893 |
-
<input type="radio" name="album_show_tag_box" id="album_show_tag_box_1" value="1" <?php if ($row->album_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 2894 |
-
<input type="radio" name="album_show_tag_box" id="album_show_tag_box_0" value="0" <?php if (!$row->album_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 2895 |
</div>
|
| 2896 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 2897 |
</div>
|
| 2898 |
</div>
|
| 2899 |
</div>
|
| 2900 |
<div class="wd-box-content wd-width-33">
|
| 2901 |
<div class="wd-box-content wd-width-100">
|
| 2902 |
<div class="wd-group">
|
| 2903 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title',
|
| 2904 |
<div class="bwg-flex">
|
| 2905 |
-
<input type="radio" name="show_album_name" id="show_album_name_enable_1" value="1" <?php if ($row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 2906 |
-
<input type="radio" name="show_album_name" id="show_album_name_enable_0" value="0" <?php if (!$row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_0" class="wd-radio-label"><?php _e('No',
|
| 2907 |
</div>
|
| 2908 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.',
|
| 2909 |
</div>
|
| 2910 |
</div>
|
| 2911 |
<div class="wd-box-content wd-width-100">
|
| 2912 |
<div class="wd-group">
|
| 2913 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description',
|
| 2914 |
<div class="bwg-flex">
|
| 2915 |
-
<input type="radio" name="album_show_gallery_description" id="album_show_gallery_description_1" value="1" <?php if ($row->album_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 2916 |
-
<input type="radio" name="album_show_gallery_description" id="album_show_gallery_description_0" value="0" <?php if (!$row->album_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 2917 |
</div>
|
| 2918 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.',
|
| 2919 |
</div>
|
| 2920 |
</div>
|
| 2921 |
<div class="wd-box-content wd-width-100">
|
| 2922 |
<div class="wd-group">
|
| 2923 |
-
<label class="wd-label"><?php _e('Show gallery title',
|
| 2924 |
<div class="bwg-flex">
|
| 2925 |
-
<div><input type="radio" name="album_title_show_hover" id="album_title_show_hover_1" value="hover" <?php if ($row->album_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 2926 |
-
<div><input type="radio" name="album_title_show_hover" id="album_title_show_hover_0" value="show" <?php if ($row->album_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_0" class="wd-radio-label"><?php _e('Always show',
|
| 2927 |
-
<div><input type="radio" name="album_title_show_hover" id="album_title_show_hover_2" value="none" <?php if ($row->album_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 2928 |
</div>
|
| 2929 |
-
<p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.',
|
| 2930 |
</div>
|
| 2931 |
</div>
|
| 2932 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2933 |
<div class="wd-group">
|
| 2934 |
-
<label class="wd-label" for="album_view_type"><?php _e('Gallery view type',
|
| 2935 |
<select name="album_view_type" id="album_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
|
| 2936 |
-
<option value="thumbnail" <?php if ($row->album_view_type == 'thumbnail') echo 'selected="selected"'; ?>><?php _e('Thumbnail',
|
| 2937 |
-
<option value="masonry" <?php if ($row->album_view_type == 'masonry') echo 'selected="selected"'; ?>><?php _e('Masonry',
|
| 2938 |
-
<option value="mosaic" <?php if ($row->album_view_type == 'mosaic') echo 'selected="selected"'; ?>><?php _e('Mosaic',
|
| 2939 |
-
<option value="slideshow" <?php if ($row->album_view_type == 'slideshow') echo 'selected="selected"'; ?>><?php _e('Slideshow',
|
| 2940 |
-
<option value="image_browser" <?php if ($row->album_view_type == 'image_browser') echo 'selected="selected"'; ?>><?php _e('Image Browser',
|
| 2941 |
-
<option value="blog_style" <?php if ($row->album_view_type == 'blog_style') echo 'selected="selected"'; ?>><?php _e('Blog Style',
|
| 2942 |
-
<option value="carousel" <?php if ($row->album_view_type == 'carousel') echo 'selected="selected"'; ?>><?php _e('Carousel',
|
| 2943 |
</select>
|
| 2944 |
-
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry, Mosaic, Slideshow, Image browser, Blog style or Carousel.',
|
| 2945 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2946 |
</div>
|
| 2947 |
</div>
|
| 2948 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_mosaic">
|
| 2949 |
<div class="wd-group">
|
| 2950 |
-
<label class="wd-label"><?php _e('Mosaic gallery type',
|
| 2951 |
<div class="bwg-flex">
|
| 2952 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_mosaic" id="album_mosaic_0" value="vertical" <?php if ($row->album_mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="album_mosaic_0" class="wd-radio-label"><?php _e('Vertical',
|
| 2953 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_mosaic" id="album_mosaic_1" value="horizontal" <?php if ($row->album_mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="album_mosaic_1" class="wd-radio-label"><?php _e('Horizontal',
|
| 2954 |
</div>
|
| 2955 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.',
|
| 2956 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2957 |
</div>
|
| 2958 |
</div>
|
| 2959 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_resizable_mosaic">
|
| 2960 |
<div class="wd-group">
|
| 2961 |
-
<label class="wd-label"><?php _e('Resizable mosaic',
|
| 2962 |
<div class="bwg-flex">
|
| 2963 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_resizable_mosaic" id="album_resizable_mosaic_1" value="1" <?php if ($row->album_resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="album_resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes',
|
| 2964 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_resizable_mosaic" id="album_resizable_mosaic_0" value="0" <?php if ($row->album_resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="album_resizable_mosaic_0" class="wd-radio-label"><?php _e('No',
|
| 2965 |
</div>
|
| 2966 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.',
|
| 2967 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2968 |
</div>
|
| 2969 |
</div>
|
| 2970 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_mosaic_total_width">
|
| 2971 |
<div class="wd-group">
|
| 2972 |
-
<label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries',
|
| 2973 |
<div class="bwg-flex">
|
| 2974 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_mosaic_total_width" id="album_mosaic_total_width" value="<?php echo intval($row->album_mosaic_total_width); ?>" min="0" /><span>%</span>
|
| 2975 |
</div>
|
| 2976 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.',
|
| 2977 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2978 |
</div>
|
| 2979 |
</div>
|
| 2980 |
<div class="wd-box-content wd-width-100">
|
| 2981 |
<div class="wd-group">
|
| 2982 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 2983 |
<div class="bwg-flex">
|
| 2984 |
-
<div><input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_1" value="hover" <?php if ($row->album_image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 2985 |
-
<div><input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_0" value="show" <?php if ($row->album_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label id="for_album_image_title_show_hover_0" for="album_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show',
|
| 2986 |
-
<div><input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_2" value="none" <?php if ($row->album_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 2987 |
</div>
|
| 2988 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.',
|
| 2989 |
</div>
|
| 2990 |
</div>
|
| 2991 |
<div class="wd-box-content wd-width-100">
|
| 2992 |
<div class="wd-group">
|
| 2993 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails',
|
| 2994 |
<div class="bwg-flex">
|
| 2995 |
-
<input type="radio" name="album_play_icon" id="album_play_icon_yes" value="1" <?php if ($row->album_play_icon) echo 'checked="checked"'; ?> /><label for="album_play_icon_yes" class="wd-radio-label"><?php _e('Yes',
|
| 2996 |
-
<input type="radio" name="album_play_icon" id="album_play_icon_no" value="0" <?php if (!$row->album_play_icon) echo 'checked="checked"'; ?> /><label for="album_play_icon_no" class="wd-radio-label"><?php _e('No',
|
| 2997 |
</div>
|
| 2998 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.',
|
| 2999 |
</div>
|
| 3000 |
</div>
|
| 3001 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3002 |
<div class="wd-group">
|
| 3003 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 3004 |
<div class="bwg-flex">
|
| 3005 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_gallery_download" id="album_gallery_download_1" value="1" <?php if ($row->album_gallery_download) echo 'checked="checked"'; ?> /><label for="album_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 3006 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_gallery_download" id="album_gallery_download_0" value="0" <?php if (!$row->album_gallery_download) echo 'checked="checked"'; ?> /><label for="album_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 3007 |
</div>
|
| 3008 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 3009 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3010 |
<?php
|
| 3011 |
if ( !$zipArchiveClass) {
|
|
@@ -3019,13 +3019,13 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3019 |
?>
|
| 3020 |
<div class="wd-box-content wd-width-100">
|
| 3021 |
<div class="wd-group">
|
| 3022 |
-
<label class="wd-label"><?php _e('Show ecommerce icon',
|
| 3023 |
<div class="bwg-flex">
|
| 3024 |
-
<label for="album_ecommerce_icon_show_hover_1" class="wd-radio-label"><input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->album_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><?php _e('Show on hover',
|
| 3025 |
-
<label id="for_album_ecommerce_icon_show_hover_0" for="album_ecommerce_icon_show_hover_0" class="wd-radio-label"><input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_0" value="show" <?php if ($row->album_ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><?php _e('Always show',
|
| 3026 |
-
<label for="album_ecommerce_icon_show_hover_2" class="wd-radio-label"><input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_2" value="none" <?php if ($row->album_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><?php _e("Don't show",
|
| 3027 |
</div>
|
| 3028 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.',
|
| 3029 |
</div>
|
| 3030 |
</div>
|
| 3031 |
<?php
|
|
@@ -3037,128 +3037,128 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3037 |
<div class="wd-box-content wd-width-33">
|
| 3038 |
<div class="wd-box-content wd-width-100">
|
| 3039 |
<div class="wd-group">
|
| 3040 |
-
<label class="wd-label" for="album_masonry_column_number"><?php _e('Number of gallery group columns',
|
| 3041 |
<div class="bwg-flex">
|
| 3042 |
<input type="number" name="album_masonry_column_number" id="album_masonry_column_number" value="<?php echo intval($row->album_masonry_column_number); ?>" min="0" />
|
| 3043 |
</div>
|
| 3044 |
-
<p class="description"><?php _e('Set the maximum number of columns in gallery groups. Note, that the parent container needs to be large enough to display all columns.',
|
| 3045 |
</div>
|
| 3046 |
</div>
|
| 3047 |
<div class="wd-box-content wd-width-100">
|
| 3048 |
<div class="wd-group">
|
| 3049 |
-
<label class="wd-label" for="album_masonry_thumb_width"><?php _e('Gallery group thumbnail width',
|
| 3050 |
<div class="bwg-flex">
|
| 3051 |
<input type="number" name="album_masonry_thumb_width" id="album_masonry_thumb_width" value="<?php echo intval($row->album_masonry_thumb_width); ?>" min="0" /><span>px</span>
|
| 3052 |
</div>
|
| 3053 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.',
|
| 3054 |
</div>
|
| 3055 |
</div>
|
| 3056 |
<div class="wd-box-content wd-width-100">
|
| 3057 |
<div class="wd-group">
|
| 3058 |
-
<label class="wd-label" for="album_masonry_image_column_number"><?php _e('Number of image columns',
|
| 3059 |
<div class="bwg-flex">
|
| 3060 |
<input type="number" name="album_masonry_image_column_number" id="album_masonry_image_column_number" value="<?php echo intval($row->album_masonry_image_column_number); ?>" min="0" />
|
| 3061 |
</div>
|
| 3062 |
-
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.',
|
| 3063 |
</div>
|
| 3064 |
</div>
|
| 3065 |
<div class="wd-box-content wd-width-100">
|
| 3066 |
<div class="wd-group">
|
| 3067 |
-
<label class="wd-label" for="album_masonry_image_thumb_width"><?php _e('Thumbnail width',
|
| 3068 |
<div class="bwg-flex">
|
| 3069 |
<input type="number" name="album_masonry_image_thumb_width" id="album_masonry_image_thumb_width" value="<?php echo intval($row->album_masonry_image_thumb_width); ?>" min="0" /><span>px</span>
|
| 3070 |
</div>
|
| 3071 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.',
|
| 3072 |
</div>
|
| 3073 |
</div>
|
| 3074 |
<div class="wd-box-content wd-width-100">
|
| 3075 |
<div class="wd-group">
|
| 3076 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 3077 |
<div class="bwg-flex">
|
| 3078 |
-
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_0" value="0" <?php if ($row->album_masonry_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_0" class="wd-radio-label"><?php _e('No',
|
| 3079 |
-
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_1" value="1" <?php if ($row->album_masonry_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 3080 |
-
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_2" value="2" <?php if ($row->album_masonry_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 3081 |
-
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_3" value="3" <?php if ($row->album_masonry_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 3082 |
</div>
|
| 3083 |
-
<p class="description" id="album_masonry_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 3084 |
-
<p class="description" id="album_masonry_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 3085 |
-
<p class="description" id="album_masonry_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 3086 |
-
<p class="description" id="album_masonry_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 3087 |
</div>
|
| 3088 |
</div>
|
| 3089 |
<div class="wd-box-content wd-width-100" id="tr_albums_masonry_per_page">
|
| 3090 |
<div class="wd-group">
|
| 3091 |
-
<label class="wd-label" for="albums_masonry_per_page"><?php _e('Gallery groups per page',
|
| 3092 |
<div class="bwg-flex">
|
| 3093 |
<input type="number" name="albums_masonry_per_page" id="albums_masonry_per_page" value="<?php echo intval($row->albums_masonry_per_page); ?>" min="0" />
|
| 3094 |
</div>
|
| 3095 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.',
|
| 3096 |
</div>
|
| 3097 |
</div>
|
| 3098 |
<div class="wd-box-content wd-width-100" id="tr_album_masonry_images_per_page">
|
| 3099 |
<div class="wd-group">
|
| 3100 |
-
<label class="wd-label" for="album_masonry_images_per_page"><?php _e('Images per page',
|
| 3101 |
<div class="bwg-flex">
|
| 3102 |
<input type="number" name="album_masonry_images_per_page" id="album_masonry_images_per_page" value="<?php echo intval($row->album_masonry_images_per_page); ?>" min="0" />
|
| 3103 |
</div>
|
| 3104 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.',
|
| 3105 |
</div>
|
| 3106 |
</div>
|
| 3107 |
</div>
|
| 3108 |
<div class="wd-box-content wd-width-33">
|
| 3109 |
<div class="wd-box-content wd-width-100">
|
| 3110 |
<div class="wd-group">
|
| 3111 |
-
<label class="wd-label" for="masonry_album_sort_by"><?php _e('Order Gallery group by',
|
| 3112 |
<div class="wd-width-43">
|
| 3113 |
<select name="masonry_album_sort_by" id="masonry_album_sort_by">
|
| 3114 |
-
<option value="order" <?php if ($row->masonry_album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 3115 |
-
<option value="name" <?php if ($row->masonry_album_sort_by == 'name') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 3116 |
-
<option value="modified_date" <?php if ($row->masonry_album_sort_by == 'modified_date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 3117 |
-
<option value="random" <?php if ($row->masonry_album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 3118 |
</select>
|
| 3119 |
</div>
|
| 3120 |
<div class="wd-width-55">
|
| 3121 |
<select name="masonry_album_order_by" id="masonry_album_order_by">
|
| 3122 |
-
<option value="asc" <?php if ($row->masonry_album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 3123 |
-
<option value="desc" <?php if ($row->masonry_album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 3124 |
</select>
|
| 3125 |
</div>
|
| 3126 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery group images with. E.g. Title and Ascending.",
|
| 3127 |
</div>
|
| 3128 |
<div class="wd-group">
|
| 3129 |
-
<label class="wd-label" for="album_masonry_sort_by"><?php _e('Order images by',
|
| 3130 |
<div class="wd-width-43">
|
| 3131 |
<select name="album_masonry_sort_by" id="album_masonry_sort_by">
|
| 3132 |
-
<option value="order" <?php if ($row->album_masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 3133 |
-
<option value="alt" <?php if ($row->album_masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 3134 |
-
<option value="date" <?php if ($row->album_masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 3135 |
-
<option value="filename" <?php if ($row->album_masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 3136 |
-
<option value="size" <?php if ($row->album_masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 3137 |
-
<option value="random" <?php if ($row->album_masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 3138 |
</select>
|
| 3139 |
</div>
|
| 3140 |
<div class="wd-width-55">
|
| 3141 |
<select name="album_masonry_order_by" id="album_masonry_order_by">
|
| 3142 |
-
<option value="asc" <?php if ($row->album_masonry_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 3143 |
-
<option value="desc" <?php if ($row->album_masonry_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 3144 |
</select>
|
| 3145 |
</div>
|
| 3146 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 3147 |
</div>
|
| 3148 |
</div>
|
| 3149 |
<div class="wd-box-content wd-width-100">
|
| 3150 |
<div class="wd-group">
|
| 3151 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 3152 |
<div class="bwg-flex">
|
| 3153 |
-
<input type="radio" name="album_masonry_show_search_box" id="album_masonry_show_search_box_1" value="1" <?php if ($row->album_masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_1'); bwg_enable_disable('', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_1')" /><label for="album_masonry_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 3154 |
-
<input type="radio" name="album_masonry_show_search_box" id="album_masonry_show_search_box_0" value="0" <?php if (!$row->album_masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_0'); bwg_enable_disable('none', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_0')" /><label for="album_masonry_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 3155 |
</div>
|
| 3156 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 3157 |
</div>
|
| 3158 |
</div>
|
| 3159 |
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_placeholder">
|
| 3160 |
<div class="wd-group">
|
| 3161 |
-
<label class="wd-label" for="album_masonry_placeholder"><?php _e('Add placeholder to search',
|
| 3162 |
<div class="bwg-flex">
|
| 3163 |
<input type="text" name="album_masonry_placeholder" id="album_masonry_placeholder" value="<?php echo esc_attr($row->album_masonry_placeholder); ?>" />
|
| 3164 |
</div>
|
|
@@ -3166,7 +3166,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3166 |
</div>
|
| 3167 |
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_width">
|
| 3168 |
<div class="wd-group">
|
| 3169 |
-
<label class="wd-label" for="album_masonry_search_box_width"><?php _e('Search box maximum width',
|
| 3170 |
<div class="bwg-flex">
|
| 3171 |
<input type="number" name="album_masonry_search_box_width" id="album_masonry_search_box_width" value="<?php echo intval($row->album_masonry_search_box_width); ?>" min="0" /><span>px</span>
|
| 3172 |
</div>
|
|
@@ -3174,65 +3174,65 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3174 |
</div>
|
| 3175 |
<div class="wd-box-content wd-width-100">
|
| 3176 |
<div class="wd-group">
|
| 3177 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 3178 |
<div class="bwg-flex">
|
| 3179 |
-
<input type="radio" name="album_masonry_show_sort_images" id="album_masonry_show_sort_images_1" value="1" <?php if ($row->album_masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_masonry_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 3180 |
-
<input type="radio" name="album_masonry_show_sort_images" id="album_masonry_show_sort_images_0" value="0" <?php if (!$row->album_masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_masonry_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 3181 |
</div>
|
| 3182 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 3183 |
</div>
|
| 3184 |
</div>
|
| 3185 |
<div class="wd-box-content wd-width-100">
|
| 3186 |
<div class="wd-group">
|
| 3187 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 3188 |
<div class="bwg-flex">
|
| 3189 |
-
<input type="radio" name="album_masonry_show_tag_box" id="album_masonry_show_tag_box_1" value="1" <?php if ($row->album_masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_masonry_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 3190 |
-
<input type="radio" name="album_masonry_show_tag_box" id="album_masonry_show_tag_box_0" value="0" <?php if (!$row->album_masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_masonry_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 3191 |
</div>
|
| 3192 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 3193 |
</div>
|
| 3194 |
</div>
|
| 3195 |
</div>
|
| 3196 |
<div class="wd-box-content wd-width-33">
|
| 3197 |
<div class="wd-box-content wd-width-100">
|
| 3198 |
<div class="wd-group">
|
| 3199 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title',
|
| 3200 |
<div class="bwg-flex">
|
| 3201 |
-
<input type="radio" name="show_album_masonry_name" id="show_album_masonry_name_enable_1" value="1" <?php if ($row->show_album_masonry_name) echo 'checked="checked"'; ?> /><label for="show_album_masonry_name_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 3202 |
-
<input type="radio" name="show_album_masonry_name" id="show_album_masonry_name_enable_0" value="0" <?php if (!$row->show_album_masonry_name) echo 'checked="checked"'; ?> /><label for="show_album_masonry_name_enable_0" class="wd-radio-label"><?php _e('No',
|
| 3203 |
</div>
|
| 3204 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.',
|
| 3205 |
</div>
|
| 3206 |
</div>
|
| 3207 |
<div class="wd-box-content wd-width-100">
|
| 3208 |
<div class="wd-group">
|
| 3209 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description',
|
| 3210 |
<div class="bwg-flex">
|
| 3211 |
-
<input type="radio" name="album_masonry_show_gallery_description" id="album_masonry_show_gallery_description_1" value="1" <?php if ($row->album_masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_masonry_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 3212 |
-
<input type="radio" name="album_masonry_show_gallery_description" id="album_masonry_show_gallery_description_0" value="0" <?php if (!$row->album_masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_masonry_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 3213 |
</div>
|
| 3214 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.',
|
| 3215 |
</div>
|
| 3216 |
</div>
|
| 3217 |
<div class="wd-box-content wd-width-100">
|
| 3218 |
<div class="wd-group">
|
| 3219 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 3220 |
<div class="bwg-flex">
|
| 3221 |
-
<div><input type="radio" name="album_masonry_image_title" id="album_masonry_image_title_0" value="hover" <?php if ($row->album_masonry_image_title == "hover") echo 'checked="checked"'; ?> /><label for="album_masonry_image_title_0" class="wd-radio-label"><?php _e('Show on hover',
|
| 3222 |
-
<div><input type="radio" name="album_masonry_image_title" id="album_masonry_image_title_1" value="show" <?php if ($row->album_masonry_image_title == "show") echo 'checked="checked"'; ?> /><label for="album_masonry_image_title_1" class="wd-radio-label"><?php _e('Always show',
|
| 3223 |
-
<div><input type="radio" name="album_masonry_image_title" id="album_masonry_image_title_2" value="none" <?php if ($row->album_masonry_image_title == "none") echo 'checked="checked"'; ?> /><label for="album_masonry_image_title_2" class="wd-radio-label"><?php _e("Don't show",
|
| 3224 |
</div>
|
| 3225 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.',
|
| 3226 |
</div>
|
| 3227 |
</div>
|
| 3228 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3229 |
<div class="wd-group">
|
| 3230 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 3231 |
<div class="bwg-flex">
|
| 3232 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_masonry_gallery_download" id="album_masonry_gallery_download_1" value="1" <?php if ($row->album_masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="album_masonry_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 3233 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_masonry_gallery_download" id="album_masonry_gallery_download_0" value="0" <?php if (!$row->album_masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="album_masonry_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 3234 |
</div>
|
| 3235 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 3236 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3237 |
<?php
|
| 3238 |
if ( !$zipArchiveClass) {
|
|
@@ -3246,12 +3246,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3246 |
?>
|
| 3247 |
<div class="wd-box-content wd-width-100">
|
| 3248 |
<div class="wd-group">
|
| 3249 |
-
<label class="wd-label"><?php _e('Show ecommerce icon',
|
| 3250 |
<div class="bwg-flex">
|
| 3251 |
-
<input type="radio" name="album_masonry_ecommerce_icon_show_hover" id="album_masonry_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->album_masonry_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_masonry_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 3252 |
-
<input type="radio" name="album_masonry_ecommerce_icon_show_hover" id="album_masonry_ecommerce_icon_show_hover_2" value="none" <?php if ($row->album_masonry_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_masonry_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 3253 |
</div>
|
| 3254 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.',
|
| 3255 |
</div>
|
| 3256 |
</div>
|
| 3257 |
<?php
|
|
@@ -3263,141 +3263,141 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3263 |
<div class="wd-box-content wd-width-33">
|
| 3264 |
<div class="wd-box-content wd-width-100">
|
| 3265 |
<div class="wd-group">
|
| 3266 |
-
<label class="wd-label" for="extended_album_height"><?php _e('Extended gallery group height',
|
| 3267 |
<div class="bwg-flex">
|
| 3268 |
<input type="number" name="extended_album_height" id="extended_album_height" value="<?php echo intval($row->extended_album_height); ?>" min="0" /><span>px</span>
|
| 3269 |
</div>
|
| 3270 |
-
<p class="description"><?php _e('Set the height of blocks in Extended gallery groups.',
|
| 3271 |
</div>
|
| 3272 |
</div>
|
| 3273 |
<div class="wd-box-content wd-width-100">
|
| 3274 |
<div class="wd-group">
|
| 3275 |
-
<label class="wd-label" for="extended_album_column_number"><?php _e('Number of columns',
|
| 3276 |
<div class="bwg-flex">
|
| 3277 |
-
<input type="radio" name="extended_album_column_number" id="extended_album_column_number_1" value="1" <?php if ($row->extended_album_column_number == 1) echo 'checked="checked"'; ?> /><label for="extended_album_column_number_1" class="wd-radio-label"><?php _e('1 column',
|
| 3278 |
-
<input type="radio" name="extended_album_column_number" id="extended_album_column_number_2" value="2" <?php if ($row->extended_album_column_number == 2) echo 'checked="checked"'; ?> /><label for="extended_album_column_number_2" class="wd-radio-label"><?php _e('2 column',
|
| 3279 |
-
<input type="radio" name="extended_album_column_number" id="extended_album_column_number_3" value="3" <?php if ($row->extended_album_column_number == 3) echo 'checked="checked"'; ?> /><label for="extended_album_column_number_3" class="wd-radio-label"><?php _e('3 column',
|
| 3280 |
</div>
|
| 3281 |
-
<p class="description"><?php _e('Set the maximum number of columns.',
|
| 3282 |
</div>
|
| 3283 |
</div>
|
| 3284 |
<div class="wd-box-content wd-width-100">
|
| 3285 |
<div class="wd-group">
|
| 3286 |
-
<label class="wd-label" for="album_extended_thumb_width"><?php _e('Gallery group thumbnail dimensions',
|
| 3287 |
<div class="bwg-flex">
|
| 3288 |
<input type="number" name="album_extended_thumb_width" id="album_extended_thumb_width" value="<?php echo intval($row->album_extended_thumb_width); ?>" min="0" /><span>x</span>
|
| 3289 |
<input type="number" name="album_extended_thumb_height" id="album_extended_thumb_height" value="<?php echo intval($row->album_extended_thumb_height); ?>" min="0" /><span>px</span>
|
| 3290 |
</div>
|
| 3291 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.',
|
| 3292 |
</div>
|
| 3293 |
</div>
|
| 3294 |
<div class="wd-box-content wd-width-100">
|
| 3295 |
<div class="wd-group">
|
| 3296 |
-
<label class="wd-label" for="album_extended_image_column_number"><?php _e('Number of image columns',
|
| 3297 |
<div class="bwg-flex">
|
| 3298 |
<input type="number" name="album_extended_image_column_number" id="album_extended_image_column_number" value="<?php echo intval($row->album_extended_image_column_number); ?>" min="0" />
|
| 3299 |
</div>
|
| 3300 |
-
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.',
|
| 3301 |
</div>
|
| 3302 |
</div>
|
| 3303 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_thumbnail_dimensions">
|
| 3304 |
<div class="wd-group">
|
| 3305 |
-
<label class="wd-label" for="album_extended_image_thumb_width"><?php _e('Thumbnail dimensions',
|
| 3306 |
<div class="bwg-flex">
|
| 3307 |
<input type="number" name="album_extended_image_thumb_width" id="album_extended_image_thumb_width" value="<?php echo intval($row->album_extended_image_thumb_width); ?>" min="0" /><span>x</span>
|
| 3308 |
<input type="number" name="album_extended_image_thumb_height" id="album_extended_image_thumb_height" value="<?php echo intval($row->album_extended_image_thumb_height); ?>" min="0" /><span>px</span>
|
| 3309 |
</div>
|
| 3310 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.',
|
| 3311 |
</div>
|
| 3312 |
</div>
|
| 3313 |
<div class="wd-box-content wd-width-100">
|
| 3314 |
<div class="wd-group">
|
| 3315 |
-
<label class="wd-label"><?php _e('Pagination',
|
| 3316 |
<div class="bwg-flex">
|
| 3317 |
-
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_0" value="0" <?php if ($row->album_extended_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_0" class="wd-radio-label"><?php _e('No',
|
| 3318 |
-
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_1" value="1" <?php if ($row->album_extended_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_1" class="wd-radio-label"><?php _e('Simple',
|
| 3319 |
-
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_2" value="2" <?php if ($row->album_extended_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_2" class="wd-radio-label"><?php _e('Load More',
|
| 3320 |
-
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_3" value="3" <?php if ($row->album_extended_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load',
|
| 3321 |
</div>
|
| 3322 |
-
<p class="description" id="album_extended_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.',
|
| 3323 |
-
<p class="description" id="album_extended_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.',
|
| 3324 |
-
<p class="description" id="album_extended_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.',
|
| 3325 |
-
<p class="description" id="album_extended_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.',
|
| 3326 |
</div>
|
| 3327 |
</div>
|
| 3328 |
<div class="wd-box-content wd-width-100" id="tr_albums_extended_per_page">
|
| 3329 |
<div class="wd-group">
|
| 3330 |
-
<label class="wd-label" for="albums_extended_per_page"><?php _e('Gallery groups per page',
|
| 3331 |
<div class="bwg-flex">
|
| 3332 |
<input type="number" name="albums_extended_per_page" id="albums_extended_per_page" value="<?php echo intval($row->albums_extended_per_page); ?>" min="0" />
|
| 3333 |
</div>
|
| 3334 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.',
|
| 3335 |
</div>
|
| 3336 |
</div>
|
| 3337 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_images_per_page">
|
| 3338 |
<div class="wd-group">
|
| 3339 |
-
<label class="wd-label" for="album_extended_images_per_page"><?php _e('Images per page',
|
| 3340 |
<div class="bwg-flex">
|
| 3341 |
<input type="number" name="album_extended_images_per_page" id="album_extended_images_per_page" value="<?php echo intval($row->album_extended_images_per_page); ?>" min="0" />
|
| 3342 |
</div>
|
| 3343 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.',
|
| 3344 |
</div>
|
| 3345 |
</div>
|
| 3346 |
</div>
|
| 3347 |
<div class="wd-box-content wd-width-33">
|
| 3348 |
<div class="wd-box-content wd-width-100">
|
| 3349 |
<div class="wd-group">
|
| 3350 |
-
<label class="wd-label" for="extended_album_sort_by"><?php _e('Order Gallery group by',
|
| 3351 |
<div class="wd-width-43">
|
| 3352 |
<select name="extended_album_sort_by" id="extended_album_sort_by">
|
| 3353 |
-
<option value="order" <?php if ($row->extended_album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 3354 |
-
<option value="name" <?php if ($row->extended_album_sort_by == 'name') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 3355 |
-
<option value="modified_date" <?php if ($row->extended_album_sort_by == 'modified_date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 3356 |
-
<option value="random" <?php if ($row->extended_album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 3357 |
</select>
|
| 3358 |
</div>
|
| 3359 |
<div class="wd-width-55">
|
| 3360 |
<select name="extended_album_order_by" id="extended_album_order_by">
|
| 3361 |
-
<option value="asc" <?php if ($row->extended_album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 3362 |
-
<option value="desc" <?php if ($row->extended_album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 3363 |
</select>
|
| 3364 |
</div>
|
| 3365 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery group images with. E.g. Title and Ascending.",
|
| 3366 |
</div>
|
| 3367 |
<div class="wd-group">
|
| 3368 |
<div class="wd-width-43">
|
| 3369 |
-
<label class="wd-label" for="album_extended_sort_by"><?php _e('Order images by',
|
| 3370 |
<select name="album_extended_sort_by" id="album_extended_sort_by">
|
| 3371 |
-
<option value="order" <?php if ($row->album_extended_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default',
|
| 3372 |
-
<option value="alt" <?php if ($row->album_extended_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title',
|
| 3373 |
-
<option value="date" <?php if ($row->album_extended_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date',
|
| 3374 |
-
<option value="filename" <?php if ($row->album_extended_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename',
|
| 3375 |
-
<option value="size" <?php if ($row->album_extended_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size',
|
| 3376 |
-
<option value="random" <?php if ($row->album_extended_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random',
|
| 3377 |
</select>
|
| 3378 |
</div>
|
| 3379 |
<div class="wd-width-55">
|
| 3380 |
<select name="album_extended_order_by" id="album_extended_order_by">
|
| 3381 |
-
<option value="asc" <?php if ($row->album_extended_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending',
|
| 3382 |
-
<option value="desc" <?php if ($row->album_extended_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending',
|
| 3383 |
</select>
|
| 3384 |
</div>
|
| 3385 |
-
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.",
|
| 3386 |
</div>
|
| 3387 |
</div>
|
| 3388 |
<div class="wd-box-content wd-width-100">
|
| 3389 |
<div class="wd-group">
|
| 3390 |
-
<label class="wd-label"><?php _e('Show search box',
|
| 3391 |
<div class="bwg-flex">
|
| 3392 |
-
<input type="radio" name="album_extended_show_search_box" id="album_extended_show_search_box_1" value="1" <?php if ($row->album_extended_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_1'); bwg_enable_disable('', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_1')" /><label for="album_extended_show_search_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 3393 |
-
<input type="radio" name="album_extended_show_search_box" id="album_extended_show_search_box_0" value="0" <?php if (!$row->album_extended_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_0'); bwg_enable_disable('none', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_0')" /><label for="album_extended_show_search_box_0" class="wd-radio-label"><?php _e('No',
|
| 3394 |
</div>
|
| 3395 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.',
|
| 3396 |
</div>
|
| 3397 |
</div>
|
| 3398 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_placeholder">
|
| 3399 |
<div class="wd-group">
|
| 3400 |
-
<label class="wd-label" for="album_extended_placeholder"><?php _e('Add placeholder to search',
|
| 3401 |
<div class="bwg-flex">
|
| 3402 |
<input type="text" name="album_extended_placeholder" id="album_extended_placeholder" value="<?php echo esc_attr($row->album_extended_placeholder); ?>" />
|
| 3403 |
</div>
|
|
@@ -3405,7 +3405,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3405 |
</div>
|
| 3406 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_width">
|
| 3407 |
<div class="wd-group">
|
| 3408 |
-
<label class="wd-label" for="album_extended_search_box_width"><?php _e('Search box maximum width',
|
| 3409 |
<div class="bwg-flex">
|
| 3410 |
<input type="number" name="album_extended_search_box_width" id="album_extended_search_box_width" value="<?php echo intval($row->album_extended_search_box_width); ?>" min="0" /><span>px</span>
|
| 3411 |
</div>
|
|
@@ -3413,133 +3413,133 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3413 |
</div>
|
| 3414 |
<div class="wd-box-content wd-width-100">
|
| 3415 |
<div class="wd-group">
|
| 3416 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list',
|
| 3417 |
<div class="bwg-flex">
|
| 3418 |
-
<input type="radio" name="album_extended_show_sort_images" id="album_extended_show_sort_images_1" value="1" <?php if ($row->album_extended_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_extended_show_sort_images_1" class="wd-radio-label"><?php _e('Yes',
|
| 3419 |
-
<input type="radio" name="album_extended_show_sort_images" id="album_extended_show_sort_images_0" value="0" <?php if (!$row->album_extended_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_extended_show_sort_images_0" class="wd-radio-label"><?php _e('No',
|
| 3420 |
</div>
|
| 3421 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.',
|
| 3422 |
</div>
|
| 3423 |
</div>
|
| 3424 |
<div class="wd-box-content wd-width-100">
|
| 3425 |
<div class="wd-group">
|
| 3426 |
-
<label class="wd-label"><?php _e('Show tag box',
|
| 3427 |
<div class="bwg-flex">
|
| 3428 |
-
<input type="radio" name="album_extended_show_tag_box" id="album_extended_show_tag_box_1" value="1" <?php if ($row->album_extended_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_extended_show_tag_box_1" class="wd-radio-label"><?php _e('Yes',
|
| 3429 |
-
<input type="radio" name="album_extended_show_tag_box" id="album_extended_show_tag_box_0" value="0" <?php if (!$row->album_extended_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_extended_show_tag_box_0" class="wd-radio-label"><?php _e('No',
|
| 3430 |
</div>
|
| 3431 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.',
|
| 3432 |
</div>
|
| 3433 |
</div>
|
| 3434 |
</div>
|
| 3435 |
<div class="wd-box-content wd-width-33">
|
| 3436 |
<div class="wd-box-content wd-width-100">
|
| 3437 |
<div class="wd-group">
|
| 3438 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title',
|
| 3439 |
<div class="bwg-flex">
|
| 3440 |
-
<input type="radio" name="show_album_extended_name" id="show_album_extended_name_enable_1" value="1" <?php if ($row->show_album_extended_name) echo 'checked="checked"'; ?> /><label for="show_album_extended_name_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 3441 |
-
<input type="radio" name="show_album_extended_name" id="show_album_extended_name_enable_0" value="0" <?php if (!$row->show_album_extended_name) echo 'checked="checked"'; ?> /><label for="show_album_extended_name_enable_0" class="wd-radio-label"><?php _e('No',
|
| 3442 |
</div>
|
| 3443 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.',
|
| 3444 |
</div>
|
| 3445 |
</div>
|
| 3446 |
<div class="wd-box-content wd-width-100">
|
| 3447 |
<div class="wd-group">
|
| 3448 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description',
|
| 3449 |
<div class="bwg-flex">
|
| 3450 |
-
<input type="radio" name="album_extended_show_gallery_description" id="album_extended_show_gallery_description_1" value="1" <?php if ($row->album_extended_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_extended_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes',
|
| 3451 |
-
<input type="radio" name="album_extended_show_gallery_description" id="album_extended_show_gallery_description_0" value="0" <?php if (!$row->album_extended_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_extended_show_gallery_description_0" class="wd-radio-label"><?php _e('No',
|
| 3452 |
</div>
|
| 3453 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.',
|
| 3454 |
</div>
|
| 3455 |
</div>
|
| 3456 |
<div class="wd-box-content wd-width-100">
|
| 3457 |
<div class="wd-group">
|
| 3458 |
-
<label class="wd-label"><?php _e('Show extended gallery group description',
|
| 3459 |
<div class="bwg-flex">
|
| 3460 |
-
<input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_1" value="1" <?php if ($row->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_1" class="wd-radio-label"><?php _e('Yes',
|
| 3461 |
-
<input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_0" value="0" <?php if (!$row->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_0" class="wd-radio-label"><?php _e('No',
|
| 3462 |
</div>
|
| 3463 |
-
<p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.',
|
| 3464 |
</div>
|
| 3465 |
</div>
|
| 3466 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3467 |
<div class="wd-group">
|
| 3468 |
-
<label class="wd-label" for="album_extended_view_type"><?php _e('Gallery view type',
|
| 3469 |
<select name="album_extended_view_type" id="album_extended_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
|
| 3470 |
-
<option value="thumbnail" <?php if ($row->album_extended_view_type == 'thumbnail') echo 'selected="selected"'; ?>><?php _e('Thumbnail',
|
| 3471 |
-
<option value="masonry" <?php if ($row->album_extended_view_type == 'masonry') echo 'selected="selected"'; ?>><?php _e('Masonry',
|
| 3472 |
-
<option value="mosaic" <?php if ($row->album_extended_view_type == 'mosaic') echo 'selected="selected"'; ?>><?php _e('Mosaic',
|
| 3473 |
-
<option value="slideshow" <?php if ($row->album_extended_view_type == 'slideshow') echo 'selected="selected"'; ?>><?php _e('Slideshow',
|
| 3474 |
-
<option value="image_browser" <?php if ($row->album_extended_view_type == 'image_browser') echo 'selected="selected"'; ?>><?php _e('Image Browser',
|
| 3475 |
-
<option value="blog_style" <?php if ($row->album_extended_view_type == 'blog_style') echo 'selected="selected"'; ?>><?php _e('Blog Style',
|
| 3476 |
-
<option value="carousel" <?php if ($row->album_extended_view_type == 'carousel') echo 'selected="selected"'; ?>><?php _e('Carousel',
|
| 3477 |
</select>
|
| 3478 |
-
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry, Mosaic, Slideshow, Image browser, Blog style or Carousel.',
|
| 3479 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3480 |
</div>
|
| 3481 |
</div>
|
| 3482 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_mosaic">
|
| 3483 |
<div class="wd-group">
|
| 3484 |
-
<label class="wd-label"><?php _e('Mosaic gallery type',
|
| 3485 |
<div class="bwg-flex">
|
| 3486 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_mosaic" id="album_extended_mosaic_0" value="vertical" <?php if ($row->album_extended_mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="album_extended_mosaic_0" class="wd-radio-label"><?php _e('Vertical',
|
| 3487 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_mosaic" id="album_extended_mosaic_1" value="horizontal" <?php if ($row->album_extended_mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="album_extended_mosaic_1" class="wd-radio-label"><?php _e('Horizontal',
|
| 3488 |
</div>
|
| 3489 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.',
|
| 3490 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3491 |
</div>
|
| 3492 |
</div>
|
| 3493 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_resizable_mosaic">
|
| 3494 |
<div class="wd-group">
|
| 3495 |
-
<label class="wd-label"><?php _e('Resizable mosaic',
|
| 3496 |
<div class="bwg-flex">
|
| 3497 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_resizable_mosaic" id="album_extended_resizable_mosaic_1" value="1" <?php if ($row->album_extended_resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="album_extended_resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes',
|
| 3498 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_resizable_mosaic" id="album_extended_resizable_mosaic_0" value="0" <?php if ($row->album_extended_resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="album_extended_resizable_mosaic_0" class="wd-radio-label"><?php _e('No',
|
| 3499 |
</div>
|
| 3500 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.',
|
| 3501 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3502 |
</div>
|
| 3503 |
</div>
|
| 3504 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_mosaic_total_width">
|
| 3505 |
<div class="wd-group">
|
| 3506 |
-
<label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries',
|
| 3507 |
<div class="bwg-flex">
|
| 3508 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_extended_mosaic_total_width" id="album_extended_mosaic_total_width" value="<?php echo intval($row->album_extended_mosaic_total_width); ?>" min="0" /><span>%</span>
|
| 3509 |
</div>
|
| 3510 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.',
|
| 3511 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3512 |
</div>
|
| 3513 |
</div>
|
| 3514 |
<div class="wd-box-content wd-width-100">
|
| 3515 |
<div class="wd-group">
|
| 3516 |
-
<label class="wd-label"><?php _e('Show image title',
|
| 3517 |
<div class="bwg-flex">
|
| 3518 |
-
<div><input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_1" value="hover" <?php if ($row->album_extended_image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_extended_image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover',
|
| 3519 |
-
<div><input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_0" value="show" <?php if ($row->album_extended_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label id="for_album_extended_image_title_show_hover_0" for="album_extended_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show',
|
| 3520 |
-
<div><input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_2" value="none" <?php if ($row->album_extended_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_extended_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show",
|
| 3521 |
</div>
|
| 3522 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.',
|
| 3523 |
</div>
|
| 3524 |
</div>
|
| 3525 |
<div class="wd-box-content wd-width-100">
|
| 3526 |
<div class="wd-group">
|
| 3527 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails',
|
| 3528 |
<div class="bwg-flex">
|
| 3529 |
-
<input type="radio" name="album_extended_play_icon" id="album_extended_play_icon_yes" value="1" <?php if ($row->album_extended_play_icon) echo 'checked="checked"'; ?> /><label for="album_extended_play_icon_yes" class="wd-radio-label"><?php _e('Yes',
|
| 3530 |
-
<input type="radio" name="album_extended_play_icon" id="album_extended_play_icon_no" value="0" <?php if (!$row->album_extended_play_icon) echo 'checked="checked"'; ?> /><label for="album_extended_play_icon_no" class="wd-radio-label"><?php _e('No',
|
| 3531 |
</div>
|
| 3532 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.',
|
| 3533 |
</div>
|
| 3534 |
</div>
|
| 3535 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3536 |
<div class="wd-group">
|
| 3537 |
-
<label class="wd-label"><?php _e('Enable bulk download button',
|
| 3538 |
<div class="bwg-flex">
|
| 3539 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_extended_gallery_download" id="album_extended_gallery_download_1" value="1" <?php if ($row->album_extended_gallery_download) echo 'checked="checked"'; ?> /><label for="album_extended_gallery_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 3540 |
-
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_extended_gallery_download" id="album_extended_gallery_download_0" value="0" <?php if (!$row->album_extended_gallery_download) echo 'checked="checked"'; ?> /><label for="album_extended_gallery_download_0" class="wd-radio-label"><?php _e('No',
|
| 3541 |
</div>
|
| 3542 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.',
|
| 3543 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3544 |
<?php
|
| 3545 |
if ( !$zipArchiveClass) {
|
|
@@ -3553,13 +3553,13 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3553 |
?>
|
| 3554 |
<div class="wd-box-content wd-width-100">
|
| 3555 |
<div class="wd-group">
|
| 3556 |
-
<label class="wd-label"><?php _e('Show ecommerce icon',
|
| 3557 |
<div class="bwg-flex">
|
| 3558 |
-
<label for="album_extended_ecommerce_icon_show_hover_1" class="wd-radio-label"><input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->album_extended_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><?php _e('Show on hover',
|
| 3559 |
-
<label id="for_album_extended_ecommerce_icon_show_hover_0" for="album_extended_ecommerce_icon_show_hover_0" class="wd-radio-label"><input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_0" value="show" <?php if ($row->album_extended_ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><?php _e('Always show',
|
| 3560 |
-
<label for="album_extended_ecommerce_icon_show_hover_2" class="wd-radio-label"><input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_2" value="none" <?php if ($row->album_extended_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><?php _e("Don't show",
|
| 3561 |
</div>
|
| 3562 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.',
|
| 3563 |
</div>
|
| 3564 |
</div>
|
| 3565 |
<?php
|
|
@@ -3578,20 +3578,20 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3578 |
<?php if( !isset($row->lightbox_shortcode) ) { ?>
|
| 3579 |
<div class="wd-box-content wd-width-100">
|
| 3580 |
<div class="wd-group">
|
| 3581 |
-
<label class="wd-label"><?php _e('Image click action',
|
| 3582 |
<div class="bwg-flex">
|
| 3583 |
-
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if ($row->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_1" class="wd-radio-label"><?php _e('Open lightbox',
|
| 3584 |
-
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if ($row->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_2" class="wd-radio-label"><?php _e('Redirect to url',
|
| 3585 |
-
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if ($row->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_3" class="wd-radio-label"><?php _e('Do Nothing',
|
| 3586 |
</div>
|
| 3587 |
-
<p class="description"><?php _e('Select the action which runs after clicking on gallery thumbnails.',
|
| 3588 |
</div>
|
| 3589 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-redirect" id="tr_thumb_link_target">
|
| 3590 |
<div class="wd-group">
|
| 3591 |
-
<label class="wd-label"><?php _e('Open in a new window',
|
| 3592 |
<div class="bwg-flex">
|
| 3593 |
-
<input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if ($row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes" class="wd-radio-label"><?php _e('Yes',
|
| 3594 |
-
<input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!$row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no" class="wd-radio-label"><?php _e('No',
|
| 3595 |
</div>
|
| 3596 |
</div>
|
| 3597 |
</div>
|
|
@@ -3599,90 +3599,90 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3599 |
<?php } ?>
|
| 3600 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_full_width">
|
| 3601 |
<div class="wd-group">
|
| 3602 |
-
<label class="wd-label"><?php _e('Full-width lightbox',
|
| 3603 |
<div class="bwg-flex">
|
| 3604 |
-
<input type="radio" name="popup_fullscreen" id="popup_fullscreen_1" value="1" <?php if ($row->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_enable_disable('none', 'tr_popup_dimensions', 'popup_fullscreen_1')" /><label for="popup_fullscreen_1" class="wd-radio-label"><?php _e('Yes',
|
| 3605 |
-
<input type="radio" name="popup_fullscreen" id="popup_fullscreen_0" value="0" <?php if (!$row->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_enable_disable('', 'tr_popup_dimensions', 'popup_fullscreen_0')" /><label for="popup_fullscreen_0" class="wd-radio-label"><?php _e('No',
|
| 3606 |
</div>
|
| 3607 |
-
<p class="description"><?php _e('Image lightbox will appear full-width if this setting is activated.',
|
| 3608 |
</div>
|
| 3609 |
</div>
|
| 3610 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_dimensions">
|
| 3611 |
<div class="wd-group">
|
| 3612 |
-
<label class="wd-label" for="popup_width"><?php _e('Lightbox dimensions',
|
| 3613 |
<div class="bwg-flex">
|
| 3614 |
<input type="number" name="popup_width" id="popup_width" value="<?php echo intval($row->popup_width); ?>" min="0" /><span>x</span>
|
| 3615 |
<input type="number" name="popup_height" id="popup_height" value="<?php echo intval($row->popup_height); ?>" min="0" /><span>px</span>
|
| 3616 |
</div>
|
| 3617 |
-
<p class="description"><?php _e('Set the dimensions of image lightbox.',
|
| 3618 |
</div>
|
| 3619 |
</div>
|
| 3620 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3621 |
<div class="wd-group">
|
| 3622 |
-
<label class="wd-label" for="popup_type"><?php _e('Lightbox effect',
|
| 3623 |
<div class="bwg-flex">
|
| 3624 |
<select name="popup_type" id="popup_type">
|
| 3625 |
<?php
|
| 3626 |
foreach ($effects as $key => $effect) {
|
| 3627 |
?>
|
| 3628 |
<option value="<?php echo esc_attr($key); ?>"
|
| 3629 |
-
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.',
|
| 3630 |
-
<?php if ($row->popup_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect,
|
| 3631 |
<?php
|
| 3632 |
}
|
| 3633 |
?>
|
| 3634 |
</select>
|
| 3635 |
</div>
|
| 3636 |
-
<p class="description"><?php _e('Select the animation effect for image lightbox.',
|
| 3637 |
</div>
|
| 3638 |
</div>
|
| 3639 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3640 |
<div class="wd-group">
|
| 3641 |
-
<label class="wd-label" for="popup_effect_duration"><?php _e('Effect duration',
|
| 3642 |
<div class="bwg-flex">
|
| 3643 |
<input type="number" name="popup_effect_duration" id="popup_effect_duration" value="<?php echo floatval($row->popup_effect_duration); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 3644 |
</div>
|
| 3645 |
-
<p class="description"><?php _e('Set the duration of lightbox animation effect.',
|
| 3646 |
-
<p class="description"><?php _e('Note, that the value of Effect Duration can not be greater than 1/4 of Time Interval.',
|
| 3647 |
</div>
|
| 3648 |
</div>
|
| 3649 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_autoplay">
|
| 3650 |
<div class="wd-group">
|
| 3651 |
-
<label class="wd-label"><?php _e('Lightbox autoplay',
|
| 3652 |
<div class="bwg-flex">
|
| 3653 |
-
<input type="radio" name="popup_autoplay" id="popup_autoplay_1" value="1" <?php if ($row->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_1" class="wd-radio-label"><?php _e('Yes',
|
| 3654 |
-
<input type="radio" name="popup_autoplay" id="popup_autoplay_0" value="0" <?php if (!$row->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_0" class="wd-radio-label"><?php _e('No',
|
| 3655 |
</div>
|
| 3656 |
-
<p class="description"><?php _e('Activate this option to autoplay images in gallery lightbox.',
|
| 3657 |
</div>
|
| 3658 |
</div>
|
| 3659 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3660 |
<div class="wd-group">
|
| 3661 |
-
<label class="wd-label" for="popup_interval"><?php _e('Time interval',
|
| 3662 |
<div class="bwg-flex">
|
| 3663 |
<input type="number" name="popup_interval" id="popup_interval" value="<?php echo floatval($row->popup_interval); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 3664 |
</div>
|
| 3665 |
-
<p class="description"><?php _e('Specify the time interval of autoplay in Photo Gallery lightbox.',
|
| 3666 |
</div>
|
| 3667 |
</div>
|
| 3668 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3669 |
<div class="wd-group">
|
| 3670 |
-
<label class="wd-label"><?php _e('Enable filmstrip',
|
| 3671 |
<div class="bwg-flex">
|
| 3672 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_filmstrip" id="popup_enable_filmstrip_1" value="1" <?php if ($row->popup_enable_filmstrip ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_1')" /><label for="popup_enable_filmstrip_1" class="wd-radio-label"><?php _e('Yes',
|
| 3673 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_filmstrip" id="popup_enable_filmstrip_0" value="0" <?php if (!$row->popup_enable_filmstrip ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_0')" /><label for="popup_enable_filmstrip_0" class="wd-radio-label"><?php _e('No',
|
| 3674 |
</div>
|
| 3675 |
-
<p class="description"><?php _e('Add a filmstrip with image thumbnails to the lightbox of your galleries.',
|
| 3676 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3677 |
</div>
|
| 3678 |
</div>
|
| 3679 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_filmstrip_height ">
|
| 3680 |
<div class="wd-group">
|
| 3681 |
-
<label class="wd-label" for="popup_filmstrip_height"><?php _e('Filmstrip size',
|
| 3682 |
<div class="bwg-flex">
|
| 3683 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo intval($row->popup_filmstrip_height); ?>" min="0" /><span>px</span>
|
| 3684 |
</div>
|
| 3685 |
-
<p class="description"><?php _e('Set the size of your filmstrip. If the filmstrip is horizontal, this indicates its height, whereas for vertical filmstrips it sets the width.',
|
| 3686 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3687 |
</div>
|
| 3688 |
</div>
|
|
@@ -3690,7 +3690,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3690 |
<div class="wd-box-content wd-width-33">
|
| 3691 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3692 |
<div class="wd-group">
|
| 3693 |
-
<label class="wd-label"><?php _e('Enable control buttons',
|
| 3694 |
<div class="bwg-flex">
|
| 3695 |
<input type="radio" name="popup_enable_ctrl_btn" id="popup_enable_ctrl_btn_1" value="1" <?php if ($row->popup_enable_ctrl_btn) echo 'checked="checked"'; ?>
|
| 3696 |
onClick="bwg_enable_disable('', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1');
|
|
@@ -3705,7 +3705,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3705 |
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_ctrl_btn_1');
|
| 3706 |
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_ctrl_btn_1');
|
| 3707 |
bwg_enable_disable('', 'tr_popup_download', 'popup_enable_ctrl_btn_1');
|
| 3708 |
-
bwg_enable_disable('', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_1');" /><label for="popup_enable_ctrl_btn_1" class="wd-radio-label"><?php _e('Yes',
|
| 3709 |
<input type="radio" name="popup_enable_ctrl_btn" id="popup_enable_ctrl_btn_0" value="0" <?php if (!$row->popup_enable_ctrl_btn) echo 'checked="checked"'; ?>
|
| 3710 |
onClick="bwg_enable_disable('none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0');
|
| 3711 |
bwg_enable_disable('none', 'tr_popup_info', 'popup_enable_ctrl_btn_0');
|
|
@@ -3719,140 +3719,140 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3719 |
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_ctrl_btn_0');
|
| 3720 |
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_ctrl_btn_0');
|
| 3721 |
bwg_enable_disable('none', 'tr_popup_download', 'popup_enable_ctrl_btn_0');
|
| 3722 |
-
bwg_enable_disable('none', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_0');" /><label for="popup_enable_ctrl_btn_0" class="wd-radio-label"><?php _e('No',
|
| 3723 |
</div>
|
| 3724 |
-
<p class="description"><?php _e('Enable this option to show control buttons on Photo Gallery lightbox.',
|
| 3725 |
</div>
|
| 3726 |
</div>
|
| 3727 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_fullscreen">
|
| 3728 |
<div class="wd-group">
|
| 3729 |
-
<label class="wd-label"><?php _e('Enable fullscreen button',
|
| 3730 |
<div class="bwg-flex">
|
| 3731 |
-
<input type="radio" name="popup_enable_fullscreen" id="popup_enable_fullscreen_1" value="1" <?php if ($row->popup_enable_fullscreen) echo 'checked="checked"'; ?> /><label for="popup_enable_fullscreen_1" class="wd-radio-label"><?php _e('Yes',
|
| 3732 |
-
<input type="radio" name="popup_enable_fullscreen" id="popup_enable_fullscreen_0" value="0" <?php if (!$row->popup_enable_fullscreen) echo 'checked="checked"'; ?> /><label for="popup_enable_fullscreen_0" class="wd-radio-label"><?php _e('No',
|
| 3733 |
</div>
|
| 3734 |
-
<p class="description"><?php _e('Activate this setting to add Fullscreen button to lightbox control buttons.',
|
| 3735 |
</div>
|
| 3736 |
</div>
|
| 3737 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_comment">
|
| 3738 |
<div class="wd-group">
|
| 3739 |
-
<label class="wd-label"><?php _e('Enable comments',
|
| 3740 |
<div class="bwg-flex">
|
| 3741 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_comment" id="popup_enable_comment_1" value="1" <?php if ($row->popup_enable_comment) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_comment_moderation', 'popup_enable_comment_1');
|
| 3742 |
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_comment_1');
|
| 3743 |
-
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_comment_1');" /><label for="popup_enable_comment_1" class="wd-radio-label"><?php _e('Yes',
|
| 3744 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_comment" id="popup_enable_comment_0" value="0" <?php if (!$row->popup_enable_comment) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_comment_moderation', 'popup_enable_comment_0');
|
| 3745 |
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_comment_0');
|
| 3746 |
-
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_comment_0');" /><label for="popup_enable_comment_0" class="wd-radio-label"><?php _e('No',
|
| 3747 |
</div>
|
| 3748 |
-
<p class="description"><?php _e('Let users to leave comments on images by enabling comments section of lightbox.',
|
| 3749 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3750 |
</div>
|
| 3751 |
</div>
|
| 3752 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_email">
|
| 3753 |
<div class="wd-group">
|
| 3754 |
-
<label class="wd-label"><?php _e('Show Email for comments',
|
| 3755 |
<div class="bwg-flex">
|
| 3756 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_email" id="popup_enable_email_1" value="1" <?php if ($row->popup_enable_email) echo 'checked="checked"'; ?> /><label for="popup_enable_email_1" class="wd-radio-label"><?php _e('Yes',
|
| 3757 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_email" id="popup_enable_email_0" value="0" <?php if (!$row->popup_enable_email) echo 'checked="checked"'; ?> /><label for="popup_enable_email_0" class="wd-radio-label"><?php _e('No',
|
| 3758 |
</div>
|
| 3759 |
-
<p class="description"><?php _e('Activate this option to display email address field in comments section.',
|
| 3760 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3761 |
</div>
|
| 3762 |
</div>
|
| 3763 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo (BWG()->is_pro && !$row->gdpr_compliance) ? '' : ' bwg-disabled-option '; ?>" id="tr_popup_captcha">
|
| 3764 |
<div class="wd-group">
|
| 3765 |
-
<label class="wd-label"><?php _e('Show Captcha for comments',
|
| 3766 |
<div class="bwg-flex">
|
| 3767 |
-
<input <?php echo (BWG()->is_pro && !$row->gdpr_compliance) ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_captcha" id="popup_enable_captcha_1" value="1" <?php if ($row->popup_enable_captcha && !$row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_1" class="wd-radio-label"><?php _e('Yes',
|
| 3768 |
-
<input <?php echo (BWG()->is_pro && !$row->gdpr_compliance) ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_captcha" id="popup_enable_captcha_0" value="0" <?php if (!$row->popup_enable_captcha || $row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_0" class="wd-radio-label"><?php _e('No',
|
| 3769 |
</div>
|
| 3770 |
-
<p class="description"><?php _e('Enable this setting to place Captcha word verification in comments section.',
|
| 3771 |
-
<p class="description"><?php _e('Note, this option cannot be used with GDPR compliance.',
|
| 3772 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3773 |
</div>
|
| 3774 |
</div>
|
| 3775 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_comment_moderation">
|
| 3776 |
<div class="wd-group">
|
| 3777 |
-
<label class="wd-label"><?php _e('Enable comments moderation',
|
| 3778 |
<div class="bwg-flex">
|
| 3779 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="comment_moderation" id="comment_moderation_1" value="1" <?php if ($row->comment_moderation) echo 'checked="checked"'; ?> /><label for="comment_moderation_1" class="wd-radio-label"><?php _e('Yes',
|
| 3780 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="comment_moderation" id="comment_moderation_0" value="0" <?php if (!$row->comment_moderation) echo 'checked="checked"'; ?> /><label for="comment_moderation_0" class="wd-radio-label"><?php _e('No',
|
| 3781 |
</div>
|
| 3782 |
-
<p class="description"><?php _e('Moderate each comment left on images by activating this setting.',
|
| 3783 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3784 |
</div>
|
| 3785 |
</div>
|
| 3786 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info">
|
| 3787 |
<div class="wd-group">
|
| 3788 |
-
<label class="wd-label"><?php _e('Show image info',
|
| 3789 |
<div class="bwg-flex">
|
| 3790 |
-
<input type="radio" name="popup_enable_info" id="popup_enable_info_1" value="1" <?php if ($row->popup_enable_info) echo 'checked="checked"'; ?> /><label for="popup_enable_info_1" class="wd-radio-label"><?php _e('Yes',
|
| 3791 |
-
<input type="radio" name="popup_enable_info" id="popup_enable_info_0" value="0" <?php if (!$row->popup_enable_info) echo 'checked="checked"'; ?> /><label for="popup_enable_info_0" class="wd-radio-label"><?php _e('No',
|
| 3792 |
</div>
|
| 3793 |
-
<p class="description"><?php _e('Activate this setting to show Info button among lightbox control buttons.',
|
| 3794 |
</div>
|
| 3795 |
</div>
|
| 3796 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info_always_show">
|
| 3797 |
<div class="wd-group">
|
| 3798 |
-
<label class="wd-label"><?php _e('Display info by default',
|
| 3799 |
<div class="bwg-flex">
|
| 3800 |
-
<input type="radio" name="popup_info_always_show" id="popup_info_always_show_1" value="1" <?php if ($row->popup_info_always_show) echo 'checked="checked"'; ?> /><label for="popup_info_always_show_1" class="wd-radio-label"><?php _e('Yes',
|
| 3801 |
-
<input type="radio" name="popup_info_always_show" id="popup_info_always_show_0" value="0" <?php if (!$row->popup_info_always_show) echo 'checked="checked"'; ?> /><label for="popup_info_always_show_0" class="wd-radio-label"><?php _e('No',
|
| 3802 |
</div>
|
| 3803 |
-
<p class="description"><?php _e('Enabling this option will let you show image title and description on lightbox by default.',
|
| 3804 |
</div>
|
| 3805 |
</div>
|
| 3806 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info_full_width">
|
| 3807 |
<div class="wd-group">
|
| 3808 |
-
<label class="wd-label"><?php _e('Full width info',
|
| 3809 |
<div class="bwg-flex">
|
| 3810 |
-
<input type="radio" name="popup_info_full_width" id="popup_info_full_width_1" value="1" <?php if ($row->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_1" class="wd-radio-label"><?php _e('Yes',
|
| 3811 |
-
<input type="radio" name="popup_info_full_width" id="popup_info_full_width_0" value="0" <?php if (!$row->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_0" class="wd-radio-label"><?php _e('No',
|
| 3812 |
</div>
|
| 3813 |
-
<p class="description"><?php _e('Display info box with the full width of the lightbox by enabling this option.',
|
| 3814 |
</div>
|
| 3815 |
</div>
|
| 3816 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3817 |
<div class="wd-group">
|
| 3818 |
-
<label class="wd-label"><?php _e('Show Next / Previous buttons',
|
| 3819 |
<div class="bwg-flex">
|
| 3820 |
-
<input type="radio" name="autohide_lightbox_navigation" id="autohide_lightbox_navigation_1" value="1" <?php if ($row->autohide_lightbox_navigation ) echo 'checked="checked"'; ?> /><label for="autohide_lightbox_navigation_1" class="wd-radio-label"><?php _e('On hover',
|
| 3821 |
-
<input type="radio" name="autohide_lightbox_navigation" id="autohide_lightbox_navigation_0" value="0" <?php if (!$row->autohide_lightbox_navigation ) echo 'checked="checked"'; ?> /><label for="autohide_lightbox_navigation_0" class="wd-radio-label"><?php _e('Always',
|
| 3822 |
</div>
|
| 3823 |
-
<p class="description"><?php _e('Choose to display Next/Previous buttons of Photo Gallery lightbox on hover or always.',
|
| 3824 |
</div>
|
| 3825 |
</div>
|
| 3826 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_hit_counter">
|
| 3827 |
<div class="wd-group">
|
| 3828 |
-
<label class="wd-label"><?php _e('Display views counter',
|
| 3829 |
<div class="bwg-flex">
|
| 3830 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_hit_counter" id="popup_hit_counter_1" value="1" <?php if ($row->popup_hit_counter) echo 'checked="checked"'; ?> /><label for="popup_hit_counter_1" class="wd-radio-label"><?php _e('Yes',
|
| 3831 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_hit_counter" id="popup_hit_counter_0" value="0" <?php if (!$row->popup_hit_counter) echo 'checked="checked"'; ?> /><label for="popup_hit_counter_0" class="wd-radio-label"><?php _e('No',
|
| 3832 |
</div>
|
| 3833 |
-
<p class="description"><?php _e('Show the number of views, when a gallery image was opened in lightbox.',
|
| 3834 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3835 |
</div>
|
| 3836 |
</div>
|
| 3837 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_rate">
|
| 3838 |
<div class="wd-group">
|
| 3839 |
-
<label class="wd-label"><?php _e('Enable rating',
|
| 3840 |
<div class="bwg-flex">
|
| 3841 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_rate" id="popup_enable_rate_1" value="1" <?php if ($row->popup_enable_rate) echo 'checked="checked"'; ?> /><label for="popup_enable_rate_1" class="wd-radio-label"><?php _e('Yes',
|
| 3842 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_rate" id="popup_enable_rate_0" value="0" <?php if (!$row->popup_enable_rate) echo 'checked="checked"'; ?> /><label for="popup_enable_rate_0" class="wd-radio-label"><?php _e('No',
|
| 3843 |
</div>
|
| 3844 |
-
<p class="description"><?php _e('Allow users to rate your images by adding rating feature to Photo Gallery lightbox.',
|
| 3845 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3846 |
</div>
|
| 3847 |
</div>
|
| 3848 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_zoom">
|
| 3849 |
<div class="wd-group">
|
| 3850 |
-
<label class="wd-label"><?php _e('Enable zoom',
|
| 3851 |
<div class="bwg-flex">
|
| 3852 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_zoom" id="popup_enable_zoom_1" value="1" <?php if ($row->popup_enable_zoom) echo 'checked="checked"'; ?> /><label for="popup_enable_zoom_1" class="wd-radio-label"><?php _e('Yes',
|
| 3853 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_zoom" id="popup_enable_zoom_0" value="0" <?php if (!$row->popup_enable_zoom) echo 'checked="checked"'; ?> /><label for="popup_enable_zoom_0" class="wd-radio-label"><?php _e('No',
|
| 3854 |
</div>
|
| 3855 |
-
<p class="description"><?php _e('Allow users to zoom images in Photo Gallery lightbox.',
|
| 3856 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3857 |
</div>
|
| 3858 |
</div>
|
|
@@ -3860,106 +3860,106 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3860 |
<div class="wd-box-content wd-width-33">
|
| 3861 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_fullsize_image">
|
| 3862 |
<div class="wd-group">
|
| 3863 |
-
<label class="wd-label"><?php _e('Show Display Original Image button',
|
| 3864 |
<div class="bwg-flex">
|
| 3865 |
-
<input type="radio" name="popup_enable_fullsize_image" id="popup_enable_fullsize_image_1" value="1" <?php if ($row->popup_enable_fullsize_image) echo 'checked="checked"'; ?> /><label for="popup_enable_fullsize_image_1" class="wd-radio-label"><?php _e('Yes',
|
| 3866 |
-
<input type="radio" name="popup_enable_fullsize_image" id="popup_enable_fullsize_image_0" value="0" <?php if (!$row->popup_enable_fullsize_image) echo 'checked="checked"'; ?> /><label for="popup_enable_fullsize_image_0" class="wd-radio-label"><?php _e('No',
|
| 3867 |
</div>
|
| 3868 |
-
<p class="description"><?php _e('Let users view original versions of your images by enabling this button.',
|
| 3869 |
</div>
|
| 3870 |
</div>
|
| 3871 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_download">
|
| 3872 |
<div class="wd-group">
|
| 3873 |
-
<label class="wd-label"><?php _e('Show download button',
|
| 3874 |
<div class="bwg-flex">
|
| 3875 |
-
<input type="radio" name="popup_enable_download" id="popup_enable_download_1" value="1" <?php if ($row->popup_enable_download) echo 'checked="checked"'; ?> /><label for="popup_enable_download_1" class="wd-radio-label"><?php _e('Yes',
|
| 3876 |
-
<input type="radio" name="popup_enable_download" id="popup_enable_download_0" value="0" <?php if (!$row->popup_enable_download) echo 'checked="checked"'; ?> /><label for="popup_enable_download_0" class="wd-radio-label"><?php _e('No',
|
| 3877 |
</div>
|
| 3878 |
-
<p class="description"><?php _e('This option will allow users to download gallery images while viewing them in lightbox.',
|
| 3879 |
</div>
|
| 3880 |
</div>
|
| 3881 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_image_count">
|
| 3882 |
<div class="wd-group">
|
| 3883 |
-
<label class="wd-label"><?php _e('Show image counter',
|
| 3884 |
<div class="bwg-flex">
|
| 3885 |
-
<input type="radio" name="show_image_counts" id="show_image_counts_current_image_number_1" value="1" <?php if ($row->show_image_counts) echo 'checked="checked"'; ?> /><label for="show_image_counts_current_image_number_1" class="wd-radio-label"><?php _e('Yes',
|
| 3886 |
-
<input type="radio" name="show_image_counts" id="show_image_counts_current_image_number_0" value="0" <?php if (!$row->show_image_counts) echo 'checked="checked"'; ?> /><label for="show_image_counts_current_image_number_0" class="wd-radio-label"><?php _e('No',
|
| 3887 |
</div>
|
| 3888 |
-
<p class="description"><?php _e('Enable this option to display image counter on Photo Gallery lightbox.',
|
| 3889 |
</div>
|
| 3890 |
</div>
|
| 3891 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_image_cycle">
|
| 3892 |
<div class="wd-group">
|
| 3893 |
-
<label class="wd-label"><?php _e('Enable looping',
|
| 3894 |
<div class="bwg-flex">
|
| 3895 |
-
<input type="radio" name="enable_loop" id="enable_loop_1" value="1" <?php if ($row->enable_loop) echo 'checked="checked"'; ?> /><label for="enable_loop_1" class="wd-radio-label"><?php _e('Yes',
|
| 3896 |
-
<input type="radio" name="enable_loop" id="enable_loop_0" value="0" <?php if (!$row->enable_loop) echo 'checked="checked"'; ?> /><label for="enable_loop_0" class="wd-radio-label"><?php _e('No',
|
| 3897 |
</div>
|
| 3898 |
-
<p class="description"><?php _e('Activate looping to start lightbox navigation from the beginning when users reach its last image.',
|
| 3899 |
</div>
|
| 3900 |
</div>
|
| 3901 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3902 |
<div class="wd-group">
|
| 3903 |
-
<label class="wd-label"><?php _e('Enable',
|
| 3904 |
<div class="bwg-flex">
|
| 3905 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="enable_addthis" id="enable_addthis_1" value="1" <?php if ($row->enable_addthis ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_addthis_profile_id', 'enable_addthis_1')" /><label for="enable_addthis_1" class="wd-radio-label"><?php _e('Yes',
|
| 3906 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="enable_addthis" id="enable_addthis_0" value="0" <?php if (!$row->enable_addthis ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_addthis_profile_id', 'enable_addthis_0')" /><label for="enable_addthis_0" class="wd-radio-label"><?php _e('No',
|
| 3907 |
</div>
|
| 3908 |
-
<p class="description"><?php _e('Display AddThis on Photo Gallery lightbox by activating this option.',
|
| 3909 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3910 |
</div>
|
| 3911 |
</div>
|
| 3912 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_addthis_profile_id">
|
| 3913 |
<div class="wd-group">
|
| 3914 |
-
<label class="wd-label" for="addthis_profile_id">AddThis <?php _e('profile ID',
|
| 3915 |
<div class="bwg-flex">
|
| 3916 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="text" name="addthis_profile_id" id="addthis_profile_id" value="<?php echo esc_attr($row->addthis_profile_id); ?>" />
|
| 3917 |
</div>
|
| 3918 |
-
<p class="description"><?php _e('Provide the ID of your profile to connect to AddThis.',
|
| 3919 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3920 |
</div>
|
| 3921 |
</div>
|
| 3922 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_facebook">
|
| 3923 |
<div class="wd-group">
|
| 3924 |
-
<label class="wd-label"><?php _e('Show Facebook button',
|
| 3925 |
<div class="bwg-flex">
|
| 3926 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_facebook" id="popup_enable_facebook_1" value="1" <?php if ($row->popup_enable_facebook) echo 'checked="checked"'; ?> /><label for="popup_enable_facebook_1" class="wd-radio-label"><?php _e('Yes',
|
| 3927 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_facebook" id="popup_enable_facebook_0" value="0" <?php if (!$row->popup_enable_facebook) echo 'checked="checked"'; ?> /><label for="popup_enable_facebook_0" class="wd-radio-label"><?php _e('No',
|
| 3928 |
</div>
|
| 3929 |
-
<p class="description"><?php _e('Enabling this setting will add Facebook sharing button to Photo Gallery lightbox.',
|
| 3930 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3931 |
</div>
|
| 3932 |
</div>
|
| 3933 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_twitter">
|
| 3934 |
<div class="wd-group">
|
| 3935 |
-
<label class="wd-label"><?php _e('Show Twitter button',
|
| 3936 |
<div class="bwg-flex">
|
| 3937 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_twitter" id="popup_enable_twitter_1" value="1" <?php if ($row->popup_enable_twitter) echo 'checked="checked"'; ?> /><label for="popup_enable_twitter_1" class="wd-radio-label"><?php _e('Yes',
|
| 3938 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_twitter" id="popup_enable_twitter_0" value="0" <?php if (!$row->popup_enable_twitter) echo 'checked="checked"'; ?> /><label for="popup_enable_twitter_0" class="wd-radio-label"><?php _e('No',
|
| 3939 |
</div>
|
| 3940 |
-
<p class="description"><?php _e('Enable this setting to add Tweet button to Photo Gallery lightbox.',
|
| 3941 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3942 |
</div>
|
| 3943 |
</div>
|
| 3944 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_pinterest">
|
| 3945 |
<div class="wd-group">
|
| 3946 |
-
<label class="wd-label"><?php _e('Show Pinterest button',
|
| 3947 |
<div class="bwg-flex">
|
| 3948 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_pinterest" id="popup_enable_pinterest_1" value="1" <?php if ($row->popup_enable_pinterest) echo 'checked="checked"'; ?> /><label for="popup_enable_pinterest_1" class="wd-radio-label"><?php _e('Yes',
|
| 3949 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_pinterest" id="popup_enable_pinterest_0" value="0" <?php if (!$row->popup_enable_pinterest) echo 'checked="checked"'; ?> /><label for="popup_enable_pinterest_0" class="wd-radio-label"><?php _e('No',
|
| 3950 |
</div>
|
| 3951 |
-
<p class="description"><?php _e('Activate Pin button of Photo Gallery lightbox by enabling this setting.',
|
| 3952 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3953 |
</div>
|
| 3954 |
</div>
|
| 3955 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_tumblr">
|
| 3956 |
<div class="wd-group">
|
| 3957 |
-
<label class="wd-label"><?php _e('Show Tumblr button',
|
| 3958 |
<div class="bwg-flex">
|
| 3959 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_tumblr" id="popup_enable_tumblr_1" value="1" <?php if ($row->popup_enable_tumblr) echo 'checked="checked"'; ?> /><label for="popup_enable_tumblr_1" class="wd-radio-label"><?php _e('Yes',
|
| 3960 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_tumblr" id="popup_enable_tumblr_0" value="0" <?php if (!$row->popup_enable_tumblr) echo 'checked="checked"'; ?> /><label for="popup_enable_tumblr_0" class="wd-radio-label"><?php _e('No',
|
| 3961 |
</div>
|
| 3962 |
-
<p class="description"><?php _e('Allow users to share images on Tumblr from Photo Gallery lightbox by activating this setting.',
|
| 3963 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3964 |
</div>
|
| 3965 |
</div>
|
|
@@ -3968,12 +3968,12 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
| 3968 |
?>
|
| 3969 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_ecommerce">
|
| 3970 |
<div class="wd-group">
|
| 3971 |
-
<label class="wd-label"><?php _e('Show Ecommerce button',
|
| 3972 |
<div class="bwg-flex">
|
| 3973 |
-
<input type="radio" name="popup_enable_ecommerce" id="popup_enable_ecommerce_1" value="1" <?php if ($row->popup_enable_ecommerce) echo 'checked="checked"'; ?> /><label for="popup_enable_ecommerce_1" class="wd-radio-label"><?php _e('Yes',
|
| 3974 |
-
<input type="radio" name="popup_enable_ecommerce" id="popup_enable_ecommerce_0" value="0" <?php if (!$row->popup_enable_ecommerce) echo 'checked="checked"'; ?> /><label for="popup_enable_ecommerce_0" class="wd-radio-label"><?php _e('No',
|
| 3975 |
</div>
|
| 3976 |
-
<p class="description"><?php _e('Enable this option to display ecommerce icon on Photo Gallery lightbox',
|
| 3977 |
</div>
|
| 3978 |
</div>
|
| 3979 |
<?php
|
| 54 |
$buttons = array(
|
| 55 |
'save' => array(
|
| 56 |
'id' => 'bwg_save_options',
|
| 57 |
+
'title' => __('Save options', 'photo-gallery'),
|
| 58 |
'onclick' => 'spider_set_input_value("task", "save")',
|
| 59 |
'class' => 'tw-button-primary',
|
| 60 |
),
|
| 61 |
'reset' => array(
|
| 62 |
'id' => 'bwg_save_options',
|
| 63 |
+
'title' => __('Reset', 'photo-gallery'),
|
| 64 |
+
'onclick' => 'if (confirm("' . addslashes(__('Do you want to reset to default?', 'photo-gallery')) . '")) {
|
| 65 |
spider_set_input_value("task", "reset");
|
| 66 |
} else {
|
| 67 |
return false;
|
| 89 |
<div id='search_in_options_container' class="top">
|
| 90 |
<ul class="bwg-tabs">
|
| 91 |
<li class="tabs">
|
| 92 |
+
<a href="#bwg_tab_general_content" class="bwg-tablink"><?php _e('General', 'photo-gallery'); ?>
|
| 93 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 94 |
</a>
|
| 95 |
<div class='search_count' id="bwg_tab_general_content_bage"></div>
|
| 96 |
</li>
|
| 97 |
<li class="tabs">
|
| 98 |
+
<a href="#bwg_tab_gallery_content" class="bwg-tablink"><?php _e('Gallery views', 'photo-gallery'); ?>
|
| 99 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 100 |
</a>
|
| 101 |
<div class='search_count' id="bwg_tab_gallery_content_bage"></div>
|
| 102 |
</li>
|
| 103 |
<li class="tabs">
|
| 104 |
+
<a href="#bwg_tab_gallery_group_content" class="bwg-tablink"><?php _e('Group of gallery views', 'photo-gallery'); ?>
|
| 105 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 106 |
</a>
|
| 107 |
<div class='search_count' id="bwg_tab_gallery_group_content_bage"></div>
|
| 108 |
</li>
|
| 109 |
<li class="tabs">
|
| 110 |
+
<a href="#bwg_tab_lightbox_content" class="bwg-tablink"><?php _e('Lightbox', 'photo-gallery'); ?>
|
| 111 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 112 |
</a>
|
| 113 |
<div class='search_count' id="bwg_tab_lightbox_content_bage"></div>
|
| 114 |
</li>
|
| 115 |
<li class="tabs">
|
| 116 |
+
<a href="#bwg_tab_watermark_content" class="bwg-tablink"><?php _e('Watermark', 'photo-gallery'); ?>
|
| 117 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 118 |
</a>
|
| 119 |
<div class='search_count' id="bwg_tab_watermark_content_bage"></div>
|
| 120 |
</li>
|
| 121 |
<li class="tabs">
|
| 122 |
+
<a href="#bwg_tab_advanced_content" class="bwg-tablink"><?php _e('Advanced', 'photo-gallery'); ?>
|
| 123 |
<a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
|
| 124 |
</a>
|
| 125 |
<div class='search_count' id="bwg_tab_advanced_content_bage"></div>
|
| 144 |
?>
|
| 145 |
<div class="wd-box-content wd-width-100">
|
| 146 |
<div class="wd-group">
|
| 147 |
+
<label class="wd-label" for="images_directory"><?php _e('Images directory', 'photo-gallery'); ?></label>
|
| 148 |
<div class="bwg-flex">
|
| 149 |
+
<input id="images_directory" name="images_directory" type="text" style="display:inline-block; width:100%;" value="<?php echo esc_url($row->images_directory); ?>" />
|
| 150 |
+
<input type="hidden" id="old_images_directory" name="old_images_directory" value="<?php echo esc_url($row->old_images_directory); ?>" />
|
| 151 |
</div>
|
| 152 |
+
<p class="description"><?php _e('Provide the path of an existing folder inside the WordPress directory of your website to store uploaded images.<br />The content of the previous directory will be moved to the new one.', 'photo-gallery'); ?></p>
|
| 153 |
</div>
|
| 154 |
</div>
|
| 155 |
<?php
|
| 157 |
?>
|
| 158 |
<div class="wd-box-content wd-width-100">
|
| 159 |
<div class="wd-group">
|
| 160 |
+
<label class="wd-label"><?php _e('Image click action', 'photo-gallery'); ?></label>
|
| 161 |
<div class="bwg-flex">
|
| 162 |
+
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if ($row->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_1" class="wd-radio-label"><?php _e('Open lightbox', 'photo-gallery'); ?></label></div>
|
| 163 |
+
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if ($row->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_2" class="wd-radio-label"><?php _e('Redirect to url', 'photo-gallery'); ?></label></div>
|
| 164 |
+
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if ($row->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_3" class="wd-radio-label"><?php _e('Do Nothing', 'photo-gallery'); ?></label></div>
|
| 165 |
</div>
|
| 166 |
+
<p class="description"><?php _e('Select the action which runs after clicking on gallery thumbnails.', 'photo-gallery'); ?></p>
|
| 167 |
</div>
|
| 168 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-redirect" id="tr_thumb_link_target">
|
| 169 |
<div class="wd-group">
|
| 170 |
+
<label class="wd-label"><?php _e('Open in a new window', 'photo-gallery'); ?></label>
|
| 171 |
<div class="bwg-flex">
|
| 172 |
+
<input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if ($row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 173 |
+
<input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!$row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 174 |
</div>
|
| 175 |
</div>
|
| 176 |
</div>
|
| 177 |
</div>
|
| 178 |
<div class="wd-box-content wd-width-100">
|
| 179 |
<div class="wd-group">
|
| 180 |
+
<label class="wd-label" for="upload_img_width"><?php _e('Image dimensions', 'photo-gallery'); ?></label>
|
| 181 |
<div class="bwg-flex">
|
| 182 |
<input type="number" name="upload_img_width" id="upload_img_width" value="<?php echo intval($row->upload_img_width); ?>" min="0" /><span>x</span>
|
| 183 |
<input type="number" name="upload_img_height" id="upload_img_height" value="<?php echo intval($row->upload_img_height); ?>" min="0" /><span>px</span>
|
| 184 |
</div>
|
| 185 |
+
<p class="description"><?php _e('Specify the maximum dimensions of uploaded images (set 0 for original size).', 'photo-gallery'); ?></p>
|
| 186 |
</div>
|
| 187 |
</div>
|
| 188 |
<div class="wd-box-content wd-width-100">
|
| 189 |
<div class="wd-group">
|
| 190 |
+
<label class="wd-label" for="upload_thumb_width"><?php _e('Generated thumbnail dimensions', 'photo-gallery'); ?></label>
|
| 191 |
<div class="bwg-flex">
|
| 192 |
<input type="number" name="upload_thumb_width" id="upload_thumb_width" value="<?php echo intval($row->upload_thumb_width); ?>" min="0" /><span>x</span>
|
| 193 |
<input type="number" name="upload_thumb_height" id="upload_thumb_height" value="<?php echo intval($row->upload_thumb_height); ?>" min="0" /><span>px</span>
|
| 194 |
<input type="hidden" name="imgcount" id="bwg_imgcount" value="<?php echo intval($imgcount); ?>">
|
| 195 |
+
<input type="submit" class="button-primary" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\'); return false;' : (BWG()->wp_editor_exists ? 'return bwg_recreate_thumb(0);' : 'alert(\'' . addslashes(__('Image edit functionality is not supported by your web host.', 'photo-gallery')) . '\'); return false;')); ?>" value="<?php _e('Recreate', 'photo-gallery'); ?>" />
|
| 196 |
</div>
|
| 197 |
+
<p class="description"><?php _e('Specify the maximum dimensions of generated thumbnails. They must be larger than frontend thumbnail dimensions.', 'photo-gallery'); ?></p>
|
| 198 |
</div>
|
| 199 |
</div>
|
| 200 |
<div class="wd-box-content wd-width-100">
|
| 201 |
<div class="wd-group">
|
| 202 |
+
<label class="wd-label" for="image_quality"><?php _e('Image quality', 'photo-gallery'); ?></label>
|
| 203 |
<div class="bwg-flex">
|
| 204 |
<input type="number" name="image_quality" id="image_quality" value="<?php echo intval($row->image_quality); ?>" min="0" max="100" /><span>%</span>
|
| 205 |
</div>
|
| 206 |
+
<p class="description"><?php _e('Set the quality of gallery images. Provide a value from 0 to 100%.', 'photo-gallery'); ?></p>
|
| 207 |
</div>
|
| 208 |
</div>
|
| 209 |
<div class="wd-box-content wd-width-100">
|
| 210 |
<div class="wd-group">
|
| 211 |
+
<label class="wd-label"><?php _e('Resizable thumbnails', 'photo-gallery'); ?></label>
|
| 212 |
<div class="bwg-flex">
|
| 213 |
+
<input type="radio" name="resizable_thumbnails" id="resizable_thumbnails_1" value="1" <?php if ($row->resizable_thumbnails) echo 'checked="checked"'; ?> /><label for="resizable_thumbnails_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 214 |
+
<input type="radio" name="resizable_thumbnails" id="resizable_thumbnails_0" value="0" <?php if (!$row->resizable_thumbnails) echo 'checked="checked"'; ?> /><label for="resizable_thumbnails_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 215 |
</div>
|
| 216 |
+
<p class="description"><?php _e('Enable this option to allow resizing gallery thumbnails on smaller screens.', 'photo-gallery'); ?></p>
|
| 217 |
</div>
|
| 218 |
</div>
|
| 219 |
<div class="wd-box-content wd-width-100">
|
| 220 |
<div class="wd-group">
|
| 221 |
+
<label class="wd-label"><?php _e('Lazy load', 'photo-gallery'); ?></label>
|
| 222 |
<div class="bwg-flex">
|
| 223 |
+
<input type="radio" name="lazyload_images" id="lazyload_images_1" value="1" <?php if ($row->lazyload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_lazyload_images_count', 'lazyload_images_1')" /><label for="lazyload_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 224 |
+
<input type="radio" name="lazyload_images" id="lazyload_images_0" value="0" <?php if (!$row->lazyload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_lazyload_images_count', 'lazyload_images_0')" /><label for="lazyload_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 225 |
</div>
|
| 226 |
+
<p class="description"><?php _e('Enable this option to activate lazy loading for images and improve the loading speed on your galleries.', 'photo-gallery'); ?></p>
|
| 227 |
</div>
|
| 228 |
</div>
|
| 229 |
<div class="wd-box-content wd-width-100">
|
| 230 |
<div class="wd-group">
|
| 231 |
+
<label class="wd-label"><?php _e('Preload images', 'photo-gallery'); ?></label>
|
| 232 |
<div class="bwg-flex">
|
| 233 |
+
<input type="radio" name="preload_images" id="preload_images_1" value="1" <?php if ($row->preload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_preload_images_count', 'preload_images_1')" /><label for="preload_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 234 |
+
<input type="radio" name="preload_images" id="preload_images_0" value="0" <?php if (!$row->preload_images) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_preload_images_count', 'preload_images_0')" /><label for="preload_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 235 |
</div>
|
| 236 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery loads a specific number of images before opening lightbox. This lets you showcase images without loading delays, providing better user experience.', 'photo-gallery'); ?></p>
|
| 237 |
</div>
|
| 238 |
</div>
|
| 239 |
<div class="wd-box-content wd-width-100" id="tr_preload_images_count">
|
| 240 |
<div class="wd-group">
|
| 241 |
+
<label class="wd-label" for="preload_images_count"><?php _e('Number of preloaded images', 'photo-gallery'); ?></label>
|
| 242 |
<div class="bwg-flex">
|
| 243 |
<input type="number" name="preload_images_count" id="preload_images_count" value="<?php echo intval($row->preload_images_count); ?>" min="0" />
|
| 244 |
</div>
|
| 245 |
+
<p class="description"><?php _e('Specify the number of images to preload, e.g. 5 (set 0 for all).', 'photo-gallery'); ?></p>
|
| 246 |
</div>
|
| 247 |
</div>
|
| 248 |
<div class="wd-box-content wd-width-100">
|
| 249 |
<div class="wd-group">
|
| 250 |
+
<label class="wd-label"><?php _e('Show custom posts', 'photo-gallery'); ?></label>
|
| 251 |
<div class="bwg-flex">
|
| 252 |
+
<input type="radio" name="show_hide_custom_post" id="show_hide_custom_post_1" value="1" <?php if ($row->show_hide_custom_post) echo 'checked="checked"'; ?> /><label for="show_hide_custom_post_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 253 |
+
<input type="radio" name="show_hide_custom_post" id="show_hide_custom_post_0" value="0" <?php if (!$row->show_hide_custom_post) echo 'checked="checked"'; ?> /><label for="show_hide_custom_post_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 254 |
</div>
|
| 255 |
+
<p class="description"><?php _e('Activate this setting to display Photo Gallery custom posts with new menu items under WordPress admin menu.', 'photo-gallery'); ?></p>
|
| 256 |
</div>
|
| 257 |
</div>
|
| 258 |
<div class="wd-box-content wd-width-100">
|
| 259 |
<div class="wd-group">
|
| 260 |
+
<label class="wd-label"><?php _e('Discourage Search Engine Visibility', 'photo-gallery'); ?></label>
|
| 261 |
<div class="bwg-flex">
|
| 262 |
+
<input type="radio" name="noindex_custom_post" id="noindex_custom_post_1" value="1" <?php if ($row->noindex_custom_post) echo 'checked="checked"'; ?> /><label for="noindex_custom_post_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 263 |
+
<input type="radio" name="noindex_custom_post" id="noindex_custom_post_0" value="0" <?php if (!$row->noindex_custom_post) echo 'checked="checked"'; ?> /><label for="noindex_custom_post_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 264 |
</div>
|
| 265 |
+
<p class="description"><?php _e('Discourage search engines from indexing Photo Gallery custom posts.', 'photo-gallery'); ?></p>
|
| 266 |
</div>
|
| 267 |
</div>
|
| 268 |
<div class="wd-box-content wd-width-100">
|
| 269 |
<div class="wd-group">
|
| 270 |
+
<label class="wd-label"><?php _e('Show comments for custom posts', 'photo-gallery'); ?></label>
|
| 271 |
<div class="bwg-flex">
|
| 272 |
+
<input type="radio" name="show_hide_post_meta" id="show_hide_post_meta_1" value="1" <?php if ($row->show_hide_post_meta) echo 'checked="checked"'; ?> /><label for="show_hide_post_meta_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 273 |
+
<input type="radio" name="show_hide_post_meta" id="show_hide_post_meta_0" value="0" <?php if (!$row->show_hide_post_meta) echo 'checked="checked"'; ?> /><label for="show_hide_post_meta_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 274 |
</div>
|
| 275 |
+
<p class="description"><?php _e('Use this setting to show or hide comments under Photo Gallery custom posts.', 'photo-gallery'); ?></p>
|
| 276 |
</div>
|
| 277 |
</div>
|
| 278 |
<div class="wd-box-content wd-width-100">
|
| 279 |
<div class="wd-group">
|
| 280 |
+
<label class="wd-label"><?php _e('Use AND operator for tag filtering', 'photo-gallery'); ?></label>
|
| 281 |
<div class="bwg-flex">
|
| 282 |
+
<input type="radio" name="tags_filter_and_or" id="tags_filter_and_or_1" value="1" <?php if ($row->tags_filter_and_or) echo 'checked="checked"'; ?> /><label for="tags_filter_and_or_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 283 |
+
<input type="radio" name="tags_filter_and_or" id="tags_filter_and_or_0" value="0" <?php if (!$row->tags_filter_and_or) echo 'checked="checked"'; ?> /><label for="tags_filter_and_or_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 284 |
</div>
|
| 285 |
+
<p class="description"><?php _e('Enable this option to filter images with AND operator. In this case, the filter results must have all selected tags in the Tag Box.', 'photo-gallery'); ?></p>
|
| 286 |
</div>
|
| 287 |
</div>
|
| 288 |
<div class="wd-box-content wd-width-100">
|
| 289 |
<div class="wd-group">
|
| 290 |
+
<label class="wd-label"><?php _e('Enable GDPR compliance', 'photo-gallery'); ?></label>
|
| 291 |
<div class="bwg-flex">
|
| 292 |
+
<input type="radio" name="gdpr_compliance" id="gdpr_compliance_1" value="1" <?php if ($row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="gdpr_compliance_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 293 |
+
<input type="radio" name="gdpr_compliance" id="gdpr_compliance_0" value="0" <?php if (!$row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="gdpr_compliance_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 294 |
</div>
|
| 295 |
+
<p class="description"><?php _e('Enable this option to have General Data Protection Regulation.', 'photo-gallery'); ?></p>
|
| 296 |
</div>
|
| 297 |
</div>
|
| 298 |
</div>
|
| 299 |
<div class="wd-box-content wd-width-50">
|
| 300 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 301 |
<div class="wd-group">
|
| 302 |
+
<label class="wd-label"><?php _e('Save IP ', 'photo-gallery'); ?></label>
|
| 303 |
<div class="bwg-flex">
|
| 304 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="save_ip" id="save_ip_1" value="1" <?php if ($row->save_ip) echo 'checked="checked"'; ?> /><label for="save_ip_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 305 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="save_ip" id="save_ip_0" value="0" <?php if (!$row->save_ip) echo 'checked="checked"'; ?> /><label for="save_ip_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 306 |
</div>
|
| 307 |
+
<p class="description"><?php _e('Disable saving user IP address when rating the images.', 'photo-gallery'); ?></p>
|
| 308 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 309 |
</div>
|
| 310 |
</div>
|
| 311 |
<div class="wd-box-content wd-width-100">
|
| 312 |
<div class="wd-group">
|
| 313 |
+
<label class="wd-label"><?php _e('Right-click protection', 'photo-gallery'); ?></label>
|
| 314 |
<div class="bwg-flex">
|
| 315 |
+
<input type="radio" name="image_right_click" id="image_right_click_1" value="1" <?php if ($row->image_right_click) echo 'checked="checked"'; ?> /><label for="image_right_click_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 316 |
+
<input type="radio" name="image_right_click" id="image_right_click_0" value="0" <?php if (!$row->image_right_click) echo 'checked="checked"'; ?> /><label for="image_right_click_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 317 |
</div>
|
| 318 |
+
<p class="description"><?php _e('Switch off right-click on your gallery images by enabling this setting.', 'photo-gallery'); ?></p>
|
| 319 |
</div>
|
| 320 |
</div>
|
| 321 |
<div class="wd-box-content wd-width-100">
|
| 322 |
<div class="wd-group">
|
| 323 |
+
<label class="wd-label"><?php _e('Include styles/scripts on gallery pages only', 'photo-gallery'); ?></label>
|
| 324 |
<div class="bwg-flex">
|
| 325 |
+
<input type="radio" name="use_inline_stiles_and_scripts" id="use_inline_stiles_and_scripts_1" value="1" <?php if ($row->use_inline_stiles_and_scripts) echo 'checked="checked"'; ?> /><label for="use_inline_stiles_and_scripts_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 326 |
+
<input type="radio" name="use_inline_stiles_and_scripts" id="use_inline_stiles_and_scripts_0" value="0" <?php if (!$row->use_inline_stiles_and_scripts) echo 'checked="checked"'; ?> /><label for="use_inline_stiles_and_scripts_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 327 |
</div>
|
| 328 |
+
<p class="description"><?php _e('If this option is enabled, CSS and Javascript files of Photo Gallery will only load on pages with galleries and gallery groups.', 'photo-gallery'); ?></p>
|
| 329 |
</div>
|
| 330 |
</div>
|
| 331 |
<div class="wd-box-content wd-width-100">
|
| 332 |
<div class="wd-group">
|
| 333 |
+
<label class="wd-label"><?php _e('Enable Google fonts', 'photo-gallery'); ?></label>
|
| 334 |
<div class="bwg-flex">
|
| 335 |
+
<input type="radio" name="enable_google_fonts" id="enable_google_fonts_1" value="1" <?php if ($row->enable_google_fonts) echo 'checked="checked"'; ?> /><label for="enable_google_fonts_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 336 |
+
<input type="radio" name="enable_google_fonts" id="enable_google_fonts_0" value="0" <?php if (!$row->enable_google_fonts) echo 'checked="checked"'; ?> /><label for="enable_google_fonts_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 337 |
</div>
|
| 338 |
+
<p class="description"><?php _e('If this option is disabled, Google fonts will not be included in your pages.', 'photo-gallery'); ?></p>
|
| 339 |
</div>
|
| 340 |
</div>
|
| 341 |
<div class="wd-box-content wd-width-100">
|
| 342 |
<div class="wd-group">
|
| 343 |
+
<label class="wd-label"><?php _e('Enable HTML editor', 'photo-gallery'); ?></label>
|
| 344 |
<div class="bwg-flex">
|
| 345 |
+
<input type="radio" name="enable_wp_editor" id="enable_wp_editor_1" value="1" <?php if ($row->enable_wp_editor) echo 'checked="checked"'; ?> /><label for="enable_wp_editor_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 346 |
+
<input type="radio" name="enable_wp_editor" id="enable_wp_editor_0" value="0" <?php if (!$row->enable_wp_editor) echo 'checked="checked"'; ?> /><label for="enable_wp_editor_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 347 |
</div>
|
| 348 |
+
<p class="description"><?php _e('Description text boxes of Photo Gallery will use TinyMCE editor, in case this setting is enabled.', 'photo-gallery'); ?></p>
|
| 349 |
</div>
|
| 350 |
<div class="wd-box-content wd-width-100">
|
| 351 |
<div class="wd-group">
|
| 352 |
+
<label class="wd-label"><?php _e('Enable get parameter for image URL', 'photo-gallery'); ?></label>
|
| 353 |
<div class="bwg-flex">
|
| 354 |
+
<input type="radio" name="enable_date_parameter" id="enable_date_parameter_1" value="1" <?php if ($row->enable_date_parameter) echo 'checked="checked"'; ?> /><label for="enable_date_parameter_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 355 |
+
<input type="radio" name="enable_date_parameter" id="enable_date_parameter_0" value="0" <?php if (!$row->enable_date_parameter) echo 'checked="checked"'; ?> /><label for="enable_date_parameter_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 356 |
</div>
|
| 357 |
+
<p class="description"><?php _e('If this option is enabled, some IDs will be added after the image extension to enable CDN to serve those images.', 'photo-gallery'); ?></p>
|
| 358 |
</div>
|
| 359 |
</div>
|
| 360 |
<div class="wd-box-content wd-width-100">
|
| 361 |
<div class="wd-group">
|
| 362 |
+
<label class="wd-label"><?php _e('Enable href attribute', 'photo-gallery'); ?></label>
|
| 363 |
<div class="bwg-flex">
|
| 364 |
+
<input type="radio" name="enable_seo" id="enable_seo_1" value="1" <?php if ($row->enable_seo) echo 'checked="checked"'; ?> /><label for="enable_seo_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 365 |
+
<input type="radio" name="enable_seo" id="enable_seo_0" value="0" <?php if (!$row->enable_seo) echo 'checked="checked"'; ?> /><label for="enable_seo_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 366 |
</div>
|
| 367 |
+
<p class="description"><?php _e('Disable this option only if Photo Gallery conflicts with your theme.', 'photo-gallery'); ?></p>
|
| 368 |
</div>
|
| 369 |
</div>
|
| 370 |
<div class="wd-box-content wd-width-100">
|
| 371 |
<div class="wd-group">
|
| 372 |
+
<label class="wd-label"><?php _e('Auto-fill metadata', 'photo-gallery'); ?></label>
|
| 373 |
<div class="bwg-flex">
|
| 374 |
+
<input type="radio" name="read_metadata" id="read_metadata_1" value="1" <?php if ($row->read_metadata) echo 'checked="checked"'; ?> /><label for="read_metadata_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 375 |
+
<input type="radio" name="read_metadata" id="read_metadata_0" value="0" <?php if (!$row->read_metadata) echo 'checked="checked"'; ?> /><label for="read_metadata_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 376 |
</div>
|
| 377 |
+
<p class="description"><?php _e('Enabling this option will let the plugin fill in meta descriptions of photos into Image Description option automatically.', 'photo-gallery'); ?></p>
|
| 378 |
</div>
|
| 379 |
</div>
|
| 380 |
<div class="wd-box-content wd-width-100">
|
| 381 |
<div class="wd-group">
|
| 382 |
+
<label class="wd-label"><?php _e('Generate Shortcode', 'photo-gallery'); ?></label>
|
| 383 |
<div class="bwg-flex">
|
| 384 |
<a class="button" href="<?php echo add_query_arg( array( 'page' => 'shortcode_' . BWG()->prefix), admin_url('admin.php') ); ?>" target="_blank">
|
| 385 |
+
<?php _e('Generate Shortcode', 'photo-gallery'); ?>
|
| 386 |
</a>
|
| 387 |
</div>
|
| 388 |
+
<p class="description"><?php _e('Generate or edit Photo Gallery shortcodes that are used to publish galleries or gallery groups.', 'photo-gallery'); ?></p>
|
| 389 |
</div>
|
| 390 |
<div class="wd-group">
|
| 391 |
+
<label class="wd-label"><?php _e('Enable dynamic URLs for galleries and gallery groups', 'photo-gallery'); ?></label>
|
| 392 |
<div class="bwg-flex">
|
| 393 |
+
<input type="radio" name="front_ajax" id="front_ajax_1" value="1" <?php if ($row->front_ajax) echo 'checked="checked"'; ?> /><label for="front_ajax_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 394 |
+
<input type="radio" name="front_ajax" id="front_ajax_0" value="0" <?php if (!$row->front_ajax) echo 'checked="checked"'; ?> /><label for="front_ajax_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 395 |
</div>
|
| 396 |
+
<p class="description"><?php _e('Enable this option to browse galleries and gallery groups, as well as search results and tagged images with dynamic links.', 'photo-gallery'); ?></p>
|
| 397 |
</div>
|
| 398 |
<div class="wd-group">
|
| 399 |
+
<label class="wd-label"><?php _e('Developer mode', 'photo-gallery'); ?></label>
|
| 400 |
<div class="bwg-flex">
|
| 401 |
+
<input type="radio" name="developer_mode" id="developer_mode_1" value="1" <?php if ($row->developer_mode) echo 'checked="checked"'; ?> /><label for="developer_mode_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 402 |
+
<input type="radio" name="developer_mode" id="developer_mode_0" value="0" <?php if (!$row->developer_mode) echo 'checked="checked"'; ?> /><label for="developer_mode_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 403 |
</div>
|
| 404 |
+
<p class="description"><?php _e('Do not use minified JS and CSS files. Enable this option if You need to debug JS or CSS issues.', 'photo-gallery'); ?></p>
|
| 405 |
</div>
|
| 406 |
</div>
|
| 407 |
<?php
|
| 409 |
?>
|
| 410 |
<div class="wd-box-content wd-width-100">
|
| 411 |
<div class="wd-group">
|
| 412 |
+
<label class="wd-label"><?php echo sprintf(__('Uninstall %s', 'photo-gallery'), BWG()->nicename); ?></label>
|
| 413 |
<div class="bwg-flex">
|
| 414 |
<a class="button" href="<?php echo add_query_arg( array( 'page' => 'uninstall_' . BWG()->prefix), admin_url('admin.php') ); ?>">
|
| 415 |
+
<?php _e('Uninstall', 'photo-gallery'); ?>
|
| 416 |
</a>
|
| 417 |
</div>
|
| 418 |
+
<p class="description"><?php _e('Note, that uninstalling Photo Gallery will completely remove all galleries, gallery groups and other data on the plugin. Please make sure you don\'t have any important information before you proceed.', 'photo-gallery'); ?></p>
|
| 419 |
</div>
|
| 420 |
</div>
|
| 421 |
<?php
|
| 439 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_active.svg'; ?>" />
|
| 440 |
</label>
|
| 441 |
<input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails" />
|
| 442 |
+
<label class="gallery_type_label" for="thumbnails"><?php echo __('Thumbnails', 'photo-gallery'); ?></label>
|
| 443 |
</div>
|
| 444 |
</span>
|
| 445 |
<span class="gallery_type bwg-thumbnails_masonry" onClick="bwg_gallery_type_options('thumbnails_masonry')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 449 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry_active.svg'; ?>" />
|
| 450 |
</label>
|
| 451 |
<input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" />
|
| 452 |
+
<label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry', 'photo-gallery'); ?></label>
|
| 453 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 454 |
<span class="pro_btn">Premium</span>
|
| 455 |
<?php } ?>
|
| 462 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic_active.svg'; ?>" />
|
| 463 |
</label>
|
| 464 |
<input type="radio" class="gallery_type_radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" />
|
| 465 |
+
<label class="gallery_type_label" for="thumbnails_mosaic"><?php echo __('Mosaic', 'photo-gallery'); ?></label>
|
| 466 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 467 |
<span class="pro_btn">Premium</span>
|
| 468 |
<?php } ?>
|
| 475 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/slideshow_active.svg'; ?>" />
|
| 476 |
</label>
|
| 477 |
<input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" />
|
| 478 |
+
<label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow', 'photo-gallery'); ?></label>
|
| 479 |
</div>
|
| 480 |
</span>
|
| 481 |
<span class="gallery_type" onClick="bwg_gallery_type_options('image_browser')">
|
| 485 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/image_browser_active.svg'; ?>" />
|
| 486 |
</label>
|
| 487 |
<input type="radio" class="gallery_type_radio" id="image_browser" name="gallery_type" value="image_browser" />
|
| 488 |
+
<label class="gallery_type_label" for="image_browser"><?php echo __('Image Browser', 'photo-gallery'); ?></label>
|
| 489 |
</div>
|
| 490 |
</span>
|
| 491 |
<span class="gallery_type bwg-blog_style" onClick="bwg_gallery_type_options('blog_style')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_blog_style.png'; ?>" data-title="Blog Style" data-demo-link="https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 495 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/blog_style_active.svg'; ?>" />
|
| 496 |
</label>
|
| 497 |
<input type="radio" class="gallery_type_radio" id="blog_style" name="gallery_type" value="blog_style" />
|
| 498 |
+
<label class="gallery_type_label" for="blog_style"><?php echo __('Blog Style', 'photo-gallery'); ?></label>
|
| 499 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 500 |
<span class="pro_btn">Premium</span>
|
| 501 |
<?php } ?>
|
| 508 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/carousel_active.svg'; ?>" />
|
| 509 |
</label>
|
| 510 |
<input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" />
|
| 511 |
+
<label class="gallery_type_label" for="carousel"><?php echo __('Carousel', 'photo-gallery'); ?></label>
|
| 512 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 513 |
<span class="pro_btn">Premium</span>
|
| 514 |
<?php } ?>
|
| 516 |
</span>
|
| 517 |
</div>
|
| 518 |
<div class="bwg_select_gallery_type">
|
| 519 |
+
<!-- <label class="wd-label" for="gallery_types_name">--><?php //_e('View type', 'photo-gallery'); ?><!--</label>-->
|
| 520 |
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type_options(jQuery(this).val());">
|
| 521 |
<?php
|
| 522 |
foreach ($gallery_types_name as $key=>$gallery_type_name) {
|
| 585 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview_active.svg'; ?>" />
|
| 586 |
</label>
|
| 587 |
<input type="radio" class="album_type_radio" id="album_compact_preview" name="album_type" value="album_compact_preview" />
|
| 588 |
+
<label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', 'photo-gallery'); ?></label>
|
| 589 |
</div>
|
| 590 |
</span>
|
| 591 |
<span class="gallery_type bwg-album_masonry_preview" onClick="bwg_album_type_options('album_masonry_preview')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 596 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview_active.svg'; ?>" />
|
| 597 |
</label>
|
| 598 |
<input type="radio" class="album_type_radio" id="album_masonry_preview" name="album_type" value="album_masonry_preview" />
|
| 599 |
+
<label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', 'photo-gallery'); ?></label>
|
| 600 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 601 |
<span class="pro_btn">Premium</span>
|
| 602 |
<?php } ?>
|
| 609 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview_active.svg'; ?>" />
|
| 610 |
</label>
|
| 611 |
<input type="radio" class="album_type_radio" id="album_extended_preview" name="album_type" value="album_extended_preview" />
|
| 612 |
+
<label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', 'photo-gallery'); ?></label>
|
| 613 |
</div>
|
| 614 |
</span>
|
| 615 |
</div>
|
| 616 |
<div class="bwg_select_gallery_type">
|
| 617 |
+
<!-- <label class="wd-label" for="album_types_name">--><?php //_e('View type', 'photo-gallery'); ?><!--</label>-->
|
| 618 |
<select name="album_types_name" id="album_types_name" onchange="bwg_album_type_options(jQuery(this).val());">
|
| 619 |
<?php
|
| 620 |
foreach ($album_types_name as $key=>$album_type_name) {
|
| 683 |
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
| 684 |
<div class="postbox">
|
| 685 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 686 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 687 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 688 |
</button>
|
| 689 |
<h2 class="hndle">
|
| 690 |
+
<span><?php _e('Social', 'photo-gallery'); ?></span>
|
| 691 |
</h2>
|
| 692 |
<div class="inside bwg-flex-wrap">
|
| 693 |
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
| 694 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 695 |
<div class="wd-group wd-width-50">
|
| 696 |
+
<label class="wd-label" for="autoupdate_interval_hour"><?php _e('Gallery autoupdate interval', 'photo-gallery'); ?></label>
|
| 697 |
<div class="bwg-flex">
|
| 698 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" id="autoupdate_interval_hour" name="autoupdate_interval_hour" min="0" max="24" value="<?php echo floor($row->autoupdate_interval / 60); ?>" />
|
| 699 |
+
<span><?php _e('hour', 'photo-gallery'); ?></span>
|
| 700 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" id="autoupdate_interval_min" name="autoupdate_interval_min" min="0" max="59" value="<?php echo floor($row->autoupdate_interval % 60); ?>" />
|
| 701 |
+
<span><?php _e('min', 'photo-gallery'); ?></span>
|
| 702 |
</div>
|
| 703 |
+
<p class="description"><?php _e('Set the interval when Instagram galleries will be updated, and will display new posts of your Instagram or Facebook account.', 'photo-gallery') ?></p>
|
| 704 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 705 |
</div>
|
| 706 |
</div>
|
| 707 |
<div class="wd-box-content wd-width-50 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 708 |
<div class="wd-box-title">
|
| 709 |
+
<strong><?php _e('Instagram', 'photo-gallery'); ?></strong>
|
| 710 |
</div>
|
| 711 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 712 |
<div class="wd-group" id="login_with_instagram">
|
| 713 |
<input id="instagram_access_token" name="instagram_access_token" type="hidden" size="30" value="<?php echo esc_attr($row->instagram_access_token); ?>" readonly />
|
| 714 |
<?php if ( empty($row->instagram_access_token) ) { ?>
|
| 715 |
<a <?php echo BWG()->is_pro ? 'href="' . $instagram_return_url . '"' : 'disabled="disabled"'; ?> class="bwg-connect-instagram">
|
| 716 |
+
<?php _e('Connect an Instagram Account', 'photo-gallery') ?>
|
| 717 |
</a>
|
| 718 |
+
<p class="bwg-clear description"><?php _e('Press this button to sign in to your Instagram account. This lets you incorporate Instagram API to your website.', 'photo-gallery') ?></p>
|
| 719 |
<?php }
|
| 720 |
else {
|
| 721 |
?>
|
| 728 |
</div>
|
| 729 |
</div>
|
| 730 |
<div>
|
| 731 |
+
<a <?php echo BWG()->is_pro ? 'href="' . $instagram_reset_href . '" onClick="if(confirm(\'' . addslashes(__('Are you sure you want to reset access token, after resetting it you will need to log in with Instagram again for using plugin', 'photo-gallery')) . '\')){ return true; } else { return false; }"' : 'disabled="disabled"'; ?>>
|
| 732 |
+
<span class="button bwg-account-remove"><?php _e('Remove', 'photo-gallery') ?></span>
|
| 733 |
</a>
|
| 734 |
</div>
|
| 735 |
</div>
|
| 736 |
<div class="bwg-account-accesstoken" style="display: block;">
|
| 737 |
<div>
|
| 738 |
<p class="bwg-input-group">
|
| 739 |
+
<label><?php _e('User ID:', 'photo-gallery') ?></label>
|
| 740 |
<input type="text" value="<?php echo esc_attr($row->instagram_user_id); ?>" readonly="readonly"
|
| 741 |
onclick="this.focus();this.select()"
|
| 742 |
title="To copy, click the field then press Ctrl + C (PC) or Cmd + C (Mac).">
|
| 753 |
<?php if ( has_action('init_display_facebook_options_bwg') ) { ?>
|
| 754 |
<div class="wd-box-content wd-width-50">
|
| 755 |
<div class="wd-box-title">
|
| 756 |
+
<strong><?php _e('Facebook', 'photo-gallery'); ?></strong>
|
| 757 |
</div>
|
| 758 |
<?php
|
| 759 |
do_action('init_display_facebook_options_bwg', $row );
|
| 768 |
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
| 769 |
<div class="postbox closed">
|
| 770 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 771 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 772 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 773 |
</button>
|
| 774 |
<h2 class="hndle">
|
| 775 |
+
<span><?php _e('Roles', 'photo-gallery'); ?></span>
|
| 776 |
</h2>
|
| 777 |
<div class="inside bwg-flex-wrap">
|
| 778 |
<div class="wd-box-content wd-width-50">
|
| 779 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 780 |
<div class="wd-group">
|
| 781 |
+
<label class="wd-label" for="permissions"><?php _e('Roles', 'photo-gallery'); ?></label>
|
| 782 |
<div class="bwg-flex">
|
| 783 |
<select <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> id="permissions" name="permissions" onchange="bwg_show_hide_roles();">
|
| 784 |
<?php
|
| 790 |
?>
|
| 791 |
</select>
|
| 792 |
</div>
|
| 793 |
+
<p class="description"><?php _e('Choose a WordPress user role which can add and edit galleries, images, gallery groups, tags, themes and edit settings.', 'photo-gallery'); ?></p>
|
| 794 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 795 |
</div>
|
| 796 |
</div>
|
| 798 |
<div class="wd-box-content wd-width-50">
|
| 799 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 800 |
<div class="wd-group">
|
| 801 |
+
<label class="wd-label"><?php _e('Gallery role restrictions', 'photo-gallery'); ?></label>
|
| 802 |
<div class="bwg-flex">
|
| 803 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="gallery_role" id="gallery_role_1" value="1" <?php if ($row->gallery_role) echo 'checked="checked"'; ?> /><label for="gallery_role_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 804 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="gallery_role" id="gallery_role_0" value="0" <?php if (!$row->gallery_role) echo 'checked="checked"'; ?> /><label for="gallery_role_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 805 |
</div>
|
| 806 |
+
<p class="description"><?php _e('Enable this setting to restrict authors from modifying galleries created by other users.', 'photo-gallery'); ?></p>
|
| 807 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 808 |
</div>
|
| 809 |
</div>
|
| 810 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 811 |
<div class="wd-group">
|
| 812 |
+
<label class="wd-label"><?php _e('Gallery group restrictions', 'photo-gallery'); ?></label>
|
| 813 |
<div class="bwg-flex">
|
| 814 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_role" id="album_role_1" value="1" <?php if ($row->album_role) echo 'checked="checked"'; ?> /><label for="album_role_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 815 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_role" id="album_role_0" value="0" <?php if (!$row->album_role) echo 'checked="checked"'; ?> /><label for="album_role_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 816 |
</div>
|
| 817 |
+
<p class="description"><?php _e('Enabling this option will restrict authors from modifying galleries groups created by other users.', 'photo-gallery'); ?></p>
|
| 818 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 819 |
</div>
|
| 820 |
</div>
|
| 821 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 822 |
<div class="wd-group">
|
| 823 |
+
<label class="wd-label"><?php _e('Image role restrictions', 'photo-gallery'); ?></label>
|
| 824 |
<div class="bwg-flex">
|
| 825 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="image_role" id="image_role_1" value="1" <?php if ($row->image_role) echo 'checked="checked"'; ?> /><label for="image_role_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 826 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="image_role" id="image_role_0" value="0" <?php if (!$row->image_role) echo 'checked="checked"'; ?> /><label for="image_role_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 827 |
</div>
|
| 828 |
+
<p class="description"><?php _e('Enable this setting to restrict authors from modifying images added by other users.', 'photo-gallery'); ?></p>
|
| 829 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 830 |
</div>
|
| 831 |
</div>
|
| 832 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 833 |
<div class="wd-group">
|
| 834 |
+
<label class="wd-label"><?php _e('Tag permission', 'photo-gallery'); ?></label>
|
| 835 |
<div class="bwg-flex">
|
| 836 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="tag_role" id="tag_role_1" value="1" <?php if ($row->tag_role) echo 'checked="checked"'; ?> /><label for="tag_role_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 837 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="tag_role" id="tag_role_0" value="0" <?php if (!$row->tag_role) echo 'checked="checked"'; ?> /><label for="tag_role_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 838 |
</div>
|
| 839 |
+
<p class="description"><?php _e('Enable this setting to allow users to add/edit tags.', 'photo-gallery'); ?></p>
|
| 840 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 841 |
</div>
|
| 842 |
</div>
|
| 843 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 844 |
<div class="wd-group">
|
| 845 |
+
<label class="wd-label"><?php _e('Theme permission', 'photo-gallery'); ?></label>
|
| 846 |
<div class="bwg-flex">
|
| 847 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="theme_role" id="theme_role_1" value="1" <?php if ($row->theme_role) echo 'checked="checked"'; ?> /><label for="theme_role_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 848 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="theme_role" id="theme_role_0" value="0" <?php if (!$row->theme_role) echo 'checked="checked"'; ?> /><label for="theme_role_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 849 |
</div>
|
| 850 |
+
<p class="description"><?php _e('Enable this setting to allow users to add/edit themes.', 'photo-gallery'); ?></p>
|
| 851 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 852 |
</div>
|
| 853 |
</div>
|
| 854 |
<div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 855 |
<div class="wd-group">
|
| 856 |
+
<label class="wd-label"><?php _e('Global settings permission', 'photo-gallery'); ?></label>
|
| 857 |
<div class="bwg-flex">
|
| 858 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="settings_role" id="settings_role_1" value="1" <?php if ($row->settings_role) echo 'checked="checked"'; ?> /><label for="settings_role_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 859 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="settings_role" id="settings_role_0" value="0" <?php if (!$row->settings_role) echo 'checked="checked"'; ?> /><label for="settings_role_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 860 |
</div>
|
| 861 |
+
<p class="description"><?php _e('Enable this setting to allow users to edit global settings.', 'photo-gallery'); ?></p>
|
| 862 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 863 |
</div>
|
| 864 |
</div>
|
| 869 |
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
| 870 |
<div class="postbox closed">
|
| 871 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 872 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 873 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 874 |
</button>
|
| 875 |
<h2 class="hndle">
|
| 876 |
+
<span><?php _e('Advertisement', 'photo-gallery'); ?></span>
|
| 877 |
</h2>
|
| 878 |
<div class="inside bwg-flex-wrap">
|
| 879 |
<div class="wd-box-content wd-width-50">
|
| 880 |
<div class="wd-box-content wd-width-100">
|
| 881 |
<div class="wd-group">
|
| 882 |
+
<label class="wd-label"><?php _e('Advertisement type', 'photo-gallery'); ?></label>
|
| 883 |
<div class="bwg-flex">
|
| 884 |
+
<div><input type="radio" name="watermark_type" id="watermark_type_none" value="none" <?php if ($row->watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_none')" /><label for="watermark_type_none" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label></div>
|
| 885 |
+
<div><input type="radio" name="watermark_type" id="watermark_type_text" value="text" <?php if ($row->watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_text')" onchange="preview_watermark()" /><label for="watermark_type_text" class="wd-radio-label"><?php _e('Text', 'photo-gallery'); ?></label></div>
|
| 886 |
+
<div><input type="radio" name="watermark_type" id="watermark_type_image" value="image" <?php if ($row->watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_image')" onchange="preview_watermark()" /><label for="watermark_type_image" class="wd-radio-label"><?php _e('Image', 'photo-gallery'); ?></label></div>
|
| 887 |
</div>
|
| 888 |
+
<p class="description"><?php _e('Add Text or Image advertisement to your images with this option.', 'photo-gallery') ?></p>
|
| 889 |
</div>
|
| 890 |
</div>
|
| 891 |
<div class="wd-box-content wd-width-100" id="tr_watermark_url">
|
| 892 |
<div class="wd-group">
|
| 893 |
+
<label class="wd-label" for="watermark_url"><?php _e('Advertisement URL', 'photo-gallery'); ?></label>
|
| 894 |
<div>
|
| 895 |
<?php
|
| 896 |
$query_url = add_query_arg(array(
|
| 903 |
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url );
|
| 904 |
?>
|
| 905 |
<a href="<?php echo esc_url($query_url); ?>" id="button_add_watermark_image" class="button-primary thickbox thickbox-preview"
|
| 906 |
+
title="<?php _e('Select Image', 'photo-gallery'); ?>"
|
| 907 |
onclick="return false;">
|
| 908 |
+
<?php _e('Select Image', 'photo-gallery'); ?>
|
| 909 |
</a>
|
| 910 |
+
<br /><?php _e('or', 'photo-gallery'); ?><br />
|
| 911 |
<input type="text" id="watermark_url" name="watermark_url" value="<?php echo esc_url($row->watermark_url); ?>" onchange="preview_watermark()" placeholder="e.g. https://example.com/uploads/watermark.png" />
|
| 912 |
</div>
|
| 913 |
+
<p class="description"><?php _e('Provide the absolute URL of the image you would like to use as advertisement.', 'photo-gallery') ?></p>
|
| 914 |
</div>
|
| 915 |
</div>
|
| 916 |
<div class="wd-box-content wd-width-100" id="tr_watermark_text">
|
| 917 |
<div class="wd-group">
|
| 918 |
+
<label class="wd-label" for="watermark_text"><?php _e('Advertisement text', 'photo-gallery'); ?></label>
|
| 919 |
<div class="bwg-flex">
|
| 920 |
<input type="text" name="watermark_text" id="watermark_text" style="width: 100%;" value="<?php echo esc_attr($row->watermark_text); ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
|
| 921 |
</div>
|
| 922 |
+
<p class="description"><?php _e('Write the text to add to images as advertisement.', 'photo-gallery') ?></p>
|
| 923 |
</div>
|
| 924 |
</div>
|
| 925 |
<div class="wd-box-content wd-width-100" id="tr_watermark_link">
|
| 926 |
<div class="wd-group">
|
| 927 |
+
<label class="wd-label" for="watermark_link"><?php _e('Advertisement link', 'photo-gallery'); ?></label>
|
| 928 |
<div class="bwg-flex">
|
| 929 |
<input type="text" name="watermark_link" id="watermark_link" style="width: 100%;" value="<?php echo esc_url($row->watermark_link); ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
|
| 930 |
</div>
|
| 931 |
+
<p class="description"><?php _e('Provide the link to be added to advertisement on images.', 'photo-gallery') ?></p>
|
| 932 |
</div>
|
| 933 |
</div>
|
| 934 |
<div class="wd-box-content wd-width-100" id="tr_watermark_width_height">
|
| 935 |
<div class="wd-group">
|
| 936 |
+
<label class="wd-label" for="watermark_width"><?php _e('Advertisement dimensions', 'photo-gallery'); ?></label>
|
| 937 |
<div class="bwg-flex">
|
| 938 |
<input type="number" name="watermark_width" id="watermark_width" value="<?php echo intval($row->watermark_width); ?>" min="0" onchange="preview_watermark()" /><span>x</span>
|
| 939 |
<input type="number" name="watermark_height" id="watermark_height" value="<?php echo intval($row->watermark_height); ?>" min="0" onchange="preview_watermark()" /><span>px</span>
|
| 940 |
</div>
|
| 941 |
+
<p class="description"><?php _e('Select the dimensions of the advertisement image.', 'photo-gallery') ?></p>
|
| 942 |
</div>
|
| 943 |
</div>
|
| 944 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font_size">
|
| 945 |
<div class="wd-group">
|
| 946 |
+
<label class="wd-label" for="watermark_font_size"><?php _e('Advertisement font size', 'photo-gallery'); ?></label>
|
| 947 |
<div class="bwg-flex">
|
| 948 |
<input type="number" name="watermark_font_size" id="watermark_font_size" value="<?php echo intval($row->watermark_font_size); ?>" min="0" onchange="preview_watermark()" /><span>px</span>
|
| 949 |
</div>
|
| 950 |
+
<p class="description"><?php _e('Specify the font size of the advertisement text.', 'photo-gallery') ?></p>
|
| 951 |
</div>
|
| 952 |
</div>
|
| 953 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font">
|
| 954 |
<div class="wd-group">
|
| 955 |
+
<label class="wd-label" for="watermark_font"><?php _e('Advertisement font style', 'photo-gallery'); ?></label>
|
| 956 |
<div>
|
| 957 |
<select name="watermark_font" id="watermark_font" onchange="preview_watermark()">
|
| 958 |
<?php
|
| 968 |
</select>
|
| 969 |
<div class="bwg-flex">
|
| 970 |
<input type="radio" name="watermark_google_fonts" id="watermark_google_fonts1" onchange="bwg_change_fonts('watermark_font', jQuery(this).attr('id'))" value="1" <?php if ($is_google_fonts) echo 'checked="checked"'; ?> />
|
| 971 |
+
<label for="watermark_google_fonts1" id="watermark_google_fonts1_lbl" class="wd-radio-label"><?php _e('Google fonts', 'photo-gallery'); ?></label>
|
| 972 |
<input type="radio" name="watermark_google_fonts" id="watermark_google_fonts0" onchange="bwg_change_fonts('watermark_font', '')" value="0" <?php if (!$is_google_fonts) echo 'checked="checked"'; ?> />
|
| 973 |
+
<label for="watermark_google_fonts0" id="watermark_google_fonts0_lbl" class="wd-radio-label"><?php _e('Default', 'photo-gallery'); ?></label>
|
| 974 |
</div>
|
| 975 |
</div>
|
| 976 |
+
<p class="description"><?php _e('Select the font family of the advertisement text.', 'photo-gallery') ?></p>
|
| 977 |
</div>
|
| 978 |
</div>
|
| 979 |
<div class="wd-box-content wd-width-100" id="tr_watermark_color">
|
| 980 |
<div class="wd-group">
|
| 981 |
+
<label class="wd-label" for="watermark_color"><?php _e('Advertisement color', 'photo-gallery'); ?></label>
|
| 982 |
<div class="bwg-flex">
|
| 983 |
<input type="text" name="watermark_color" id="watermark_color" value="<?php echo esc_attr($row->watermark_color); ?>" class="jscolor" onchange="preview_watermark()" />
|
| 984 |
</div>
|
| 985 |
+
<p class="description"><?php _e('Choose the color for the advertisement text on images.', 'photo-gallery') ?></p>
|
| 986 |
</div>
|
| 987 |
</div>
|
| 988 |
<div class="wd-box-content wd-width-100" id="tr_watermark_opacity">
|
| 989 |
<div class="wd-group">
|
| 990 |
+
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement opacity', 'photo-gallery'); ?></label>
|
| 991 |
<div class="bwg-flex">
|
| 992 |
<input type="number" name="watermark_opacity" id="watermark_opacity" value="<?php echo intval($row->watermark_opacity); ?>" min="0" max="100" onchange="preview_watermark()" /><span>%</span>
|
| 993 |
</div>
|
| 994 |
+
<p class="description"><?php _e('Specify the opacity of the advertisement. The value must be between 0 to 100.', 'photo-gallery') ?></p>
|
| 995 |
</div>
|
| 996 |
</div>
|
| 997 |
<div class="wd-box-content wd-width-100" id="tr_watermark_position">
|
| 998 |
<div class="wd-group">
|
| 999 |
+
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement position', 'photo-gallery'); ?></label>
|
| 1000 |
<div class="bwg-flex">
|
| 1001 |
<table class="bwg_position_table">
|
| 1002 |
<tbody>
|
| 1019 |
</table>
|
| 1020 |
</div>
|
| 1021 |
</div>
|
| 1022 |
+
<p class="description"><?php _e('Mark the position where the advertisement should appear on images.', 'photo-gallery') ?></p>
|
| 1023 |
</div>
|
| 1024 |
</div>
|
| 1025 |
<div class="wd-box-content wd-width-50">
|
| 1036 |
<div class="wd-box-content wd-width-50">
|
| 1037 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_type">
|
| 1038 |
<div class="wd-group">
|
| 1039 |
+
<label class="wd-label"><?php _e('Watermark type', 'photo-gallery'); ?></label>
|
| 1040 |
<div class="bwg-flex">
|
| 1041 |
<input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_none" value="none" <?php if ($row->built_in_watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_none')" />
|
| 1042 |
+
<label for="built_in_watermark_type_none" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label>
|
| 1043 |
<input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_text" value="text" <?php if ($row->built_in_watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_text')" onchange="preview_built_in_watermark()" />
|
| 1044 |
+
<label for="built_in_watermark_type_text" class="wd-radio-label"><?php _e('Text', 'photo-gallery'); ?></label>
|
| 1045 |
<input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_image" value="image" <?php if ($row->built_in_watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_image')" onchange="preview_built_in_watermark()" />
|
| 1046 |
+
<label for="built_in_watermark_type_image" class="wd-radio-label"><?php _e('Image', 'photo-gallery'); ?></label>
|
| 1047 |
</div>
|
| 1048 |
+
<p class="description"><?php _e('Add Text or Image watermark to your images with this option.', 'photo-gallery') ?></p>
|
| 1049 |
</div>
|
| 1050 |
</div>
|
| 1051 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_url">
|
| 1052 |
<div class="wd-group">
|
| 1053 |
+
<label class="wd-label" for="built_in_watermark_url"><?php _e('Watermark URL', 'photo-gallery'); ?></label>
|
| 1054 |
<div>
|
| 1055 |
<?php
|
| 1056 |
$query_url = add_query_arg(array('action' => 'addImages', 'width' => '800', 'height' => '550', 'extensions' => 'png', 'callback' => 'bwg_add_built_in_watermark_image'), admin_url('admin-ajax.php'));
|
| 1058 |
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url );
|
| 1059 |
?>
|
| 1060 |
<a href="<?php echo esc_url($query_url); ?>" id="button_add_built_in_watermark_image" class="button-primary thickbox thickbox-preview"
|
| 1061 |
+
title="<?php _e('Select Image', 'photo-gallery'); ?>"
|
| 1062 |
onclick="return false;">
|
| 1063 |
+
<?php _e('Select Image', 'photo-gallery'); ?>
|
| 1064 |
</a>
|
| 1065 |
+
<br /><?php _e('or', 'photo-gallery'); ?><br />
|
| 1066 |
<input type="text" id="built_in_watermark_url" name="built_in_watermark_url" value="<?php echo esc_url($row->built_in_watermark_url); ?>" onchange="preview_built_in_watermark()" placeholder="e.g. https://example.com/uploads/watermark.png" />
|
| 1067 |
</div>
|
| 1068 |
+
<p class="description"><?php _e('Provide the absolute URL of the image you would like to use as watermark.', 'photo-gallery'); ?><br><?php _e('Only .png format is supported.', 'photo-gallery') ?></p>
|
| 1069 |
</div>
|
| 1070 |
</div>
|
| 1071 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_text">
|
| 1072 |
<div class="wd-group">
|
| 1073 |
+
<label class="wd-label" for="built_in_watermark_text"><?php _e('Watermark text', 'photo-gallery'); ?></label>
|
| 1074 |
<div class="bwg-flex">
|
| 1075 |
<input type="text" name="built_in_watermark_text" id="built_in_watermark_text" style="width: 100%;" value="<?php echo esc_attr($row->built_in_watermark_text); ?>" onchange="preview_built_in_watermark()" onkeypress="preview_built_in_watermark()" />
|
| 1076 |
</div>
|
| 1077 |
+
<p class="description"><?php _e('Provide the text to add to images as watermark.', 'photo-gallery') ?></p>
|
| 1078 |
</div>
|
| 1079 |
</div>
|
| 1080 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_size">
|
| 1081 |
<div class="wd-group">
|
| 1082 |
+
<label class="wd-label" for="built_in_watermark_size"><?php _e('Watermark size', 'photo-gallery'); ?></label>
|
| 1083 |
<div class="bwg-flex">
|
| 1084 |
<input type="number" name="built_in_watermark_size" id="built_in_watermark_size" value="<?php echo intval($row->built_in_watermark_size); ?>" min="0" max="100" onchange="preview_built_in_watermark()" /><span>%</span>
|
| 1085 |
</div>
|
| 1086 |
+
<p class="description"><?php _e('Specify the size of watermark on images in percent.', 'photo-gallery') ?></p>
|
| 1087 |
</div>
|
| 1088 |
</div>
|
| 1089 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_font_size">
|
| 1090 |
<div class="wd-group">
|
| 1091 |
+
<label class="wd-label" for="built_in_watermark_font_size"><?php _e('Watermark font size', 'photo-gallery'); ?></label>
|
| 1092 |
<div class="bwg-flex">
|
| 1093 |
<input type="number" name="built_in_watermark_font_size" id="built_in_watermark_font_size" value="<?php echo intval($row->built_in_watermark_font_size); ?>" min="0" onchange="preview_built_in_watermark()" />
|
| 1094 |
</div>
|
| 1095 |
+
<p class="description"><?php _e('Specify the font size of the watermark text.', 'photo-gallery') ?></p>
|
| 1096 |
</div>
|
| 1097 |
</div>
|
| 1098 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_font">
|
| 1099 |
<div class="wd-group">
|
| 1100 |
+
<label class="wd-label" for="built_in_watermark_font"><?php _e('Watermark font style', 'photo-gallery'); ?></label>
|
| 1101 |
<div class="bwg-flex">
|
| 1102 |
<select name="built_in_watermark_font" id="built_in_watermark_font" onchange="preview_built_in_watermark()">
|
| 1103 |
<?php
|
| 1121 |
}
|
| 1122 |
?>
|
| 1123 |
</div>
|
| 1124 |
+
<p class="description"><?php _e('Select the font family of the watermark text.', 'photo-gallery') ?></p>
|
| 1125 |
</div>
|
| 1126 |
</div>
|
| 1127 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_color">
|
| 1128 |
<div class="wd-group">
|
| 1129 |
+
<label class="wd-label" for="built_in_watermark_color"><?php _e('Watermark color', 'photo-gallery'); ?></label>
|
| 1130 |
<div class="bwg-flex">
|
| 1131 |
<input type="text" name="built_in_watermark_color" id="built_in_watermark_color" value="<?php echo esc_attr($row->built_in_watermark_color); ?>" class="jscolor" onchange="preview_built_in_watermark()" />
|
| 1132 |
</div>
|
| 1133 |
+
<p class="description"><?php _e('Choose the color for the watermark text on images.', 'photo-gallery') ?></p>
|
| 1134 |
</div>
|
| 1135 |
</div>
|
| 1136 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_opacity">
|
| 1137 |
<div class="wd-group">
|
| 1138 |
+
<label class="wd-label" for="built_in_watermark_opacity"><?php _e('Watermark opacity', 'photo-gallery'); ?></label>
|
| 1139 |
<div class="bwg-flex">
|
| 1140 |
<input type="number" name="built_in_watermark_opacity" id="built_in_watermark_opacity" value="<?php echo intval($row->built_in_watermark_opacity); ?>" min="0" max="100" onchange="preview_built_in_watermark()" /><span>%</span>
|
| 1141 |
</div>
|
| 1142 |
+
<p class="description"><?php _e('Specify the opacity of the watermark. The value must be between 0 to 100.', 'photo-gallery') ?></p>
|
| 1143 |
</div>
|
| 1144 |
</div>
|
| 1145 |
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_position">
|
| 1146 |
<div class="wd-group">
|
| 1147 |
+
<label class="wd-label"><?php _e('Watermark position', 'photo-gallery'); ?></label>
|
| 1148 |
<div class="">
|
| 1149 |
<table class="bwg_position_table">
|
| 1150 |
<tbody>
|
| 1165 |
</tr>
|
| 1166 |
</tbody>
|
| 1167 |
</table>
|
| 1168 |
+
<input type="submit" class="button-primary" title="<?php _e('Set watermark', 'photo-gallery'); ?>" style="margin-top: 5px;"
|
| 1169 |
+
onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\'); return false;' : (BWG()->wp_editor_exists ? 'return bwg_set_watermark(0)' : 'alert(\'' . addslashes(__('Image edit functionality is not supported by your web host.', 'photo-gallery')) . '\'); return false;')); ?>"
|
| 1170 |
+
value="<?php _e('Set Watermark', 'photo-gallery'); ?>"/>
|
| 1171 |
+
<input type="submit" class="button" title="<?php _e('Reset watermark', 'photo-gallery'); ?>" style="margin-top: 5px;"
|
| 1172 |
+
onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', 'photo-gallery')) . '\'); return false;' : (BWG()->wp_editor_exists ? 'return bwg_reset_watermark_all(0)' : 'alert(\'' . addslashes(__('Image edit functionality is not supported by your web host.', 'photo-gallery')) . '\'); return false;')); ?>"
|
| 1173 |
+
value="<?php _e('Reset Watermark', 'photo-gallery'); ?>"/>
|
| 1174 |
</div>
|
| 1175 |
+
<p class="description"><?php _e('Mark the position where the watermark should appear on images.', 'photo-gallery') ?></p>
|
| 1176 |
</div>
|
| 1177 |
</div>
|
| 1178 |
</div>
|
| 1286 |
|
| 1287 |
private static function get_effects() {
|
| 1288 |
return array(
|
| 1289 |
+
'none' => __('None', 'photo-gallery'),
|
| 1290 |
+
'cubeH' => __('Cube Horizontal', 'photo-gallery'),
|
| 1291 |
+
'cubeV' => __('Cube Vertical', 'photo-gallery'),
|
| 1292 |
+
'fade' => __('Fade', 'photo-gallery'),
|
| 1293 |
+
'sliceH' => __('Slice Horizontal', 'photo-gallery'),
|
| 1294 |
+
'sliceV' => __('Slice Vertical', 'photo-gallery'),
|
| 1295 |
+
'slideH' => __('Slide Horizontal', 'photo-gallery'),
|
| 1296 |
+
'slideV' => __('Slide Vertical', 'photo-gallery'),
|
| 1297 |
+
'scaleOut' => __('Scale Out', 'photo-gallery'),
|
| 1298 |
+
'scaleIn' => __('Scale In', 'photo-gallery'),
|
| 1299 |
+
'blockScale' => __('Block Scale', 'photo-gallery'),
|
| 1300 |
+
'kaleidoscope' => __('Kaleidoscope', 'photo-gallery'),
|
| 1301 |
+
'fan' => __('Fan', 'photo-gallery'),
|
| 1302 |
+
'blindH' => __('Blind Horizontal', 'photo-gallery'),
|
| 1303 |
+
'blindV' => __('Blind Vertical', 'photo-gallery'),
|
| 1304 |
+
'random' => __('Random', 'photo-gallery'),
|
| 1305 |
);
|
| 1306 |
}
|
| 1307 |
|
| 1313 |
<div class="wd-box-content wd-width-33">
|
| 1314 |
<div class="wd-box-content wd-width-100">
|
| 1315 |
<div class="wd-group">
|
| 1316 |
+
<label class="wd-label" for="thumb_width"><?php _e('Thumbnail dimensions', 'photo-gallery'); ?></label>
|
| 1317 |
<div class="bwg-flex">
|
| 1318 |
<input type="number" name="thumb_width" id="thumb_width" value="<?php echo intval($row->thumb_width); ?>" min="0" /><span>x</span>
|
| 1319 |
<input type="number" name="thumb_height" id="thumb_height" value="<?php echo intval($row->thumb_height); ?>" min="0" /><span>px</span>
|
| 1320 |
</div>
|
| 1321 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', 'photo-gallery'); ?></p>
|
| 1322 |
</div>
|
| 1323 |
</div>
|
| 1324 |
<div class="wd-box-content wd-width-100">
|
| 1325 |
<div class="wd-group">
|
| 1326 |
+
<label class="wd-label" for="image_column_number"><?php _e('Number of image columns', 'photo-gallery'); ?></label>
|
| 1327 |
<div class="bwg-flex">
|
| 1328 |
<input type="number" name="image_column_number" id="image_column_number" value="<?php echo intval($row->image_column_number); ?>" min="0" />
|
| 1329 |
</div>
|
| 1330 |
+
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 1331 |
</div>
|
| 1332 |
</div>
|
| 1333 |
<div class="wd-box-content wd-width-100">
|
| 1334 |
<div class="wd-group">
|
| 1335 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 1336 |
<div class="bwg-flex">
|
| 1337 |
+
<div><input type="radio" name="image_enable_page" id="image_enable_page_0" value="0" <?php if ($row->image_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_load_more_image_count', 'image_enable_page_0'); bwg_pagination_description(this);" /><label for="image_enable_page_0" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label></div>
|
| 1338 |
+
<div><input type="radio" name="image_enable_page" id="image_enable_page_1" value="1" <?php if ($row->image_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_load_more_image_count', 'image_enable_page_1'); bwg_pagination_description(this);" /><label for="image_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 1339 |
+
<div><input type="radio" name="image_enable_page" id="image_enable_page_2" value="2" <?php if ($row->image_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_load_more_image_count', 'image_enable_page_2'); bwg_pagination_description(this);" /><label for="image_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 1340 |
+
<div><input type="radio" name="image_enable_page" id="image_enable_page_3" value="3" <?php if ($row->image_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_load_more_image_count', 'image_enable_page_3'); bwg_pagination_description(this);" /><label for="image_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 1341 |
</div>
|
| 1342 |
+
<p class="description" id="image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 1343 |
+
<p class="description" id="image_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 1344 |
+
<p class="description" id="image_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 1345 |
+
<p class="description" id="image_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 1346 |
</div>
|
| 1347 |
</div>
|
| 1348 |
<div class="wd-box-content wd-width-100" id="tr_images_per_page">
|
| 1349 |
<div class="wd-group">
|
| 1350 |
+
<label class="wd-label" for="images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 1351 |
<div class="bwg-flex">
|
| 1352 |
<input type="number" name="images_per_page" id="images_per_page" value="<?php echo intval($row->images_per_page); ?>" min="0" />
|
| 1353 |
</div>
|
| 1354 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 1355 |
</div>
|
| 1356 |
</div>
|
| 1357 |
<div class="wd-box-content wd-width-100" id="tr_load_more_image_count">
|
| 1358 |
<div class="wd-group">
|
| 1359 |
+
<label class="wd-label" for="load_more_image_count"><?php _e('Images per load', 'photo-gallery'); ?></label>
|
| 1360 |
<div class="bwg-flex">
|
| 1361 |
<input type="number" name="load_more_image_count" id="load_more_image_count" value="<?php echo intval($row->load_more_image_count); ?>" min="0" />
|
| 1362 |
</div>
|
| 1363 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', 'photo-gallery'); ?></p>
|
| 1364 |
</div>
|
| 1365 |
</div>
|
| 1366 |
</div>
|
| 1368 |
<div class="wd-box-content wd-width-100">
|
| 1369 |
<div class="wd-group">
|
| 1370 |
<div class="wd-width-43">
|
| 1371 |
+
<label class="wd-label" for="sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 1372 |
<select name="sort_by" id="sort_by">
|
| 1373 |
+
<option value="order" <?php if ($row->sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 1374 |
+
<option value="alt" <?php if ($row->sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 1375 |
+
<option value="date" <?php if ($row->sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 1376 |
+
<option value="filename" <?php if ($row->sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 1377 |
+
<option value="size" <?php if ($row->sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 1378 |
+
<option value="random" <?php if ($row->sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 1379 |
</select>
|
| 1380 |
</div>
|
| 1381 |
<div class="wd-width-55">
|
| 1382 |
<select name="order_by" id="order_by">
|
| 1383 |
+
<option value="asc" <?php if ($row->order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 1384 |
+
<option value="desc" <?php if ($row->order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 1385 |
</select>
|
| 1386 |
</div>
|
| 1387 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 1388 |
</div>
|
| 1389 |
</div>
|
| 1390 |
<div class="wd-box-content wd-width-100">
|
| 1391 |
<div class="wd-group">
|
| 1392 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 1393 |
<div class="bwg-flex">
|
| 1394 |
+
<input type="radio" name="show_search_box" id="show_search_box_1" value="1" <?php if ($row->show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_search_box_width', 'show_search_box_1'); bwg_enable_disable('', 'tr_search_box_placeholder', 'show_search_box_1')" /><label for="show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1395 |
+
<input type="radio" name="show_search_box" id="show_search_box_0" value="0" <?php if (!$row->show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_search_box_width', 'show_search_box_0'); bwg_enable_disable('none', 'tr_search_box_placeholder', 'show_search_box_0')" /><label for="show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1396 |
</div>
|
| 1397 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 1398 |
</div>
|
| 1399 |
</div>
|
| 1400 |
<div class="wd-box-content wd-width-100" id="tr_search_box_placeholder">
|
| 1401 |
<div class="wd-group">
|
| 1402 |
+
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 1403 |
<div class="bwg-flex">
|
| 1404 |
<input type="text" name="placeholder" id="placeholder" value="<?php echo esc_attr($row->placeholder); ?>" />
|
| 1405 |
</div>
|
| 1407 |
</div>
|
| 1408 |
<div class="wd-box-content wd-width-100" id="tr_search_box_width">
|
| 1409 |
<div class="wd-group">
|
| 1410 |
+
<label class="wd-label" for="search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 1411 |
<div class="bwg-flex">
|
| 1412 |
<input type="number" name="search_box_width" id="search_box_width" value="<?php echo intval($row->search_box_width); ?>" min="0" /><span>px</span>
|
| 1413 |
</div>
|
| 1415 |
</div>
|
| 1416 |
<div class="wd-box-content wd-width-100">
|
| 1417 |
<div class="wd-group">
|
| 1418 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 1419 |
<div class="bwg-flex">
|
| 1420 |
+
<input type="radio" name="show_sort_images" id="show_sort_images_1" value="1" <?php if ($row->show_sort_images) echo 'checked="checked"'; ?> /><label for="show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1421 |
+
<input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!$row->show_sort_images) echo 'checked="checked"'; ?> /><label for="show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1422 |
</div>
|
| 1423 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 1424 |
</div>
|
| 1425 |
</div>
|
| 1426 |
<div class="wd-box-content wd-width-100">
|
| 1427 |
<div class="wd-group">
|
| 1428 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 1429 |
<div class="bwg-flex">
|
| 1430 |
+
<input type="radio" name="show_tag_box" id="show_tag_box_1" value="1" <?php if ($row->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1431 |
+
<input type="radio" name="show_tag_box" id="show_tag_box_0" value="0" <?php if (!$row->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1432 |
</div>
|
| 1433 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 1434 |
</div>
|
| 1435 |
</div>
|
| 1436 |
</div>
|
| 1437 |
<div class="wd-box-content wd-width-33">
|
| 1438 |
<div class="wd-box-content wd-width-100">
|
| 1439 |
<div class="wd-group">
|
| 1440 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 1441 |
<div class="bwg-flex">
|
| 1442 |
+
<input type="radio" name="showthumbs_name" id="thumb_name_yes" value="1" <?php if ($row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1443 |
+
<input type="radio" name="showthumbs_name" id="thumb_name_no" value="0" <?php if (!$row->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1444 |
</div>
|
| 1445 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', 'photo-gallery'); ?></p>
|
| 1446 |
</div>
|
| 1447 |
</div>
|
| 1448 |
<div class="wd-box-content wd-width-100">
|
| 1449 |
<div class="wd-group">
|
| 1450 |
+
<label class="wd-label"><?php _e('Show gallery description', 'photo-gallery'); ?></label>
|
| 1451 |
<div class="bwg-flex">
|
| 1452 |
+
<input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if ($row->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1453 |
+
<input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!$row->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1454 |
</div>
|
| 1455 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', 'photo-gallery'); ?></p>
|
| 1456 |
</div>
|
| 1457 |
</div>
|
| 1458 |
<div class="wd-box-content wd-width-100">
|
| 1459 |
<div class="wd-group">
|
| 1460 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 1461 |
<div class="bwg-flex">
|
| 1462 |
+
<div><input type="radio" name="image_title_show_hover" id="image_title_show_hover_1" value="hover" <?php if ($row->image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label></div>
|
| 1463 |
+
<div><input type="radio" name="image_title_show_hover" id="image_title_show_hover_0" value="show" <?php if ($row->image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label></div>
|
| 1464 |
+
<div><input type="radio" name="image_title_show_hover" id="image_title_show_hover_2" value="none" <?php if ($row->image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label></div>
|
| 1465 |
</div>
|
| 1466 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', 'photo-gallery'); ?></p>
|
| 1467 |
</div>
|
| 1468 |
</div>
|
| 1469 |
<div class="wd-box-content wd-width-100">
|
| 1470 |
<div class="wd-group">
|
| 1471 |
+
<label class="wd-label"><?php _e('Show image descriptions', 'photo-gallery'); ?></label>
|
| 1472 |
<div class="bwg-flex">
|
| 1473 |
+
<input type="radio" name="show_thumb_description" id="thumb_desc_1" value="1" <?php if ($row->show_thumb_description) echo 'checked="checked"'; ?> /><label for="thumb_desc_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1474 |
+
<input type="radio" name="show_thumb_description" id="thumb_desc_0" value="0" <?php if (!$row->show_thumb_description) echo 'checked="checked"'; ?> /><label for="thumb_desc_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1475 |
</div>
|
| 1476 |
+
<p class="description"><?php _e('Enable this setting to display descriptions under images.', 'photo-gallery'); ?></p>
|
| 1477 |
</div>
|
| 1478 |
</div>
|
| 1479 |
<div class="wd-box-content wd-width-100">
|
| 1480 |
<div class="wd-group">
|
| 1481 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', 'photo-gallery'); ?></label>
|
| 1482 |
<div class="bwg-flex">
|
| 1483 |
+
<input type="radio" name="play_icon" id="play_icon_yes" value="1" <?php if ($row->play_icon) echo 'checked="checked"'; ?> /><label for="play_icon_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1484 |
+
<input type="radio" name="play_icon" id="play_icon_no" value="0" <?php if (!$row->play_icon) echo 'checked="checked"'; ?> /><label for="play_icon_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1485 |
</div>
|
| 1486 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', 'photo-gallery'); ?></p>
|
| 1487 |
</div>
|
| 1488 |
</div>
|
| 1489 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1490 |
<div class="wd-group">
|
| 1491 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 1492 |
<div class="bwg-flex">
|
| 1493 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="gallery_download" id="gallery_download_1" value="1" <?php if ($row->gallery_download) echo 'checked="checked"'; ?> /><label for="gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1494 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="gallery_download" id="gallery_download_0" value="0" <?php if (!$row->gallery_download) echo 'checked="checked"'; ?> /><label for="gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1495 |
</div>
|
| 1496 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 1497 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1498 |
<?php
|
| 1499 |
if ( !$zipArchiveClass) {
|
| 1507 |
?>
|
| 1508 |
<div class="wd-box-content wd-width-100">
|
| 1509 |
<div class="wd-group">
|
| 1510 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', 'photo-gallery'); ?></label>
|
| 1511 |
<div class="bwg-flex">
|
| 1512 |
+
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_1" value="hover" <?php if ($row->ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 1513 |
+
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_0" value="show" <?php if ($row->ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label>
|
| 1514 |
+
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_2" value="none" <?php if ($row->ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 1515 |
</div>
|
| 1516 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', 'photo-gallery'); ?></p>
|
| 1517 |
</div>
|
| 1518 |
</div>
|
| 1519 |
<?php
|
| 1526 |
<?php /*
|
| 1527 |
<div class="wd-box-content wd-width-100">
|
| 1528 |
<div class="wd-group">
|
| 1529 |
+
<label class="wd-label"><?php _e('Masonry type', 'photo-gallery'); ?></label>
|
| 1530 |
<div class="bwg-flex">
|
| 1531 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry" id="masonry_0" value="vertical" <?php if ($row->masonry == "vertical") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'bwg-vertical-block-masonry', 'masonry_0');" /><label for="masonry_0" class="wd-radio-label"><?php _e('Vertical', 'photo-gallery'); ?></label>
|
| 1532 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry" id="masonry_1" value="horizontal" <?php if ($row->masonry == "horizontal") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'bwg-vertical-block-masonry', 'masonry_1');" /><label for="masonry_1" class="wd-radio-label"><?php _e('Horizontal', 'photo-gallery'); ?></label>
|
| 1533 |
</div>
|
| 1534 |
+
<p class="description"><?php _e('Select the type of Masonry galleries, Vertical or Horizontal.', 'photo-gallery'); ?></p>
|
| 1535 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1536 |
</div>
|
| 1537 |
</div>
|
| 1539 |
?>
|
| 1540 |
<div class="wd-box-content wd-width-100">
|
| 1541 |
<div class="wd-group">
|
| 1542 |
+
<label class="wd-label" for="masonry_thumb_size"><?php _e('Thumbnail size', 'photo-gallery'); ?></label>
|
| 1543 |
<div class="bwg-flex">
|
| 1544 |
<input type="number" name="masonry_thumb_size" id="masonry_thumb_size" value="<?php echo intval($row->masonry_thumb_size); ?>" min="0" /><span>px</span>
|
| 1545 |
</div>
|
| 1546 |
+
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', 'photo-gallery'); ?></p>
|
| 1547 |
</div>
|
| 1548 |
</div>
|
| 1549 |
<div class="wd-box-content wd-width-100">
|
| 1550 |
<div class="wd-group">
|
| 1551 |
+
<label class="wd-label masonry_col_num" style="<?php echo ($row->masonry == "vertical") ? '' : 'display:none'; ?>" for="masonry_image_column_number"><?php _e('Number of image columns', 'photo-gallery'); ?></label>
|
| 1552 |
+
<label class="wd-label masonry_row_num" style="<?php echo ($row->masonry == "vertical") ? 'display:none' : ''; ?>" for="masonry_image_column_number"><?php _e('Number of image rows', 'photo-gallery'); ?></label>
|
| 1553 |
<div class="bwg-flex">
|
| 1554 |
<input type="number" name="masonry_image_column_number" id="masonry_image_column_number" value="<?php echo intval($row->masonry_image_column_number); ?>" min="0" />
|
| 1555 |
</div>
|
| 1556 |
+
<p class="description"><?php _e('Set the maximum number of image columns (or rows) in galleries. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 1557 |
</div>
|
| 1558 |
</div>
|
| 1559 |
<div class="wd-box-content wd-width-100">
|
| 1560 |
<div class="wd-group">
|
| 1561 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 1562 |
<div class="bwg-flex">
|
| 1563 |
+
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_0" value="0" <?php if ($row->masonry_image_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_0'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_0" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label></div>
|
| 1564 |
+
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_1" value="1" <?php if ($row->masonry_image_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_1'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 1565 |
+
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_2" value="2" <?php if ($row->masonry_image_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_2'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 1566 |
+
<div><input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_3" value="3" <?php if ($row->masonry_image_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_3'); bwg_pagination_description(this);" /><label for="masonry_image_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 1567 |
</div>
|
| 1568 |
+
<p class="description" id="masonry_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 1569 |
+
<p class="description" id="masonry_image_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 1570 |
+
<p class="description" id="masonry_image_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 1571 |
+
<p class="description" id="masonry_image_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 1572 |
</div>
|
| 1573 |
</div>
|
| 1574 |
<div class="wd-box-content wd-width-100" id="tr_masonry_images_per_page">
|
| 1575 |
<div class="wd-group">
|
| 1576 |
+
<label class="wd-label" for="masonry_images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 1577 |
<div class="bwg-flex">
|
| 1578 |
<input type="number" name="masonry_images_per_page" id="masonry_images_per_page" value="<?php echo intval($row->masonry_images_per_page); ?>" min="0" />
|
| 1579 |
</div>
|
| 1580 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 1581 |
</div>
|
| 1582 |
</div>
|
| 1583 |
<div class="wd-box-content wd-width-100" id="tr_masonry_load_more_image_count">
|
| 1584 |
<div class="wd-group">
|
| 1585 |
+
<label class="wd-label" for="masonry_load_more_image_count"><?php _e('Images per load', 'photo-gallery'); ?></label>
|
| 1586 |
<div class="bwg-flex">
|
| 1587 |
<input type="number" name="masonry_load_more_image_count" id="masonry_load_more_image_count" value="<?php echo intval($row->masonry_load_more_image_count); ?>" min="0" />
|
| 1588 |
</div>
|
| 1589 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', 'photo-gallery'); ?></p>
|
| 1590 |
</div>
|
| 1591 |
</div>
|
| 1592 |
</div>
|
| 1593 |
<div class="wd-box-content wd-width-33">
|
| 1594 |
<div class="wd-box-content wd-width-100">
|
| 1595 |
<div class="wd-group">
|
| 1596 |
+
<label class="wd-label" for="masonry_sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 1597 |
<div class="wd-width-43">
|
| 1598 |
<select name="masonry_sort_by" id="masonry_sort_by">
|
| 1599 |
+
<option value="order" <?php if ($row->masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 1600 |
+
<option value="alt" <?php if ($row->masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 1601 |
+
<option value="date" <?php if ($row->masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 1602 |
+
<option value="filename" <?php if ($row->masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 1603 |
+
<option value="size" <?php if ($row->masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 1604 |
+
<option value="random" <?php if ($row->masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 1605 |
</select>
|
| 1606 |
</div>
|
| 1607 |
<div class="wd-width-55">
|
| 1608 |
<select name="masonry_order_by" id="masonry_order_by">
|
| 1609 |
+
<option value="asc" <?php if ($row->masonry_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 1610 |
+
<option value="desc" <?php if ($row->masonry_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 1611 |
</select>
|
| 1612 |
</div>
|
| 1613 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 1614 |
</div>
|
| 1615 |
</div>
|
| 1616 |
<div class="wd-box-content wd-width-100">
|
| 1617 |
<div class="wd-group">
|
| 1618 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 1619 |
<div class="bwg-flex">
|
| 1620 |
+
<input type="radio" name="masonry_show_search_box" id="masonry_show_search_box_1" value="1" <?php if ($row->masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_masonry_search_box_width', 'masonry_show_search_box_1'); bwg_enable_disable('', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_1')" /><label for="masonry_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1621 |
+
<input type="radio" name="masonry_show_search_box" id="masonry_show_search_box_0" value="0" <?php if (!$row->masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_masonry_search_box_width', 'masonry_show_search_box_0'); bwg_enable_disable('none', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_0')" /><label for="masonry_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1622 |
</div>
|
| 1623 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 1624 |
</div>
|
| 1625 |
</div>
|
| 1626 |
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_placeholder">
|
| 1627 |
<div class="wd-group">
|
| 1628 |
+
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 1629 |
<div class="bwg-flex">
|
| 1630 |
<input type="text" name="masonry_placeholder" id="masonry_placeholder" value="<?php echo esc_attr($row->masonry_placeholder); ?>" />
|
| 1631 |
</div>
|
| 1633 |
</div>
|
| 1634 |
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_width">
|
| 1635 |
<div class="wd-group">
|
| 1636 |
+
<label class="wd-label" for="masonry_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 1637 |
<div class="bwg-flex">
|
| 1638 |
<input type="number" name="masonry_search_box_width" id="masonry_search_box_width" value="<?php echo intval($row->masonry_search_box_width); ?>" min="0" /><span>px</span>
|
| 1639 |
</div>
|
| 1641 |
</div>
|
| 1642 |
<div class="wd-box-content wd-width-100">
|
| 1643 |
<div class="wd-group">
|
| 1644 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 1645 |
<div class="bwg-flex">
|
| 1646 |
+
<input type="radio" name="masonry_show_sort_images" id="masonry_show_sort_images_1" value="1" <?php if ($row->masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="masonry_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1647 |
+
<input type="radio" name="masonry_show_sort_images" id="masonry_show_sort_images_0" value="0" <?php if (!$row->masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="masonry_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1648 |
</div>
|
| 1649 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 1650 |
</div>
|
| 1651 |
</div>
|
| 1652 |
<div class="wd-box-content wd-width-100">
|
| 1653 |
<div class="wd-group">
|
| 1654 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 1655 |
<div class="bwg-flex">
|
| 1656 |
+
<input type="radio" name="masonry_show_tag_box" id="masonry_show_tag_box_1" value="1" <?php if ($row->masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="masonry_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1657 |
+
<input type="radio" name="masonry_show_tag_box" id="masonry_show_tag_box_0" value="0" <?php if (!$row->masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="masonry_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1658 |
</div>
|
| 1659 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 1660 |
</div>
|
| 1661 |
</div>
|
| 1662 |
</div>
|
| 1663 |
<div class="wd-box-content wd-width-33">
|
| 1664 |
<div class="wd-box-content wd-width-100">
|
| 1665 |
<div class="wd-group">
|
| 1666 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 1667 |
<div class="bwg-flex">
|
| 1668 |
+
<input type="radio" name="masonry_show_gallery_title" id="masonry_thumb_name_yes" value="1" <?php if ($row->masonry_show_gallery_title) echo 'checked="checked"'; ?> /><label for="masonry_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1669 |
+
<input type="radio" name="masonry_show_gallery_title" id="masonry_thumb_name_no" value="0" <?php if (!$row->masonry_show_gallery_title) echo 'checked="checked"'; ?> /><label for="masonry_thumb_name_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1670 |
</div>
|
| 1671 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', 'photo-gallery'); ?></p>
|
| 1672 |
</div>
|
| 1673 |
</div>
|
| 1674 |
<div class="wd-box-content wd-width-100">
|
| 1675 |
<div class="wd-group">
|
| 1676 |
+
<label class="wd-label"><?php _e('Show gallery description', 'photo-gallery'); ?></label>
|
| 1677 |
<div class="bwg-flex">
|
| 1678 |
+
<input type="radio" name="masonry_show_gallery_description" id="masonry_show_gallery_description_1" value="1" <?php if ($row->masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="masonry_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1679 |
+
<input type="radio" name="masonry_show_gallery_description" id="masonry_show_gallery_description_0" value="0" <?php if (!$row->masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="masonry_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1680 |
</div>
|
| 1681 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', 'photo-gallery'); ?></p>
|
| 1682 |
</div>
|
| 1683 |
</div>
|
| 1684 |
<div class="wd-box-content wd-width-100 bwg-vertical-block-masonry">
|
| 1685 |
<div class="wd-group">
|
| 1686 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 1687 |
<div class="bwg-flex">
|
| 1688 |
+
<div><input type="radio" name="masonry_image_title" id="masonry_image_title_0" value="hover" <?php if ($row->masonry_image_title == "hover") echo 'checked="checked"'; ?> /><label for="masonry_image_title_0" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label></div>
|
| 1689 |
+
<div><input type="radio" name="masonry_image_title" id="masonry_image_title_1" value="show" <?php if ($row->masonry_image_title == "show") echo 'checked="checked"'; ?> /><label for="masonry_image_title_1" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label></div>
|
| 1690 |
+
<div><input type="radio" name="masonry_image_title" id="masonry_image_title_2" value="none" <?php if ($row->masonry_image_title == "none") echo 'checked="checked"'; ?> /><label for="masonry_image_title_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label></div>
|
| 1691 |
</div>
|
| 1692 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', 'photo-gallery'); ?></p>
|
| 1693 |
</div>
|
| 1694 |
</div>
|
| 1695 |
<div class="wd-box-content wd-width-100 bwg-vertical-block-masonry <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_show_masonry_thumb_description">
|
| 1696 |
<div class="wd-group">
|
| 1697 |
+
<label class="wd-label"><?php _e('Show image descriptions', 'photo-gallery'); ?></label>
|
| 1698 |
<div class="bwg-flex">
|
| 1699 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_1" value="1" <?php if ($row->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1700 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_0" value="0" <?php if (!$row->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1701 |
</div>
|
| 1702 |
+
<p class="description"><?php _e('Enable this setting to display descriptions under images.', 'photo-gallery'); ?></p>
|
| 1703 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1704 |
</div>
|
| 1705 |
</div>
|
| 1706 |
<div class="wd-box-content wd-width-100">
|
| 1707 |
<div class="wd-group">
|
| 1708 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', 'photo-gallery'); ?></label>
|
| 1709 |
<div class="bwg-flex">
|
| 1710 |
+
<input type="radio" name="masonry_play_icon" id="masonry_play_icon_yes" value="1" <?php if ($row->masonry_play_icon) echo 'checked="checked"'; ?> /><label for="masonry_play_icon_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1711 |
+
<input type="radio" name="masonry_play_icon" id="masonry_play_icon_no" value="0" <?php if (!$row->masonry_play_icon) echo 'checked="checked"'; ?> /><label for="masonry_play_icon_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1712 |
</div>
|
| 1713 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', 'photo-gallery'); ?></p>
|
| 1714 |
</div>
|
| 1715 |
</div>
|
| 1716 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1717 |
<div class="wd-group">
|
| 1718 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 1719 |
<div class="bwg-flex">
|
| 1720 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="masonry_gallery_download" id="masonry_gallery_download_1" value="1" <?php if ($row->masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="masonry_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1721 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="masonry_gallery_download" id="masonry_gallery_download_0" value="0" <?php if (!$row->masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="masonry_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1722 |
</div>
|
| 1723 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 1724 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1725 |
<?php
|
| 1726 |
if ( !$zipArchiveClass) {
|
| 1734 |
?>
|
| 1735 |
<div class="wd-box-content wd-width-100">
|
| 1736 |
<div class="wd-group">
|
| 1737 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', 'photo-gallery'); ?></label>
|
| 1738 |
<div class="bwg-flex">
|
| 1739 |
+
<input type="radio" name="masonry_ecommerce_icon_show_hover" id="masonry_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->masonry_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="masonry_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 1740 |
+
<input type="radio" name="masonry_ecommerce_icon_show_hover" id="masonry_ecommerce_icon_show_hover_2" value="none" <?php if ($row->masonry_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="masonry_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 1741 |
</div>
|
| 1742 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', 'photo-gallery'); ?></p>
|
| 1743 |
</div>
|
| 1744 |
</div>
|
| 1745 |
<?php
|
| 1751 |
<div class="wd-box-content wd-width-33">
|
| 1752 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1753 |
<div class="wd-group">
|
| 1754 |
+
<label class="wd-label"><?php _e('Mosaic gallery type', 'photo-gallery'); ?></label>
|
| 1755 |
<div class="bwg-flex">
|
| 1756 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic" id="mosaic_0" value="vertical" <?php if ($row->mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="mosaic_0" class="wd-radio-label"><?php _e('Vertical', 'photo-gallery'); ?></label>
|
| 1757 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic" id="mosaic_1" value="horizontal" <?php if ($row->mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="mosaic_1" class="wd-radio-label"><?php _e('Horizontal', 'photo-gallery'); ?></label>
|
| 1758 |
</div>
|
| 1759 |
+
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', 'photo-gallery'); ?></p>
|
| 1760 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1761 |
</div>
|
| 1762 |
</div>
|
| 1763 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1764 |
<div class="wd-group">
|
| 1765 |
+
<label class="wd-label"><?php _e('Resizable mosaic', 'photo-gallery'); ?></label>
|
| 1766 |
<div class="bwg-flex">
|
| 1767 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="resizable_mosaic" id="resizable_mosaic_1" value="1" <?php if ($row->resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1768 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="resizable_mosaic" id="resizable_mosaic_0" value="0" <?php if ($row->resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="resizable_mosaic_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1769 |
</div>
|
| 1770 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', 'photo-gallery'); ?></p>
|
| 1771 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1772 |
</div>
|
| 1773 |
</div>
|
| 1774 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1775 |
<div class="wd-group">
|
| 1776 |
+
<label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries', 'photo-gallery'); ?></label>
|
| 1777 |
<div class="bwg-flex">
|
| 1778 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo intval($row->mosaic_total_width); ?>" min="0" /><span>%</span>
|
| 1779 |
</div>
|
| 1780 |
+
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', 'photo-gallery'); ?></p>
|
| 1781 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1782 |
</div>
|
| 1783 |
</div>
|
| 1784 |
<div class="wd-box-content wd-width-100">
|
| 1785 |
<div class="wd-group">
|
| 1786 |
+
<label class="wd-label" for="mosaic_thumb_size"><?php _e('Thumbnail size', 'photo-gallery'); ?></label>
|
| 1787 |
<div class="bwg-flex">
|
| 1788 |
<input type="number" name="mosaic_thumb_size" id="mosaic_thumb_size" value="<?php echo intval($row->mosaic_thumb_size); ?>" min="0" /><span>px</span>
|
| 1789 |
</div>
|
| 1790 |
+
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', 'photo-gallery'); ?></p>
|
| 1791 |
</div>
|
| 1792 |
</div>
|
| 1793 |
<div class="wd-box-content wd-width-100">
|
| 1794 |
<div class="wd-group">
|
| 1795 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 1796 |
<div class="bwg-flex">
|
| 1797 |
+
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_0" value="0" <?php if ($row->mosaic_image_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_0'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_0" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label></div>
|
| 1798 |
+
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_1" value="1" <?php if ($row->mosaic_image_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_1'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 1799 |
+
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_2" value="2" <?php if ($row->mosaic_image_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_2'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 1800 |
+
<div><input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_3" value="3" <?php if ($row->mosaic_image_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_3'); bwg_pagination_description(this);" /><label for="mosaic_image_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 1801 |
</div>
|
| 1802 |
+
<p class="description" id="mosaic_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 1803 |
+
<p class="description" id="mosaic_image_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 1804 |
+
<p class="description" id="mosaic_image_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 1805 |
+
<p class="description" id="mosaic_image_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 1806 |
</div>
|
| 1807 |
</div>
|
| 1808 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_images_per_page">
|
| 1809 |
<div class="wd-group">
|
| 1810 |
+
<label class="wd-label" for="mosaic_images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 1811 |
<div class="bwg-flex">
|
| 1812 |
<input type="number" name="mosaic_images_per_page" id="mosaic_images_per_page" value="<?php echo intval($row->mosaic_images_per_page); ?>" min="0" />
|
| 1813 |
</div>
|
| 1814 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 1815 |
</div>
|
| 1816 |
</div>
|
| 1817 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_load_more_image_count">
|
| 1818 |
<div class="wd-group">
|
| 1819 |
+
<label class="wd-label" for="mosaic_load_more_image_count"><?php _e('Images per load', 'photo-gallery'); ?></label>
|
| 1820 |
<div class="bwg-flex">
|
| 1821 |
<input type="number" name="mosaic_load_more_image_count" id="mosaic_load_more_image_count" value="<?php echo intval($row->mosaic_load_more_image_count); ?>" min="0" />
|
| 1822 |
</div>
|
| 1823 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', 'photo-gallery'); ?></p>
|
| 1824 |
</div>
|
| 1825 |
</div>
|
| 1826 |
</div>
|
| 1827 |
<div class="wd-box-content wd-width-33">
|
| 1828 |
<div class="wd-box-content wd-width-100">
|
| 1829 |
<div class="wd-group">
|
| 1830 |
+
<label class="wd-label" for="mosaic_sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 1831 |
<div class="wd-width-43">
|
| 1832 |
<select name="mosaic_sort_by" id="mosaic_sort_by">
|
| 1833 |
+
<option value="order" <?php if ($row->mosaic_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 1834 |
+
<option value="alt" <?php if ($row->mosaic_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 1835 |
+
<option value="date" <?php if ($row->mosaic_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 1836 |
+
<option value="filename" <?php if ($row->mosaic_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 1837 |
+
<option value="size" <?php if ($row->mosaic_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 1838 |
+
<option value="random" <?php if ($row->mosaic_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 1839 |
</select>
|
| 1840 |
</div>
|
| 1841 |
<div class="wd-width-55">
|
| 1842 |
<select name="mosaic_order_by" id="mosaic_order_by">
|
| 1843 |
+
<option value="asc" <?php if ($row->mosaic_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 1844 |
+
<option value="desc" <?php if ($row->mosaic_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 1845 |
</select>
|
| 1846 |
</div>
|
| 1847 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 1848 |
</div>
|
| 1849 |
</div>
|
| 1850 |
<div class="wd-box-content wd-width-100">
|
| 1851 |
<div class="wd-group">
|
| 1852 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 1853 |
<div class="bwg-flex">
|
| 1854 |
+
<input type="radio" name="mosaic_show_search_box" id="mosaic_show_search_box_1" value="1" <?php if ($row->mosaic_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_1'); bwg_enable_disable('', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_1')" /><label for="mosaic_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1855 |
+
<input type="radio" name="mosaic_show_search_box" id="mosaic_show_search_box_0" value="0" <?php if (!$row->mosaic_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_0'); bwg_enable_disable('none', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_0')" /><label for="mosaic_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1856 |
</div>
|
| 1857 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 1858 |
</div>
|
| 1859 |
</div>
|
| 1860 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_placeholder">
|
| 1861 |
<div class="wd-group">
|
| 1862 |
+
<label class="wd-label" for="mosaic_placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 1863 |
<div class="bwg-flex">
|
| 1864 |
<input type="text" name="mosaic_placeholder" id="mosaic_placeholder" value="<?php echo esc_attr($row->mosaic_placeholder); ?>" />
|
| 1865 |
</div>
|
| 1867 |
</div>
|
| 1868 |
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_width">
|
| 1869 |
<div class="wd-group">
|
| 1870 |
+
<label class="wd-label" for="mosaic_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 1871 |
<div class="bwg-flex">
|
| 1872 |
<input type="number" name="mosaic_search_box_width" id="mosaic_search_box_width" value="<?php echo intval($row->mosaic_search_box_width); ?>" min="0" /><span>px</span>
|
| 1873 |
</div>
|
| 1875 |
</div>
|
| 1876 |
<div class="wd-box-content wd-width-100">
|
| 1877 |
<div class="wd-group">
|
| 1878 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 1879 |
<div class="bwg-flex">
|
| 1880 |
+
<input type="radio" name="mosaic_show_sort_images" id="mosaic_show_sort_images_1" value="1" <?php if ($row->mosaic_show_sort_images) echo 'checked="checked"'; ?> /><label for="mosaic_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1881 |
+
<input type="radio" name="mosaic_show_sort_images" id="mosaic_show_sort_images_0" value="0" <?php if (!$row->mosaic_show_sort_images) echo 'checked="checked"'; ?> /><label for="mosaic_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1882 |
</div>
|
| 1883 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 1884 |
</div>
|
| 1885 |
</div>
|
| 1886 |
<div class="wd-box-content wd-width-100">
|
| 1887 |
<div class="wd-group">
|
| 1888 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 1889 |
<div class="bwg-flex">
|
| 1890 |
+
<input type="radio" name="mosaic_show_tag_box" id="mosaic_show_tag_box_1" value="1" <?php if ($row->mosaic_show_tag_box) echo 'checked="checked"'; ?> /><label for="mosaic_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1891 |
+
<input type="radio" name="mosaic_show_tag_box" id="mosaic_show_tag_box_0" value="0" <?php if (!$row->mosaic_show_tag_box) echo 'checked="checked"'; ?> /><label for="mosaic_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1892 |
</div>
|
| 1893 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 1894 |
</div>
|
| 1895 |
</div>
|
| 1896 |
</div>
|
| 1897 |
<div class="wd-box-content wd-width-33">
|
| 1898 |
<div class="wd-box-content wd-width-100">
|
| 1899 |
<div class="wd-group">
|
| 1900 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 1901 |
<div class="bwg-flex">
|
| 1902 |
+
<input type="radio" name="mosaic_show_gallery_title" id="mosaic_thumb_name_yes" value="1" <?php if ($row->mosaic_show_gallery_title) echo 'checked="checked"'; ?> /><label for="mosaic_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1903 |
+
<input type="radio" name="mosaic_show_gallery_title" id="mosaic_thumb_name_no" value="0" <?php if (!$row->mosaic_show_gallery_title) echo 'checked="checked"'; ?> /><label for="mosaic_thumb_name_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1904 |
</div>
|
| 1905 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', 'photo-gallery'); ?></p>
|
| 1906 |
</div>
|
| 1907 |
</div>
|
| 1908 |
<div class="wd-box-content wd-width-100">
|
| 1909 |
<div class="wd-group">
|
| 1910 |
+
<label class="wd-label"><?php _e('Show gallery description', 'photo-gallery'); ?></label>
|
| 1911 |
<div class="bwg-flex">
|
| 1912 |
+
<input type="radio" name="mosaic_show_gallery_description" id="mosaic_show_gallery_description_1" value="1" <?php if ($row->mosaic_show_gallery_description) echo 'checked="checked"'; ?> /><label for="mosaic_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1913 |
+
<input type="radio" name="mosaic_show_gallery_description" id="mosaic_show_gallery_description_0" value="0" <?php if (!$row->mosaic_show_gallery_description) echo 'checked="checked"'; ?> /><label for="mosaic_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1914 |
</div>
|
| 1915 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', 'photo-gallery'); ?></p>
|
| 1916 |
</div>
|
| 1917 |
</div>
|
| 1918 |
<div class="wd-box-content wd-width-100">
|
| 1919 |
<div class="wd-group">
|
| 1920 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 1921 |
<div class="bwg-flex">
|
| 1922 |
+
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_1" value="hover" <?php if ($row->mosaic_image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 1923 |
+
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_0" value="none" <?php if ($row->mosaic_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_0" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 1924 |
</div>
|
| 1925 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', 'photo-gallery'); ?></p>
|
| 1926 |
</div>
|
| 1927 |
</div>
|
| 1928 |
<div class="wd-box-content wd-width-100">
|
| 1929 |
<div class="wd-group">
|
| 1930 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', 'photo-gallery'); ?></label>
|
| 1931 |
<div class="bwg-flex">
|
| 1932 |
+
<input type="radio" name="mosaic_play_icon" id="mosaic_play_icon_yes" value="1" <?php if ($row->mosaic_play_icon) echo 'checked="checked"'; ?> /><label for="mosaic_play_icon_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1933 |
+
<input type="radio" name="mosaic_play_icon" id="mosaic_play_icon_no" value="0" <?php if (!$row->mosaic_play_icon) echo 'checked="checked"'; ?> /><label for="mosaic_play_icon_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1934 |
</div>
|
| 1935 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', 'photo-gallery'); ?></p>
|
| 1936 |
</div>
|
| 1937 |
</div>
|
| 1938 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 1939 |
<div class="wd-group">
|
| 1940 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 1941 |
<div class="bwg-flex">
|
| 1942 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="mosaic_gallery_download" id="mosaic_gallery_download_1" value="1" <?php if ($row->mosaic_gallery_download) echo 'checked="checked"'; ?> /><label for="mosaic_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1943 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="mosaic_gallery_download" id="mosaic_gallery_download_0" value="0" <?php if (!$row->mosaic_gallery_download) echo 'checked="checked"'; ?> /><label for="mosaic_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1944 |
</div>
|
| 1945 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 1946 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 1947 |
<?php
|
| 1948 |
if ( !$zipArchiveClass) {
|
| 1956 |
?>
|
| 1957 |
<div class="wd-box-content wd-width-100">
|
| 1958 |
<div class="wd-group">
|
| 1959 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', 'photo-gallery'); ?></label>
|
| 1960 |
<div class="bwg-flex">
|
| 1961 |
+
<input type="radio" name="mosaic_ecommerce_icon_show_hover" id="mosaic_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->mosaic_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="mosaic_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 1962 |
+
<input type="radio" name="mosaic_ecommerce_icon_show_hover" id="mosaic_ecommerce_icon_show_hover_2" value="none" <?php if ($row->mosaic_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 1963 |
</div>
|
| 1964 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', 'photo-gallery'); ?></p>
|
| 1965 |
</div>
|
| 1966 |
</div>
|
| 1967 |
<?php
|
| 1973 |
<div class="wd-box-content wd-width-33">
|
| 1974 |
<div class="wd-box-content wd-width-100">
|
| 1975 |
<div class="wd-group">
|
| 1976 |
+
<label class="wd-label" for="slideshow_type"><?php _e('Slideshow effect', 'photo-gallery'); ?></label>
|
| 1977 |
<div class="bwg-flex">
|
| 1978 |
<select name="slideshow_type" id="slideshow_type">
|
| 1979 |
<?php
|
| 1980 |
foreach ($effects as $key => $effect) {
|
| 1981 |
?>
|
| 1982 |
<option value="<?php echo esc_attr($key); ?>"
|
| 1983 |
+
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.', 'photo-gallery') . '"' : ''; ?>
|
| 1984 |
+
<?php if ($row->slideshow_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect, 'photo-gallery'); ?></option>
|
| 1985 |
<?php
|
| 1986 |
}
|
| 1987 |
?>
|
| 1988 |
</select>
|
| 1989 |
</div>
|
| 1990 |
+
<p class="description"><?php _e('Select the animation effect for your slideshow.', 'photo-gallery'); ?></p>
|
| 1991 |
</div>
|
| 1992 |
</div>
|
| 1993 |
<div class="wd-box-content wd-width-100">
|
| 1994 |
<div class="wd-group">
|
| 1995 |
+
<label class="wd-label" for="slideshow_effect_duration"><?php _e('Effect duration', 'photo-gallery'); ?></label>
|
| 1996 |
<div class="bwg-flex">
|
| 1997 |
<input type="number" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo floatval($row->slideshow_effect_duration); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 1998 |
</div>
|
| 1999 |
+
<p class="description"><?php _e('Set the duration of your slideshow animation effect.', 'photo-gallery'); ?></p>
|
| 2000 |
</div>
|
| 2001 |
</div>
|
| 2002 |
<div class="wd-box-content wd-width-100">
|
| 2003 |
<div class="wd-group">
|
| 2004 |
+
<label class="wd-label" for="slideshow_interval"><?php _e('Time interval', 'photo-gallery'); ?></label>
|
| 2005 |
<div class="bwg-flex">
|
| 2006 |
<input type="number" name="slideshow_interval" id="slideshow_interval" value="<?php echo intval($row->slideshow_interval); ?>" min="0" /><span>sec.</span>
|
| 2007 |
</div>
|
| 2008 |
+
<p class="description"><?php _e('Specify the time interval between slides in Photo Gallery\'s Slideshow view.', 'photo-gallery'); ?></p>
|
| 2009 |
</div>
|
| 2010 |
</div>
|
| 2011 |
<div class="wd-box-content wd-width-100">
|
| 2012 |
<div class="wd-group">
|
| 2013 |
+
<label class="wd-label" for="slideshow_width"><?php _e('Slideshow dimensions', 'photo-gallery'); ?></label>
|
| 2014 |
<div class="bwg-flex">
|
| 2015 |
<input type="number" name="slideshow_width" id="slideshow_width" value="<?php echo intval($row->slideshow_width); ?>" min="0" /><span>px</span>
|
| 2016 |
<input type="number" name="slideshow_height" id="slideshow_height" value="<?php echo intval($row->slideshow_height); ?>" min="0" /><span>px</span>
|
| 2017 |
</div>
|
| 2018 |
+
<p class="description"><?php _e('Set the default dimensions of your slideshow galleries.', 'photo-gallery'); ?></p>
|
| 2019 |
</div>
|
| 2020 |
</div>
|
| 2021 |
</div>
|
| 2022 |
<div class="wd-box-content wd-width-33">
|
| 2023 |
<div class="wd-box-content wd-width-100">
|
| 2024 |
<div class="wd-group">
|
| 2025 |
+
<label class="wd-label" for="slideshow_sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 2026 |
<div class="wd-width-43">
|
| 2027 |
<select name="slideshow_sort_by" id="slideshow_sort_by">
|
| 2028 |
+
<option value="order" <?php if ($row->slideshow_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 2029 |
+
<option value="alt" <?php if ($row->slideshow_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 2030 |
+
<option value="date" <?php if ($row->slideshow_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 2031 |
+
<option value="filename" <?php if ($row->slideshow_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 2032 |
+
<option value="size" <?php if ($row->slideshow_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 2033 |
+
<option value="random" <?php if ($row->slideshow_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 2034 |
</select>
|
| 2035 |
</div>
|
| 2036 |
<div class="wd-width-55">
|
| 2037 |
<select name="slideshow_order_by" id="slideshow_order_by">
|
| 2038 |
+
<option value="asc" <?php if ($row->slideshow_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 2039 |
+
<option value="desc" <?php if ($row->slideshow_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 2040 |
</select>
|
| 2041 |
</div>
|
| 2042 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 2043 |
</div>
|
| 2044 |
</div>
|
| 2045 |
<div class="wd-box-content wd-width-100">
|
| 2046 |
<div class="wd-group">
|
| 2047 |
+
<label class="wd-label"><?php _e('Enable autoplay', 'photo-gallery'); ?></label>
|
| 2048 |
<div class="bwg-flex">
|
| 2049 |
+
<input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_yes" value="1" <?php if ($row->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2050 |
+
<input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_no" value="0" <?php if (!$row->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2051 |
</div>
|
| 2052 |
+
<p class="description"><?php _e('Activate this option to autoplay slideshow galleries.', 'photo-gallery'); ?></p>
|
| 2053 |
</div>
|
| 2054 |
</div>
|
| 2055 |
<div class="wd-box-content wd-width-100">
|
| 2056 |
<div class="wd-group">
|
| 2057 |
+
<label class="wd-label"><?php _e('Enable shuffle', 'photo-gallery'); ?></label>
|
| 2058 |
<div class="bwg-flex">
|
| 2059 |
+
<input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_yes" value="1" <?php if ($row->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2060 |
+
<input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_no" value="0" <?php if (!$row->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2061 |
</div>
|
| 2062 |
+
<p class="description"><?php _e('The slideshow images will be shuffled in case this setting is enabled.', 'photo-gallery'); ?></p>
|
| 2063 |
</div>
|
| 2064 |
</div>
|
| 2065 |
<div class="wd-box-content wd-width-100">
|
| 2066 |
<div class="wd-group">
|
| 2067 |
+
<label class="wd-label"><?php _e('Enable control buttons', 'photo-gallery'); ?></label>
|
| 2068 |
<div class="bwg-flex">
|
| 2069 |
+
<input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_yes" value="1" <?php if ($row->slideshow_enable_ctrl) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_yes');" /><label for="slideshow_enable_ctrl_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2070 |
+
<input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_no" value="0" <?php if (!$row->slideshow_enable_ctrl) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_no');" /><label for="slideshow_enable_ctrl_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2071 |
</div>
|
| 2072 |
+
<p class="description"><?php _e('Enable this option to show control buttons on your slideshow galleries.', 'photo-gallery'); ?></p>
|
| 2073 |
</div>
|
| 2074 |
</div>
|
| 2075 |
<div class="wd-box-content wd-width-100" id="tr_autohide_slideshow_navigation">
|
| 2076 |
<div class="wd-group">
|
| 2077 |
+
<label class="wd-label"><?php _e('Show Next / Previous buttons', 'photo-gallery'); ?></label>
|
| 2078 |
<div class="bwg-flex">
|
| 2079 |
+
<input type="radio" name="autohide_slideshow_navigation" id="autohide_slideshow_navigation_1" value="1" <?php if ($row->autohide_slideshow_navigation) echo 'checked="checked"'; ?> /><label for="autohide_slideshow_navigation_1" class="wd-radio-label"><?php _e('On hover', 'photo-gallery'); ?></label>
|
| 2080 |
+
<input type="radio" name="autohide_slideshow_navigation" id="autohide_slideshow_navigation_0" value="0" <?php if (!$row->autohide_slideshow_navigation) echo 'checked="checked"'; ?> /><label for="autohide_slideshow_navigation_0" class="wd-radio-label"><?php _e('Always', 'photo-gallery'); ?></label>
|
| 2081 |
</div>
|
| 2082 |
+
<p class="description"><?php _e('Display Next/Previous buttons on your slideshow galleries activating this setting.', 'photo-gallery'); ?></p>
|
| 2083 |
</div>
|
| 2084 |
</div>
|
| 2085 |
</div>
|
| 2086 |
<div class="wd-box-content wd-width-33">
|
| 2087 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2088 |
<div class="wd-group">
|
| 2089 |
+
<label class="wd-label"><?php _e('Slideshow filmstrip type', 'photo-gallery'); ?></label>
|
| 2090 |
<div class="bwg-flex">
|
| 2091 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_filmstrip_type" id="slideshow_filmstrip_none" value="0" <?php if (!$row->slideshow_filmstrip_type) echo 'checked="checked"'; ?> onclick="bwg_enable_disable('none','tr_slideshow_thumbnails_count','slideshow_filmstrip_none'); bwg_enable_disable('none','tr_slideshow_filmstrip_height','slideshow_filmstrip_none');" /><label for="slideshow_filmstrip_none" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label>
|
| 2092 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_filmstrip_type" id="slideshow_filmstrip_fix_dimension" value="1" <?php if ($row->slideshow_filmstrip_type && $row->slideshow_filmstrip_type == 1) echo 'checked="checked"'; ?> onclick="bwg_enable_disable('none','tr_slideshow_thumbnails_count','slideshow_filmstrip_fix_dimension'); bwg_enable_disable('','tr_slideshow_filmstrip_height','slideshow_filmstrip_fix_dimension');" /><label for="slideshow_filmstrip_fix_dimension" class="wd-radio-label"><?php _e('Fix dimension', 'photo-gallery'); ?></label>
|
| 2093 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_filmstrip_type" id="slideshow_filmstrip_fix_count" value="2" <?php if ($row->slideshow_filmstrip_type && $row->slideshow_filmstrip_type == 2) echo 'checked="checked"'; ?> onclick="bwg_enable_disable('','tr_slideshow_thumbnails_count','slideshow_filmstrip_fix_count'); bwg_enable_disable('none','tr_slideshow_filmstrip_height','slideshow_filmstrip_fix_count');" /><label for="slideshow_filmstrip_fix_count" class="wd-radio-label"><?php _e('Fix count', 'photo-gallery'); ?></label>
|
| 2094 |
</div>
|
| 2095 |
+
<p class="description"><?php _e('Select the type for the slideshow filmstrip.', 'photo-gallery'); ?></p>
|
| 2096 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2097 |
</div>
|
| 2098 |
</div>
|
| 2099 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_slideshow_thumbnails_count">
|
| 2100 |
<div class="wd-group">
|
| 2101 |
+
<label class="wd-label" for="slideshow_thumbnails_count"><?php _e('Slideshow thumbnails count', 'photo-gallery'); ?></label>
|
| 2102 |
<div class="bwg-flex">
|
| 2103 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_thumbnails_count" id="slideshow_thumbnails_count" value="<?php echo intval($row->slideshow_thumbnails_count); ?>" min="1" />
|
| 2104 |
</div>
|
| 2105 |
+
<p class="description"><?php _e('Set the number of items that will be displayed in the filmstrip. This will also construct the width of the filmstrip.', 'photo-gallery'); ?></p>
|
| 2106 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2107 |
</div>
|
| 2108 |
</div>
|
| 2109 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_slideshow_filmstrip_height">
|
| 2110 |
<div class="wd-group">
|
| 2111 |
+
<label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size', 'photo-gallery'); ?></label>
|
| 2112 |
<div class="bwg-flex">
|
| 2113 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo intval($row->slideshow_filmstrip_height); ?>" min="0" /><span>px</span>
|
| 2114 |
</div>
|
| 2115 |
+
<p class="description"><?php _e('Set the size of your filmstrip. If the filmstrip is horizontal, this indicates its height, whereas for vertical filmstrips it sets the width.', 'photo-gallery'); ?></p>
|
| 2116 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2117 |
</div>
|
| 2118 |
</div>
|
| 2119 |
<div class="wd-box-content wd-width-100">
|
| 2120 |
<div class="wd-group">
|
| 2121 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 2122 |
<div class="bwg-flex">
|
| 2123 |
+
<input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_yes" value="1" <?php if ($row->slideshow_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_enable_title_yes')" /><label for="slideshow_enable_title_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2124 |
+
<input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_no" value="0" <?php if (!$row->slideshow_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_title_position', 'slideshow_enable_title_no')" /><label for="slideshow_enable_title_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2125 |
</div>
|
| 2126 |
+
<p class="description"><?php _e('Set the size of your filmstrip. If the filmstrip is horizontal, this indicates its height, whereas for vertical filmstrips it sets the width.', 'photo-gallery'); ?></p>
|
| 2127 |
</div>
|
| 2128 |
</div>
|
| 2129 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_title_position">
|
| 2130 |
<div class="wd-group">
|
| 2131 |
+
<label class="wd-label"><?php _e('Title position', 'photo-gallery'); ?></label>
|
| 2132 |
<div class="bwg-flex">
|
| 2133 |
<table class="bwg_position_table">
|
| 2134 |
<tbody>
|
| 2150 |
</tbody>
|
| 2151 |
</table>
|
| 2152 |
</div>
|
| 2153 |
+
<p class="description"><?php _e('Set the position of image titles in Slideshow view.', 'photo-gallery'); ?></p>
|
| 2154 |
</div>
|
| 2155 |
</div>
|
| 2156 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_full_width_title">
|
| 2157 |
<div class="wd-group">
|
| 2158 |
+
<label class="wd-label"><?php _e('Full width title', 'photo-gallery'); ?></label>
|
| 2159 |
<div class="bwg-flex">
|
| 2160 |
+
<input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_1" value="1" <?php if ($row->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2161 |
+
<input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_0" value="0" <?php if (!$row->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2162 |
</div>
|
| 2163 |
+
<p class="description"><?php _e('Display image title based on the slideshow dimensions.', 'photo-gallery'); ?></p>
|
| 2164 |
</div>
|
| 2165 |
</div>
|
| 2166 |
<div class="wd-box-content wd-width-100">
|
| 2167 |
<div class="wd-group">
|
| 2168 |
+
<label class="wd-label"><?php _e('Show image description', 'photo-gallery'); ?></label>
|
| 2169 |
<div class="bwg-flex">
|
| 2170 |
+
<input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_yes" value="1" <?php if ($row->slideshow_enable_description) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_enable_description_yes')" /><label for="slideshow_enable_description_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2171 |
+
<input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_no" value="0" <?php if (!$row->slideshow_enable_description) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_description_position', 'slideshow_enable_description_no')" /><label for="slideshow_enable_description_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2172 |
</div>
|
| 2173 |
+
<p class="description"><?php _e('Enable this setting to show descriptions of images in Slideshow view.', 'photo-gallery'); ?></p>
|
| 2174 |
</div>
|
| 2175 |
</div>
|
| 2176 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_description_position">
|
| 2177 |
<div class="wd-group">
|
| 2178 |
+
<label class="wd-label"><?php _e('Description position', 'photo-gallery'); ?></label>
|
| 2179 |
<div class="bwg-flex">
|
| 2180 |
<table class="bwg_position_table">
|
| 2181 |
<tbody>
|
| 2197 |
</tbody>
|
| 2198 |
</table>
|
| 2199 |
</div>
|
| 2200 |
+
<p class="description"><?php _e('Set the position of image descriptions in Slideshow view.', 'photo-gallery'); ?></p>
|
| 2201 |
</div>
|
| 2202 |
</div>
|
| 2203 |
<div class="wd-box-content wd-width-100">
|
| 2204 |
<div class="wd-group">
|
| 2205 |
+
<label class="wd-label"><?php _e('Enable slideshow Music', 'photo-gallery'); ?></label>
|
| 2206 |
<div class="bwg-flex">
|
| 2207 |
+
<input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_yes" value="1" <?php if ($row->slideshow_enable_music) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_enable_music_yes')" /><label for="slideshow_enable_music_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2208 |
+
<input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_no" value="0" <?php if (!$row->slideshow_enable_music) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_music_url', 'slideshow_enable_music_no')" /><label for="slideshow_enable_music_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2209 |
</div>
|
| 2210 |
+
<p class="description"><?php _e('Enabling this option, you can have music playing along with your slideshow.', 'photo-gallery'); ?></p>
|
| 2211 |
</div>
|
| 2212 |
</div>
|
| 2213 |
<div class="wd-box-content wd-width-100" id="tr_slideshow_music_url">
|
| 2214 |
<div class="wd-group">
|
| 2215 |
+
<label class="wd-label" for="slideshow_audio_url"><?php _e('Audio URL', 'photo-gallery'); ?></label>
|
| 2216 |
<div class="bwg-flex">
|
| 2217 |
<input type="text" id="slideshow_audio_url" name="slideshow_audio_url" value="<?php echo esc_url($row->slideshow_audio_url); ?>" />
|
| 2218 |
</div>
|
| 2219 |
+
<p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.', 'photo-gallery'); ?></p>
|
| 2220 |
</div>
|
| 2221 |
</div>
|
| 2222 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2223 |
<div class="wd-group">
|
| 2224 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 2225 |
<div class="bwg-flex">
|
| 2226 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="slideshow_gallery_download" id="slideshow_gallery_download_1" value="1" <?php if ($row->slideshow_gallery_download) echo 'checked="checked"'; ?> /><label for="slideshow_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2227 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="slideshow_gallery_download" id="slideshow_gallery_download_0" value="0" <?php if (!$row->slideshow_gallery_download) echo 'checked="checked"'; ?> /><label for="slideshow_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2228 |
</div>
|
| 2229 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 2230 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2231 |
<?php
|
| 2232 |
if ( !$zipArchiveClass) {
|
| 2241 |
<div class="wd-box-content wd-width-33">
|
| 2242 |
<div class="wd-box-content wd-width-100">
|
| 2243 |
<div class="wd-group">
|
| 2244 |
+
<label class="wd-label" for="image_browser_width"><?php _e('Image width', 'photo-gallery'); ?></label>
|
| 2245 |
<div class="bwg-flex">
|
| 2246 |
<input type="number" name="image_browser_width" id="image_browser_width" value="<?php echo intval($row->image_browser_width); ?>" min="0" /><span>px</span>
|
| 2247 |
</div>
|
| 2248 |
+
<p class="description"><?php _e('Specify the default width of images in Image Browser view.', 'photo-gallery'); ?></p>
|
| 2249 |
</div>
|
| 2250 |
</div>
|
| 2251 |
<div class="wd-box-content wd-width-100">
|
| 2252 |
<div class="wd-group">
|
| 2253 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 2254 |
<div class="bwg-flex">
|
| 2255 |
+
<input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_1" value="1" <?php if ($row->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2256 |
+
<input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_0" value="0" <?php if (!$row->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2257 |
</div>
|
| 2258 |
</div>
|
| 2259 |
</div>
|
| 2260 |
<div class="wd-box-content wd-width-100">
|
| 2261 |
<div class="wd-group">
|
| 2262 |
+
<label class="wd-label"><?php _e('Show image description', 'photo-gallery'); ?></label>
|
| 2263 |
<div class="bwg-flex">
|
| 2264 |
+
<input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_1" value="1" <?php if ($row->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2265 |
+
<input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_0" value="0" <?php if (!$row->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2266 |
</div>
|
| 2267 |
+
<p class="description"><?php _e('Enable this setting to display titles of images in Image Browser view.', 'photo-gallery'); ?></p>
|
| 2268 |
</div>
|
| 2269 |
</div>
|
| 2270 |
</div>
|
| 2271 |
<div class="wd-box-content wd-width-33">
|
| 2272 |
<div class="wd-box-content wd-width-100">
|
| 2273 |
<div class="wd-group">
|
| 2274 |
+
<label class="wd-label" for="image_browser_sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 2275 |
<div class="wd-width-43">
|
| 2276 |
<select name="image_browser_sort_by" id="image_browser_sort_by">
|
| 2277 |
+
<option value="order" <?php if ($row->image_browser_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 2278 |
+
<option value="alt" <?php if ($row->image_browser_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 2279 |
+
<option value="date" <?php if ($row->image_browser_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 2280 |
+
<option value="filename" <?php if ($row->image_browser_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 2281 |
+
<option value="size" <?php if ($row->image_browser_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 2282 |
+
<option value="random" <?php if ($row->image_browser_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 2283 |
</select>
|
| 2284 |
</div>
|
| 2285 |
<div class="wd-width-55">
|
| 2286 |
<select name="image_browser_order_by" id="image_browser_order_by">
|
| 2287 |
+
<option value="asc" <?php if ($row->image_browser_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 2288 |
+
<option value="desc" <?php if ($row->image_browser_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 2289 |
</select>
|
| 2290 |
</div>
|
| 2291 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 2292 |
</div>
|
| 2293 |
</div>
|
| 2294 |
<div class="wd-box-content wd-width-100">
|
| 2295 |
<div class="wd-group">
|
| 2296 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 2297 |
<div class="bwg-flex">
|
| 2298 |
+
<input type="radio" name="image_browser_show_search_box" id="image_browser_show_search_box_1" value="1" <?php if ($row->image_browser_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_1'); bwg_enable_disable('', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_1')" /><label for="image_browser_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2299 |
+
<input type="radio" name="image_browser_show_search_box" id="image_browser_show_search_box_0" value="0" <?php if (!$row->image_browser_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_0'); bwg_enable_disable('none', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_0')" /><label for="image_browser_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2300 |
</div>
|
| 2301 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 2302 |
</div>
|
| 2303 |
</div>
|
| 2304 |
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_placeholder">
|
| 2305 |
<div class="wd-group">
|
| 2306 |
+
<label class="wd-label" for="image_browser_placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 2307 |
<div class="bwg-flex">
|
| 2308 |
<input type="text" name="image_browser_placeholder" id="image_browser_placeholder" value="<?php echo esc_attr($row->image_browser_placeholder); ?>" />
|
| 2309 |
</div>
|
| 2311 |
</div>
|
| 2312 |
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_width">
|
| 2313 |
<div class="wd-group">
|
| 2314 |
+
<label class="wd-label" for="image_browser_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 2315 |
<div class="bwg-flex">
|
| 2316 |
<input type="number" name="image_browser_search_box_width" id="image_browser_search_box_width" value="<?php echo intval($row->image_browser_search_box_width); ?>" min="0" /><span>px</span>
|
| 2317 |
</div>
|
| 2319 |
</div>
|
| 2320 |
<div class="wd-box-content wd-width-100">
|
| 2321 |
<div class="wd-group">
|
| 2322 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 2323 |
<div class="bwg-flex">
|
| 2324 |
+
<input type="radio" name="image_browser_show_sort_images" id="image_browser_show_sort_images_1" value="1" <?php if ($row->image_browser_show_sort_images) echo 'checked="checked"'; ?> /><label for="image_browser_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2325 |
+
<input type="radio" name="image_browser_show_sort_images" id="image_browser_show_sort_images_0" value="0" <?php if (!$row->image_browser_show_sort_images) echo 'checked="checked"'; ?> /><label for="image_browser_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2326 |
</div>
|
| 2327 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 2328 |
</div>
|
| 2329 |
</div>
|
| 2330 |
<div class="wd-box-content wd-width-100">
|
| 2331 |
<div class="wd-group">
|
| 2332 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 2333 |
<div class="bwg-flex">
|
| 2334 |
+
<input type="radio" name="image_browser_show_tag_box" id="image_browser_show_tag_box_1" value="1" <?php if ($row->image_browser_show_tag_box) echo 'checked="checked"'; ?> /><label for="image_browser_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2335 |
+
<input type="radio" name="image_browser_show_tag_box" id="image_browser_show_tag_box_0" value="0" <?php if (!$row->image_browser_show_tag_box) echo 'checked="checked"'; ?> /><label for="image_browser_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2336 |
</div>
|
| 2337 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 2338 |
</div>
|
| 2339 |
</div>
|
| 2340 |
</div>
|
| 2341 |
<div class="wd-box-content wd-width-33">
|
| 2342 |
<div class="wd-box-content wd-width-100">
|
| 2343 |
<div class="wd-group">
|
| 2344 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 2345 |
<div class="bwg-flex">
|
| 2346 |
+
<input type="radio" name="image_browser_show_gallery_title" id="image_browser_thumb_name_yes" value="1" <?php if ($row->image_browser_show_gallery_title) echo 'checked="checked"'; ?> /><label for="image_browser_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2347 |
+
<input type="radio" name="image_browser_show_gallery_title" id="image_browser_thumb_name_no" value="0" <?php if (!$row->image_browser_show_gallery_title) echo 'checked="checked"'; ?> /><label for="image_browser_thumb_name_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2348 |
</div>
|
| 2349 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', 'photo-gallery'); ?></p>
|
| 2350 |
</div>
|
| 2351 |
</div>
|
| 2352 |
<div class="wd-box-content wd-width-100">
|
| 2353 |
<div class="wd-group">
|
| 2354 |
+
<label class="wd-label"><?php _e('Show gallery description', 'photo-gallery'); ?></label>
|
| 2355 |
<div class="bwg-flex">
|
| 2356 |
+
<input type="radio" name="image_browser_show_gallery_description" id="image_browser_show_gallery_description_1" value="1" <?php if ($row->image_browser_show_gallery_description) echo 'checked="checked"'; ?> /><label for="image_browser_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2357 |
+
<input type="radio" name="image_browser_show_gallery_description" id="image_browser_show_gallery_description_0" value="0" <?php if (!$row->image_browser_show_gallery_description) echo 'checked="checked"'; ?> /><label for="image_browser_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2358 |
</div>
|
| 2359 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', 'photo-gallery'); ?></p>
|
| 2360 |
</div>
|
| 2361 |
</div>
|
| 2362 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2363 |
<div class="wd-group">
|
| 2364 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 2365 |
<div class="bwg-flex">
|
| 2366 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="image_browser_gallery_download" id="image_browser_gallery_download_1" value="1" <?php if ($row->image_browser_gallery_download) echo 'checked="checked"'; ?> /><label for="image_browser_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2367 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="image_browser_gallery_download" id="image_browser_gallery_download_0" value="0" <?php if (!$row->image_browser_gallery_download) echo 'checked="checked"'; ?> /><label for="image_browser_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2368 |
</div>
|
| 2369 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 2370 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2371 |
<?php
|
| 2372 |
if ( !$zipArchiveClass) {
|
| 2381 |
<div class="wd-box-content wd-width-33">
|
| 2382 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2383 |
<div class="wd-group">
|
| 2384 |
+
<label class="wd-label" for="blog_style_width"><?php _e('Image width', 'photo-gallery'); ?></label>
|
| 2385 |
<div class="bwg-flex">
|
| 2386 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_width" id="blog_style_width" value="<?php echo intval($row->blog_style_width); ?>" min="0" /><span>px</span>
|
| 2387 |
</div>
|
| 2388 |
+
<p class="description"><?php _e('Specify the default width of images in Blog Style view.', 'photo-gallery'); ?></p>
|
| 2389 |
</div>
|
| 2390 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2391 |
</div>
|
| 2392 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2393 |
<div class="wd-group">
|
| 2394 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 2395 |
<div class="bwg-flex">
|
| 2396 |
+
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_0" value="0" <?php if ($row->blog_style_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_0'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_0" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label></div>
|
| 2397 |
+
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_1" value="1" <?php if ($row->blog_style_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_1'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 2398 |
+
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_2" value="2" <?php if ($row->blog_style_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_2'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 2399 |
+
<div><input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_enable_page" id="blog_style_enable_page_3" value="3" <?php if ($row->blog_style_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_3'); bwg_pagination_description(this);" /><label for="blog_style_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 2400 |
</div>
|
| 2401 |
+
<p class="description" id="blog_style_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 2402 |
+
<p class="description" id="blog_style_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 2403 |
+
<p class="description" id="blog_style_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 2404 |
+
<p class="description" id="blog_style_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 2405 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2406 |
</div>
|
| 2407 |
</div>
|
| 2408 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_blog_style_images_per_page">
|
| 2409 |
<div class="wd-group">
|
| 2410 |
+
<label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 2411 |
<div class="bwg-flex">
|
| 2412 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_images_per_page" id="blog_style_images_per_page" value="<?php echo intval($row->blog_style_images_per_page); ?>" min="0" />
|
| 2413 |
</div>
|
| 2414 |
+
<p class="description"><?php _e('Select the number of images displayed per page in Blog Style view.', 'photo-gallery'); ?></p>
|
| 2415 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2416 |
</div>
|
| 2417 |
</div>
|
| 2418 |
<div class="wd-box-content wd-width-100" id="tr_blog_style_load_more_image_count">
|
| 2419 |
<div class="wd-group">
|
| 2420 |
+
<label class="wd-label" for="blog_style_load_more_image_count"><?php _e('Images per load', 'photo-gallery'); ?></label>
|
| 2421 |
<div class="bwg-flex">
|
| 2422 |
<input type="number" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo intval($row->blog_style_load_more_image_count); ?>" min="0" />
|
| 2423 |
</div>
|
| 2424 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', 'photo-gallery'); ?></p>
|
| 2425 |
</div>
|
| 2426 |
</div>
|
| 2427 |
</div>
|
| 2428 |
<div class="wd-box-content wd-width-33">
|
| 2429 |
<div class="wd-box-content wd-width-100">
|
| 2430 |
<div class="wd-group">
|
| 2431 |
+
<label class="wd-label" for="blog_style_sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 2432 |
<div class="wd-width-43">
|
| 2433 |
<select name="blog_style_sort_by" id="blog_style_sort_by">
|
| 2434 |
+
<option value="order" <?php if ($row->blog_style_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 2435 |
+
<option value="alt" <?php if ($row->blog_style_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 2436 |
+
<option value="date" <?php if ($row->blog_style_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 2437 |
+
<option value="filename" <?php if ($row->blog_style_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 2438 |
+
<option value="size" <?php if ($row->blog_style_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 2439 |
+
<option value="random" <?php if ($row->blog_style_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 2440 |
</select>
|
| 2441 |
</div>
|
| 2442 |
<div class="wd-width-55">
|
| 2443 |
<select name="blog_style_order_by" id="blog_style_order_by">
|
| 2444 |
+
<option value="asc" <?php if ($row->blog_style_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 2445 |
+
<option value="desc" <?php if ($row->blog_style_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 2446 |
</select>
|
| 2447 |
</div>
|
| 2448 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 2449 |
</div>
|
| 2450 |
</div>
|
| 2451 |
<div class="wd-box-content wd-width-100">
|
| 2452 |
<div class="wd-group">
|
| 2453 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 2454 |
<div class="bwg-flex">
|
| 2455 |
+
<input type="radio" name="blog_style_show_search_box" id="blog_style_show_search_box_1" value="1" <?php if ($row->blog_style_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_1'); bwg_enable_disable('', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_1')" /><label for="blog_style_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2456 |
+
<input type="radio" name="blog_style_show_search_box" id="blog_style_show_search_box_0" value="0" <?php if (!$row->blog_style_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_0'); bwg_enable_disable('none', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_0')" /><label for="blog_style_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2457 |
</div>
|
| 2458 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 2459 |
</div>
|
| 2460 |
</div>
|
| 2461 |
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_placeholder">
|
| 2462 |
<div class="wd-group">
|
| 2463 |
+
<label class="wd-label" for="blog_style_placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 2464 |
<div class="bwg-flex">
|
| 2465 |
<input type="text" name="blog_style_placeholder" id="blog_style_placeholder" value="<?php echo esc_attr($row->blog_style_placeholder); ?>" />
|
| 2466 |
</div>
|
| 2468 |
</div>
|
| 2469 |
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_width">
|
| 2470 |
<div class="wd-group">
|
| 2471 |
+
<label class="wd-label" for="blog_style_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 2472 |
<div class="bwg-flex">
|
| 2473 |
<input type="number" name="blog_style_search_box_width" id="blog_style_search_box_width" value="<?php echo intval($row->blog_style_search_box_width); ?>" min="0" /><span>px</span>
|
| 2474 |
</div>
|
| 2476 |
</div>
|
| 2477 |
<div class="wd-box-content wd-width-100">
|
| 2478 |
<div class="wd-group">
|
| 2479 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 2480 |
<div class="bwg-flex">
|
| 2481 |
+
<input type="radio" name="blog_style_show_sort_images" id="blog_style_show_sort_images_1" value="1" <?php if ($row->blog_style_show_sort_images) echo 'checked="checked"'; ?> /><label for="blog_style_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2482 |
+
<input type="radio" name="blog_style_show_sort_images" id="blog_style_show_sort_images_0" value="0" <?php if (!$row->blog_style_show_sort_images) echo 'checked="checked"'; ?> /><label for="blog_style_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2483 |
</div>
|
| 2484 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 2485 |
</div>
|
| 2486 |
</div>
|
| 2487 |
<div class="wd-box-content wd-width-100">
|
| 2488 |
<div class="wd-group">
|
| 2489 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 2490 |
<div class="bwg-flex">
|
| 2491 |
+
<input type="radio" name="blog_style_show_tag_box" id="blog_style_show_tag_box_1" value="1" <?php if ($row->blog_style_show_tag_box) echo 'checked="checked"'; ?> /><label for="blog_style_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2492 |
+
<input type="radio" name="blog_style_show_tag_box" id="blog_style_show_tag_box_0" value="0" <?php if (!$row->blog_style_show_tag_box) echo 'checked="checked"'; ?> /><label for="blog_style_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2493 |
</div>
|
| 2494 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 2495 |
</div>
|
| 2496 |
</div>
|
| 2497 |
</div>
|
| 2498 |
<div class="wd-box-content wd-width-33">
|
| 2499 |
<div class="wd-box-content wd-width-100">
|
| 2500 |
<div class="wd-group">
|
| 2501 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 2502 |
<div class="bwg-flex">
|
| 2503 |
+
<input type="radio" name="blog_style_show_gallery_title" id="blog_style_thumb_name_yes" value="1" <?php if ($row->blog_style_show_gallery_title) echo 'checked="checked"'; ?> /><label for="blog_style_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2504 |
+
<input type="radio" name="blog_style_show_gallery_title" id="blog_style_thumb_name_no" value="0" <?php if (!$row->blog_style_show_gallery_title) echo 'checked="checked"'; ?> /><label for="blog_style_thumb_name_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2505 |
</div>
|
| 2506 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', 'photo-gallery'); ?></p>
|
| 2507 |
</div>
|
| 2508 |
</div>
|
| 2509 |
<div class="wd-box-content wd-width-100">
|
| 2510 |
<div class="wd-group">
|
| 2511 |
+
<label class="wd-label"><?php _e('Show gallery description', 'photo-gallery'); ?></label>
|
| 2512 |
<div class="bwg-flex">
|
| 2513 |
+
<input type="radio" name="blog_style_show_gallery_description" id="blog_style_show_gallery_description_1" value="1" <?php if ($row->blog_style_show_gallery_description) echo 'checked="checked"'; ?> /><label for="blog_style_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2514 |
+
<input type="radio" name="blog_style_show_gallery_description" id="blog_style_show_gallery_description_0" value="0" <?php if (!$row->blog_style_show_gallery_description) echo 'checked="checked"'; ?> /><label for="blog_style_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2515 |
</div>
|
| 2516 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', 'photo-gallery'); ?></p>
|
| 2517 |
</div>
|
| 2518 |
</div>
|
| 2519 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2520 |
<div class="wd-group">
|
| 2521 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 2522 |
<div class="bwg-flex">
|
| 2523 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_title_enable" id="blog_style_title_enable_1" value="1" <?php if ($row->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2524 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_title_enable" id="blog_style_title_enable_0" value="0" <?php if (!$row->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2525 |
</div>
|
| 2526 |
+
<p class="description"><?php _e('Enable this setting to display titles of images in Blog Style view.', 'photo-gallery'); ?></p>
|
| 2527 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2528 |
</div>
|
| 2529 |
</div>
|
| 2530 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2531 |
<div class="wd-group">
|
| 2532 |
+
<label class="wd-label"><?php _e('Show image description', 'photo-gallery'); ?></label>
|
| 2533 |
<div class="bwg-flex">
|
| 2534 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_description_enable" id="blog_style_description_enable_1" value="1" <?php if ($row->blog_style_description_enable) echo 'checked="checked"'; ?> /><label for="blog_style_description_enable_1" class="wd-radio-label"><?php echo _e('Yes', 'photo-gallery'); ?></label>
|
| 2535 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_description_enable" id="blog_style_description_enable_0" value="0" <?php if (!$row->blog_style_description_enable) echo 'checked="checked"'; ?> /><label for="blog_style_description_enable_0" class="wd-radio-label"><?php echo _e('No', 'photo-gallery'); ?></label>
|
| 2536 |
</div>
|
| 2537 |
+
<p class="description"><?php _e('Enable this setting to show descriptions of images in Blog Style view.', 'photo-gallery'); ?></p>
|
| 2538 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2539 |
</div>
|
| 2540 |
</div>
|
| 2541 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2542 |
<div class="wd-group">
|
| 2543 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 2544 |
<div class="bwg-flex">
|
| 2545 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="blog_style_gallery_download" id="blog_style_gallery_download_1" value="1" <?php if ($row->blog_style_gallery_download) echo 'checked="checked"'; ?> /><label for="blog_style_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2546 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="blog_style_gallery_download" id="blog_style_gallery_download_0" value="0" <?php if (!$row->blog_style_gallery_download) echo 'checked="checked"'; ?> /><label for="blog_style_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2547 |
</div>
|
| 2548 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 2549 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2550 |
<?php
|
| 2551 |
if ( !$zipArchiveClass) {
|
| 2560 |
<div class="wd-box-content wd-width-33">
|
| 2561 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2562 |
<div class="wd-group">
|
| 2563 |
+
<label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images', 'photo-gallery'); ?></label>
|
| 2564 |
<div class="bwg-flex">
|
| 2565 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_column_number" id="carousel_image_column_number" value="<?php echo intval($row->carousel_image_column_number); ?>" min="0" />
|
| 2566 |
</div>
|
| 2567 |
+
<p class="description"><?php _e('Set the maximum number of images that are shown with Carousel display.', 'photo-gallery'); ?></p>
|
| 2568 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2569 |
</div>
|
| 2570 |
</div>
|
| 2571 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2572 |
<div class="wd-group">
|
| 2573 |
+
<label class="wd-label" for="carousel_width"><?php _e('Image dimensions', 'photo-gallery'); ?></label>
|
| 2574 |
<div class="bwg-flex">
|
| 2575 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_width" id="carousel_width" value="<?php echo intval($row->carousel_width); ?>" min="0" /><span>x</span>
|
| 2576 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_height" id="carousel_height" value="<?php echo intval($row->carousel_height); ?>" min="0" /><span>px</span>
|
| 2577 |
</div>
|
| 2578 |
+
<p class="description"><?php _e('Specify the dimensions of carousel images in pixels.', 'photo-gallery'); ?></p>
|
| 2579 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2580 |
</div>
|
| 2581 |
</div>
|
| 2582 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2583 |
<div class="wd-group">
|
| 2584 |
+
<label class="wd-label" for="carousel_image_par"><?php _e('Carousel ratio', 'photo-gallery'); ?></label>
|
| 2585 |
<div class="bwg-flex">
|
| 2586 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_par" id="carousel_image_par" value="<?php echo floatval($row->carousel_image_par); ?>" min="0" max="1" step="0.01" />
|
| 2587 |
</div>
|
| 2588 |
+
<p class="description"><?php _e('This option defines the proportion of dimensions between neighboring images in the carousel.', 'photo-gallery'); ?></p>
|
| 2589 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2590 |
</div>
|
| 2591 |
</div>
|
| 2592 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2593 |
<div class="wd-group">
|
| 2594 |
+
<label class="wd-label" for="carousel_r_width"><?php _e('Fixed width', 'photo-gallery'); ?></label>
|
| 2595 |
<div class="bwg-flex">
|
| 2596 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_r_width" id="carousel_r_width" value="<?php echo intval($row->carousel_r_width); ?>" min="0" /><span>px</span>
|
| 2597 |
</div>
|
| 2598 |
+
<p class="description"><?php _e('Specify the fixed width of Carousel gallery container.', 'photo-gallery'); ?></p>
|
| 2599 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2600 |
</div>
|
| 2601 |
</div>
|
| 2603 |
<div class="wd-box-content wd-width-33">
|
| 2604 |
<div class="wd-box-content wd-width-100">
|
| 2605 |
<div class="wd-group">
|
| 2606 |
+
<label class="wd-label" for="carousel_sort_by"><?php _e('Order by', 'photo-gallery'); ?></label>
|
| 2607 |
<div class="wd-width-43">
|
| 2608 |
<select name="carousel_sort_by" id="carousel_sort_by">
|
| 2609 |
+
<option value="order" <?php if ($row->carousel_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 2610 |
+
<option value="alt" <?php if ($row->carousel_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 2611 |
+
<option value="date" <?php if ($row->carousel_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 2612 |
+
<option value="filename" <?php if ($row->carousel_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 2613 |
+
<option value="size" <?php if ($row->carousel_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 2614 |
+
<option value="random" <?php if ($row->carousel_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 2615 |
</select>
|
| 2616 |
</div>
|
| 2617 |
<div class="wd-width-55">
|
| 2618 |
<select name="carousel_order_by" id="carousel_order_by">
|
| 2619 |
+
<option value="asc" <?php if ($row->carousel_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 2620 |
+
<option value="desc" <?php if ($row->carousel_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 2621 |
</select>
|
| 2622 |
</div>
|
| 2623 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 2624 |
</div>
|
| 2625 |
</div>
|
| 2626 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2627 |
<div class="wd-group">
|
| 2628 |
+
<label class="wd-label"><?php _e('Enable autoplay', 'photo-gallery'); ?></label>
|
| 2629 |
<div class="bwg-flex">
|
| 2630 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_autoplay" id="carousel_enable_autoplay_yes" value="1" <?php if ($row->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2631 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_autoplay" id="carousel_enable_autoplay_no" value="0" <?php if (!$row->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2632 |
</div>
|
| 2633 |
+
<p class="description"><?php _e('Activate this option to autoplay Carousel galleries.', 'photo-gallery'); ?></p>
|
| 2634 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2635 |
</div>
|
| 2636 |
</div>
|
| 2637 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2638 |
<div class="wd-group">
|
| 2639 |
+
<label class="wd-label" for="carousel_interval"><?php _e('Time interval', 'photo-gallery'); ?></label>
|
| 2640 |
<div class="bwg-flex">
|
| 2641 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_interval" id="carousel_interval" value="<?php echo floatval($row->carousel_interval); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 2642 |
</div>
|
| 2643 |
+
<p class="description"><?php _e('Specify the time interval between rotations in Photo Gallery\'s Carousel view.', 'photo-gallery'); ?></p>
|
| 2644 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2645 |
</div>
|
| 2646 |
</div>
|
| 2647 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2648 |
<div class="wd-group">
|
| 2649 |
+
<label class="wd-label"><?php _e('Container fit', 'photo-gallery'); ?></label>
|
| 2650 |
<div class="bwg-flex">
|
| 2651 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_yes" value="1" <?php if ($row->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_yes" class="wd-radio-label"><?php _e("Yes", 'photo-gallery'); ?></label>
|
| 2652 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_no" value="0" <?php if (!$row->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2653 |
</div>
|
| 2654 |
+
<p class="description"><?php _e('Enabling this setting fits the images inside their container on Carousel galleries with fixed width.', 'photo-gallery'); ?></p>
|
| 2655 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2656 |
</div>
|
| 2657 |
</div>
|
| 2658 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2659 |
<div class="wd-group">
|
| 2660 |
+
<label class="wd-label"><?php _e('Next/Previous buttons', 'photo-gallery'); ?></label>
|
| 2661 |
<div class="bwg-flex">
|
| 2662 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_prev_next_butt" id="carousel_prev_next_butt_yes" value="1" <?php if ($row->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_yes" class="wd-radio-label"><?php _e("Yes", 'photo-gallery'); ?></label>
|
| 2663 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_prev_next_butt" id="carousel_prev_next_butt_no" value="0" <?php if (!$row->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2664 |
</div>
|
| 2665 |
+
<p class="description"><?php _e('Enable this setting to display Next/Previous buttons on your galleries with Carousel view.', 'photo-gallery'); ?></p>
|
| 2666 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2667 |
</div>
|
| 2668 |
</div>
|
| 2670 |
<div class="wd-box-content wd-width-33">
|
| 2671 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2672 |
<div class="wd-group">
|
| 2673 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 2674 |
<div class="bwg-flex">
|
| 2675 |
+
<input type="radio" name="carousel_show_gallery_title" id="carousel_thumb_name_yes" value="1" <?php if ($row->carousel_show_gallery_title) echo 'checked="checked"'; ?> /><label for="carousel_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2676 |
+
<input type="radio" name="carousel_show_gallery_title" id="carousel_thumb_name_no" value="0" <?php if (!$row->carousel_show_gallery_title) echo 'checked="checked"'; ?> /><label for="carousel_thumb_name_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2677 |
</div>
|
| 2678 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', 'photo-gallery'); ?></p>
|
| 2679 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2680 |
</div>
|
| 2681 |
</div>
|
| 2682 |
<div class="wd-box-content wd-width-100">
|
| 2683 |
<div class="wd-group">
|
| 2684 |
+
<label class="wd-label"><?php _e('Show gallery description', 'photo-gallery'); ?></label>
|
| 2685 |
<div class="bwg-flex">
|
| 2686 |
+
<input type="radio" name="carousel_show_gallery_description" id="carousel_show_gallery_description_1" value="1" <?php if ($row->carousel_show_gallery_description) echo 'checked="checked"'; ?> /><label for="carousel_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2687 |
+
<input type="radio" name="carousel_show_gallery_description" id="carousel_show_gallery_description_0" value="0" <?php if (!$row->carousel_show_gallery_description) echo 'checked="checked"'; ?> /><label for="carousel_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2688 |
</div>
|
| 2689 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', 'photo-gallery'); ?></p>
|
| 2690 |
</div>
|
| 2691 |
</div>
|
| 2692 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2693 |
<div class="wd-group">
|
| 2694 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 2695 |
<div class="bwg-flex">
|
| 2696 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_title" id="carousel_enable_title_yes" value="1" <?php if ($row->carousel_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_carousel_title_position', 'carousel_enable_title_yes')" /><label for="carousel_enable_title_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2697 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_title" id="carousel_enable_title_no" value="0" <?php if (!$row->carousel_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_carousel_title_position', 'carousel_enable_title_no')" /><label for="carousel_enable_title_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2698 |
</div>
|
| 2699 |
+
<p class="description"><?php _e('Display image titles in Photo Gallery Carousel view by activating this option.', 'photo-gallery'); ?></p>
|
| 2700 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2701 |
</div>
|
| 2702 |
</div>
|
| 2703 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2704 |
<div class="wd-group">
|
| 2705 |
+
<label class="wd-label"><?php _e('Play/Pause buttons', 'photo-gallery'); ?></label>
|
| 2706 |
<div class="bwg-flex">
|
| 2707 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_play_pause_butt" id="carousel_play_pause_butt_yes" value="1" <?php if ($row->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2708 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_play_pause_butt" id="carousel_play_pause_butt_no" value="0" <?php if (!$row->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2709 |
</div>
|
| 2710 |
+
<p class="description"><?php _e('Activate this to show Play/Pause buttons on your Carousel galleries.', 'photo-gallery'); ?></p>
|
| 2711 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2712 |
</div>
|
| 2713 |
</div>
|
| 2714 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2715 |
<div class="wd-group">
|
| 2716 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 2717 |
<div class="bwg-flex">
|
| 2718 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="carousel_gallery_download" id="carousel_gallery_download_1" value="1" <?php if ($row->carousel_gallery_download) echo 'checked="checked"'; ?> /><label for="carousel_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2719 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="carousel_gallery_download" id="carousel_gallery_download_0" value="0" <?php if (!$row->carousel_gallery_download) echo 'checked="checked"'; ?> /><label for="carousel_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2720 |
</div>
|
| 2721 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 2722 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2723 |
<?php
|
| 2724 |
if ( !$zipArchiveClass) {
|
| 2739 |
<div class="wd-box-content wd-width-33">
|
| 2740 |
<div class="wd-box-content wd-width-100">
|
| 2741 |
<div class="wd-group">
|
| 2742 |
+
<label class="wd-label" for="album_column_number"><?php _e('Number of gallery group columns', 'photo-gallery'); ?></label>
|
| 2743 |
<div class="bwg-flex">
|
| 2744 |
<input type="number" name="album_column_number" id="album_column_number" value="<?php echo intval($row->album_column_number); ?>" min="0" />
|
| 2745 |
</div>
|
| 2746 |
+
<p class="description"><?php _e('Set the maximum number of columns in gallery groups. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 2747 |
</div>
|
| 2748 |
</div>
|
| 2749 |
<div class="wd-box-content wd-width-100">
|
| 2750 |
<div class="wd-group">
|
| 2751 |
+
<label class="wd-label" for="album_thumb_width"><?php _e('Gallery group thumbnail dimensions', 'photo-gallery'); ?></label>
|
| 2752 |
<div class="bwg-flex">
|
| 2753 |
<input type="number" name="album_thumb_width" id="album_thumb_width" value="<?php echo intval($row->album_thumb_width); ?>" min="0" /><span>x</span>
|
| 2754 |
<input type="number" name="album_thumb_height" id="album_thumb_height" value="<?php echo intval($row->album_thumb_height); ?>" min="0" /><span>px</span>
|
| 2755 |
</div>
|
| 2756 |
+
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', 'photo-gallery'); ?></p>
|
| 2757 |
</div>
|
| 2758 |
</div>
|
| 2759 |
<div class="wd-box-content wd-width-100">
|
| 2760 |
<div class="wd-group">
|
| 2761 |
+
<label class="wd-label" for="album_image_column_number"><?php _e('Number of image columns', 'photo-gallery'); ?></label>
|
| 2762 |
<div class="bwg-flex">
|
| 2763 |
<input type="number" name="album_image_column_number" id="album_image_column_number" value="<?php echo intval($row->album_image_column_number); ?>" min="0" />
|
| 2764 |
</div>
|
| 2765 |
+
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 2766 |
</div>
|
| 2767 |
</div>
|
| 2768 |
<div class="wd-box-content wd-width-100" id="tr_album_thumbnail_dimensions">
|
| 2769 |
<div class="wd-group">
|
| 2770 |
+
<label class="wd-label" for="album_image_thumb_width"><?php _e('Thumbnail dimensions', 'photo-gallery'); ?></label>
|
| 2771 |
<div class="bwg-flex">
|
| 2772 |
<input type="number" name="album_image_thumb_width" id="album_image_thumb_width" value="<?php echo intval($row->album_image_thumb_width); ?>" min="0" /><span>x</span>
|
| 2773 |
<input type="number" name="album_image_thumb_height" id="album_image_thumb_height" value="<?php echo intval($row->album_image_thumb_height); ?>" min="0" /><span>px</span>
|
| 2774 |
</div>
|
| 2775 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', 'photo-gallery'); ?></p>
|
| 2776 |
</div>
|
| 2777 |
</div>
|
| 2778 |
<div class="wd-box-content wd-width-100" id="tr_album_pagination">
|
| 2779 |
<div class="wd-group">
|
| 2780 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 2781 |
<div class="bwg-flex">
|
| 2782 |
+
<div><input type="radio" name="album_enable_page" id="album_enable_page_0" value="0" <?php if ($row->album_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label></div>
|
| 2783 |
+
<div><input type="radio" name="album_enable_page" id="album_enable_page_1" value="1" <?php if ($row->album_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 2784 |
+
<div><input type="radio" name="album_enable_page" id="album_enable_page_2" value="2" <?php if ($row->album_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 2785 |
+
<div><input type="radio" name="album_enable_page" id="album_enable_page_3" value="3" <?php if ($row->album_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 2786 |
</div>
|
| 2787 |
+
<p class="description" id="album_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 2788 |
+
<p class="description" id="album_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 2789 |
+
<p class="description" id="album_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 2790 |
+
<p class="description" id="album_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 2791 |
</div>
|
| 2792 |
</div>
|
| 2793 |
<div class="wd-box-content wd-width-100" id="tr_albums_per_page">
|
| 2794 |
<div class="wd-group">
|
| 2795 |
+
<label class="wd-label" for="albums_per_page"><?php _e('Gallery groups per page', 'photo-gallery'); ?></label>
|
| 2796 |
<div class="bwg-flex">
|
| 2797 |
<input type="number" name="albums_per_page" id="albums_per_page" value="<?php echo intval($row->albums_per_page); ?>" min="0" />
|
| 2798 |
</div>
|
| 2799 |
+
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 2800 |
</div>
|
| 2801 |
</div>
|
| 2802 |
<div class="wd-box-content wd-width-100" id="tr_album_images_per_page">
|
| 2803 |
<div class="wd-group">
|
| 2804 |
+
<label class="wd-label" for="album_images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 2805 |
<div class="bwg-flex">
|
| 2806 |
<input type="number" name="album_images_per_page" id="album_images_per_page" value="<?php echo intval($row->album_images_per_page); ?>" min="0" />
|
| 2807 |
</div>
|
| 2808 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 2809 |
</div>
|
| 2810 |
</div>
|
| 2811 |
</div>
|
| 2812 |
<div class="wd-box-content wd-width-33">
|
| 2813 |
<div class="wd-box-content wd-width-100">
|
| 2814 |
<div class="wd-group">
|
| 2815 |
+
<label class="wd-label" for="compact_album_sort_by"><?php _e('Order Gallery group by', 'photo-gallery'); ?></label>
|
| 2816 |
<div class="wd-width-43">
|
| 2817 |
<select name="compact_album_sort_by" id="compact_album_sort_by">
|
| 2818 |
+
<option value="order" <?php if ($row->compact_album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 2819 |
+
<option value="name" <?php if ($row->compact_album_sort_by == 'name') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 2820 |
+
<option value="modified_date" <?php if ($row->compact_album_sort_by == 'modified_date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 2821 |
+
<option value="random" <?php if ($row->compact_album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 2822 |
</select>
|
| 2823 |
</div>
|
| 2824 |
<div class="wd-width-55">
|
| 2825 |
<select name="compact_album_order_by" id="compact_album_order_by">
|
| 2826 |
+
<option value="asc" <?php if ($row->compact_album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 2827 |
+
<option value="desc" <?php if ($row->compact_album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 2828 |
</select>
|
| 2829 |
</div>
|
| 2830 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery group images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 2831 |
</div>
|
| 2832 |
<div class="wd-group">
|
| 2833 |
+
<label class="wd-label" for="album_sort_by"><?php _e('Order images by', 'photo-gallery'); ?></label>
|
| 2834 |
<div class="wd-width-43">
|
| 2835 |
<select name="album_sort_by" id="album_sort_by">
|
| 2836 |
+
<option value="order" <?php if ($row->album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 2837 |
+
<option value="alt" <?php if ($row->album_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 2838 |
+
<option value="date" <?php if ($row->album_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 2839 |
+
<option value="filename" <?php if ($row->album_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 2840 |
+
<option value="size" <?php if ($row->album_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 2841 |
+
<option value="random" <?php if ($row->album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 2842 |
</select>
|
| 2843 |
</div>
|
| 2844 |
<div class="wd-width-55">
|
| 2845 |
<select name="album_order_by" id="album_order_by">
|
| 2846 |
+
<option value="asc" <?php if ($row->album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 2847 |
+
<option value="desc" <?php if ($row->album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 2848 |
</select>
|
| 2849 |
</div>
|
| 2850 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 2851 |
</div>
|
| 2852 |
</div>
|
| 2853 |
<div class="wd-box-content wd-width-100">
|
| 2854 |
<div class="wd-group">
|
| 2855 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 2856 |
<div class="bwg-flex">
|
| 2857 |
+
<input type="radio" name="album_show_search_box" id="album_show_search_box_1" value="1" <?php if ($row->album_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_search_box_width', 'album_show_search_box_1'); bwg_enable_disable('', 'tr_album_search_box_placeholder', 'album_show_search_box_1')" /><label for="album_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2858 |
+
<input type="radio" name="album_show_search_box" id="album_show_search_box_0" value="0" <?php if (!$row->album_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_search_box_width', 'album_show_search_box_0'); bwg_enable_disable('none', 'tr_album_search_box_placeholder', 'album_show_search_box_0')" /><label for="album_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2859 |
</div>
|
| 2860 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 2861 |
</div>
|
| 2862 |
</div>
|
| 2863 |
<div class="wd-box-content wd-width-100" id="tr_album_search_box_placeholder">
|
| 2864 |
<div class="wd-group">
|
| 2865 |
+
<label class="wd-label" for="album_placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 2866 |
<div class="bwg-flex">
|
| 2867 |
<input type="text" name="album_placeholder" id="album_placeholder" value="<?php echo esc_attr($row->album_placeholder); ?>" />
|
| 2868 |
</div>
|
| 2870 |
</div>
|
| 2871 |
<div class="wd-box-content wd-width-100" id="tr_album_search_box_width">
|
| 2872 |
<div class="wd-group">
|
| 2873 |
+
<label class="wd-label" for="album_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 2874 |
<div class="bwg-flex">
|
| 2875 |
<input type="number" name="album_search_box_width" id="album_search_box_width" value="<?php echo intval($row->album_search_box_width); ?>" min="0" /><span>px</span>
|
| 2876 |
</div>
|
| 2878 |
</div>
|
| 2879 |
<div class="wd-box-content wd-width-100">
|
| 2880 |
<div class="wd-group">
|
| 2881 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 2882 |
<div class="bwg-flex">
|
| 2883 |
+
<input type="radio" name="album_show_sort_images" id="album_show_sort_images_1" value="1" <?php if ($row->album_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2884 |
+
<input type="radio" name="album_show_sort_images" id="album_show_sort_images_0" value="0" <?php if (!$row->album_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2885 |
</div>
|
| 2886 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 2887 |
</div>
|
| 2888 |
</div>
|
| 2889 |
<div class="wd-box-content wd-width-100">
|
| 2890 |
<div class="wd-group">
|
| 2891 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 2892 |
<div class="bwg-flex">
|
| 2893 |
+
<input type="radio" name="album_show_tag_box" id="album_show_tag_box_1" value="1" <?php if ($row->album_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2894 |
+
<input type="radio" name="album_show_tag_box" id="album_show_tag_box_0" value="0" <?php if (!$row->album_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2895 |
</div>
|
| 2896 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 2897 |
</div>
|
| 2898 |
</div>
|
| 2899 |
</div>
|
| 2900 |
<div class="wd-box-content wd-width-33">
|
| 2901 |
<div class="wd-box-content wd-width-100">
|
| 2902 |
<div class="wd-group">
|
| 2903 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery title', 'photo-gallery'); ?></label>
|
| 2904 |
<div class="bwg-flex">
|
| 2905 |
+
<input type="radio" name="show_album_name" id="show_album_name_enable_1" value="1" <?php if ($row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2906 |
+
<input type="radio" name="show_album_name" id="show_album_name_enable_0" value="0" <?php if (!$row->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2907 |
</div>
|
| 2908 |
+
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', 'photo-gallery'); ?></p>
|
| 2909 |
</div>
|
| 2910 |
</div>
|
| 2911 |
<div class="wd-box-content wd-width-100">
|
| 2912 |
<div class="wd-group">
|
| 2913 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery description', 'photo-gallery'); ?></label>
|
| 2914 |
<div class="bwg-flex">
|
| 2915 |
+
<input type="radio" name="album_show_gallery_description" id="album_show_gallery_description_1" value="1" <?php if ($row->album_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2916 |
+
<input type="radio" name="album_show_gallery_description" id="album_show_gallery_description_0" value="0" <?php if (!$row->album_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2917 |
</div>
|
| 2918 |
+
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', 'photo-gallery'); ?></p>
|
| 2919 |
</div>
|
| 2920 |
</div>
|
| 2921 |
<div class="wd-box-content wd-width-100">
|
| 2922 |
<div class="wd-group">
|
| 2923 |
+
<label class="wd-label"><?php _e('Show gallery title', 'photo-gallery'); ?></label>
|
| 2924 |
<div class="bwg-flex">
|
| 2925 |
+
<div><input type="radio" name="album_title_show_hover" id="album_title_show_hover_1" value="hover" <?php if ($row->album_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label></div>
|
| 2926 |
+
<div><input type="radio" name="album_title_show_hover" id="album_title_show_hover_0" value="show" <?php if ($row->album_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label></div>
|
| 2927 |
+
<div><input type="radio" name="album_title_show_hover" id="album_title_show_hover_2" value="none" <?php if ($row->album_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label></div>
|
| 2928 |
</div>
|
| 2929 |
+
<p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.', 'photo-gallery'); ?></p>
|
| 2930 |
</div>
|
| 2931 |
</div>
|
| 2932 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 2933 |
<div class="wd-group">
|
| 2934 |
+
<label class="wd-label" for="album_view_type"><?php _e('Gallery view type', 'photo-gallery'); ?></label>
|
| 2935 |
<select name="album_view_type" id="album_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
|
| 2936 |
+
<option value="thumbnail" <?php if ($row->album_view_type == 'thumbnail') echo 'selected="selected"'; ?>><?php _e('Thumbnail', 'photo-gallery'); ?></option>
|
| 2937 |
+
<option value="masonry" <?php if ($row->album_view_type == 'masonry') echo 'selected="selected"'; ?>><?php _e('Masonry', 'photo-gallery'); ?></option>
|
| 2938 |
+
<option value="mosaic" <?php if ($row->album_view_type == 'mosaic') echo 'selected="selected"'; ?>><?php _e('Mosaic', 'photo-gallery'); ?></option>
|
| 2939 |
+
<option value="slideshow" <?php if ($row->album_view_type == 'slideshow') echo 'selected="selected"'; ?>><?php _e('Slideshow', 'photo-gallery'); ?></option>
|
| 2940 |
+
<option value="image_browser" <?php if ($row->album_view_type == 'image_browser') echo 'selected="selected"'; ?>><?php _e('Image Browser', 'photo-gallery'); ?></option>
|
| 2941 |
+
<option value="blog_style" <?php if ($row->album_view_type == 'blog_style') echo 'selected="selected"'; ?>><?php _e('Blog Style', 'photo-gallery'); ?></option>
|
| 2942 |
+
<option value="carousel" <?php if ($row->album_view_type == 'carousel') echo 'selected="selected"'; ?>><?php _e('Carousel', 'photo-gallery'); ?></option>
|
| 2943 |
</select>
|
| 2944 |
+
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry, Mosaic, Slideshow, Image browser, Blog style or Carousel.', 'photo-gallery'); ?></p>
|
| 2945 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2946 |
</div>
|
| 2947 |
</div>
|
| 2948 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_mosaic">
|
| 2949 |
<div class="wd-group">
|
| 2950 |
+
<label class="wd-label"><?php _e('Mosaic gallery type', 'photo-gallery'); ?></label>
|
| 2951 |
<div class="bwg-flex">
|
| 2952 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_mosaic" id="album_mosaic_0" value="vertical" <?php if ($row->album_mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="album_mosaic_0" class="wd-radio-label"><?php _e('Vertical', 'photo-gallery'); ?></label>
|
| 2953 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_mosaic" id="album_mosaic_1" value="horizontal" <?php if ($row->album_mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="album_mosaic_1" class="wd-radio-label"><?php _e('Horizontal', 'photo-gallery'); ?></label>
|
| 2954 |
</div>
|
| 2955 |
+
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', 'photo-gallery'); ?></p>
|
| 2956 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2957 |
</div>
|
| 2958 |
</div>
|
| 2959 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_resizable_mosaic">
|
| 2960 |
<div class="wd-group">
|
| 2961 |
+
<label class="wd-label"><?php _e('Resizable mosaic', 'photo-gallery'); ?></label>
|
| 2962 |
<div class="bwg-flex">
|
| 2963 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_resizable_mosaic" id="album_resizable_mosaic_1" value="1" <?php if ($row->album_resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="album_resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2964 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_resizable_mosaic" id="album_resizable_mosaic_0" value="0" <?php if ($row->album_resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="album_resizable_mosaic_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2965 |
</div>
|
| 2966 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', 'photo-gallery'); ?></p>
|
| 2967 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2968 |
</div>
|
| 2969 |
</div>
|
| 2970 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_mosaic_total_width">
|
| 2971 |
<div class="wd-group">
|
| 2972 |
+
<label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries', 'photo-gallery'); ?></label>
|
| 2973 |
<div class="bwg-flex">
|
| 2974 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_mosaic_total_width" id="album_mosaic_total_width" value="<?php echo intval($row->album_mosaic_total_width); ?>" min="0" /><span>%</span>
|
| 2975 |
</div>
|
| 2976 |
+
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', 'photo-gallery'); ?></p>
|
| 2977 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 2978 |
</div>
|
| 2979 |
</div>
|
| 2980 |
<div class="wd-box-content wd-width-100">
|
| 2981 |
<div class="wd-group">
|
| 2982 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 2983 |
<div class="bwg-flex">
|
| 2984 |
+
<div><input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_1" value="hover" <?php if ($row->album_image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label></div>
|
| 2985 |
+
<div><input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_0" value="show" <?php if ($row->album_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label id="for_album_image_title_show_hover_0" for="album_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label></div>
|
| 2986 |
+
<div><input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_2" value="none" <?php if ($row->album_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label></div>
|
| 2987 |
</div>
|
| 2988 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', 'photo-gallery'); ?></p>
|
| 2989 |
</div>
|
| 2990 |
</div>
|
| 2991 |
<div class="wd-box-content wd-width-100">
|
| 2992 |
<div class="wd-group">
|
| 2993 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', 'photo-gallery'); ?></label>
|
| 2994 |
<div class="bwg-flex">
|
| 2995 |
+
<input type="radio" name="album_play_icon" id="album_play_icon_yes" value="1" <?php if ($row->album_play_icon) echo 'checked="checked"'; ?> /><label for="album_play_icon_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2996 |
+
<input type="radio" name="album_play_icon" id="album_play_icon_no" value="0" <?php if (!$row->album_play_icon) echo 'checked="checked"'; ?> /><label for="album_play_icon_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2997 |
</div>
|
| 2998 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', 'photo-gallery'); ?></p>
|
| 2999 |
</div>
|
| 3000 |
</div>
|
| 3001 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3002 |
<div class="wd-group">
|
| 3003 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 3004 |
<div class="bwg-flex">
|
| 3005 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_gallery_download" id="album_gallery_download_1" value="1" <?php if ($row->album_gallery_download) echo 'checked="checked"'; ?> /><label for="album_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3006 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_gallery_download" id="album_gallery_download_0" value="0" <?php if (!$row->album_gallery_download) echo 'checked="checked"'; ?> /><label for="album_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3007 |
</div>
|
| 3008 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 3009 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3010 |
<?php
|
| 3011 |
if ( !$zipArchiveClass) {
|
| 3019 |
?>
|
| 3020 |
<div class="wd-box-content wd-width-100">
|
| 3021 |
<div class="wd-group">
|
| 3022 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', 'photo-gallery'); ?></label>
|
| 3023 |
<div class="bwg-flex">
|
| 3024 |
+
<label for="album_ecommerce_icon_show_hover_1" class="wd-radio-label"><input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->album_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 3025 |
+
<label id="for_album_ecommerce_icon_show_hover_0" for="album_ecommerce_icon_show_hover_0" class="wd-radio-label"><input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_0" value="show" <?php if ($row->album_ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><?php _e('Always show', 'photo-gallery'); ?></label>
|
| 3026 |
+
<label for="album_ecommerce_icon_show_hover_2" class="wd-radio-label"><input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_2" value="none" <?php if ($row->album_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 3027 |
</div>
|
| 3028 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', 'photo-gallery'); ?></p>
|
| 3029 |
</div>
|
| 3030 |
</div>
|
| 3031 |
<?php
|
| 3037 |
<div class="wd-box-content wd-width-33">
|
| 3038 |
<div class="wd-box-content wd-width-100">
|
| 3039 |
<div class="wd-group">
|
| 3040 |
+
<label class="wd-label" for="album_masonry_column_number"><?php _e('Number of gallery group columns', 'photo-gallery'); ?></label>
|
| 3041 |
<div class="bwg-flex">
|
| 3042 |
<input type="number" name="album_masonry_column_number" id="album_masonry_column_number" value="<?php echo intval($row->album_masonry_column_number); ?>" min="0" />
|
| 3043 |
</div>
|
| 3044 |
+
<p class="description"><?php _e('Set the maximum number of columns in gallery groups. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 3045 |
</div>
|
| 3046 |
</div>
|
| 3047 |
<div class="wd-box-content wd-width-100">
|
| 3048 |
<div class="wd-group">
|
| 3049 |
+
<label class="wd-label" for="album_masonry_thumb_width"><?php _e('Gallery group thumbnail width', 'photo-gallery'); ?></label>
|
| 3050 |
<div class="bwg-flex">
|
| 3051 |
<input type="number" name="album_masonry_thumb_width" id="album_masonry_thumb_width" value="<?php echo intval($row->album_masonry_thumb_width); ?>" min="0" /><span>px</span>
|
| 3052 |
</div>
|
| 3053 |
+
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', 'photo-gallery'); ?></p>
|
| 3054 |
</div>
|
| 3055 |
</div>
|
| 3056 |
<div class="wd-box-content wd-width-100">
|
| 3057 |
<div class="wd-group">
|
| 3058 |
+
<label class="wd-label" for="album_masonry_image_column_number"><?php _e('Number of image columns', 'photo-gallery'); ?></label>
|
| 3059 |
<div class="bwg-flex">
|
| 3060 |
<input type="number" name="album_masonry_image_column_number" id="album_masonry_image_column_number" value="<?php echo intval($row->album_masonry_image_column_number); ?>" min="0" />
|
| 3061 |
</div>
|
| 3062 |
+
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 3063 |
</div>
|
| 3064 |
</div>
|
| 3065 |
<div class="wd-box-content wd-width-100">
|
| 3066 |
<div class="wd-group">
|
| 3067 |
+
<label class="wd-label" for="album_masonry_image_thumb_width"><?php _e('Thumbnail width', 'photo-gallery'); ?></label>
|
| 3068 |
<div class="bwg-flex">
|
| 3069 |
<input type="number" name="album_masonry_image_thumb_width" id="album_masonry_image_thumb_width" value="<?php echo intval($row->album_masonry_image_thumb_width); ?>" min="0" /><span>px</span>
|
| 3070 |
</div>
|
| 3071 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', 'photo-gallery'); ?></p>
|
| 3072 |
</div>
|
| 3073 |
</div>
|
| 3074 |
<div class="wd-box-content wd-width-100">
|
| 3075 |
<div class="wd-group">
|
| 3076 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 3077 |
<div class="bwg-flex">
|
| 3078 |
+
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_0" value="0" <?php if ($row->album_masonry_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label></div>
|
| 3079 |
+
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_1" value="1" <?php if ($row->album_masonry_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 3080 |
+
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_2" value="2" <?php if ($row->album_masonry_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 3081 |
+
<div><input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_3" value="3" <?php if ($row->album_masonry_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_masonry_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 3082 |
</div>
|
| 3083 |
+
<p class="description" id="album_masonry_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 3084 |
+
<p class="description" id="album_masonry_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 3085 |
+
<p class="description" id="album_masonry_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 3086 |
+
<p class="description" id="album_masonry_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 3087 |
</div>
|
| 3088 |
</div>
|
| 3089 |
<div class="wd-box-content wd-width-100" id="tr_albums_masonry_per_page">
|
| 3090 |
<div class="wd-group">
|
| 3091 |
+
<label class="wd-label" for="albums_masonry_per_page"><?php _e('Gallery groups per page', 'photo-gallery'); ?></label>
|
| 3092 |
<div class="bwg-flex">
|
| 3093 |
<input type="number" name="albums_masonry_per_page" id="albums_masonry_per_page" value="<?php echo intval($row->albums_masonry_per_page); ?>" min="0" />
|
| 3094 |
</div>
|
| 3095 |
+
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 3096 |
</div>
|
| 3097 |
</div>
|
| 3098 |
<div class="wd-box-content wd-width-100" id="tr_album_masonry_images_per_page">
|
| 3099 |
<div class="wd-group">
|
| 3100 |
+
<label class="wd-label" for="album_masonry_images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 3101 |
<div class="bwg-flex">
|
| 3102 |
<input type="number" name="album_masonry_images_per_page" id="album_masonry_images_per_page" value="<?php echo intval($row->album_masonry_images_per_page); ?>" min="0" />
|
| 3103 |
</div>
|
| 3104 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 3105 |
</div>
|
| 3106 |
</div>
|
| 3107 |
</div>
|
| 3108 |
<div class="wd-box-content wd-width-33">
|
| 3109 |
<div class="wd-box-content wd-width-100">
|
| 3110 |
<div class="wd-group">
|
| 3111 |
+
<label class="wd-label" for="masonry_album_sort_by"><?php _e('Order Gallery group by', 'photo-gallery'); ?></label>
|
| 3112 |
<div class="wd-width-43">
|
| 3113 |
<select name="masonry_album_sort_by" id="masonry_album_sort_by">
|
| 3114 |
+
<option value="order" <?php if ($row->masonry_album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 3115 |
+
<option value="name" <?php if ($row->masonry_album_sort_by == 'name') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 3116 |
+
<option value="modified_date" <?php if ($row->masonry_album_sort_by == 'modified_date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 3117 |
+
<option value="random" <?php if ($row->masonry_album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 3118 |
</select>
|
| 3119 |
</div>
|
| 3120 |
<div class="wd-width-55">
|
| 3121 |
<select name="masonry_album_order_by" id="masonry_album_order_by">
|
| 3122 |
+
<option value="asc" <?php if ($row->masonry_album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 3123 |
+
<option value="desc" <?php if ($row->masonry_album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 3124 |
</select>
|
| 3125 |
</div>
|
| 3126 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery group images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 3127 |
</div>
|
| 3128 |
<div class="wd-group">
|
| 3129 |
+
<label class="wd-label" for="album_masonry_sort_by"><?php _e('Order images by', 'photo-gallery'); ?></label>
|
| 3130 |
<div class="wd-width-43">
|
| 3131 |
<select name="album_masonry_sort_by" id="album_masonry_sort_by">
|
| 3132 |
+
<option value="order" <?php if ($row->album_masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 3133 |
+
<option value="alt" <?php if ($row->album_masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 3134 |
+
<option value="date" <?php if ($row->album_masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 3135 |
+
<option value="filename" <?php if ($row->album_masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 3136 |
+
<option value="size" <?php if ($row->album_masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 3137 |
+
<option value="random" <?php if ($row->album_masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 3138 |
</select>
|
| 3139 |
</div>
|
| 3140 |
<div class="wd-width-55">
|
| 3141 |
<select name="album_masonry_order_by" id="album_masonry_order_by">
|
| 3142 |
+
<option value="asc" <?php if ($row->album_masonry_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 3143 |
+
<option value="desc" <?php if ($row->album_masonry_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 3144 |
</select>
|
| 3145 |
</div>
|
| 3146 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 3147 |
</div>
|
| 3148 |
</div>
|
| 3149 |
<div class="wd-box-content wd-width-100">
|
| 3150 |
<div class="wd-group">
|
| 3151 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 3152 |
<div class="bwg-flex">
|
| 3153 |
+
<input type="radio" name="album_masonry_show_search_box" id="album_masonry_show_search_box_1" value="1" <?php if ($row->album_masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_1'); bwg_enable_disable('', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_1')" /><label for="album_masonry_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3154 |
+
<input type="radio" name="album_masonry_show_search_box" id="album_masonry_show_search_box_0" value="0" <?php if (!$row->album_masonry_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_0'); bwg_enable_disable('none', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_0')" /><label for="album_masonry_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3155 |
</div>
|
| 3156 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 3157 |
</div>
|
| 3158 |
</div>
|
| 3159 |
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_placeholder">
|
| 3160 |
<div class="wd-group">
|
| 3161 |
+
<label class="wd-label" for="album_masonry_placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 3162 |
<div class="bwg-flex">
|
| 3163 |
<input type="text" name="album_masonry_placeholder" id="album_masonry_placeholder" value="<?php echo esc_attr($row->album_masonry_placeholder); ?>" />
|
| 3164 |
</div>
|
| 3166 |
</div>
|
| 3167 |
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_width">
|
| 3168 |
<div class="wd-group">
|
| 3169 |
+
<label class="wd-label" for="album_masonry_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 3170 |
<div class="bwg-flex">
|
| 3171 |
<input type="number" name="album_masonry_search_box_width" id="album_masonry_search_box_width" value="<?php echo intval($row->album_masonry_search_box_width); ?>" min="0" /><span>px</span>
|
| 3172 |
</div>
|
| 3174 |
</div>
|
| 3175 |
<div class="wd-box-content wd-width-100">
|
| 3176 |
<div class="wd-group">
|
| 3177 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 3178 |
<div class="bwg-flex">
|
| 3179 |
+
<input type="radio" name="album_masonry_show_sort_images" id="album_masonry_show_sort_images_1" value="1" <?php if ($row->album_masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_masonry_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3180 |
+
<input type="radio" name="album_masonry_show_sort_images" id="album_masonry_show_sort_images_0" value="0" <?php if (!$row->album_masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_masonry_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3181 |
</div>
|
| 3182 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 3183 |
</div>
|
| 3184 |
</div>
|
| 3185 |
<div class="wd-box-content wd-width-100">
|
| 3186 |
<div class="wd-group">
|
| 3187 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 3188 |
<div class="bwg-flex">
|
| 3189 |
+
<input type="radio" name="album_masonry_show_tag_box" id="album_masonry_show_tag_box_1" value="1" <?php if ($row->album_masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_masonry_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3190 |
+
<input type="radio" name="album_masonry_show_tag_box" id="album_masonry_show_tag_box_0" value="0" <?php if (!$row->album_masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_masonry_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3191 |
</div>
|
| 3192 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 3193 |
</div>
|
| 3194 |
</div>
|
| 3195 |
</div>
|
| 3196 |
<div class="wd-box-content wd-width-33">
|
| 3197 |
<div class="wd-box-content wd-width-100">
|
| 3198 |
<div class="wd-group">
|
| 3199 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery title', 'photo-gallery'); ?></label>
|
| 3200 |
<div class="bwg-flex">
|
| 3201 |
+
<input type="radio" name="show_album_masonry_name" id="show_album_masonry_name_enable_1" value="1" <?php if ($row->show_album_masonry_name) echo 'checked="checked"'; ?> /><label for="show_album_masonry_name_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3202 |
+
<input type="radio" name="show_album_masonry_name" id="show_album_masonry_name_enable_0" value="0" <?php if (!$row->show_album_masonry_name) echo 'checked="checked"'; ?> /><label for="show_album_masonry_name_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3203 |
</div>
|
| 3204 |
+
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', 'photo-gallery'); ?></p>
|
| 3205 |
</div>
|
| 3206 |
</div>
|
| 3207 |
<div class="wd-box-content wd-width-100">
|
| 3208 |
<div class="wd-group">
|
| 3209 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery description', 'photo-gallery'); ?></label>
|
| 3210 |
<div class="bwg-flex">
|
| 3211 |
+
<input type="radio" name="album_masonry_show_gallery_description" id="album_masonry_show_gallery_description_1" value="1" <?php if ($row->album_masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_masonry_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3212 |
+
<input type="radio" name="album_masonry_show_gallery_description" id="album_masonry_show_gallery_description_0" value="0" <?php if (!$row->album_masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_masonry_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3213 |
</div>
|
| 3214 |
+
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', 'photo-gallery'); ?></p>
|
| 3215 |
</div>
|
| 3216 |
</div>
|
| 3217 |
<div class="wd-box-content wd-width-100">
|
| 3218 |
<div class="wd-group">
|
| 3219 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 3220 |
<div class="bwg-flex">
|
| 3221 |
+
<div><input type="radio" name="album_masonry_image_title" id="album_masonry_image_title_0" value="hover" <?php if ($row->album_masonry_image_title == "hover") echo 'checked="checked"'; ?> /><label for="album_masonry_image_title_0" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label></div>
|
| 3222 |
+
<div><input type="radio" name="album_masonry_image_title" id="album_masonry_image_title_1" value="show" <?php if ($row->album_masonry_image_title == "show") echo 'checked="checked"'; ?> /><label for="album_masonry_image_title_1" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label></div>
|
| 3223 |
+
<div><input type="radio" name="album_masonry_image_title" id="album_masonry_image_title_2" value="none" <?php if ($row->album_masonry_image_title == "none") echo 'checked="checked"'; ?> /><label for="album_masonry_image_title_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label></div>
|
| 3224 |
</div>
|
| 3225 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', 'photo-gallery'); ?></p>
|
| 3226 |
</div>
|
| 3227 |
</div>
|
| 3228 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3229 |
<div class="wd-group">
|
| 3230 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 3231 |
<div class="bwg-flex">
|
| 3232 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_masonry_gallery_download" id="album_masonry_gallery_download_1" value="1" <?php if ($row->album_masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="album_masonry_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3233 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_masonry_gallery_download" id="album_masonry_gallery_download_0" value="0" <?php if (!$row->album_masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="album_masonry_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3234 |
</div>
|
| 3235 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 3236 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3237 |
<?php
|
| 3238 |
if ( !$zipArchiveClass) {
|
| 3246 |
?>
|
| 3247 |
<div class="wd-box-content wd-width-100">
|
| 3248 |
<div class="wd-group">
|
| 3249 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', 'photo-gallery'); ?></label>
|
| 3250 |
<div class="bwg-flex">
|
| 3251 |
+
<input type="radio" name="album_masonry_ecommerce_icon_show_hover" id="album_masonry_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->album_masonry_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_masonry_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 3252 |
+
<input type="radio" name="album_masonry_ecommerce_icon_show_hover" id="album_masonry_ecommerce_icon_show_hover_2" value="none" <?php if ($row->album_masonry_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_masonry_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 3253 |
</div>
|
| 3254 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', 'photo-gallery'); ?></p>
|
| 3255 |
</div>
|
| 3256 |
</div>
|
| 3257 |
<?php
|
| 3263 |
<div class="wd-box-content wd-width-33">
|
| 3264 |
<div class="wd-box-content wd-width-100">
|
| 3265 |
<div class="wd-group">
|
| 3266 |
+
<label class="wd-label" for="extended_album_height"><?php _e('Extended gallery group height', 'photo-gallery'); ?></label>
|
| 3267 |
<div class="bwg-flex">
|
| 3268 |
<input type="number" name="extended_album_height" id="extended_album_height" value="<?php echo intval($row->extended_album_height); ?>" min="0" /><span>px</span>
|
| 3269 |
</div>
|
| 3270 |
+
<p class="description"><?php _e('Set the height of blocks in Extended gallery groups.', 'photo-gallery'); ?></p>
|
| 3271 |
</div>
|
| 3272 |
</div>
|
| 3273 |
<div class="wd-box-content wd-width-100">
|
| 3274 |
<div class="wd-group">
|
| 3275 |
+
<label class="wd-label" for="extended_album_column_number"><?php _e('Number of columns', 'photo-gallery'); ?></label>
|
| 3276 |
<div class="bwg-flex">
|
| 3277 |
+
<input type="radio" name="extended_album_column_number" id="extended_album_column_number_1" value="1" <?php if ($row->extended_album_column_number == 1) echo 'checked="checked"'; ?> /><label for="extended_album_column_number_1" class="wd-radio-label"><?php _e('1 column', 'photo-gallery'); ?></label>
|
| 3278 |
+
<input type="radio" name="extended_album_column_number" id="extended_album_column_number_2" value="2" <?php if ($row->extended_album_column_number == 2) echo 'checked="checked"'; ?> /><label for="extended_album_column_number_2" class="wd-radio-label"><?php _e('2 column', 'photo-gallery'); ?></label>
|
| 3279 |
+
<input type="radio" name="extended_album_column_number" id="extended_album_column_number_3" value="3" <?php if ($row->extended_album_column_number == 3) echo 'checked="checked"'; ?> /><label for="extended_album_column_number_3" class="wd-radio-label"><?php _e('3 column', 'photo-gallery'); ?></label>
|
| 3280 |
</div>
|
| 3281 |
+
<p class="description"><?php _e('Set the maximum number of columns.', 'photo-gallery'); ?></p>
|
| 3282 |
</div>
|
| 3283 |
</div>
|
| 3284 |
<div class="wd-box-content wd-width-100">
|
| 3285 |
<div class="wd-group">
|
| 3286 |
+
<label class="wd-label" for="album_extended_thumb_width"><?php _e('Gallery group thumbnail dimensions', 'photo-gallery'); ?></label>
|
| 3287 |
<div class="bwg-flex">
|
| 3288 |
<input type="number" name="album_extended_thumb_width" id="album_extended_thumb_width" value="<?php echo intval($row->album_extended_thumb_width); ?>" min="0" /><span>x</span>
|
| 3289 |
<input type="number" name="album_extended_thumb_height" id="album_extended_thumb_height" value="<?php echo intval($row->album_extended_thumb_height); ?>" min="0" /><span>px</span>
|
| 3290 |
</div>
|
| 3291 |
+
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', 'photo-gallery'); ?></p>
|
| 3292 |
</div>
|
| 3293 |
</div>
|
| 3294 |
<div class="wd-box-content wd-width-100">
|
| 3295 |
<div class="wd-group">
|
| 3296 |
+
<label class="wd-label" for="album_extended_image_column_number"><?php _e('Number of image columns', 'photo-gallery'); ?></label>
|
| 3297 |
<div class="bwg-flex">
|
| 3298 |
<input type="number" name="album_extended_image_column_number" id="album_extended_image_column_number" value="<?php echo intval($row->album_extended_image_column_number); ?>" min="0" />
|
| 3299 |
</div>
|
| 3300 |
+
<p class="description"><?php _e('Set the maximum number of image columns in galleries. Note, that the parent container needs to be large enough to display all columns.', 'photo-gallery'); ?></p>
|
| 3301 |
</div>
|
| 3302 |
</div>
|
| 3303 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_thumbnail_dimensions">
|
| 3304 |
<div class="wd-group">
|
| 3305 |
+
<label class="wd-label" for="album_extended_image_thumb_width"><?php _e('Thumbnail dimensions', 'photo-gallery'); ?></label>
|
| 3306 |
<div class="bwg-flex">
|
| 3307 |
<input type="number" name="album_extended_image_thumb_width" id="album_extended_image_thumb_width" value="<?php echo intval($row->album_extended_image_thumb_width); ?>" min="0" /><span>x</span>
|
| 3308 |
<input type="number" name="album_extended_image_thumb_height" id="album_extended_image_thumb_height" value="<?php echo intval($row->album_extended_image_thumb_height); ?>" min="0" /><span>px</span>
|
| 3309 |
</div>
|
| 3310 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', 'photo-gallery'); ?></p>
|
| 3311 |
</div>
|
| 3312 |
</div>
|
| 3313 |
<div class="wd-box-content wd-width-100">
|
| 3314 |
<div class="wd-group">
|
| 3315 |
+
<label class="wd-label"><?php _e('Pagination', 'photo-gallery'); ?></label>
|
| 3316 |
<div class="bwg-flex">
|
| 3317 |
+
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_0" value="0" <?php if ($row->album_extended_enable_page == '0') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label></div>
|
| 3318 |
+
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_1" value="1" <?php if ($row->album_extended_enable_page == '1') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_1" class="wd-radio-label"><?php _e('Simple', 'photo-gallery'); ?></label></div>
|
| 3319 |
+
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_2" value="2" <?php if ($row->album_extended_enable_page == '2') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_2" class="wd-radio-label"><?php _e('Load More', 'photo-gallery'); ?></label></div>
|
| 3320 |
+
<div><input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_3" value="3" <?php if ($row->album_extended_enable_page == '3') echo 'checked="checked"'; ?> onClick="bwg_pagination_description(this);" /><label for="album_extended_enable_page_3" class="wd-radio-label"><?php _e('Scroll Load', 'photo-gallery'); ?></label></div>
|
| 3321 |
</div>
|
| 3322 |
+
<p class="description" id="album_extended_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', 'photo-gallery'); ?></p>
|
| 3323 |
+
<p class="description" id="album_extended_enable_page_1_description"><?php _e('Activating this option will add page numbers and next/previous buttons to your galleries.', 'photo-gallery'); ?></p>
|
| 3324 |
+
<p class="description" id="album_extended_enable_page_2_description"><?php _e('Adding a Load More button, you can let users display a new set of images from your galleries.', 'photo-gallery'); ?></p>
|
| 3325 |
+
<p class="description" id="album_extended_enable_page_3_description"><?php _e('With this option, users can load new images of your galleries simply by scrolling down.', 'photo-gallery'); ?></p>
|
| 3326 |
</div>
|
| 3327 |
</div>
|
| 3328 |
<div class="wd-box-content wd-width-100" id="tr_albums_extended_per_page">
|
| 3329 |
<div class="wd-group">
|
| 3330 |
+
<label class="wd-label" for="albums_extended_per_page"><?php _e('Gallery groups per page', 'photo-gallery'); ?></label>
|
| 3331 |
<div class="bwg-flex">
|
| 3332 |
<input type="number" name="albums_extended_per_page" id="albums_extended_per_page" value="<?php echo intval($row->albums_extended_per_page); ?>" min="0" />
|
| 3333 |
</div>
|
| 3334 |
+
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 3335 |
</div>
|
| 3336 |
</div>
|
| 3337 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_images_per_page">
|
| 3338 |
<div class="wd-group">
|
| 3339 |
+
<label class="wd-label" for="album_extended_images_per_page"><?php _e('Images per page', 'photo-gallery'); ?></label>
|
| 3340 |
<div class="bwg-flex">
|
| 3341 |
<input type="number" name="album_extended_images_per_page" id="album_extended_images_per_page" value="<?php echo intval($row->album_extended_images_per_page); ?>" min="0" />
|
| 3342 |
</div>
|
| 3343 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', 'photo-gallery'); ?></p>
|
| 3344 |
</div>
|
| 3345 |
</div>
|
| 3346 |
</div>
|
| 3347 |
<div class="wd-box-content wd-width-33">
|
| 3348 |
<div class="wd-box-content wd-width-100">
|
| 3349 |
<div class="wd-group">
|
| 3350 |
+
<label class="wd-label" for="extended_album_sort_by"><?php _e('Order Gallery group by', 'photo-gallery'); ?></label>
|
| 3351 |
<div class="wd-width-43">
|
| 3352 |
<select name="extended_album_sort_by" id="extended_album_sort_by">
|
| 3353 |
+
<option value="order" <?php if ($row->extended_album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 3354 |
+
<option value="name" <?php if ($row->extended_album_sort_by == 'name') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 3355 |
+
<option value="modified_date" <?php if ($row->extended_album_sort_by == 'modified_date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 3356 |
+
<option value="random" <?php if ($row->extended_album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 3357 |
</select>
|
| 3358 |
</div>
|
| 3359 |
<div class="wd-width-55">
|
| 3360 |
<select name="extended_album_order_by" id="extended_album_order_by">
|
| 3361 |
+
<option value="asc" <?php if ($row->extended_album_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 3362 |
+
<option value="desc" <?php if ($row->extended_album_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 3363 |
</select>
|
| 3364 |
</div>
|
| 3365 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery group images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 3366 |
</div>
|
| 3367 |
<div class="wd-group">
|
| 3368 |
<div class="wd-width-43">
|
| 3369 |
+
<label class="wd-label" for="album_extended_sort_by"><?php _e('Order images by', 'photo-gallery'); ?></label>
|
| 3370 |
<select name="album_extended_sort_by" id="album_extended_sort_by">
|
| 3371 |
+
<option value="order" <?php if ($row->album_extended_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Default', 'photo-gallery'); ?></option>
|
| 3372 |
+
<option value="alt" <?php if ($row->album_extended_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', 'photo-gallery'); ?></option>
|
| 3373 |
+
<option value="date" <?php if ($row->album_extended_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', 'photo-gallery'); ?></option>
|
| 3374 |
+
<option value="filename" <?php if ($row->album_extended_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', 'photo-gallery'); ?></option>
|
| 3375 |
+
<option value="size" <?php if ($row->album_extended_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', 'photo-gallery'); ?></option>
|
| 3376 |
+
<option value="random" <?php if ($row->album_extended_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', 'photo-gallery'); ?></option>
|
| 3377 |
</select>
|
| 3378 |
</div>
|
| 3379 |
<div class="wd-width-55">
|
| 3380 |
<select name="album_extended_order_by" id="album_extended_order_by">
|
| 3381 |
+
<option value="asc" <?php if ($row->album_extended_order_by == 'asc') echo 'selected="selected"'; ?>><?php _e('Ascending', 'photo-gallery'); ?></option>
|
| 3382 |
+
<option value="desc" <?php if ($row->album_extended_order_by == 'desc') echo 'selected="selected"'; ?>><?php _e('Descending', 'photo-gallery'); ?></option>
|
| 3383 |
</select>
|
| 3384 |
</div>
|
| 3385 |
+
<p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", 'photo-gallery'); ?></p>
|
| 3386 |
</div>
|
| 3387 |
</div>
|
| 3388 |
<div class="wd-box-content wd-width-100">
|
| 3389 |
<div class="wd-group">
|
| 3390 |
+
<label class="wd-label"><?php _e('Show search box', 'photo-gallery'); ?></label>
|
| 3391 |
<div class="bwg-flex">
|
| 3392 |
+
<input type="radio" name="album_extended_show_search_box" id="album_extended_show_search_box_1" value="1" <?php if ($row->album_extended_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_1'); bwg_enable_disable('', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_1')" /><label for="album_extended_show_search_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3393 |
+
<input type="radio" name="album_extended_show_search_box" id="album_extended_show_search_box_0" value="0" <?php if (!$row->album_extended_show_search_box) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_0'); bwg_enable_disable('none', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_0')" /><label for="album_extended_show_search_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3394 |
</div>
|
| 3395 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', 'photo-gallery'); ?></p>
|
| 3396 |
</div>
|
| 3397 |
</div>
|
| 3398 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_placeholder">
|
| 3399 |
<div class="wd-group">
|
| 3400 |
+
<label class="wd-label" for="album_extended_placeholder"><?php _e('Add placeholder to search', 'photo-gallery'); ?></label>
|
| 3401 |
<div class="bwg-flex">
|
| 3402 |
<input type="text" name="album_extended_placeholder" id="album_extended_placeholder" value="<?php echo esc_attr($row->album_extended_placeholder); ?>" />
|
| 3403 |
</div>
|
| 3405 |
</div>
|
| 3406 |
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_width">
|
| 3407 |
<div class="wd-group">
|
| 3408 |
+
<label class="wd-label" for="album_extended_search_box_width"><?php _e('Search box maximum width', 'photo-gallery'); ?></label>
|
| 3409 |
<div class="bwg-flex">
|
| 3410 |
<input type="number" name="album_extended_search_box_width" id="album_extended_search_box_width" value="<?php echo intval($row->album_extended_search_box_width); ?>" min="0" /><span>px</span>
|
| 3411 |
</div>
|
| 3413 |
</div>
|
| 3414 |
<div class="wd-box-content wd-width-100">
|
| 3415 |
<div class="wd-group">
|
| 3416 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', 'photo-gallery'); ?></label>
|
| 3417 |
<div class="bwg-flex">
|
| 3418 |
+
<input type="radio" name="album_extended_show_sort_images" id="album_extended_show_sort_images_1" value="1" <?php if ($row->album_extended_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_extended_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3419 |
+
<input type="radio" name="album_extended_show_sort_images" id="album_extended_show_sort_images_0" value="0" <?php if (!$row->album_extended_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_extended_show_sort_images_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3420 |
</div>
|
| 3421 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', 'photo-gallery'); ?></p>
|
| 3422 |
</div>
|
| 3423 |
</div>
|
| 3424 |
<div class="wd-box-content wd-width-100">
|
| 3425 |
<div class="wd-group">
|
| 3426 |
+
<label class="wd-label"><?php _e('Show tag box', 'photo-gallery'); ?></label>
|
| 3427 |
<div class="bwg-flex">
|
| 3428 |
+
<input type="radio" name="album_extended_show_tag_box" id="album_extended_show_tag_box_1" value="1" <?php if ($row->album_extended_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_extended_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3429 |
+
<input type="radio" name="album_extended_show_tag_box" id="album_extended_show_tag_box_0" value="0" <?php if (!$row->album_extended_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_extended_show_tag_box_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3430 |
</div>
|
| 3431 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', 'photo-gallery'); ?></p>
|
| 3432 |
</div>
|
| 3433 |
</div>
|
| 3434 |
</div>
|
| 3435 |
<div class="wd-box-content wd-width-33">
|
| 3436 |
<div class="wd-box-content wd-width-100">
|
| 3437 |
<div class="wd-group">
|
| 3438 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery title', 'photo-gallery'); ?></label>
|
| 3439 |
<div class="bwg-flex">
|
| 3440 |
+
<input type="radio" name="show_album_extended_name" id="show_album_extended_name_enable_1" value="1" <?php if ($row->show_album_extended_name) echo 'checked="checked"'; ?> /><label for="show_album_extended_name_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3441 |
+
<input type="radio" name="show_album_extended_name" id="show_album_extended_name_enable_0" value="0" <?php if (!$row->show_album_extended_name) echo 'checked="checked"'; ?> /><label for="show_album_extended_name_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3442 |
</div>
|
| 3443 |
+
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', 'photo-gallery'); ?></p>
|
| 3444 |
</div>
|
| 3445 |
</div>
|
| 3446 |
<div class="wd-box-content wd-width-100">
|
| 3447 |
<div class="wd-group">
|
| 3448 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery description', 'photo-gallery'); ?></label>
|
| 3449 |
<div class="bwg-flex">
|
| 3450 |
+
<input type="radio" name="album_extended_show_gallery_description" id="album_extended_show_gallery_description_1" value="1" <?php if ($row->album_extended_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_extended_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3451 |
+
<input type="radio" name="album_extended_show_gallery_description" id="album_extended_show_gallery_description_0" value="0" <?php if (!$row->album_extended_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_extended_show_gallery_description_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3452 |
</div>
|
| 3453 |
+
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', 'photo-gallery'); ?></p>
|
| 3454 |
</div>
|
| 3455 |
</div>
|
| 3456 |
<div class="wd-box-content wd-width-100">
|
| 3457 |
<div class="wd-group">
|
| 3458 |
+
<label class="wd-label"><?php _e('Show extended gallery group description', 'photo-gallery'); ?></label>
|
| 3459 |
<div class="bwg-flex">
|
| 3460 |
+
<input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_1" value="1" <?php if ($row->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3461 |
+
<input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_0" value="0" <?php if (!$row->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3462 |
</div>
|
| 3463 |
+
<p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.', 'photo-gallery'); ?></p>
|
| 3464 |
</div>
|
| 3465 |
</div>
|
| 3466 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3467 |
<div class="wd-group">
|
| 3468 |
+
<label class="wd-label" for="album_extended_view_type"><?php _e('Gallery view type', 'photo-gallery'); ?></label>
|
| 3469 |
<select name="album_extended_view_type" id="album_extended_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
|
| 3470 |
+
<option value="thumbnail" <?php if ($row->album_extended_view_type == 'thumbnail') echo 'selected="selected"'; ?>><?php _e('Thumbnail', 'photo-gallery'); ?></option>
|
| 3471 |
+
<option value="masonry" <?php if ($row->album_extended_view_type == 'masonry') echo 'selected="selected"'; ?>><?php _e('Masonry', 'photo-gallery'); ?></option>
|
| 3472 |
+
<option value="mosaic" <?php if ($row->album_extended_view_type == 'mosaic') echo 'selected="selected"'; ?>><?php _e('Mosaic', 'photo-gallery'); ?></option>
|
| 3473 |
+
<option value="slideshow" <?php if ($row->album_extended_view_type == 'slideshow') echo 'selected="selected"'; ?>><?php _e('Slideshow', 'photo-gallery'); ?></option>
|
| 3474 |
+
<option value="image_browser" <?php if ($row->album_extended_view_type == 'image_browser') echo 'selected="selected"'; ?>><?php _e('Image Browser', 'photo-gallery'); ?></option>
|
| 3475 |
+
<option value="blog_style" <?php if ($row->album_extended_view_type == 'blog_style') echo 'selected="selected"'; ?>><?php _e('Blog Style', 'photo-gallery'); ?></option>
|
| 3476 |
+
<option value="carousel" <?php if ($row->album_extended_view_type == 'carousel') echo 'selected="selected"'; ?>><?php _e('Carousel', 'photo-gallery'); ?></option>
|
| 3477 |
</select>
|
| 3478 |
+
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry, Mosaic, Slideshow, Image browser, Blog style or Carousel.', 'photo-gallery'); ?></p>
|
| 3479 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3480 |
</div>
|
| 3481 |
</div>
|
| 3482 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_mosaic">
|
| 3483 |
<div class="wd-group">
|
| 3484 |
+
<label class="wd-label"><?php _e('Mosaic gallery type', 'photo-gallery'); ?></label>
|
| 3485 |
<div class="bwg-flex">
|
| 3486 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_mosaic" id="album_extended_mosaic_0" value="vertical" <?php if ($row->album_extended_mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="album_extended_mosaic_0" class="wd-radio-label"><?php _e('Vertical', 'photo-gallery'); ?></label>
|
| 3487 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_mosaic" id="album_extended_mosaic_1" value="horizontal" <?php if ($row->album_extended_mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="album_extended_mosaic_1" class="wd-radio-label"><?php _e('Horizontal', 'photo-gallery'); ?></label>
|
| 3488 |
</div>
|
| 3489 |
+
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', 'photo-gallery'); ?></p>
|
| 3490 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3491 |
</div>
|
| 3492 |
</div>
|
| 3493 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_resizable_mosaic">
|
| 3494 |
<div class="wd-group">
|
| 3495 |
+
<label class="wd-label"><?php _e('Resizable mosaic', 'photo-gallery'); ?></label>
|
| 3496 |
<div class="bwg-flex">
|
| 3497 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_resizable_mosaic" id="album_extended_resizable_mosaic_1" value="1" <?php if ($row->album_extended_resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="album_extended_resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3498 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_resizable_mosaic" id="album_extended_resizable_mosaic_0" value="0" <?php if ($row->album_extended_resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="album_extended_resizable_mosaic_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3499 |
</div>
|
| 3500 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', 'photo-gallery'); ?></p>
|
| 3501 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3502 |
</div>
|
| 3503 |
</div>
|
| 3504 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_mosaic_total_width">
|
| 3505 |
<div class="wd-group">
|
| 3506 |
+
<label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries', 'photo-gallery'); ?></label>
|
| 3507 |
<div class="bwg-flex">
|
| 3508 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_extended_mosaic_total_width" id="album_extended_mosaic_total_width" value="<?php echo intval($row->album_extended_mosaic_total_width); ?>" min="0" /><span>%</span>
|
| 3509 |
</div>
|
| 3510 |
+
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', 'photo-gallery'); ?></p>
|
| 3511 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3512 |
</div>
|
| 3513 |
</div>
|
| 3514 |
<div class="wd-box-content wd-width-100">
|
| 3515 |
<div class="wd-group">
|
| 3516 |
+
<label class="wd-label"><?php _e('Show image title', 'photo-gallery'); ?></label>
|
| 3517 |
<div class="bwg-flex">
|
| 3518 |
+
<div><input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_1" value="hover" <?php if ($row->album_extended_image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_extended_image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', 'photo-gallery'); ?></label></div>
|
| 3519 |
+
<div><input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_0" value="show" <?php if ($row->album_extended_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label id="for_album_extended_image_title_show_hover_0" for="album_extended_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', 'photo-gallery'); ?></label></div>
|
| 3520 |
+
<div><input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_2" value="none" <?php if ($row->album_extended_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_extended_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", 'photo-gallery'); ?></label></div>
|
| 3521 |
</div>
|
| 3522 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', 'photo-gallery'); ?></p>
|
| 3523 |
</div>
|
| 3524 |
</div>
|
| 3525 |
<div class="wd-box-content wd-width-100">
|
| 3526 |
<div class="wd-group">
|
| 3527 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', 'photo-gallery'); ?></label>
|
| 3528 |
<div class="bwg-flex">
|
| 3529 |
+
<input type="radio" name="album_extended_play_icon" id="album_extended_play_icon_yes" value="1" <?php if ($row->album_extended_play_icon) echo 'checked="checked"'; ?> /><label for="album_extended_play_icon_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3530 |
+
<input type="radio" name="album_extended_play_icon" id="album_extended_play_icon_no" value="0" <?php if (!$row->album_extended_play_icon) echo 'checked="checked"'; ?> /><label for="album_extended_play_icon_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3531 |
</div>
|
| 3532 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', 'photo-gallery'); ?></p>
|
| 3533 |
</div>
|
| 3534 |
</div>
|
| 3535 |
<div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3536 |
<div class="wd-group">
|
| 3537 |
+
<label class="wd-label"><?php _e('Enable bulk download button', 'photo-gallery'); ?></label>
|
| 3538 |
<div class="bwg-flex">
|
| 3539 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_extended_gallery_download" id="album_extended_gallery_download_1" value="1" <?php if ($row->album_extended_gallery_download) echo 'checked="checked"'; ?> /><label for="album_extended_gallery_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3540 |
+
<input <?php echo ( !$zipArchiveClass ) ? 'disabled="disabled"' : ( ( BWG()->is_pro ) ? '' : 'disabled="disabled"' ); ?> type="radio" name="album_extended_gallery_download" id="album_extended_gallery_download_0" value="0" <?php if (!$row->album_extended_gallery_download) echo 'checked="checked"'; ?> /><label for="album_extended_gallery_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3541 |
</div>
|
| 3542 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', 'photo-gallery'); ?></p>
|
| 3543 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3544 |
<?php
|
| 3545 |
if ( !$zipArchiveClass) {
|
| 3553 |
?>
|
| 3554 |
<div class="wd-box-content wd-width-100">
|
| 3555 |
<div class="wd-group">
|
| 3556 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', 'photo-gallery'); ?></label>
|
| 3557 |
<div class="bwg-flex">
|
| 3558 |
+
<label for="album_extended_ecommerce_icon_show_hover_1" class="wd-radio-label"><input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_1" value="hover" <?php if ($row->album_extended_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><?php _e('Show on hover', 'photo-gallery'); ?></label>
|
| 3559 |
+
<label id="for_album_extended_ecommerce_icon_show_hover_0" for="album_extended_ecommerce_icon_show_hover_0" class="wd-radio-label"><input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_0" value="show" <?php if ($row->album_extended_ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><?php _e('Always show', 'photo-gallery'); ?></label>
|
| 3560 |
+
<label for="album_extended_ecommerce_icon_show_hover_2" class="wd-radio-label"><input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_2" value="none" <?php if ($row->album_extended_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><?php _e("Don't show", 'photo-gallery'); ?></label>
|
| 3561 |
</div>
|
| 3562 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', 'photo-gallery'); ?></p>
|
| 3563 |
</div>
|
| 3564 |
</div>
|
| 3565 |
<?php
|
| 3578 |
<?php if( !isset($row->lightbox_shortcode) ) { ?>
|
| 3579 |
<div class="wd-box-content wd-width-100">
|
| 3580 |
<div class="wd-group">
|
| 3581 |
+
<label class="wd-label"><?php _e('Image click action', 'photo-gallery'); ?></label>
|
| 3582 |
<div class="bwg-flex">
|
| 3583 |
+
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if ($row->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_1" class="wd-radio-label"><?php _e('Open lightbox', 'photo-gallery'); ?></label></div>
|
| 3584 |
+
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if ($row->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_2" class="wd-radio-label"><?php _e('Redirect to url', 'photo-gallery'); ?></label></div>
|
| 3585 |
+
<div><input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if ($row->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onClick="bwg_thumb_click_action();" /><label for="thumb_click_action_3" class="wd-radio-label"><?php _e('Do Nothing', 'photo-gallery'); ?></label></div>
|
| 3586 |
</div>
|
| 3587 |
+
<p class="description"><?php _e('Select the action which runs after clicking on gallery thumbnails.', 'photo-gallery'); ?></p>
|
| 3588 |
</div>
|
| 3589 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-redirect" id="tr_thumb_link_target">
|
| 3590 |
<div class="wd-group">
|
| 3591 |
+
<label class="wd-label"><?php _e('Open in a new window', 'photo-gallery'); ?></label>
|
| 3592 |
<div class="bwg-flex">
|
| 3593 |
+
<input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if ($row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3594 |
+
<input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!$row->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3595 |
</div>
|
| 3596 |
</div>
|
| 3597 |
</div>
|
| 3599 |
<?php } ?>
|
| 3600 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_full_width">
|
| 3601 |
<div class="wd-group">
|
| 3602 |
+
<label class="wd-label"><?php _e('Full-width lightbox', 'photo-gallery'); ?></label>
|
| 3603 |
<div class="bwg-flex">
|
| 3604 |
+
<input type="radio" name="popup_fullscreen" id="popup_fullscreen_1" value="1" <?php if ($row->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_enable_disable('none', 'tr_popup_dimensions', 'popup_fullscreen_1')" /><label for="popup_fullscreen_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3605 |
+
<input type="radio" name="popup_fullscreen" id="popup_fullscreen_0" value="0" <?php if (!$row->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_enable_disable('', 'tr_popup_dimensions', 'popup_fullscreen_0')" /><label for="popup_fullscreen_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3606 |
</div>
|
| 3607 |
+
<p class="description"><?php _e('Image lightbox will appear full-width if this setting is activated.', 'photo-gallery') ?></p>
|
| 3608 |
</div>
|
| 3609 |
</div>
|
| 3610 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_dimensions">
|
| 3611 |
<div class="wd-group">
|
| 3612 |
+
<label class="wd-label" for="popup_width"><?php _e('Lightbox dimensions', 'photo-gallery'); ?></label>
|
| 3613 |
<div class="bwg-flex">
|
| 3614 |
<input type="number" name="popup_width" id="popup_width" value="<?php echo intval($row->popup_width); ?>" min="0" /><span>x</span>
|
| 3615 |
<input type="number" name="popup_height" id="popup_height" value="<?php echo intval($row->popup_height); ?>" min="0" /><span>px</span>
|
| 3616 |
</div>
|
| 3617 |
+
<p class="description"><?php _e('Set the dimensions of image lightbox.', 'photo-gallery') ?></p>
|
| 3618 |
</div>
|
| 3619 |
</div>
|
| 3620 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3621 |
<div class="wd-group">
|
| 3622 |
+
<label class="wd-label" for="popup_type"><?php _e('Lightbox effect', 'photo-gallery'); ?></label>
|
| 3623 |
<div class="bwg-flex">
|
| 3624 |
<select name="popup_type" id="popup_type">
|
| 3625 |
<?php
|
| 3626 |
foreach ($effects as $key => $effect) {
|
| 3627 |
?>
|
| 3628 |
<option value="<?php echo esc_attr($key); ?>"
|
| 3629 |
+
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.', 'photo-gallery') . '"' : ''; ?>
|
| 3630 |
+
<?php if ($row->popup_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect, 'photo-gallery'); ?></option>
|
| 3631 |
<?php
|
| 3632 |
}
|
| 3633 |
?>
|
| 3634 |
</select>
|
| 3635 |
</div>
|
| 3636 |
+
<p class="description"><?php _e('Select the animation effect for image lightbox.', 'photo-gallery') ?></p>
|
| 3637 |
</div>
|
| 3638 |
</div>
|
| 3639 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3640 |
<div class="wd-group">
|
| 3641 |
+
<label class="wd-label" for="popup_effect_duration"><?php _e('Effect duration', 'photo-gallery'); ?></label>
|
| 3642 |
<div class="bwg-flex">
|
| 3643 |
<input type="number" name="popup_effect_duration" id="popup_effect_duration" value="<?php echo floatval($row->popup_effect_duration); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 3644 |
</div>
|
| 3645 |
+
<p class="description"><?php _e('Set the duration of lightbox animation effect.', 'photo-gallery') ?></p>
|
| 3646 |
+
<p class="description"><?php _e('Note, that the value of Effect Duration can not be greater than 1/4 of Time Interval.', 'photo-gallery') ?></p>
|
| 3647 |
</div>
|
| 3648 |
</div>
|
| 3649 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_autoplay">
|
| 3650 |
<div class="wd-group">
|
| 3651 |
+
<label class="wd-label"><?php _e('Lightbox autoplay', 'photo-gallery'); ?></label>
|
| 3652 |
<div class="bwg-flex">
|
| 3653 |
+
<input type="radio" name="popup_autoplay" id="popup_autoplay_1" value="1" <?php if ($row->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3654 |
+
<input type="radio" name="popup_autoplay" id="popup_autoplay_0" value="0" <?php if (!$row->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3655 |
</div>
|
| 3656 |
+
<p class="description"><?php _e('Activate this option to autoplay images in gallery lightbox.', 'photo-gallery') ?></p>
|
| 3657 |
</div>
|
| 3658 |
</div>
|
| 3659 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3660 |
<div class="wd-group">
|
| 3661 |
+
<label class="wd-label" for="popup_interval"><?php _e('Time interval', 'photo-gallery'); ?></label>
|
| 3662 |
<div class="bwg-flex">
|
| 3663 |
<input type="number" name="popup_interval" id="popup_interval" value="<?php echo floatval($row->popup_interval); ?>" min="0" step="0.1" /><span>sec.</span>
|
| 3664 |
</div>
|
| 3665 |
+
<p class="description"><?php _e('Specify the time interval of autoplay in Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3666 |
</div>
|
| 3667 |
</div>
|
| 3668 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3669 |
<div class="wd-group">
|
| 3670 |
+
<label class="wd-label"><?php _e('Enable filmstrip', 'photo-gallery'); ?></label>
|
| 3671 |
<div class="bwg-flex">
|
| 3672 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_filmstrip" id="popup_enable_filmstrip_1" value="1" <?php if ($row->popup_enable_filmstrip ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_1')" /><label for="popup_enable_filmstrip_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3673 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_filmstrip" id="popup_enable_filmstrip_0" value="0" <?php if (!$row->popup_enable_filmstrip ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_0')" /><label for="popup_enable_filmstrip_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3674 |
</div>
|
| 3675 |
+
<p class="description"><?php _e('Add a filmstrip with image thumbnails to the lightbox of your galleries.', 'photo-gallery') ?></p>
|
| 3676 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3677 |
</div>
|
| 3678 |
</div>
|
| 3679 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_filmstrip_height ">
|
| 3680 |
<div class="wd-group">
|
| 3681 |
+
<label class="wd-label" for="popup_filmstrip_height"><?php _e('Filmstrip size', 'photo-gallery'); ?></label>
|
| 3682 |
<div class="bwg-flex">
|
| 3683 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo intval($row->popup_filmstrip_height); ?>" min="0" /><span>px</span>
|
| 3684 |
</div>
|
| 3685 |
+
<p class="description"><?php _e('Set the size of your filmstrip. If the filmstrip is horizontal, this indicates its height, whereas for vertical filmstrips it sets the width.', 'photo-gallery') ?></p>
|
| 3686 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3687 |
</div>
|
| 3688 |
</div>
|
| 3690 |
<div class="wd-box-content wd-width-33">
|
| 3691 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3692 |
<div class="wd-group">
|
| 3693 |
+
<label class="wd-label"><?php _e('Enable control buttons', 'photo-gallery'); ?></label>
|
| 3694 |
<div class="bwg-flex">
|
| 3695 |
<input type="radio" name="popup_enable_ctrl_btn" id="popup_enable_ctrl_btn_1" value="1" <?php if ($row->popup_enable_ctrl_btn) echo 'checked="checked"'; ?>
|
| 3696 |
onClick="bwg_enable_disable('', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1');
|
| 3705 |
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_ctrl_btn_1');
|
| 3706 |
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_ctrl_btn_1');
|
| 3707 |
bwg_enable_disable('', 'tr_popup_download', 'popup_enable_ctrl_btn_1');
|
| 3708 |
+
bwg_enable_disable('', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_1');" /><label for="popup_enable_ctrl_btn_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3709 |
<input type="radio" name="popup_enable_ctrl_btn" id="popup_enable_ctrl_btn_0" value="0" <?php if (!$row->popup_enable_ctrl_btn) echo 'checked="checked"'; ?>
|
| 3710 |
onClick="bwg_enable_disable('none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0');
|
| 3711 |
bwg_enable_disable('none', 'tr_popup_info', 'popup_enable_ctrl_btn_0');
|
| 3719 |
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_ctrl_btn_0');
|
| 3720 |
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_ctrl_btn_0');
|
| 3721 |
bwg_enable_disable('none', 'tr_popup_download', 'popup_enable_ctrl_btn_0');
|
| 3722 |
+
bwg_enable_disable('none', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_0');" /><label for="popup_enable_ctrl_btn_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3723 |
</div>
|
| 3724 |
+
<p class="description"><?php _e('Enable this option to show control buttons on Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3725 |
</div>
|
| 3726 |
</div>
|
| 3727 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_fullscreen">
|
| 3728 |
<div class="wd-group">
|
| 3729 |
+
<label class="wd-label"><?php _e('Enable fullscreen button', 'photo-gallery'); ?></label>
|
| 3730 |
<div class="bwg-flex">
|
| 3731 |
+
<input type="radio" name="popup_enable_fullscreen" id="popup_enable_fullscreen_1" value="1" <?php if ($row->popup_enable_fullscreen) echo 'checked="checked"'; ?> /><label for="popup_enable_fullscreen_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3732 |
+
<input type="radio" name="popup_enable_fullscreen" id="popup_enable_fullscreen_0" value="0" <?php if (!$row->popup_enable_fullscreen) echo 'checked="checked"'; ?> /><label for="popup_enable_fullscreen_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3733 |
</div>
|
| 3734 |
+
<p class="description"><?php _e('Activate this setting to add Fullscreen button to lightbox control buttons.', 'photo-gallery') ?></p>
|
| 3735 |
</div>
|
| 3736 |
</div>
|
| 3737 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_comment">
|
| 3738 |
<div class="wd-group">
|
| 3739 |
+
<label class="wd-label"><?php _e('Enable comments', 'photo-gallery'); ?></label>
|
| 3740 |
<div class="bwg-flex">
|
| 3741 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_comment" id="popup_enable_comment_1" value="1" <?php if ($row->popup_enable_comment) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_comment_moderation', 'popup_enable_comment_1');
|
| 3742 |
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_comment_1');
|
| 3743 |
+
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_comment_1');" /><label for="popup_enable_comment_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3744 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_comment" id="popup_enable_comment_0" value="0" <?php if (!$row->popup_enable_comment) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_comment_moderation', 'popup_enable_comment_0');
|
| 3745 |
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_comment_0');
|
| 3746 |
+
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_comment_0');" /><label for="popup_enable_comment_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3747 |
</div>
|
| 3748 |
+
<p class="description"><?php _e('Let users to leave comments on images by enabling comments section of lightbox.', 'photo-gallery') ?></p>
|
| 3749 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3750 |
</div>
|
| 3751 |
</div>
|
| 3752 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_email">
|
| 3753 |
<div class="wd-group">
|
| 3754 |
+
<label class="wd-label"><?php _e('Show Email for comments', 'photo-gallery'); ?></label>
|
| 3755 |
<div class="bwg-flex">
|
| 3756 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_email" id="popup_enable_email_1" value="1" <?php if ($row->popup_enable_email) echo 'checked="checked"'; ?> /><label for="popup_enable_email_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3757 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_email" id="popup_enable_email_0" value="0" <?php if (!$row->popup_enable_email) echo 'checked="checked"'; ?> /><label for="popup_enable_email_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3758 |
</div>
|
| 3759 |
+
<p class="description"><?php _e('Activate this option to display email address field in comments section.', 'photo-gallery') ?></p>
|
| 3760 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3761 |
</div>
|
| 3762 |
</div>
|
| 3763 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo (BWG()->is_pro && !$row->gdpr_compliance) ? '' : ' bwg-disabled-option '; ?>" id="tr_popup_captcha">
|
| 3764 |
<div class="wd-group">
|
| 3765 |
+
<label class="wd-label"><?php _e('Show Captcha for comments', 'photo-gallery'); ?></label>
|
| 3766 |
<div class="bwg-flex">
|
| 3767 |
+
<input <?php echo (BWG()->is_pro && !$row->gdpr_compliance) ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_captcha" id="popup_enable_captcha_1" value="1" <?php if ($row->popup_enable_captcha && !$row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3768 |
+
<input <?php echo (BWG()->is_pro && !$row->gdpr_compliance) ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_captcha" id="popup_enable_captcha_0" value="0" <?php if (!$row->popup_enable_captcha || $row->gdpr_compliance) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3769 |
</div>
|
| 3770 |
+
<p class="description"><?php _e('Enable this setting to place Captcha word verification in comments section.', 'photo-gallery') ?></p>
|
| 3771 |
+
<p class="description"><?php _e('Note, this option cannot be used with GDPR compliance.', 'photo-gallery') ?></p>
|
| 3772 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3773 |
</div>
|
| 3774 |
</div>
|
| 3775 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_comment_moderation">
|
| 3776 |
<div class="wd-group">
|
| 3777 |
+
<label class="wd-label"><?php _e('Enable comments moderation', 'photo-gallery'); ?></label>
|
| 3778 |
<div class="bwg-flex">
|
| 3779 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="comment_moderation" id="comment_moderation_1" value="1" <?php if ($row->comment_moderation) echo 'checked="checked"'; ?> /><label for="comment_moderation_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3780 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="comment_moderation" id="comment_moderation_0" value="0" <?php if (!$row->comment_moderation) echo 'checked="checked"'; ?> /><label for="comment_moderation_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3781 |
</div>
|
| 3782 |
+
<p class="description"><?php _e('Moderate each comment left on images by activating this setting.', 'photo-gallery') ?></p>
|
| 3783 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3784 |
</div>
|
| 3785 |
</div>
|
| 3786 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info">
|
| 3787 |
<div class="wd-group">
|
| 3788 |
+
<label class="wd-label"><?php _e('Show image info', 'photo-gallery'); ?></label>
|
| 3789 |
<div class="bwg-flex">
|
| 3790 |
+
<input type="radio" name="popup_enable_info" id="popup_enable_info_1" value="1" <?php if ($row->popup_enable_info) echo 'checked="checked"'; ?> /><label for="popup_enable_info_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3791 |
+
<input type="radio" name="popup_enable_info" id="popup_enable_info_0" value="0" <?php if (!$row->popup_enable_info) echo 'checked="checked"'; ?> /><label for="popup_enable_info_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3792 |
</div>
|
| 3793 |
+
<p class="description"><?php _e('Activate this setting to show Info button among lightbox control buttons.', 'photo-gallery') ?></p>
|
| 3794 |
</div>
|
| 3795 |
</div>
|
| 3796 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info_always_show">
|
| 3797 |
<div class="wd-group">
|
| 3798 |
+
<label class="wd-label"><?php _e('Display info by default', 'photo-gallery'); ?></label>
|
| 3799 |
<div class="bwg-flex">
|
| 3800 |
+
<input type="radio" name="popup_info_always_show" id="popup_info_always_show_1" value="1" <?php if ($row->popup_info_always_show) echo 'checked="checked"'; ?> /><label for="popup_info_always_show_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3801 |
+
<input type="radio" name="popup_info_always_show" id="popup_info_always_show_0" value="0" <?php if (!$row->popup_info_always_show) echo 'checked="checked"'; ?> /><label for="popup_info_always_show_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3802 |
</div>
|
| 3803 |
+
<p class="description"><?php _e('Enabling this option will let you show image title and description on lightbox by default.', 'photo-gallery') ?></p>
|
| 3804 |
</div>
|
| 3805 |
</div>
|
| 3806 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info_full_width">
|
| 3807 |
<div class="wd-group">
|
| 3808 |
+
<label class="wd-label"><?php _e('Full width info', 'photo-gallery'); ?></label>
|
| 3809 |
<div class="bwg-flex">
|
| 3810 |
+
<input type="radio" name="popup_info_full_width" id="popup_info_full_width_1" value="1" <?php if ($row->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3811 |
+
<input type="radio" name="popup_info_full_width" id="popup_info_full_width_0" value="0" <?php if (!$row->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3812 |
</div>
|
| 3813 |
+
<p class="description"><?php _e('Display info box with the full width of the lightbox by enabling this option.', 'photo-gallery') ?></p>
|
| 3814 |
</div>
|
| 3815 |
</div>
|
| 3816 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
| 3817 |
<div class="wd-group">
|
| 3818 |
+
<label class="wd-label"><?php _e('Show Next / Previous buttons', 'photo-gallery'); ?></label>
|
| 3819 |
<div class="bwg-flex">
|
| 3820 |
+
<input type="radio" name="autohide_lightbox_navigation" id="autohide_lightbox_navigation_1" value="1" <?php if ($row->autohide_lightbox_navigation ) echo 'checked="checked"'; ?> /><label for="autohide_lightbox_navigation_1" class="wd-radio-label"><?php _e('On hover', 'photo-gallery'); ?></label>
|
| 3821 |
+
<input type="radio" name="autohide_lightbox_navigation" id="autohide_lightbox_navigation_0" value="0" <?php if (!$row->autohide_lightbox_navigation ) echo 'checked="checked"'; ?> /><label for="autohide_lightbox_navigation_0" class="wd-radio-label"><?php _e('Always', 'photo-gallery'); ?></label>
|
| 3822 |
</div>
|
| 3823 |
+
<p class="description"><?php _e('Choose to display Next/Previous buttons of Photo Gallery lightbox on hover or always.', 'photo-gallery') ?></p>
|
| 3824 |
</div>
|
| 3825 |
</div>
|
| 3826 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_hit_counter">
|
| 3827 |
<div class="wd-group">
|
| 3828 |
+
<label class="wd-label"><?php _e('Display views counter', 'photo-gallery'); ?></label>
|
| 3829 |
<div class="bwg-flex">
|
| 3830 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_hit_counter" id="popup_hit_counter_1" value="1" <?php if ($row->popup_hit_counter) echo 'checked="checked"'; ?> /><label for="popup_hit_counter_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3831 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_hit_counter" id="popup_hit_counter_0" value="0" <?php if (!$row->popup_hit_counter) echo 'checked="checked"'; ?> /><label for="popup_hit_counter_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3832 |
</div>
|
| 3833 |
+
<p class="description"><?php _e('Show the number of views, when a gallery image was opened in lightbox.', 'photo-gallery') ?></p>
|
| 3834 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3835 |
</div>
|
| 3836 |
</div>
|
| 3837 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_rate">
|
| 3838 |
<div class="wd-group">
|
| 3839 |
+
<label class="wd-label"><?php _e('Enable rating', 'photo-gallery'); ?></label>
|
| 3840 |
<div class="bwg-flex">
|
| 3841 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_rate" id="popup_enable_rate_1" value="1" <?php if ($row->popup_enable_rate) echo 'checked="checked"'; ?> /><label for="popup_enable_rate_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3842 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_rate" id="popup_enable_rate_0" value="0" <?php if (!$row->popup_enable_rate) echo 'checked="checked"'; ?> /><label for="popup_enable_rate_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3843 |
</div>
|
| 3844 |
+
<p class="description"><?php _e('Allow users to rate your images by adding rating feature to Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3845 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3846 |
</div>
|
| 3847 |
</div>
|
| 3848 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_zoom">
|
| 3849 |
<div class="wd-group">
|
| 3850 |
+
<label class="wd-label"><?php _e('Enable zoom', 'photo-gallery'); ?></label>
|
| 3851 |
<div class="bwg-flex">
|
| 3852 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_zoom" id="popup_enable_zoom_1" value="1" <?php if ($row->popup_enable_zoom) echo 'checked="checked"'; ?> /><label for="popup_enable_zoom_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3853 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_zoom" id="popup_enable_zoom_0" value="0" <?php if (!$row->popup_enable_zoom) echo 'checked="checked"'; ?> /><label for="popup_enable_zoom_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3854 |
</div>
|
| 3855 |
+
<p class="description"><?php _e('Allow users to zoom images in Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3856 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3857 |
</div>
|
| 3858 |
</div>
|
| 3860 |
<div class="wd-box-content wd-width-33">
|
| 3861 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_fullsize_image">
|
| 3862 |
<div class="wd-group">
|
| 3863 |
+
<label class="wd-label"><?php _e('Show Display Original Image button', 'photo-gallery'); ?></label>
|
| 3864 |
<div class="bwg-flex">
|
| 3865 |
+
<input type="radio" name="popup_enable_fullsize_image" id="popup_enable_fullsize_image_1" value="1" <?php if ($row->popup_enable_fullsize_image) echo 'checked="checked"'; ?> /><label for="popup_enable_fullsize_image_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3866 |
+
<input type="radio" name="popup_enable_fullsize_image" id="popup_enable_fullsize_image_0" value="0" <?php if (!$row->popup_enable_fullsize_image) echo 'checked="checked"'; ?> /><label for="popup_enable_fullsize_image_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3867 |
</div>
|
| 3868 |
+
<p class="description"><?php _e('Let users view original versions of your images by enabling this button.', 'photo-gallery') ?></p>
|
| 3869 |
</div>
|
| 3870 |
</div>
|
| 3871 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_download">
|
| 3872 |
<div class="wd-group">
|
| 3873 |
+
<label class="wd-label"><?php _e('Show download button', 'photo-gallery'); ?></label>
|
| 3874 |
<div class="bwg-flex">
|
| 3875 |
+
<input type="radio" name="popup_enable_download" id="popup_enable_download_1" value="1" <?php if ($row->popup_enable_download) echo 'checked="checked"'; ?> /><label for="popup_enable_download_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3876 |
+
<input type="radio" name="popup_enable_download" id="popup_enable_download_0" value="0" <?php if (!$row->popup_enable_download) echo 'checked="checked"'; ?> /><label for="popup_enable_download_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3877 |
</div>
|
| 3878 |
+
<p class="description"><?php _e('This option will allow users to download gallery images while viewing them in lightbox.', 'photo-gallery') ?></p>
|
| 3879 |
</div>
|
| 3880 |
</div>
|
| 3881 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_image_count">
|
| 3882 |
<div class="wd-group">
|
| 3883 |
+
<label class="wd-label"><?php _e('Show image counter', 'photo-gallery'); ?></label>
|
| 3884 |
<div class="bwg-flex">
|
| 3885 |
+
<input type="radio" name="show_image_counts" id="show_image_counts_current_image_number_1" value="1" <?php if ($row->show_image_counts) echo 'checked="checked"'; ?> /><label for="show_image_counts_current_image_number_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3886 |
+
<input type="radio" name="show_image_counts" id="show_image_counts_current_image_number_0" value="0" <?php if (!$row->show_image_counts) echo 'checked="checked"'; ?> /><label for="show_image_counts_current_image_number_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3887 |
</div>
|
| 3888 |
+
<p class="description"><?php _e('Enable this option to display image counter on Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3889 |
</div>
|
| 3890 |
</div>
|
| 3891 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_image_cycle">
|
| 3892 |
<div class="wd-group">
|
| 3893 |
+
<label class="wd-label"><?php _e('Enable looping', 'photo-gallery'); ?></label>
|
| 3894 |
<div class="bwg-flex">
|
| 3895 |
+
<input type="radio" name="enable_loop" id="enable_loop_1" value="1" <?php if ($row->enable_loop) echo 'checked="checked"'; ?> /><label for="enable_loop_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3896 |
+
<input type="radio" name="enable_loop" id="enable_loop_0" value="0" <?php if (!$row->enable_loop) echo 'checked="checked"'; ?> /><label for="enable_loop_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3897 |
</div>
|
| 3898 |
+
<p class="description"><?php _e('Activate looping to start lightbox navigation from the beginning when users reach its last image.', 'photo-gallery') ?></p>
|
| 3899 |
</div>
|
| 3900 |
</div>
|
| 3901 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
|
| 3902 |
<div class="wd-group">
|
| 3903 |
+
<label class="wd-label"><?php _e('Enable', 'photo-gallery'); ?> AddThis</label>
|
| 3904 |
<div class="bwg-flex">
|
| 3905 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="enable_addthis" id="enable_addthis_1" value="1" <?php if ($row->enable_addthis ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_addthis_profile_id', 'enable_addthis_1')" /><label for="enable_addthis_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3906 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="enable_addthis" id="enable_addthis_0" value="0" <?php if (!$row->enable_addthis ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_addthis_profile_id', 'enable_addthis_0')" /><label for="enable_addthis_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3907 |
</div>
|
| 3908 |
+
<p class="description"><?php _e('Display AddThis on Photo Gallery lightbox by activating this option.', 'photo-gallery') ?></p>
|
| 3909 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3910 |
</div>
|
| 3911 |
</div>
|
| 3912 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_addthis_profile_id">
|
| 3913 |
<div class="wd-group">
|
| 3914 |
+
<label class="wd-label" for="addthis_profile_id">AddThis <?php _e('profile ID', 'photo-gallery'); ?></label>
|
| 3915 |
<div class="bwg-flex">
|
| 3916 |
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="text" name="addthis_profile_id" id="addthis_profile_id" value="<?php echo esc_attr($row->addthis_profile_id); ?>" />
|
| 3917 |
</div>
|
| 3918 |
+
<p class="description"><?php _e('Provide the ID of your profile to connect to AddThis.', 'photo-gallery'); ?><br><?php echo sprintf(__('Create an account %s.', 'photo-gallery'), '<a href="https://www.addthis.com/register" target="_blank">' . __('here', 'photo-gallery') . '</a>'); ?></p>
|
| 3919 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3920 |
</div>
|
| 3921 |
</div>
|
| 3922 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_facebook">
|
| 3923 |
<div class="wd-group">
|
| 3924 |
+
<label class="wd-label"><?php _e('Show Facebook button', 'photo-gallery'); ?></label>
|
| 3925 |
<div class="bwg-flex">
|
| 3926 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_facebook" id="popup_enable_facebook_1" value="1" <?php if ($row->popup_enable_facebook) echo 'checked="checked"'; ?> /><label for="popup_enable_facebook_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3927 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_facebook" id="popup_enable_facebook_0" value="0" <?php if (!$row->popup_enable_facebook) echo 'checked="checked"'; ?> /><label for="popup_enable_facebook_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3928 |
</div>
|
| 3929 |
+
<p class="description"><?php _e('Enabling this setting will add Facebook sharing button to Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3930 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3931 |
</div>
|
| 3932 |
</div>
|
| 3933 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_twitter">
|
| 3934 |
<div class="wd-group">
|
| 3935 |
+
<label class="wd-label"><?php _e('Show Twitter button', 'photo-gallery'); ?></label>
|
| 3936 |
<div class="bwg-flex">
|
| 3937 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_twitter" id="popup_enable_twitter_1" value="1" <?php if ($row->popup_enable_twitter) echo 'checked="checked"'; ?> /><label for="popup_enable_twitter_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3938 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_twitter" id="popup_enable_twitter_0" value="0" <?php if (!$row->popup_enable_twitter) echo 'checked="checked"'; ?> /><label for="popup_enable_twitter_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3939 |
</div>
|
| 3940 |
+
<p class="description"><?php _e('Enable this setting to add Tweet button to Photo Gallery lightbox.', 'photo-gallery') ?></p>
|
| 3941 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3942 |
</div>
|
| 3943 |
</div>
|
| 3944 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_pinterest">
|
| 3945 |
<div class="wd-group">
|
| 3946 |
+
<label class="wd-label"><?php _e('Show Pinterest button', 'photo-gallery'); ?></label>
|
| 3947 |
<div class="bwg-flex">
|
| 3948 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_pinterest" id="popup_enable_pinterest_1" value="1" <?php if ($row->popup_enable_pinterest) echo 'checked="checked"'; ?> /><label for="popup_enable_pinterest_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3949 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_pinterest" id="popup_enable_pinterest_0" value="0" <?php if (!$row->popup_enable_pinterest) echo 'checked="checked"'; ?> /><label for="popup_enable_pinterest_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3950 |
</div>
|
| 3951 |
+
<p class="description"><?php _e('Activate Pin button of Photo Gallery lightbox by enabling this setting.', 'photo-gallery') ?></p>
|
| 3952 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3953 |
</div>
|
| 3954 |
</div>
|
| 3955 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_tumblr">
|
| 3956 |
<div class="wd-group">
|
| 3957 |
+
<label class="wd-label"><?php _e('Show Tumblr button', 'photo-gallery'); ?></label>
|
| 3958 |
<div class="bwg-flex">
|
| 3959 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_tumblr" id="popup_enable_tumblr_1" value="1" <?php if ($row->popup_enable_tumblr) echo 'checked="checked"'; ?> /><label for="popup_enable_tumblr_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3960 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_tumblr" id="popup_enable_tumblr_0" value="0" <?php if (!$row->popup_enable_tumblr) echo 'checked="checked"'; ?> /><label for="popup_enable_tumblr_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3961 |
</div>
|
| 3962 |
+
<p class="description"><?php _e('Allow users to share images on Tumblr from Photo Gallery lightbox by activating this setting.', 'photo-gallery') ?></p>
|
| 3963 |
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
| 3964 |
</div>
|
| 3965 |
</div>
|
| 3968 |
?>
|
| 3969 |
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_ecommerce">
|
| 3970 |
<div class="wd-group">
|
| 3971 |
+
<label class="wd-label"><?php _e('Show Ecommerce button', 'photo-gallery'); ?></label>
|
| 3972 |
<div class="bwg-flex">
|
| 3973 |
+
<input type="radio" name="popup_enable_ecommerce" id="popup_enable_ecommerce_1" value="1" <?php if ($row->popup_enable_ecommerce) echo 'checked="checked"'; ?> /><label for="popup_enable_ecommerce_1" class="wd-radio-label"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 3974 |
+
<input type="radio" name="popup_enable_ecommerce" id="popup_enable_ecommerce_0" value="0" <?php if (!$row->popup_enable_ecommerce) echo 'checked="checked"'; ?> /><label for="popup_enable_ecommerce_0" class="wd-radio-label"><?php _e('No', 'photo-gallery'); ?></label>
|
| 3975 |
</div>
|
| 3976 |
+
<p class="description"><?php _e('Enable this option to display ecommerce icon on Photo Gallery lightbox', 'photo-gallery') ?></p>
|
| 3977 |
</div>
|
| 3978 |
</div>
|
| 3979 |
<?php
|
admin/views/Shortcode.php
CHANGED
|
@@ -58,10 +58,10 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 58 |
<div class="bwg_tabs meta-box-sortables">
|
| 59 |
<ul class="bwg-tabs">
|
| 60 |
<li class="tabs">
|
| 61 |
-
<a href="#bwg_tab_galleries_content" class="bwg-tablink"><?php _e('Gallery',
|
| 62 |
</li>
|
| 63 |
<li class="tabs">
|
| 64 |
-
<a href="#bwg_tab_albums_content" class="bwg-tablink"><?php _e('Gallery group',
|
| 65 |
</li>
|
| 66 |
</ul>
|
| 67 |
<div id="bwg_tab_galleries_content" style="display: none" class="bwg-section bwg-no-bottom-border wd-box-content">
|
|
@@ -72,7 +72,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 72 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails.svg'; ?>" />
|
| 73 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_active.svg'; ?>" />
|
| 74 |
</label>
|
| 75 |
-
<input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails" /><label class="gallery_type_label" for="thumbnails"><?php echo __('Thumbnails',
|
| 76 |
</div>
|
| 77 |
</span>
|
| 78 |
<span class="gallery_type bwg-thumbnails_masonry" onClick="bwg_gallery_type('thumbnails_masonry')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
|
@@ -82,7 +82,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 82 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry_active.svg'; ?>" />
|
| 83 |
</label>
|
| 84 |
<input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" />
|
| 85 |
-
<label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry',
|
| 86 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 87 |
<span class="pro_btn">Premium</span>
|
| 88 |
<?php } ?>
|
|
@@ -94,7 +94,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 94 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.svg'; ?>" />
|
| 95 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic_active.svg'; ?>" />
|
| 96 |
</label>
|
| 97 |
-
<input type="radio" class="gallery_type_radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" /><label class="gallery_type_label" for="thumbnails_mosaic"><?php echo __('Mosaic',
|
| 98 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 99 |
<span class="pro_btn">Premium</span>
|
| 100 |
<?php } ?>
|
|
@@ -106,7 +106,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 106 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/slideshow.svg'; ?>" />
|
| 107 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/slideshow_active.svg'; ?>" />
|
| 108 |
</label>
|
| 109 |
-
<input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" /><label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow',
|
| 110 |
</div>
|
| 111 |
</span>
|
| 112 |
<span class="gallery_type bwg-image_browser" onClick="bwg_gallery_type('image_browser')">
|
|
@@ -115,7 +115,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 115 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/image_browser.svg'; ?>" />
|
| 116 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/image_browser_active.svg'; ?>" />
|
| 117 |
</label>
|
| 118 |
-
<input type="radio" class="gallery_type_radio" id="image_browser" name="gallery_type" value="image_browser" /><label class="gallery_type_label" for="image_browser"><?php echo __('Image Browser',
|
| 119 |
</div>
|
| 120 |
</span>
|
| 121 |
<span class="gallery_type bwg-blog_style" onClick="bwg_gallery_type('blog_style')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_blog_style.png'; ?>" data-title="Blog Style" data-demo-link="https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin">
|
|
@@ -124,7 +124,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 124 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/blog_style.svg'; ?>" />
|
| 125 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/blog_style_active.svg'; ?>" />
|
| 126 |
</label>
|
| 127 |
-
<input type="radio" class="gallery_type_radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="gallery_type_label" for="blog_style"><?php echo __('Blog Style',
|
| 128 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 129 |
<span class="pro_btn">Premium</span>
|
| 130 |
<?php } ?>
|
|
@@ -136,7 +136,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 136 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/carousel.svg'; ?>" />
|
| 137 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/carousel_active.svg'; ?>" />
|
| 138 |
</label>
|
| 139 |
-
<input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" /><label class="gallery_type_label" for="carousel"><?php echo __('Carousel',
|
| 140 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 141 |
<span class="pro_btn">Premium</span>
|
| 142 |
<?php } ?>
|
|
@@ -144,7 +144,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 144 |
</span>
|
| 145 |
</div>
|
| 146 |
<div class="bwg_select_gallery_type" style="display:none;">
|
| 147 |
-
<label class="wd-label" for="gallery_types_name"><?php _e('View type',
|
| 148 |
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type(jQuery(this).val());">
|
| 149 |
<?php
|
| 150 |
foreach ( $gallery_types_name as $key => $album_type_name ) {
|
|
@@ -184,7 +184,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 184 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.svg'; ?>" />
|
| 185 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview_active.svg'; ?>" />
|
| 186 |
</label>
|
| 187 |
-
<input type="radio" class="album_type_radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php echo __('Compact',
|
| 188 |
</div>
|
| 189 |
</span>
|
| 190 |
<span class="gallery_type bwg-album_masonry_preview" onClick="bwg_gallery_type('album_masonry_preview')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
|
@@ -193,7 +193,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 193 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview.svg'; ?>" />
|
| 194 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview_active.svg'; ?>" />
|
| 195 |
</label>
|
| 196 |
-
<input type="radio" class="album_type_radio" id="album_masonry_preview" name="gallery_type" value="album_masonry_preview" /><label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry',
|
| 197 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 198 |
<span class="pro_btn">Premium</span>
|
| 199 |
<?php } ?>
|
|
@@ -205,12 +205,12 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 205 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.svg'; ?>" />
|
| 206 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview_active.svg'; ?>" />
|
| 207 |
</label>
|
| 208 |
-
<input type="radio" class="album_type_radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php echo __('Extended',
|
| 209 |
</div>
|
| 210 |
</span>
|
| 211 |
</div>
|
| 212 |
<div class="bwg_select_gallery_type" style="display:none;">
|
| 213 |
-
<label class="wd-label" for="gallery_types_name"><?php _e('View type',
|
| 214 |
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type(jQuery(this).val());">
|
| 215 |
<?php
|
| 216 |
foreach ( $album_types_name as $key => $album_type_name ) {
|
|
@@ -264,7 +264,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 264 |
<div class="bwg-pro-views bwg-section bwg-no-top-border bwg-flex-wrap">
|
| 265 |
<div class="wd-box-content wd-width-33">
|
| 266 |
<div class="wd-group" id="tr_gallery">
|
| 267 |
-
<label class="wd-label" for="gallery"><?php _e('Gallery',
|
| 268 |
<div>
|
| 269 |
<select name="gallery" id="gallery">
|
| 270 |
<?php
|
|
@@ -276,10 +276,10 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 276 |
?>
|
| 277 |
</select>
|
| 278 |
</div>
|
| 279 |
-
<p class="description"><?php _e('Select the gallery to display.',
|
| 280 |
</div>
|
| 281 |
<div class="wd-group" id="tr_album">
|
| 282 |
-
<label class="wd-label" for="album"><?php _e('Gallery Group',
|
| 283 |
<div>
|
| 284 |
<select name="album" id="album">
|
| 285 |
<?php
|
|
@@ -290,13 +290,13 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 290 |
}
|
| 291 |
?>
|
| 292 |
</select>
|
| 293 |
-
<p class="description"><?php _e('Select the gallery group to display.',
|
| 294 |
</div>
|
| 295 |
</div>
|
| 296 |
</div>
|
| 297 |
<div class="wd-box-content wd-width-33" id="tr_tag">
|
| 298 |
<div class="wd-group">
|
| 299 |
-
<label class="wd-label" for="tag"><?php _e('Tag',
|
| 300 |
<div>
|
| 301 |
<select name="tag" id="tag">
|
| 302 |
<?php
|
|
@@ -308,12 +308,12 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 308 |
?>
|
| 309 |
</select>
|
| 310 |
</div>
|
| 311 |
-
<p class="description"><?php _e('Filter gallery images by this tag.',
|
| 312 |
</div>
|
| 313 |
</div>
|
| 314 |
<div class="wd-box-content wd-width-33">
|
| 315 |
<div class="wd-group" id="tr_theme">
|
| 316 |
-
<label class="wd-label" for="theme"><?php _e('Theme',
|
| 317 |
<div>
|
| 318 |
<select name="theme" id="theme">
|
| 319 |
<?php
|
|
@@ -325,24 +325,24 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 325 |
?>
|
| 326 |
</select>
|
| 327 |
</div>
|
| 328 |
-
<p class="description"><?php _e('Choose the theme for your gallery.',
|
| 329 |
</div>
|
| 330 |
</div>
|
| 331 |
<div class="wd-box-content wd-width-100">
|
| 332 |
<div class="wd-group">
|
| 333 |
<input id="use_option_defaults" class="wd-radio" value="1" name="use_option_defaults" type="checkbox" checked="checked" />
|
| 334 |
-
<label class="wd-label-radio" for="use_option_defaults"><?php _e('Use default options',
|
| 335 |
-
<p class="description"><?php _e('Mark this option to use default settings configured in Photo Gallery Options.',
|
| 336 |
</div>
|
| 337 |
</div>
|
| 338 |
<div id="custom_options_conainer" class="wd-box-content wd-width-100">
|
| 339 |
<div class="postbox">
|
| 340 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 341 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 342 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 343 |
</button>
|
| 344 |
<h2 class="hndle">
|
| 345 |
-
<span id="bwg_basic_metabox_title" data-title-gallery="<?php _e('Gallery',
|
| 346 |
</h2>
|
| 347 |
<div class="inside bwg-flex-wrap">
|
| 348 |
<?php
|
|
@@ -353,11 +353,11 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 353 |
</div>
|
| 354 |
<div class="postbox closed">
|
| 355 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 356 |
-
<span class="screen-reader-text"><?php _e('Toggle panel:',
|
| 357 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 358 |
</button>
|
| 359 |
<h2 class="hndle">
|
| 360 |
-
<span><?php _e('Action on image click',
|
| 361 |
</h2>
|
| 362 |
<div class="inside">
|
| 363 |
<?php
|
|
@@ -367,51 +367,51 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 367 |
</div>
|
| 368 |
<div class="postbox closed">
|
| 369 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 370 |
-
<span class="screen-reader-text"><?php _e('Toggle panel',
|
| 371 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 372 |
</button>
|
| 373 |
<h2 class="hndle">
|
| 374 |
-
<span><?php _e('Advanced',
|
| 375 |
</h2>
|
| 376 |
<div class="inside bwg-flex-wrap">
|
| 377 |
<div class="wd-box-content wd-width-100" id="tr_watermark_type">
|
| 378 |
<div class="wd-group">
|
| 379 |
-
<label class="wd-label"><?php _e('Advertisement type',
|
| 380 |
<div class="bwg-flex">
|
| 381 |
-
<div><input type="radio" class="wd-radio" name="watermark_type" id="watermark_type_none" value="none" onClick="bwg_watermark('watermark_type_none')" <?php echo (BWG()->options->watermark_type == 'none') ? 'checked' : ''; ?> /><label for="watermark_type_none" class="wd-radio-label"><?php _e('None',
|
| 382 |
-
<div><input type="radio" class="wd-radio" name="watermark_type" id="watermark_type_text" value="text" onClick="bwg_watermark('watermark_type_text')" <?php echo (BWG()->options->watermark_type == 'text') ? 'checked' : ''; ?> /><label for="watermark_type_text" class="wd-radio-label"><?php _e('Text',
|
| 383 |
-
<div><input type="radio" class="wd-radio" name="watermark_type" id="watermark_type_image" value="image" onClick="bwg_watermark('watermark_type_image')" <?php echo (BWG()->options->watermark_type == 'image') ? 'checked' : ''; ?> /><label for="watermark_type_image" class="wd-radio-label"><?php _e('Image',
|
| 384 |
</div>
|
| 385 |
-
<p class="description"><?php _e("Add Text or Image advertisement to your images with this option.",
|
| 386 |
</div>
|
| 387 |
</div>
|
| 388 |
<div class="wd-box-content wd-width-33">
|
| 389 |
<div class="wd-box-content wd-width-100" id="tr_watermark_link">
|
| 390 |
<div class="wd-group">
|
| 391 |
-
<label class="wd-label" for="watermark_link"><?php _e('Advertisement link',
|
| 392 |
<input type="text" id="watermark_link" name="watermark_link" value="<?php echo BWG()->options->watermark_link; ?>" />
|
| 393 |
-
<p class="description"><?php _e("Provide the link to be added to advertisement on images.",
|
| 394 |
</div>
|
| 395 |
</div>
|
| 396 |
<div class="wd-box-content wd-width-100" id="tr_watermark_url">
|
| 397 |
<div class="wd-group">
|
| 398 |
-
<label class="wd-label" for="watermark_url"><?php _e('Advertisement URL',
|
| 399 |
<input type="text" id="watermark_url" name="watermark_url" value="<?php echo BWG()->options->watermark_url; ?>" />
|
| 400 |
-
<p class="description"><?php _e("Provide the absolute URL of the image you would like to use as advertisement.",
|
| 401 |
</div>
|
| 402 |
</div>
|
| 403 |
<div class="wd-box-content wd-width-100" id="tr_watermark_text">
|
| 404 |
<div class="wd-group">
|
| 405 |
-
<label class="wd-label" for="watermark_text"><?php _e('Advertisement text',
|
| 406 |
<input type="text" name="watermark_text" id="watermark_text" value="<?php echo BWG()->options->watermark_text; ?>" />
|
| 407 |
-
<p class="description"><?php _e("Write the text to add to images as advertisement.",
|
| 408 |
</div>
|
| 409 |
</div>
|
| 410 |
</div>
|
| 411 |
<div class="wd-box-content wd-width-33">
|
| 412 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font">
|
| 413 |
<div class="wd-group">
|
| 414 |
-
<label class="wd-label" for="watermark_font"><?php _e('Advertisement font style',
|
| 415 |
<select name="watermark_font" id="watermark_font">
|
| 416 |
<?php
|
| 417 |
$google_fonts = WDWLibrary::get_google_fonts();
|
|
@@ -426,53 +426,53 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 426 |
</select>
|
| 427 |
<div class="bwg-flex">
|
| 428 |
<div><input type="radio" class="wd-radio" name="watermark_google_fonts" id="watermark_google_fonts1" onchange="bwg_change_fonts('watermark_font', jQuery(this).attr('id'))" value="1" <?php if ($is_google_fonts) echo 'checked="checked"'; ?> />
|
| 429 |
-
<label for="watermark_google_fonts1" id="watermark_google_fonts1_lbl" class="wd-radio-label"><?php _e('Google fonts',
|
| 430 |
<div><input type="radio" class="wd-radio" name="watermark_google_fonts" id="watermark_google_fonts0" onchange="bwg_change_fonts('watermark_font', '')" value="0" <?php if (!$is_google_fonts) echo 'checked="checked"'; ?> />
|
| 431 |
-
<label for="watermark_google_fonts0" id="watermark_google_fonts0_lbl" class="wd-radio-label"><?php _e('Default',
|
| 432 |
</div>
|
| 433 |
-
<p class="description"><?php _e("Select the font family of the advertisement text.",
|
| 434 |
</div>
|
| 435 |
</div>
|
| 436 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font_size">
|
| 437 |
<div class="wd-group">
|
| 438 |
-
<label class="wd-label" for="watermark_font_size"><?php _e('Advertisement font size',
|
| 439 |
<div class="bwg-flex">
|
| 440 |
<input type="text" name="watermark_font_size" id="watermark_font_size" value="<?php echo BWG()->options->watermark_font_size; ?>" class="spider_int_input" /><span>px</span>
|
| 441 |
</div>
|
| 442 |
-
<p class="description"><?php _e("Specify the font size of the advertisement text.",
|
| 443 |
</div>
|
| 444 |
</div>
|
| 445 |
<div class="wd-box-content wd-width-100" id="tr_watermark_width_height">
|
| 446 |
<div class="wd-group">
|
| 447 |
-
<label class="wd-label" for="watermark_width"><?php _e('Advertisement dimensions',
|
| 448 |
<div class="bwg-flex">
|
| 449 |
<input type="text" name="watermark_width" id="watermark_width" value="<?php echo BWG()->options->watermark_width; ?>" class="spider_int_input" /><span>x</span>
|
| 450 |
<input type="text" name="watermark_height" id="watermark_height" value="<?php echo BWG()->options->watermark_height; ?>" class="spider_int_input" /><span>px</span>
|
| 451 |
</div>
|
| 452 |
-
<p class="description"><?php _e("Select the dimensions of the advertisement image.",
|
| 453 |
</div>
|
| 454 |
</div>
|
| 455 |
<div class="wd-box-content wd-width-100" id="tr_watermark_color">
|
| 456 |
<div class="wd-group">
|
| 457 |
-
<label class="wd-label" for="watermark_color"><?php _e('Advertisement color',
|
| 458 |
<input type="text" name="watermark_color" id="watermark_color" value="<?php echo BWG()->options->watermark_color; ?>" class="jscolor" />
|
| 459 |
-
<p class="description"><?php _e("Choose the color for the advertisement text on images.",
|
| 460 |
</div>
|
| 461 |
</div>
|
| 462 |
</div>
|
| 463 |
<div class="wd-box-content wd-width-33">
|
| 464 |
<div class="wd-box-content wd-width-100" id="tr_watermark_opacity">
|
| 465 |
<div class="wd-group">
|
| 466 |
-
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement opacity',
|
| 467 |
<div class="bwg-flex">
|
| 468 |
<input type="text" name="watermark_opacity" id="watermark_opacity" value="<?php echo BWG()->options->watermark_opacity; ?>" class="spider_int_input" /><span>%</span>
|
| 469 |
</div>
|
| 470 |
-
<p class="description"><?php echo __("Specify the opacity of the advertisement. The value must be between 0 to 100.",
|
| 471 |
</div>
|
| 472 |
</div>
|
| 473 |
<div class="wd-box-content wd-width-100" id="tr_watermark_position">
|
| 474 |
<div class="wd-group">
|
| 475 |
-
<label class="wd-label"><?php _e('Advertisement position',
|
| 476 |
<table class="bws_position_table">
|
| 477 |
<tbody>
|
| 478 |
<tr>
|
|
@@ -492,7 +492,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 492 |
</tr>
|
| 493 |
</tbody>
|
| 494 |
</table>
|
| 495 |
-
<p class="description"><?php echo __("Mark the position where the advertisement should appear on images.",
|
| 496 |
</div>
|
| 497 |
</div>
|
| 498 |
</div>
|
|
@@ -507,13 +507,13 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 507 |
<div class="media-frame-toolbar">
|
| 508 |
<div class="media-toolbar">
|
| 509 |
<div class="media-toolbar-primary search-form">
|
| 510 |
-
<button class="button media-button button-primary button-large media-button-insert button-hero" type="button" id="insert" name="insert" <?php if($params['elementor_callback']) { ?> data-callback="elementor" <?php } ?> onClick="bwg_insert_shortcode('');"><?php _e('Insert into post',
|
| 511 |
</div>
|
| 512 |
<!-- @TODO. needed to remove after dicessing with design team-->
|
| 513 |
<!-- --><?php //if ( !BWG()->is_pro ) { ?>
|
| 514 |
<!-- <div class="media-toolbar-primary search-form" style="float: left;">-->
|
| 515 |
<!-- <span class="media-button button-large">-->
|
| 516 |
-
<!-- <a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="https://demo.10web.io/photo-gallery/--><?php //echo BWG()->utm_source; ?><!--">--><?php //_e('Please see ',
|
| 517 |
<!-- </span>-->
|
| 518 |
<!-- </div>-->
|
| 519 |
<!-- --><?php //} ?>
|
|
@@ -535,7 +535,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 535 |
<div id="generate_button" class="wd-box-content wd-width-100">
|
| 536 |
<div class="wd-box-content wd-width-50 bwg-flex">
|
| 537 |
<select name="shortcode" id="shortcode" onchange="bwg_update_shortcode()">
|
| 538 |
-
<option value=""><?php _e('New shortcode',
|
| 539 |
<?php
|
| 540 |
foreach ( $shortcodes as $shortcode ) {
|
| 541 |
?>
|
|
@@ -544,22 +544,22 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 544 |
}
|
| 545 |
?>
|
| 546 |
</select>
|
| 547 |
-
<button class="button media-button button-primary button-large media-button-insert" type="button" id="insert" name="insert" onClick="jQuery('#loading_div').show(); bwg_insert_shortcode('');"><?php _e('Generate',
|
| 548 |
</div>
|
| 549 |
-
<p class="description"><?php _e('If you would like to edit an existing shortcode, use this dropdown box to select it.',
|
| 550 |
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
| 551 |
<div class="wd-box-content wd-width-50">
|
| 552 |
<div class="wd-group">
|
| 553 |
-
<label class="wd-label" for="bwg_shortcode"><?php _e('Shortcode',
|
| 554 |
<input type="text" id="bwg_shortcode" name="bwg_shortcode" value='<?php echo $tagtext; ?>' onclick="spider_select_value(this)" readonly="readonly" />
|
| 555 |
-
<p class="description"><?php _e('Add the selected gallery or gallery group to any WordPress page or post. Simply copy the generated shortcode and paste it in the content of page/post editor.',
|
| 556 |
</div>
|
| 557 |
</div>
|
| 558 |
<div class="wd-box-content wd-width-50">
|
| 559 |
<div class="wd-group">
|
| 560 |
-
<label class="wd-label" for="bwg_function"><?php _e('PHP function',
|
| 561 |
<input type="text" id="bwg_function" name="bwg_function" value="<?php echo $tagfunction; ?>" onclick="spider_select_value(this)" readonly="readonly" />
|
| 562 |
-
<p class="description"><?php _e('Use generated PHP function to call the selected gallery or gallery group on a custom PHP template.',
|
| 563 |
</div>
|
| 564 |
</div>
|
| 565 |
</div>
|
|
@@ -628,7 +628,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 628 |
params = get_params("Best_Wordpress_Gallery");
|
| 629 |
if (!params) { // Insert.
|
| 630 |
<?php if ($from_menu) { ?>
|
| 631 |
-
jQuery('#insert').text('<?php _e('Generate',
|
| 632 |
bwg_insert = 1;
|
| 633 |
if (temp_shortcode_id !== 0) {
|
| 634 |
shortcode_id = temp_shortcode_id;
|
|
@@ -646,7 +646,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 646 |
if (params['id']) {
|
| 647 |
shortcode_id = params['id'];
|
| 648 |
if (typeof shortcodes[shortcode_id] === 'undefined') {
|
| 649 |
-
alert("<?php echo addslashes(__('There is no shortcode with such ID!',
|
| 650 |
bwg_gallery_type('thumbnails');
|
| 651 |
return 0;
|
| 652 |
}
|
|
@@ -659,7 +659,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 659 |
else {
|
| 660 |
var short_code = get_params("Best_Wordpress_Gallery");
|
| 661 |
}
|
| 662 |
-
jQuery('#insert').text('<?php _e('Update',
|
| 663 |
<?php if ($from_menu) { ?>
|
| 664 |
content = jQuery("#bwg_shortcode").val();
|
| 665 |
<?php } ?>
|
|
@@ -2248,7 +2248,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 2248 |
if (bwg_insert) {
|
| 2249 |
jQuery('#shortcode').append('<option value="' + shortcode_id + '">[Best_Wordpress_Gallery id="' + shortcode_id + '"]</option>').val(shortcode_id);
|
| 2250 |
}
|
| 2251 |
-
jQuery('#insert').text('<?php _e('Update',
|
| 2252 |
jQuery('#insert').attr('onclick', 'jQuery("#loading_div").show(); bwg_insert_shortcode(content);');
|
| 2253 |
jQuery("#bwg_shortcode").val(content);
|
| 2254 |
var str = "<?php echo if( function_exists('photo_gallery') ) { photo_gallery(" + shortcode_id + "); } ?>";
|
|
@@ -2277,11 +2277,11 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
| 2277 |
jQuery(window).resize(function () {
|
| 2278 |
bwg_change_tab();
|
| 2279 |
});
|
| 2280 |
-
var bwg_image_thumb = '<?php echo addslashes(__('Thumbnail dimensions',
|
| 2281 |
-
var bwg_image_thumb_width = '<?php echo addslashes(__('Image thumbnail width ',
|
| 2282 |
-
var bwg_max_column = '<?php echo addslashes(__('Number of image columns',
|
| 2283 |
-
var bwg_image_thumb_height = '<?php echo addslashes(__('Image thumbnail height',
|
| 2284 |
-
var bwg_number_of_image_rows = '<?php echo addslashes(__('Number of image rows',
|
| 2285 |
</script>
|
| 2286 |
<?php
|
| 2287 |
return ob_get_clean();
|
| 58 |
<div class="bwg_tabs meta-box-sortables">
|
| 59 |
<ul class="bwg-tabs">
|
| 60 |
<li class="tabs">
|
| 61 |
+
<a href="#bwg_tab_galleries_content" class="bwg-tablink"><?php _e('Gallery', 'photo-gallery'); ?></a>
|
| 62 |
</li>
|
| 63 |
<li class="tabs">
|
| 64 |
+
<a href="#bwg_tab_albums_content" class="bwg-tablink"><?php _e('Gallery group', 'photo-gallery'); ?></a>
|
| 65 |
</li>
|
| 66 |
</ul>
|
| 67 |
<div id="bwg_tab_galleries_content" style="display: none" class="bwg-section bwg-no-bottom-border wd-box-content">
|
| 72 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails.svg'; ?>" />
|
| 73 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_active.svg'; ?>" />
|
| 74 |
</label>
|
| 75 |
+
<input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails" /><label class="gallery_type_label" for="thumbnails"><?php echo __('Thumbnails', 'photo-gallery'); ?></label>
|
| 76 |
</div>
|
| 77 |
</span>
|
| 78 |
<span class="gallery_type bwg-thumbnails_masonry" onClick="bwg_gallery_type('thumbnails_masonry')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 82 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry_active.svg'; ?>" />
|
| 83 |
</label>
|
| 84 |
<input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" />
|
| 85 |
+
<label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry', 'photo-gallery'); ?></label>
|
| 86 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 87 |
<span class="pro_btn">Premium</span>
|
| 88 |
<?php } ?>
|
| 94 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.svg'; ?>" />
|
| 95 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic_active.svg'; ?>" />
|
| 96 |
</label>
|
| 97 |
+
<input type="radio" class="gallery_type_radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" /><label class="gallery_type_label" for="thumbnails_mosaic"><?php echo __('Mosaic', 'photo-gallery'); ?></label>
|
| 98 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 99 |
<span class="pro_btn">Premium</span>
|
| 100 |
<?php } ?>
|
| 106 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/slideshow.svg'; ?>" />
|
| 107 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/slideshow_active.svg'; ?>" />
|
| 108 |
</label>
|
| 109 |
+
<input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" /><label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow', 'photo-gallery'); ?></label>
|
| 110 |
</div>
|
| 111 |
</span>
|
| 112 |
<span class="gallery_type bwg-image_browser" onClick="bwg_gallery_type('image_browser')">
|
| 115 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/image_browser.svg'; ?>" />
|
| 116 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/image_browser_active.svg'; ?>" />
|
| 117 |
</label>
|
| 118 |
+
<input type="radio" class="gallery_type_radio" id="image_browser" name="gallery_type" value="image_browser" /><label class="gallery_type_label" for="image_browser"><?php echo __('Image Browser', 'photo-gallery'); ?></label>
|
| 119 |
</div>
|
| 120 |
</span>
|
| 121 |
<span class="gallery_type bwg-blog_style" onClick="bwg_gallery_type('blog_style')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_blog_style.png'; ?>" data-title="Blog Style" data-demo-link="https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 124 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/blog_style.svg'; ?>" />
|
| 125 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/blog_style_active.svg'; ?>" />
|
| 126 |
</label>
|
| 127 |
+
<input type="radio" class="gallery_type_radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="gallery_type_label" for="blog_style"><?php echo __('Blog Style', 'photo-gallery'); ?></label>
|
| 128 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 129 |
<span class="pro_btn">Premium</span>
|
| 130 |
<?php } ?>
|
| 136 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/carousel.svg'; ?>" />
|
| 137 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/carousel_active.svg'; ?>" />
|
| 138 |
</label>
|
| 139 |
+
<input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" /><label class="gallery_type_label" for="carousel"><?php echo __('Carousel', 'photo-gallery'); ?></label>
|
| 140 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 141 |
<span class="pro_btn">Premium</span>
|
| 142 |
<?php } ?>
|
| 144 |
</span>
|
| 145 |
</div>
|
| 146 |
<div class="bwg_select_gallery_type" style="display:none;">
|
| 147 |
+
<label class="wd-label" for="gallery_types_name"><?php _e('View type', 'photo-gallery'); ?></label>
|
| 148 |
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type(jQuery(this).val());">
|
| 149 |
<?php
|
| 150 |
foreach ( $gallery_types_name as $key => $album_type_name ) {
|
| 184 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.svg'; ?>" />
|
| 185 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview_active.svg'; ?>" />
|
| 186 |
</label>
|
| 187 |
+
<input type="radio" class="album_type_radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', 'photo-gallery'); ?></label>
|
| 188 |
</div>
|
| 189 |
</span>
|
| 190 |
<span class="gallery_type bwg-album_masonry_preview" onClick="bwg_gallery_type('album_masonry_preview')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 193 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview.svg'; ?>" />
|
| 194 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview_active.svg'; ?>" />
|
| 195 |
</label>
|
| 196 |
+
<input type="radio" class="album_type_radio" id="album_masonry_preview" name="gallery_type" value="album_masonry_preview" /><label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', 'photo-gallery'); ?></label>
|
| 197 |
<?php if ( !BWG()->is_pro ) { ?>
|
| 198 |
<span class="pro_btn">Premium</span>
|
| 199 |
<?php } ?>
|
| 205 |
<img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.svg'; ?>" />
|
| 206 |
<img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview_active.svg'; ?>" />
|
| 207 |
</label>
|
| 208 |
+
<input type="radio" class="album_type_radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', 'photo-gallery'); ?></label>
|
| 209 |
</div>
|
| 210 |
</span>
|
| 211 |
</div>
|
| 212 |
<div class="bwg_select_gallery_type" style="display:none;">
|
| 213 |
+
<label class="wd-label" for="gallery_types_name"><?php _e('View type', 'photo-gallery'); ?></label>
|
| 214 |
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type(jQuery(this).val());">
|
| 215 |
<?php
|
| 216 |
foreach ( $album_types_name as $key => $album_type_name ) {
|
| 264 |
<div class="bwg-pro-views bwg-section bwg-no-top-border bwg-flex-wrap">
|
| 265 |
<div class="wd-box-content wd-width-33">
|
| 266 |
<div class="wd-group" id="tr_gallery">
|
| 267 |
+
<label class="wd-label" for="gallery"><?php _e('Gallery', 'photo-gallery'); ?></label>
|
| 268 |
<div>
|
| 269 |
<select name="gallery" id="gallery">
|
| 270 |
<?php
|
| 276 |
?>
|
| 277 |
</select>
|
| 278 |
</div>
|
| 279 |
+
<p class="description"><?php _e('Select the gallery to display.', 'photo-gallery') ?></p>
|
| 280 |
</div>
|
| 281 |
<div class="wd-group" id="tr_album">
|
| 282 |
+
<label class="wd-label" for="album"><?php _e('Gallery Group', 'photo-gallery'); ?></label>
|
| 283 |
<div>
|
| 284 |
<select name="album" id="album">
|
| 285 |
<?php
|
| 290 |
}
|
| 291 |
?>
|
| 292 |
</select>
|
| 293 |
+
<p class="description"><?php _e('Select the gallery group to display.', 'photo-gallery'); ?></p>
|
| 294 |
</div>
|
| 295 |
</div>
|
| 296 |
</div>
|
| 297 |
<div class="wd-box-content wd-width-33" id="tr_tag">
|
| 298 |
<div class="wd-group">
|
| 299 |
+
<label class="wd-label" for="tag"><?php _e('Tag', 'photo-gallery'); ?></label>
|
| 300 |
<div>
|
| 301 |
<select name="tag" id="tag">
|
| 302 |
<?php
|
| 308 |
?>
|
| 309 |
</select>
|
| 310 |
</div>
|
| 311 |
+
<p class="description"><?php _e('Filter gallery images by this tag.', 'photo-gallery') ?></p>
|
| 312 |
</div>
|
| 313 |
</div>
|
| 314 |
<div class="wd-box-content wd-width-33">
|
| 315 |
<div class="wd-group" id="tr_theme">
|
| 316 |
+
<label class="wd-label" for="theme"><?php _e('Theme', 'photo-gallery'); ?></label>
|
| 317 |
<div>
|
| 318 |
<select name="theme" id="theme">
|
| 319 |
<?php
|
| 325 |
?>
|
| 326 |
</select>
|
| 327 |
</div>
|
| 328 |
+
<p class="description"><?php _e('Choose the theme for your gallery.', 'photo-gallery') ?></p>
|
| 329 |
</div>
|
| 330 |
</div>
|
| 331 |
<div class="wd-box-content wd-width-100">
|
| 332 |
<div class="wd-group">
|
| 333 |
<input id="use_option_defaults" class="wd-radio" value="1" name="use_option_defaults" type="checkbox" checked="checked" />
|
| 334 |
+
<label class="wd-label-radio" for="use_option_defaults"><?php _e('Use default options', 'photo-gallery'); ?></label>
|
| 335 |
+
<p class="description"><?php _e('Mark this option to use default settings configured in Photo Gallery Options.', 'photo-gallery') ?><br><?php echo sprintf(__('You can change the default options %s.', 'photo-gallery'), '<a id="options_link" data-href="' . admin_url('admin.php?page=options_' . BWG()->prefix) . '" href="' . admin_url('admin.php?page=options_' . BWG()->prefix) . '" target="_blank">' . __('here', 'photo-gallery') . '</a>'); ?></p>
|
| 336 |
</div>
|
| 337 |
</div>
|
| 338 |
<div id="custom_options_conainer" class="wd-box-content wd-width-100">
|
| 339 |
<div class="postbox">
|
| 340 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 341 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 342 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 343 |
</button>
|
| 344 |
<h2 class="hndle">
|
| 345 |
+
<span id="bwg_basic_metabox_title" data-title-gallery="<?php _e('Gallery', 'photo-gallery'); ?>" data-title-album="<?php _e('Gallery group', 'photo-gallery'); ?>"></span>
|
| 346 |
</h2>
|
| 347 |
<div class="inside bwg-flex-wrap">
|
| 348 |
<?php
|
| 353 |
</div>
|
| 354 |
<div class="postbox closed">
|
| 355 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 356 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', 'photo-gallery'); ?></span>
|
| 357 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 358 |
</button>
|
| 359 |
<h2 class="hndle">
|
| 360 |
+
<span><?php _e('Action on image click', 'photo-gallery'); ?></span>
|
| 361 |
</h2>
|
| 362 |
<div class="inside">
|
| 363 |
<?php
|
| 367 |
</div>
|
| 368 |
<div class="postbox closed">
|
| 369 |
<button class="button-link handlediv" type="button" aria-expanded="true">
|
| 370 |
+
<span class="screen-reader-text"><?php _e('Toggle panel', 'photo-gallery'); ?></span>
|
| 371 |
<span class="toggle-indicator" aria-hidden="false"></span>
|
| 372 |
</button>
|
| 373 |
<h2 class="hndle">
|
| 374 |
+
<span><?php _e('Advanced', 'photo-gallery'); ?></span>
|
| 375 |
</h2>
|
| 376 |
<div class="inside bwg-flex-wrap">
|
| 377 |
<div class="wd-box-content wd-width-100" id="tr_watermark_type">
|
| 378 |
<div class="wd-group">
|
| 379 |
+
<label class="wd-label"><?php _e('Advertisement type', 'photo-gallery'); ?></label>
|
| 380 |
<div class="bwg-flex">
|
| 381 |
+
<div><input type="radio" class="wd-radio" name="watermark_type" id="watermark_type_none" value="none" onClick="bwg_watermark('watermark_type_none')" <?php echo (BWG()->options->watermark_type == 'none') ? 'checked' : ''; ?> /><label for="watermark_type_none" class="wd-radio-label"><?php _e('None', 'photo-gallery'); ?></label></div>
|
| 382 |
+
<div><input type="radio" class="wd-radio" name="watermark_type" id="watermark_type_text" value="text" onClick="bwg_watermark('watermark_type_text')" <?php echo (BWG()->options->watermark_type == 'text') ? 'checked' : ''; ?> /><label for="watermark_type_text" class="wd-radio-label"><?php _e('Text', 'photo-gallery'); ?></label></div>
|
| 383 |
+
<div><input type="radio" class="wd-radio" name="watermark_type" id="watermark_type_image" value="image" onClick="bwg_watermark('watermark_type_image')" <?php echo (BWG()->options->watermark_type == 'image') ? 'checked' : ''; ?> /><label for="watermark_type_image" class="wd-radio-label"><?php _e('Image', 'photo-gallery'); ?></label></div>
|
| 384 |
</div>
|
| 385 |
+
<p class="description"><?php _e("Add Text or Image advertisement to your images with this option.", 'photo-gallery'); ?></p>
|
| 386 |
</div>
|
| 387 |
</div>
|
| 388 |
<div class="wd-box-content wd-width-33">
|
| 389 |
<div class="wd-box-content wd-width-100" id="tr_watermark_link">
|
| 390 |
<div class="wd-group">
|
| 391 |
+
<label class="wd-label" for="watermark_link"><?php _e('Advertisement link', 'photo-gallery'); ?></label>
|
| 392 |
<input type="text" id="watermark_link" name="watermark_link" value="<?php echo BWG()->options->watermark_link; ?>" />
|
| 393 |
+
<p class="description"><?php _e("Provide the link to be added to advertisement on images.", 'photo-gallery'); ?>, e.g. http://www.example.com</p>
|
| 394 |
</div>
|
| 395 |
</div>
|
| 396 |
<div class="wd-box-content wd-width-100" id="tr_watermark_url">
|
| 397 |
<div class="wd-group">
|
| 398 |
+
<label class="wd-label" for="watermark_url"><?php _e('Advertisement URL', 'photo-gallery'); ?></label>
|
| 399 |
<input type="text" id="watermark_url" name="watermark_url" value="<?php echo BWG()->options->watermark_url; ?>" />
|
| 400 |
+
<p class="description"><?php _e("Provide the absolute URL of the image you would like to use as advertisement.", 'photo-gallery'); ?></p>
|
| 401 |
</div>
|
| 402 |
</div>
|
| 403 |
<div class="wd-box-content wd-width-100" id="tr_watermark_text">
|
| 404 |
<div class="wd-group">
|
| 405 |
+
<label class="wd-label" for="watermark_text"><?php _e('Advertisement text', 'photo-gallery'); ?></label>
|
| 406 |
<input type="text" name="watermark_text" id="watermark_text" value="<?php echo BWG()->options->watermark_text; ?>" />
|
| 407 |
+
<p class="description"><?php _e("Write the text to add to images as advertisement.", 'photo-gallery'); ?></p>
|
| 408 |
</div>
|
| 409 |
</div>
|
| 410 |
</div>
|
| 411 |
<div class="wd-box-content wd-width-33">
|
| 412 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font">
|
| 413 |
<div class="wd-group">
|
| 414 |
+
<label class="wd-label" for="watermark_font"><?php _e('Advertisement font style', 'photo-gallery'); ?></label>
|
| 415 |
<select name="watermark_font" id="watermark_font">
|
| 416 |
<?php
|
| 417 |
$google_fonts = WDWLibrary::get_google_fonts();
|
| 426 |
</select>
|
| 427 |
<div class="bwg-flex">
|
| 428 |
<div><input type="radio" class="wd-radio" name="watermark_google_fonts" id="watermark_google_fonts1" onchange="bwg_change_fonts('watermark_font', jQuery(this).attr('id'))" value="1" <?php if ($is_google_fonts) echo 'checked="checked"'; ?> />
|
| 429 |
+
<label for="watermark_google_fonts1" id="watermark_google_fonts1_lbl" class="wd-radio-label"><?php _e('Google fonts', 'photo-gallery'); ?></label></div>
|
| 430 |
<div><input type="radio" class="wd-radio" name="watermark_google_fonts" id="watermark_google_fonts0" onchange="bwg_change_fonts('watermark_font', '')" value="0" <?php if (!$is_google_fonts) echo 'checked="checked"'; ?> />
|
| 431 |
+
<label for="watermark_google_fonts0" id="watermark_google_fonts0_lbl" class="wd-radio-label"><?php _e('Default', 'photo-gallery'); ?></label></div>
|
| 432 |
</div>
|
| 433 |
+
<p class="description"><?php _e("Select the font family of the advertisement text.", 'photo-gallery'); ?></p>
|
| 434 |
</div>
|
| 435 |
</div>
|
| 436 |
<div class="wd-box-content wd-width-100" id="tr_watermark_font_size">
|
| 437 |
<div class="wd-group">
|
| 438 |
+
<label class="wd-label" for="watermark_font_size"><?php _e('Advertisement font size', 'photo-gallery'); ?></label>
|
| 439 |
<div class="bwg-flex">
|
| 440 |
<input type="text" name="watermark_font_size" id="watermark_font_size" value="<?php echo BWG()->options->watermark_font_size; ?>" class="spider_int_input" /><span>px</span>
|
| 441 |
</div>
|
| 442 |
+
<p class="description"><?php _e("Specify the font size of the advertisement text.", 'photo-gallery'); ?></p>
|
| 443 |
</div>
|
| 444 |
</div>
|
| 445 |
<div class="wd-box-content wd-width-100" id="tr_watermark_width_height">
|
| 446 |
<div class="wd-group">
|
| 447 |
+
<label class="wd-label" for="watermark_width"><?php _e('Advertisement dimensions', 'photo-gallery'); ?></label>
|
| 448 |
<div class="bwg-flex">
|
| 449 |
<input type="text" name="watermark_width" id="watermark_width" value="<?php echo BWG()->options->watermark_width; ?>" class="spider_int_input" /><span>x</span>
|
| 450 |
<input type="text" name="watermark_height" id="watermark_height" value="<?php echo BWG()->options->watermark_height; ?>" class="spider_int_input" /><span>px</span>
|
| 451 |
</div>
|
| 452 |
+
<p class="description"><?php _e("Select the dimensions of the advertisement image.", 'photo-gallery'); ?></p>
|
| 453 |
</div>
|
| 454 |
</div>
|
| 455 |
<div class="wd-box-content wd-width-100" id="tr_watermark_color">
|
| 456 |
<div class="wd-group">
|
| 457 |
+
<label class="wd-label" for="watermark_color"><?php _e('Advertisement color', 'photo-gallery'); ?></label>
|
| 458 |
<input type="text" name="watermark_color" id="watermark_color" value="<?php echo BWG()->options->watermark_color; ?>" class="jscolor" />
|
| 459 |
+
<p class="description"><?php _e("Choose the color for the advertisement text on images.", 'photo-gallery'); ?></p>
|
| 460 |
</div>
|
| 461 |
</div>
|
| 462 |
</div>
|
| 463 |
<div class="wd-box-content wd-width-33">
|
| 464 |
<div class="wd-box-content wd-width-100" id="tr_watermark_opacity">
|
| 465 |
<div class="wd-group">
|
| 466 |
+
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement opacity', 'photo-gallery'); ?></label>
|
| 467 |
<div class="bwg-flex">
|
| 468 |
<input type="text" name="watermark_opacity" id="watermark_opacity" value="<?php echo BWG()->options->watermark_opacity; ?>" class="spider_int_input" /><span>%</span>
|
| 469 |
</div>
|
| 470 |
+
<p class="description"><?php echo __("Specify the opacity of the advertisement. The value must be between 0 to 100.", 'photo-gallery'); ?></p>
|
| 471 |
</div>
|
| 472 |
</div>
|
| 473 |
<div class="wd-box-content wd-width-100" id="tr_watermark_position">
|
| 474 |
<div class="wd-group">
|
| 475 |
+
<label class="wd-label"><?php _e('Advertisement position', 'photo-gallery'); ?></label>
|
| 476 |
<table class="bws_position_table">
|
| 477 |
<tbody>
|
| 478 |
<tr>
|
| 492 |
</tr>
|
| 493 |
</tbody>
|
| 494 |
</table>
|
| 495 |
+
<p class="description"><?php echo __("Mark the position where the advertisement should appear on images.", 'photo-gallery'); ?></p>
|
| 496 |
</div>
|
| 497 |
</div>
|
| 498 |
</div>
|
| 507 |
<div class="media-frame-toolbar">
|
| 508 |
<div class="media-toolbar">
|
| 509 |
<div class="media-toolbar-primary search-form">
|
| 510 |
+
<button class="button media-button button-primary button-large media-button-insert button-hero" type="button" id="insert" name="insert" <?php if($params['elementor_callback']) { ?> data-callback="elementor" <?php } ?> onClick="bwg_insert_shortcode('');"><?php _e('Insert into post', 'photo-gallery'); ?></button>
|
| 511 |
</div>
|
| 512 |
<!-- @TODO. needed to remove after dicessing with design team-->
|
| 513 |
<!-- --><?php //if ( !BWG()->is_pro ) { ?>
|
| 514 |
<!-- <div class="media-toolbar-primary search-form" style="float: left;">-->
|
| 515 |
<!-- <span class="media-button button-large">-->
|
| 516 |
+
<!-- <a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="https://demo.10web.io/photo-gallery/--><?php //echo BWG()->utm_source; ?><!--">--><?php //_e('Please see ', 'photo-gallery') ?><!--<span id="bwg_pro_version">--><?php //_e('Thumbnails', 'photo-gallery') ?><!--</span> --><?php //_e('View in Premium version', 'photo-gallery') ?><!--</a>-->
|
| 517 |
<!-- </span>-->
|
| 518 |
<!-- </div>-->
|
| 519 |
<!-- --><?php //} ?>
|
| 535 |
<div id="generate_button" class="wd-box-content wd-width-100">
|
| 536 |
<div class="wd-box-content wd-width-50 bwg-flex">
|
| 537 |
<select name="shortcode" id="shortcode" onchange="bwg_update_shortcode()">
|
| 538 |
+
<option value=""><?php _e('New shortcode', 'photo-gallery'); ?></option>
|
| 539 |
<?php
|
| 540 |
foreach ( $shortcodes as $shortcode ) {
|
| 541 |
?>
|
| 544 |
}
|
| 545 |
?>
|
| 546 |
</select>
|
| 547 |
+
<button class="button media-button button-primary button-large media-button-insert" type="button" id="insert" name="insert" onClick="jQuery('#loading_div').show(); bwg_insert_shortcode('');"><?php _e('Generate', 'photo-gallery'); ?></button>
|
| 548 |
</div>
|
| 549 |
+
<p class="description"><?php _e('If you would like to edit an existing shortcode, use this dropdown box to select it.', 'photo-gallery') ?></p>
|
| 550 |
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
| 551 |
<div class="wd-box-content wd-width-50">
|
| 552 |
<div class="wd-group">
|
| 553 |
+
<label class="wd-label" for="bwg_shortcode"><?php _e('Shortcode', 'photo-gallery'); ?></label>
|
| 554 |
<input type="text" id="bwg_shortcode" name="bwg_shortcode" value='<?php echo $tagtext; ?>' onclick="spider_select_value(this)" readonly="readonly" />
|
| 555 |
+
<p class="description"><?php _e('Add the selected gallery or gallery group to any WordPress page or post. Simply copy the generated shortcode and paste it in the content of page/post editor.', 'photo-gallery') ?></p>
|
| 556 |
</div>
|
| 557 |
</div>
|
| 558 |
<div class="wd-box-content wd-width-50">
|
| 559 |
<div class="wd-group">
|
| 560 |
+
<label class="wd-label" for="bwg_function"><?php _e('PHP function', 'photo-gallery'); ?></label>
|
| 561 |
<input type="text" id="bwg_function" name="bwg_function" value="<?php echo $tagfunction; ?>" onclick="spider_select_value(this)" readonly="readonly" />
|
| 562 |
+
<p class="description"><?php _e('Use generated PHP function to call the selected gallery or gallery group on a custom PHP template.', 'photo-gallery') ?></p>
|
| 563 |
</div>
|
| 564 |
</div>
|
| 565 |
</div>
|
| 628 |
params = get_params("Best_Wordpress_Gallery");
|
| 629 |
if (!params) { // Insert.
|
| 630 |
<?php if ($from_menu) { ?>
|
| 631 |
+
jQuery('#insert').text('<?php _e('Generate', 'photo-gallery'); ?>');
|
| 632 |
bwg_insert = 1;
|
| 633 |
if (temp_shortcode_id !== 0) {
|
| 634 |
shortcode_id = temp_shortcode_id;
|
| 646 |
if (params['id']) {
|
| 647 |
shortcode_id = params['id'];
|
| 648 |
if (typeof shortcodes[shortcode_id] === 'undefined') {
|
| 649 |
+
alert("<?php echo addslashes(__('There is no shortcode with such ID!', 'photo-gallery')); ?>");
|
| 650 |
bwg_gallery_type('thumbnails');
|
| 651 |
return 0;
|
| 652 |
}
|
| 659 |
else {
|
| 660 |
var short_code = get_params("Best_Wordpress_Gallery");
|
| 661 |
}
|
| 662 |
+
jQuery('#insert').text('<?php _e('Update', 'photo-gallery'); ?>');
|
| 663 |
<?php if ($from_menu) { ?>
|
| 664 |
content = jQuery("#bwg_shortcode").val();
|
| 665 |
<?php } ?>
|
| 2248 |
if (bwg_insert) {
|
| 2249 |
jQuery('#shortcode').append('<option value="' + shortcode_id + '">[Best_Wordpress_Gallery id="' + shortcode_id + '"]</option>').val(shortcode_id);
|
| 2250 |
}
|
| 2251 |
+
jQuery('#insert').text('<?php _e('Update', 'photo-gallery'); ?>');
|
| 2252 |
jQuery('#insert').attr('onclick', 'jQuery("#loading_div").show(); bwg_insert_shortcode(content);');
|
| 2253 |
jQuery("#bwg_shortcode").val(content);
|
| 2254 |
var str = "<?php echo if( function_exists('photo_gallery') ) { photo_gallery(" + shortcode_id + "); } ?>";
|
| 2277 |
jQuery(window).resize(function () {
|
| 2278 |
bwg_change_tab();
|
| 2279 |
});
|
| 2280 |
+
var bwg_image_thumb = '<?php echo addslashes(__('Thumbnail dimensions', 'photo-gallery')); ?>';
|
| 2281 |
+
var bwg_image_thumb_width = '<?php echo addslashes(__('Image thumbnail width ', 'photo-gallery')); ?>';
|
| 2282 |
+
var bwg_max_column = '<?php echo addslashes(__('Number of image columns', 'photo-gallery')); ?>';
|
| 2283 |
+
var bwg_image_thumb_height = '<?php echo addslashes(__('Image thumbnail height', 'photo-gallery')); ?>';
|
| 2284 |
+
var bwg_number_of_image_rows = '<?php echo addslashes(__('Number of image rows', 'photo-gallery')); ?>';
|
| 2285 |
</script>
|
| 2286 |
<?php
|
| 2287 |
return ob_get_clean();
|
admin/views/Themes.php
CHANGED
|
@@ -36,21 +36,21 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 36 |
<div class="gallery_upgrade-head-content">
|
| 37 |
<div class="gallery_upgrade-head-content-heading">
|
| 38 |
<h2>
|
| 39 |
-
<?php echo __('Build Fully Customized Gallery Views',
|
| 40 |
</h2>
|
| 41 |
</div>
|
| 42 |
<div class="gallery_upgrade-head-content-text">
|
| 43 |
<p>
|
| 44 |
-
<?php echo __('Unlimited options to completely customize every detail. ',
|
| 45 |
<br class="break_768">
|
| 46 |
<?php echo __(' Use default dark and light themes, or
|
| 47 |
-
create new from scratch.',
|
| 48 |
</p>
|
| 49 |
</div>
|
| 50 |
<div class="gallery_upgrade-head-content-buttons">
|
| 51 |
<div class="button-upgrade">
|
| 52 |
<a href="https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 53 |
-
<input type="button" value="<?php echo __('UPGRADE TO PREMIUM',
|
| 54 |
</a>
|
| 55 |
</div>
|
| 56 |
</div>
|
|
@@ -130,12 +130,12 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 130 |
</div>
|
| 131 |
<div class="gallery_feature-heading">
|
| 132 |
<h3>
|
| 133 |
-
<?php echo __($item['heading'],
|
| 134 |
</h3>
|
| 135 |
</div>
|
| 136 |
<div class="gallery_feature-text">
|
| 137 |
<p>
|
| 138 |
-
<?php echo __($item['description'],
|
| 139 |
</p>
|
| 140 |
</div>
|
| 141 |
</div>
|
|
@@ -184,7 +184,7 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 184 |
'add_new_button' => array(
|
| 185 |
'href' => add_query_arg(array( 'page' => $page, 'task' => 'edit' ), admin_url('admin.php')),
|
| 186 |
),
|
| 187 |
-
'add_new_button_text' => __('Add new theme',
|
| 188 |
));
|
| 189 |
echo $this->search();
|
| 190 |
?>
|
|
@@ -198,11 +198,11 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 198 |
<thead>
|
| 199 |
<tr>
|
| 200 |
<td id="cb" class="column-cb check-column">
|
| 201 |
-
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all',
|
| 202 |
<input id="check_all" type="checkbox" />
|
| 203 |
</td>
|
| 204 |
-
<?php echo WDWLibrary::ordering('name', $orderby, $order, __('Title',
|
| 205 |
-
<?php echo WDWLibrary::ordering('default_theme', $orderby, $order, __('Default',
|
| 206 |
</tr>
|
| 207 |
</thead>
|
| 208 |
<tbody>
|
|
@@ -220,20 +220,20 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 220 |
<th class="check-column">
|
| 221 |
<input id="check_<?php echo $row_data->id; ?>" name="check[<?php echo $row_data->id; ?>]" type="checkbox" onclick="spider_check_all(this)" />
|
| 222 |
</th>
|
| 223 |
-
<td class="column-primary" data-colname="<?php _e('Title',
|
| 224 |
<strong>
|
| 225 |
<a href="<?php echo $edit_url; ?>"><?php echo $row_data->name; ?></a>
|
| 226 |
</strong>
|
| 227 |
<div class="row-actions">
|
| 228 |
-
<span><a href="<?php echo $edit_url; ?>"><?php _e('Edit',
|
| 229 |
-
<span><a href="<?php echo $duplicate_url; ?>"><?php _e('Duplicate',
|
| 230 |
-
<span class="trash"><a onclick="if (!confirm('<?php echo addslashes(__('Do you want to delete selected item?',
|
| 231 |
</div>
|
| 232 |
<button class="toggle-row" type="button">
|
| 233 |
-
<span class="screen-reader-text"><?php _e('Show more details',
|
| 234 |
</button>
|
| 235 |
</td>
|
| 236 |
-
<td class="col_default" data-colname="<?php _e('Default',
|
| 237 |
<?php
|
| 238 |
$default = ($row_data->default_theme) ? 1 : 0;
|
| 239 |
if (!$default) {
|
|
@@ -302,9 +302,9 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 302 |
</select>
|
| 303 |
<div class="radio_google_fonts">
|
| 304 |
<input type="radio" name="<?php echo $radio_name; ?>" id="<?php echo $radio_name . '1'; ?>" onchange="bwg_change_fonts('<?php echo $font_style; ?>', jQuery(this).attr('id'))" value="1" <?php if ($is_google_fonts == true) echo 'checked="checked"'; ?> />
|
| 305 |
-
<label for="<?php echo $radio_name . '1'; ?>" id="<?php echo $radio_name . '1_lbl'; ?>"><?php echo __('Google fonts',
|
| 306 |
<input type="radio" name="<?php echo $radio_name; ?>" id="<?php echo $radio_name . '0'; ?>" onchange="bwg_change_fonts('<?php echo $font_style; ?>', jQuery(this).attr('id') )" value="0" <?php if ($is_google_fonts == false) echo 'checked="checked"'; ?> />
|
| 307 |
-
<label for="<?php echo $radio_name . '0'; ?>" id="<?php echo $radio_name . '0_lbl'; ?>"><?php echo __('Default',
|
| 308 |
</div>
|
| 309 |
</td>
|
| 310 |
<?php
|
|
@@ -343,22 +343,22 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 343 |
?>
|
| 344 |
<div class="bwg-page-header">
|
| 345 |
<div class="wd-page-title wd-header">
|
| 346 |
-
<h1 class="wp-heading-inline"><?php _e('Theme title',
|
| 347 |
<input type="text" id="name" name="name" value="<?php echo !empty( $row->name ) ? $row->name : ''; ?>" class="spider_text_input bwg_requried">
|
| 348 |
<?php if ( BWG()->is_pro || get_option("wd_bwg_theme_version") ) { ?>
|
| 349 |
<div class="bwg-page-actions">
|
| 350 |
<button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
|
| 351 |
-
<?php echo !empty($row->name) ? __('Update',
|
| 352 |
</button>
|
| 353 |
<?php if( $id ) { ?>
|
| 354 |
-
<input title="<?php _e('Reset to default theme',
|
| 355 |
class="tw-button-secondary preview-button button-large wd-btn-reset" type="submit"
|
| 356 |
-
onclick="if (confirm('<?php echo addslashes(__('Do you want to reset to default?',
|
| 357 |
spider_set_input_value('task', 'reset');
|
| 358 |
} else {
|
| 359 |
return false;
|
| 360 |
}"
|
| 361 |
-
value="<?php echo __('Reset',
|
| 362 |
<?php } ?>
|
| 363 |
</div>
|
| 364 |
<?php } ?>
|
|
@@ -379,41 +379,41 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 379 |
<table style="clear:both;">
|
| 380 |
<tbody>
|
| 381 |
<tr>
|
| 382 |
-
<td class="spider_label"><label for="thumb_margin"><?php _e('Distance between pictures:',
|
| 383 |
<td>
|
| 384 |
<input type="text" name="thumb_margin" id="thumb_margin" value="<?php echo $row->thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 385 |
</td>
|
| 386 |
</tr>
|
| 387 |
<tr>
|
| 388 |
-
<td class="spider_label"><label><?php _e('Distance from container frame:',
|
| 389 |
<td>
|
| 390 |
<input type="radio" name="container_margin" id="container_margin1" value="1"<?php if ($row->container_margin == 1) echo 'checked="checked"'; ?> />
|
| 391 |
-
<label for="container_margin1"><?php _e('Yes',
|
| 392 |
<input type="radio" name="container_margin" id="container_margin0" value="0"<?php if ($row->container_margin == 0) echo 'checked="checked"'; ?> />
|
| 393 |
-
<label for="container_margin0"><?php _e('No',
|
| 394 |
-
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.',
|
| 395 |
</td>
|
| 396 |
</tr>
|
| 397 |
<tr>
|
| 398 |
-
<td class="spider_label"><label for="thumb_padding"><?php echo __('Padding:',
|
| 399 |
<td>
|
| 400 |
<input type="text" name="thumb_padding" id="thumb_padding" value="<?php echo $row->thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 401 |
</td>
|
| 402 |
</tr>
|
| 403 |
<tr>
|
| 404 |
-
<td class="spider_label"><label for="thumb_border_width"><?php echo __('Border width:',
|
| 405 |
<td>
|
| 406 |
<input type="text" name="thumb_border_width" id="thumb_border_width" value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 407 |
</td>
|
| 408 |
</tr>
|
| 409 |
<tr>
|
| 410 |
-
<td class="spider_label"><label for="thumb_border_style"><?php echo __('Border style:',
|
| 411 |
<td>
|
| 412 |
<select name="thumb_border_style" id="thumb_border_style">
|
| 413 |
<?php
|
| 414 |
foreach ($border_styles as $key => $border_style) {
|
| 415 |
?>
|
| 416 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 417 |
<?php
|
| 418 |
}
|
| 419 |
?>
|
|
@@ -421,33 +421,33 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 421 |
</td>
|
| 422 |
</tr>
|
| 423 |
<tr>
|
| 424 |
-
<td class="spider_label"><label for="thumb_border_color"><?php echo __('Border color:',
|
| 425 |
<td>
|
| 426 |
<input type="text" name="thumb_border_color" id="thumb_border_color" value="<?php echo $row->thumb_border_color; ?>" class="jscolor"/>
|
| 427 |
</td>
|
| 428 |
</tr>
|
| 429 |
<tr>
|
| 430 |
-
<td class="spider_label"><label for="thumb_border_radius"><?php echo __('Border radius:',
|
| 431 |
<td>
|
| 432 |
<input type="text" name="thumb_border_radius" id="thumb_border_radius" value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input" />
|
| 433 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 434 |
</td>
|
| 435 |
</tr>
|
| 436 |
<tr>
|
| 437 |
-
<td class="spider_label"><label for="thumb_box_shadow"><?php echo __('Shadow:',
|
| 438 |
<td>
|
| 439 |
<input type="text" name="thumb_box_shadow" id="thumb_box_shadow" value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 440 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 441 |
</td>
|
| 442 |
</tr>
|
| 443 |
<tr>
|
| 444 |
-
<td class="spider_label"><label for="thumb_hover_effect"><?php echo __('Hover effect:',
|
| 445 |
<td>
|
| 446 |
<select name="thumb_hover_effect" id="thumb_hover_effect">
|
| 447 |
<?php
|
| 448 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 449 |
?>
|
| 450 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect,
|
| 451 |
<?php
|
| 452 |
}
|
| 453 |
?>
|
|
@@ -455,19 +455,19 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 455 |
</td>
|
| 456 |
</tr>
|
| 457 |
<tr>
|
| 458 |
-
<td class="spider_label"><label for="thumb_hover_effect_value"><?php echo __('Hover effect value:',
|
| 459 |
<td>
|
| 460 |
<input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value" value="<?php echo $row->thumb_hover_effect_value; ?>" class="spider_char_input"/>
|
| 461 |
-
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale/Zoom: 1.5, Skew: 10deg.',
|
| 462 |
</td>
|
| 463 |
</tr>
|
| 464 |
<tr>
|
| 465 |
-
<td class="spider_label"><label><?php echo __('Transition:',
|
| 466 |
<td id="thumb_transition">
|
| 467 |
<input type="radio" name="thumb_transition" id="thumb_transition1" value="1"<?php if ($row->thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 468 |
-
<label for="thumb_transition1" id="thumb_transition1_lbl"><?php echo __('Yes',
|
| 469 |
<input type="radio" name="thumb_transition" id="thumb_transition0" value="0"<?php if ($row->thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 470 |
-
<label for="thumb_transition0" id="thumb_transition0_lbl"><?php echo __('No',
|
| 471 |
</td>
|
| 472 |
</tr>
|
| 473 |
</tbody>
|
|
@@ -482,47 +482,47 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 482 |
<tbody>
|
| 483 |
<tr>
|
| 484 |
<td class="spider_label">
|
| 485 |
-
<label for="thumb_bg_color"><?php echo __('Thumbnail background color:',
|
| 486 |
</td>
|
| 487 |
<td>
|
| 488 |
<input type="text" name="thumb_bg_color" id="thumb_bg_color" value="<?php echo $row->thumb_bg_color; ?>" class="jscolor" />
|
| 489 |
</td>
|
| 490 |
</tr>
|
| 491 |
<tr>
|
| 492 |
-
<td class="spider_label"><label for="thumb_bg_transparency"><?php echo __('Thumbnail background transparency:',
|
| 493 |
<td>
|
| 494 |
<input type="text" name="thumb_bg_transparency" id="thumb_bg_transparency" value="<?php echo $row->thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 495 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 496 |
</td>
|
| 497 |
</tr>
|
| 498 |
<tr>
|
| 499 |
-
<td class="spider_label"><label for="thumb_transparent"><?php echo __('Thumbnail transparency:',
|
| 500 |
<td>
|
| 501 |
<input type="text" name="thumb_transparent" id="thumb_transparent" value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 502 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 503 |
</td>
|
| 504 |
</tr>
|
| 505 |
<tr>
|
| 506 |
-
<td class="spider_label"><label for="thumbs_bg_color"><?php echo __('Full background color:',
|
| 507 |
<td>
|
| 508 |
<input type="text" name="thumbs_bg_color" id="thumbs_bg_color" value="<?php echo $row->thumbs_bg_color; ?>" class="jscolor"/>
|
| 509 |
</td>
|
| 510 |
</tr>
|
| 511 |
<tr>
|
| 512 |
-
<td class="spider_label"><label for="thumb_bg_transparent"><?php echo __('Full background transparency:',
|
| 513 |
<td>
|
| 514 |
<input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent" value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 515 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 516 |
</td>
|
| 517 |
</tr>
|
| 518 |
<tr>
|
| 519 |
-
<td class="spider_label"><label for="thumb_align"><?php echo __('Alignment:',
|
| 520 |
<td>
|
| 521 |
<select name="thumb_align" id="thumb_align">
|
| 522 |
<?php
|
| 523 |
foreach ($aligns as $key => $align) {
|
| 524 |
?>
|
| 525 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 526 |
<?php
|
| 527 |
}
|
| 528 |
?>
|
|
@@ -540,44 +540,44 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 540 |
<table style="clear:both;">
|
| 541 |
<tbody>
|
| 542 |
<tr>
|
| 543 |
-
<td class="spider_label"><label><?php echo __('Title position:',
|
| 544 |
<td>
|
| 545 |
<input type="radio" name="thumb_title_pos" id="thumb_title_pos1" value="top" <?php if ($row->thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
| 546 |
-
<label for="thumb_title_pos1" id="thumb_title_pos1_lbl"><?php echo __('Top',
|
| 547 |
<input type="radio" name="thumb_title_pos" id="thumb_title_pos0" value="bottom" <?php if ($row->thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
| 548 |
-
<label for="thumb_title_pos0" id="thumb_title_pos0_lbl"><?php echo __('Bottom',
|
| 549 |
</td>
|
| 550 |
</tr>
|
| 551 |
<tr>
|
| 552 |
-
<td class="spider_label"><label for="thumb_title_font_size"><?php echo __('Title font size:',
|
| 553 |
<td>
|
| 554 |
<input type="text" name="thumb_title_font_size" id="thumb_title_font_size" value="<?php echo $row->thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 555 |
</td>
|
| 556 |
</tr>
|
| 557 |
<tr>
|
| 558 |
-
<td class="spider_label"><label for="thumb_title_font_color"><?php echo __('Title font color:',
|
| 559 |
<td>
|
| 560 |
<input type="text" name="thumb_title_font_color" id="thumb_title_font_color" value="<?php echo $row->thumb_title_font_color; ?>" class="jscolor" />
|
| 561 |
</td>
|
| 562 |
</tr>
|
| 563 |
<tr>
|
| 564 |
-
<td class="spider_label"><label for="thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):',
|
| 565 |
<td>
|
| 566 |
<input type="text" name="thumb_title_font_color_hover" id="thumb_title_font_color_hover" value="<?php echo $row->thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 567 |
</td>
|
| 568 |
</tr>
|
| 569 |
<tr>
|
| 570 |
<!--generate font style with google fonts -->
|
| 571 |
-
<?php $this->font_style_row( $row->thumb_title_font_style, 'thumb_title_font_style', __('Title font family:',
|
| 572 |
</tr>
|
| 573 |
<tr>
|
| 574 |
-
<td class="spider_label"><label for="thumb_title_font_weight"><?php echo __('Title font weight:',
|
| 575 |
<td>
|
| 576 |
<select name="thumb_title_font_weight" id="thumb_title_font_weight">
|
| 577 |
<?php
|
| 578 |
foreach ($font_weights as $key => $font_weight) {
|
| 579 |
?>
|
| 580 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 581 |
<?php
|
| 582 |
}
|
| 583 |
?>
|
|
@@ -585,61 +585,61 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 585 |
</td>
|
| 586 |
</tr>
|
| 587 |
<tr>
|
| 588 |
-
<td class="spider_label"><label for="thumb_title_shadow"><?php echo __('Title box shadow:',
|
| 589 |
<td>
|
| 590 |
<input type="text" name="thumb_title_shadow" id="thumb_title_shadow" value="<?php echo $row->thumb_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 591 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 592 |
</td>
|
| 593 |
</tr>
|
| 594 |
<tr>
|
| 595 |
-
<td class="spider_label"><label for="thumb_title_margin"><?php echo __('Title margin:',
|
| 596 |
<td>
|
| 597 |
<input type="text" name="thumb_title_margin" id="thumb_title_margin" value="<?php echo $row->thumb_title_margin; ?>" class="spider_char_input" />
|
| 598 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 599 |
</td>
|
| 600 |
</tr>
|
| 601 |
<tr>
|
| 602 |
-
<td class="spider_label"><label for="thumb_description_font_size"><?php echo __('Thumb description font size:',
|
| 603 |
<td>
|
| 604 |
<input type="text" name="thumb_description_font_size" id="thumb_description_font_size" value="<?php echo
|
| 605 |
$row->thumb_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 606 |
</td>
|
| 607 |
</tr>
|
| 608 |
<tr>
|
| 609 |
-
<td class="spider_label"><label for="thumb_description_font_color"><?php echo __('Thumb description font color:',
|
| 610 |
<td>
|
| 611 |
<input type="text" name="thumb_description_font_color" id="thumb_description_font_color" value="<?php echo $row->thumb_description_font_color; ?>" class="jscolor" />
|
| 612 |
</td>
|
| 613 |
</tr>
|
| 614 |
<tr>
|
| 615 |
<!--generate font style with google fonts -->
|
| 616 |
-
<?php $this->font_style_row( $row->thumb_description_font_style, 'thumb_description_font_style', __('Description font family:',
|
| 617 |
</tr>
|
| 618 |
<tr>
|
| 619 |
-
<td class="spider_label"><label for="thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 620 |
<td>
|
| 621 |
<input type="text" name="thumb_gal_title_font_size" id="thumb_gal_title_font_size" value="<?php echo
|
| 622 |
$row->thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 623 |
</td>
|
| 624 |
</tr>
|
| 625 |
<tr>
|
| 626 |
-
<td class="spider_label"><label for="thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 627 |
<td>
|
| 628 |
<input type="text" name="thumb_gal_title_font_color" id="thumb_gal_title_font_color" value="<?php echo $row->thumb_gal_title_font_color; ?>" class="jscolor" />
|
| 629 |
</td>
|
| 630 |
</tr>
|
| 631 |
<tr>
|
| 632 |
<!--generate font style with google fonts -->
|
| 633 |
-
<?php $this->font_style_row( $row->thumb_gal_title_font_style, 'thumb_gal_title_font_style', __('Gallery title/description font family:',
|
| 634 |
</tr>
|
| 635 |
<tr>
|
| 636 |
-
<td class="spider_label"><label for="thumb_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 637 |
<td>
|
| 638 |
<select name="thumb_gal_title_font_weight" id="thumb_gal_title_font_weight">
|
| 639 |
<?php
|
| 640 |
foreach ($font_weights as $key => $font_weight) {
|
| 641 |
?>
|
| 642 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 643 |
<?php
|
| 644 |
}
|
| 645 |
?>
|
|
@@ -647,27 +647,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 647 |
</td>
|
| 648 |
</tr>
|
| 649 |
<tr>
|
| 650 |
-
<td class="spider_label"><label for="thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 651 |
<td>
|
| 652 |
<input type="text" name="thumb_gal_title_shadow" id="thumb_gal_title_shadow" value="<?php echo $row->thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 653 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 654 |
</td>
|
| 655 |
</tr>
|
| 656 |
<tr>
|
| 657 |
-
<td class="spider_label"><label for="thumb_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 658 |
<td>
|
| 659 |
<input type="text" name="thumb_gal_title_margin" id="thumb_gal_title_margin" value="<?php echo $row->thumb_gal_title_margin; ?>" class="spider_char_input" />
|
| 660 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 661 |
</td>
|
| 662 |
</tr>
|
| 663 |
<tr>
|
| 664 |
-
<td class="spider_label"><label for="thumb_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 665 |
<td>
|
| 666 |
<select name="thumb_gal_title_align" id="thumb_gal_title_align">
|
| 667 |
<?php
|
| 668 |
foreach ($aligns as $key => $align) {
|
| 669 |
?>
|
| 670 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 671 |
<?php
|
| 672 |
}
|
| 673 |
?>
|
|
@@ -689,35 +689,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 689 |
<table style="clear:both;">
|
| 690 |
<tbody>
|
| 691 |
<tr>
|
| 692 |
-
<td class="spider_label"><label for="masonry_thumb_padding"><?php echo __('Distance between pictures:',
|
| 693 |
<td>
|
| 694 |
<input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding" value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 695 |
</td>
|
| 696 |
</tr>
|
| 697 |
<tr>
|
| 698 |
-
<td class="spider_label"><label><?php _e('Distance from container frame:',
|
| 699 |
<td>
|
| 700 |
<input type="radio" name="masonry_container_margin" id="masonry_container_margin1" value="1"<?php if ($row->masonry_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 701 |
-
<label for="masonry_container_margin1"><?php _e('Yes',
|
| 702 |
<input type="radio" name="masonry_container_margin" id="masonry_container_margin0" value="0"<?php if ($row->masonry_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 703 |
-
<label for="masonry_container_margin0"><?php _e('No',
|
| 704 |
-
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.',
|
| 705 |
</td>
|
| 706 |
</tr>
|
| 707 |
<tr>
|
| 708 |
-
<td class="spider_label"><label for="masonry_thumb_border_width"><?php echo __('Border width:',
|
| 709 |
<td>
|
| 710 |
<input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width" value="<?php echo $row->masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 711 |
</td>
|
| 712 |
</tr>
|
| 713 |
<tr>
|
| 714 |
-
<td class="spider_label"><label for="masonry_thumb_border_style"><?php echo __('Border style:',
|
| 715 |
<td>
|
| 716 |
<select name="masonry_thumb_border_style" id="masonry_thumb_border_style">
|
| 717 |
<?php
|
| 718 |
foreach ($border_styles as $key => $border_style) {
|
| 719 |
?>
|
| 720 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 721 |
<?php
|
| 722 |
}
|
| 723 |
?>
|
|
@@ -725,26 +725,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 725 |
</td>
|
| 726 |
</tr>
|
| 727 |
<tr>
|
| 728 |
-
<td class="spider_label"><label for="masonry_thumb_border_color"><?php echo __('Border color:',
|
| 729 |
<td>
|
| 730 |
<input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color" value="<?php echo $row->masonry_thumb_border_color; ?>" class="jscolor" />
|
| 731 |
</td>
|
| 732 |
</tr>
|
| 733 |
<tr>
|
| 734 |
-
<td class="spider_label"><label for="masonry_thumb_border_radius"><?php echo __('Border radius:',
|
| 735 |
<td>
|
| 736 |
<input type="text" name="masonry_thumb_border_radius" id="masonry_thumb_border_radius" value="<?php echo $row->masonry_thumb_border_radius; ?>" class="spider_char_input" />
|
| 737 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 738 |
</td>
|
| 739 |
</tr>
|
| 740 |
<tr>
|
| 741 |
-
<td class="spider_label"><label for="masonry_thumb_hover_effect"><?php echo __('Hover effect:',
|
| 742 |
<td>
|
| 743 |
<select name="masonry_thumb_hover_effect" id="masonry_thumb_hover_effect">
|
| 744 |
<?php
|
| 745 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 746 |
?>
|
| 747 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect,
|
| 748 |
<?php
|
| 749 |
}
|
| 750 |
?>
|
|
@@ -752,19 +752,19 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 752 |
</td>
|
| 753 |
</tr>
|
| 754 |
<tr>
|
| 755 |
-
<td class="spider_label"><label for="masonry_thumb_hover_effect_value"><?php echo __('Hover effect value:',
|
| 756 |
<td>
|
| 757 |
<input type="text" name="masonry_thumb_hover_effect_value" id="masonry_thumb_hover_effect_value" value="<?php echo $row->masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 758 |
-
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.',
|
| 759 |
</td>
|
| 760 |
</tr>
|
| 761 |
<tr>
|
| 762 |
-
<td class="spider_label"><label><?php echo __('Transition:',
|
| 763 |
<td id="masonry_thumb_transition">
|
| 764 |
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition1" value="1"<?php if ($row->masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 765 |
-
<label for="masonry_thumb_transition1" id="masonry_thumb_transition1_lbl"><?php echo __('Yes',
|
| 766 |
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition0" value="0"<?php if ($row->masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 767 |
-
<label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl"><?php echo __('No',
|
| 768 |
</td>
|
| 769 |
</tr>
|
| 770 |
</tbody>
|
|
@@ -779,45 +779,45 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 779 |
<tbody>
|
| 780 |
<tr>
|
| 781 |
<td class="spider_label">
|
| 782 |
-
<label for="masonry_thumb_bg_color"><?php echo __('Thumbnail background color:',
|
| 783 |
</td>
|
| 784 |
<td>
|
| 785 |
<input type="text" name="masonry_thumb_bg_color" id="masonry_thumb_bg_color" value="<?php echo $row->masonry_thumb_bg_color; ?>" class="jscolor" />
|
| 786 |
</td>
|
| 787 |
</tr>
|
| 788 |
<tr>
|
| 789 |
-
<td class="spider_label"><label for="masonry_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:',
|
| 790 |
<td>
|
| 791 |
<input type="text" name="masonry_thumb_bg_transparency" id="masonry_thumb_bg_transparency" value="<?php echo $row->masonry_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 792 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 793 |
</td>
|
| 794 |
</tr>
|
| 795 |
<tr>
|
| 796 |
-
<td class="spider_label"><label for="masonry_thumb_transparent"><?php echo __('Transparency:',
|
| 797 |
<td>
|
| 798 |
<input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent" value="<?php echo $row->masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 799 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 800 |
</td>
|
| 801 |
</tr>
|
| 802 |
<tr>
|
| 803 |
-
<td class="spider_label"><label for="masonry_thumbs_bg_color"><?php echo __('Full Background color:',
|
| 804 |
<td>
|
| 805 |
<input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color" value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="jscolor" />
|
| 806 |
</td>
|
| 807 |
</tr>
|
| 808 |
<tr>
|
| 809 |
-
<td class="spider_label"><label for="masonry_thumb_bg_transparent"><?php echo __('Background transparency:',
|
| 810 |
<td>
|
| 811 |
<input type="text" name="masonry_thumb_bg_transparent" id="masonry_thumb_bg_transparent" value="<?php echo $row->masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 812 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 813 |
</td>
|
| 814 |
</tr>
|
| 815 |
<tr>
|
| 816 |
-
<td class="spider_label"><label for="masonry_thumb_align0"><?php echo __('Alignment:',
|
| 817 |
<td>
|
| 818 |
<select name="masonry_thumb_align" id="masonry_thumb_align">
|
| 819 |
<?php foreach ($aligns as $key => $align) { ?>
|
| 820 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 821 |
<?php } ?>
|
| 822 |
</select>
|
| 823 |
</td>
|
|
@@ -833,35 +833,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 833 |
<table style="clear:both;">
|
| 834 |
<tbody>
|
| 835 |
<tr>
|
| 836 |
-
<td class="spider_label"><label for="masonry_thumb_title_font_size"><?php echo __('Title font size:',
|
| 837 |
<td>
|
| 838 |
<input type="text" name="masonry_thumb_title_font_size" id="masonry_thumb_title_font_size" value="<?php echo $row->masonry_thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 839 |
</td>
|
| 840 |
</tr>
|
| 841 |
<tr>
|
| 842 |
-
<td class="spider_label"><label for="masonry_thumb_title_font_color"><?php echo __('Title font color:',
|
| 843 |
<td>
|
| 844 |
<input type="text" name="masonry_thumb_title_font_color" id="masonry_thumb_title_font_color" value="<?php echo $row->masonry_thumb_title_font_color; ?>" class="jscolor" />
|
| 845 |
</td>
|
| 846 |
</tr>
|
| 847 |
<tr>
|
| 848 |
-
<td class="spider_label"><label for="masonry_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):',
|
| 849 |
<td>
|
| 850 |
<input type="text" name="masonry_thumb_title_font_color_hover" id="masonry_thumb_title_font_color_hover" value="<?php echo $row->masonry_thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 851 |
</td>
|
| 852 |
</tr>
|
| 853 |
<tr>
|
| 854 |
<!--generate font style with google fonts -->
|
| 855 |
-
<?php $this->font_style_row( $row->masonry_thumb_title_font_style, 'masonry_thumb_title_font_style', __('Title font family:',
|
| 856 |
</tr>
|
| 857 |
<tr>
|
| 858 |
-
<td class="spider_label"><label for="masonry_thumb_title_font_weight"><?php echo __('Title font weight:',
|
| 859 |
<td>
|
| 860 |
<select name="masonry_thumb_title_font_weight" id="masonry_thumb_title_font_weight">
|
| 861 |
<?php
|
| 862 |
foreach ($font_weights as $key => $font_weight) {
|
| 863 |
?>
|
| 864 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 865 |
<?php
|
| 866 |
}
|
| 867 |
?>
|
|
@@ -869,52 +869,52 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 869 |
</td>
|
| 870 |
</tr>
|
| 871 |
<tr>
|
| 872 |
-
<td class="spider_label"><label for="masonry_thumb_title_margin"><?php echo __('Title margin:',
|
| 873 |
<td>
|
| 874 |
<input type="text" name="masonry_thumb_title_margin" id="masonry_thumb_title_margin" value="<?php echo $row->masonry_thumb_title_margin; ?>" class="spider_char_input" />
|
| 875 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 876 |
</td>
|
| 877 |
</tr>
|
| 878 |
<tr>
|
| 879 |
-
<td class="spider_label"><label for="masonry_description_font_size"><?php echo __('Description font size:',
|
| 880 |
<td>
|
| 881 |
<input type="text" name="masonry_description_font_size" id="masonry_description_font_size" value="<?php echo $row->masonry_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 882 |
</td>
|
| 883 |
</tr>
|
| 884 |
<tr>
|
| 885 |
-
<td class="spider_label"><label for="masonry_description_color"><?php echo __('Description font color:',
|
| 886 |
<td>
|
| 887 |
<input type="text" name="masonry_description_color" id="masonry_description_color" value="<?php echo $row->masonry_description_color; ?>" class="jscolor" />
|
| 888 |
</td>
|
| 889 |
</tr>
|
| 890 |
<tr>
|
| 891 |
<!--generate font style with google fonts -->
|
| 892 |
-
<?php $this->font_style_row( $row->masonry_description_font_style, 'masonry_description_font_style', __('Description font family:',
|
| 893 |
</tr>
|
| 894 |
<tr>
|
| 895 |
-
<td class="spider_label"><label for="masonry_thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 896 |
<td>
|
| 897 |
<input type="text" name="masonry_thumb_gal_title_font_size" id="masonry_thumb_gal_title_font_size" value="<?php echo $row->masonry_thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 898 |
</td>
|
| 899 |
</tr>
|
| 900 |
<tr>
|
| 901 |
-
<td class="spider_label"><label for="masonry_thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 902 |
<td>
|
| 903 |
<input type="text" name="masonry_thumb_gal_title_font_color" id="masonry_thumb_gal_title_font_color" value="<?php echo $row->masonry_thumb_gal_title_font_color; ?>" class="jscolor" />
|
| 904 |
</td>
|
| 905 |
</tr>
|
| 906 |
<tr>
|
| 907 |
<!--generate font style with google fonts -->
|
| 908 |
-
<?php $this->font_style_row( $row->masonry_thumb_gal_title_font_style, 'masonry_thumb_gal_title_font_style', __('Gallery title/description font family:',
|
| 909 |
</tr>
|
| 910 |
<tr>
|
| 911 |
-
<td class="spider_label"><label for="masonry_thumb_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 912 |
<td>
|
| 913 |
<select name="masonry_thumb_gal_title_font_weight" id="masonry_thumb_gal_title_font_weight">
|
| 914 |
<?php
|
| 915 |
foreach ($font_weights as $key => $font_weight) {
|
| 916 |
?>
|
| 917 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 918 |
<?php
|
| 919 |
}
|
| 920 |
?>
|
|
@@ -922,27 +922,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 922 |
</td>
|
| 923 |
</tr>
|
| 924 |
<tr>
|
| 925 |
-
<td class="spider_label"><label for="masonry_thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 926 |
<td>
|
| 927 |
<input type="text" name="masonry_thumb_gal_title_shadow" id="masonry_thumb_gal_title_shadow" value="<?php echo $row->masonry_thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 928 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 929 |
</td>
|
| 930 |
</tr>
|
| 931 |
<tr>
|
| 932 |
-
<td class="spider_label"><label for="masonry_thumb_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 933 |
<td>
|
| 934 |
<input type="text" name="masonry_thumb_gal_title_margin" id="masonry_thumb_gal_title_margin" value="<?php echo $row->masonry_thumb_gal_title_margin; ?>" class="spider_char_input" />
|
| 935 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 936 |
</td>
|
| 937 |
</tr>
|
| 938 |
<tr>
|
| 939 |
-
<td class="spider_label"><label for="masonry_thumb_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 940 |
<td>
|
| 941 |
<select name="masonry_thumb_gal_title_align" id="masonry_thumb_gal_title_align">
|
| 942 |
<?php
|
| 943 |
foreach ($aligns as $key => $align) {
|
| 944 |
?>
|
| 945 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 946 |
<?php
|
| 947 |
}
|
| 948 |
?>
|
|
@@ -964,35 +964,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 964 |
<table style="clear:both;">
|
| 965 |
<tbody>
|
| 966 |
<tr>
|
| 967 |
-
<td class="spider_label"><label for="mosaic_thumb_padding"><?php echo __('Distance between pictures:',
|
| 968 |
<td>
|
| 969 |
<input type="text" name="mosaic_thumb_padding" id="mosaic_thumb_padding" value="<?php echo $row->mosaic_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 970 |
</td>
|
| 971 |
</tr>
|
| 972 |
<tr>
|
| 973 |
-
<td class="spider_label"><label><?php _e('Distance from container frame:',
|
| 974 |
<td>
|
| 975 |
<input type="radio" name="mosaic_container_margin" id="mosaic_container_margin1" value="1"<?php if ($row->mosaic_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 976 |
-
<label for="mosaic_container_margin1"><?php _e('Yes',
|
| 977 |
<input type="radio" name="mosaic_container_margin" id="mosaic_container_margin0" value="0"<?php if ($row->mosaic_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 978 |
-
<label for="mosaic_container_margin0"><?php _e('No',
|
| 979 |
-
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.',
|
| 980 |
</td>
|
| 981 |
</tr>
|
| 982 |
<tr>
|
| 983 |
-
<td class="spider_label"><label for="mosaic_thumb_border_width"><?php echo __('Border width:',
|
| 984 |
<td>
|
| 985 |
<input type="text" name="mosaic_thumb_border_width" id="mosaic_thumb_border_width" value="<?php echo $row->mosaic_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 986 |
</td>
|
| 987 |
</tr>
|
| 988 |
<tr>
|
| 989 |
-
<td class="spider_label"><label for="mosaic_thumb_border_style"><?php echo __('Border style:',
|
| 990 |
<td>
|
| 991 |
<select name="mosaic_thumb_border_style" id="mosaic_thumb_border_style">
|
| 992 |
<?php
|
| 993 |
foreach ($border_styles as $key => $border_style) {
|
| 994 |
?>
|
| 995 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 996 |
<?php
|
| 997 |
}
|
| 998 |
?>
|
|
@@ -1000,26 +1000,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1000 |
</td>
|
| 1001 |
</tr>
|
| 1002 |
<tr>
|
| 1003 |
-
<td class="spider_label"><label for="mosaic_thumb_border_color"><?php echo __('Border color:',
|
| 1004 |
<td>
|
| 1005 |
<input type="text" name="mosaic_thumb_border_color" id="mosaic_thumb_border_color" value="<?php echo $row->mosaic_thumb_border_color; ?>" class="jscolor" />
|
| 1006 |
</td>
|
| 1007 |
</tr>
|
| 1008 |
<tr>
|
| 1009 |
-
<td class="spider_label"><label for="mosaic_thumb_border_radius"><?php echo __('Border radius:',
|
| 1010 |
<td>
|
| 1011 |
<input type="text" name="mosaic_thumb_border_radius" id="mosaic_thumb_border_radius" value="<?php echo $row->mosaic_thumb_border_radius; ?>" class="spider_char_input" />
|
| 1012 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1013 |
</td>
|
| 1014 |
</tr>
|
| 1015 |
<tr>
|
| 1016 |
-
<td class="spider_label"><label for="mosaic_thumb_hover_effect"><?php echo __('Hover effect:',
|
| 1017 |
<td>
|
| 1018 |
<select name="mosaic_thumb_hover_effect" id="mosaic_thumb_hover_effect">
|
| 1019 |
<?php
|
| 1020 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 1021 |
?>
|
| 1022 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect,
|
| 1023 |
<?php
|
| 1024 |
}
|
| 1025 |
?>
|
|
@@ -1027,19 +1027,19 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1027 |
</td>
|
| 1028 |
</tr>
|
| 1029 |
<tr>
|
| 1030 |
-
<td class="spider_label"><label for="mosaic_thumb_hover_effect_value"><?php echo __('Hover effect value:',
|
| 1031 |
<td>
|
| 1032 |
<input type="text" name="mosaic_thumb_hover_effect_value" id="mosaic_thumb_hover_effect_value" value="<?php echo $row->mosaic_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 1033 |
-
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.',
|
| 1034 |
</td>
|
| 1035 |
</tr>
|
| 1036 |
<tr>
|
| 1037 |
-
<td class="spider_label"><label><?php echo __('Transition:',
|
| 1038 |
<td id="mosaic_thumb_transition">
|
| 1039 |
<input type="radio" name="mosaic_thumb_transition" id="mosaic_thumb_transition1" value="1"<?php if ($row->mosaic_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 1040 |
-
<label for="mosaic_thumb_transition1" id="mosaic_thumb_transition1_lbl"><?php echo __('Yes',
|
| 1041 |
<input type="radio" name="mosaic_thumb_transition" id="mosaic_thumb_transition0" value="0"<?php if ($row->mosaic_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 1042 |
-
<label for="mosaic_thumb_transition0" id="mosaic_thumb_transition0_lbl"><?php echo __('No',
|
| 1043 |
</td>
|
| 1044 |
</tr>
|
| 1045 |
</tbody>
|
|
@@ -1053,46 +1053,46 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1053 |
<table style="clear:both;">
|
| 1054 |
<tbody>
|
| 1055 |
<tr>
|
| 1056 |
-
<td class="spider_label"><label for="mosaic_thumb_bg_color"><?php echo __('Thumbnail background color:',
|
| 1057 |
<td>
|
| 1058 |
<input type="text" name="mosaic_thumb_bg_color" id="mosaic_thumb_bg_color" value="<?php echo $row->mosaic_thumb_bg_color; ?>" class="jscolor" />
|
| 1059 |
</td>
|
| 1060 |
</tr>
|
| 1061 |
<tr>
|
| 1062 |
-
<td class="spider_label"><label for="mosaic_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:',
|
| 1063 |
<td>
|
| 1064 |
<input type="text" name="mosaic_thumb_bg_transparency" id="mosaic_thumb_bg_transparency" value="<?php echo $row->mosaic_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1065 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1066 |
</td>
|
| 1067 |
</tr>
|
| 1068 |
<tr>
|
| 1069 |
-
<td class="spider_label"><label for="mosaic_thumb_transparent"><?php echo __('Transparency:',
|
| 1070 |
<td>
|
| 1071 |
<input type="text" name="mosaic_thumb_transparent" id="mosaic_thumb_transparent" value="<?php echo $row->mosaic_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1072 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1073 |
</td>
|
| 1074 |
</tr>
|
| 1075 |
<tr>
|
| 1076 |
-
<td class="spider_label"><label for="mosaic_thumbs_bg_color"><?php echo __('Full Background color:',
|
| 1077 |
<td>
|
| 1078 |
<input type="text" name="mosaic_thumbs_bg_color" id="mosaic_thumbs_bg_color" value="<?php echo $row->mosaic_thumbs_bg_color; ?>" class="jscolor" />
|
| 1079 |
</td>
|
| 1080 |
</tr>
|
| 1081 |
<tr>
|
| 1082 |
-
<td class="spider_label"><label for="mosaic_thumb_bg_transparent"><?php echo __('Background transparency:',
|
| 1083 |
<td>
|
| 1084 |
<input type="text" name="mosaic_thumb_bg_transparent" id="mosaic_thumb_bg_transparent" value="<?php echo $row->mosaic_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1085 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1086 |
</td>
|
| 1087 |
</tr>
|
| 1088 |
<tr>
|
| 1089 |
-
<td class="spider_label"><label for="mosaic_thumb_align0"><?php echo __('Alignment:',
|
| 1090 |
<td>
|
| 1091 |
<select name="mosaic_thumb_align" id="mosaic_thumb_align">
|
| 1092 |
<?php
|
| 1093 |
foreach ($aligns as $key => $align) {
|
| 1094 |
?>
|
| 1095 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 1096 |
<?php
|
| 1097 |
}
|
| 1098 |
?>
|
|
@@ -1110,35 +1110,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1110 |
<table style="clear:both;">
|
| 1111 |
<tbody>
|
| 1112 |
<tr>
|
| 1113 |
-
<td class="spider_label"><label for="mosaic_thumb_title_font_size"><?php echo __('Title font size:',
|
| 1114 |
<td>
|
| 1115 |
<input type="text" name="mosaic_thumb_title_font_size" id="mosaic_thumb_title_font_size" value="<?php echo $row->mosaic_thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1116 |
</td>
|
| 1117 |
</tr>
|
| 1118 |
<tr>
|
| 1119 |
-
<td class="spider_label"><label for="mosaic_thumb_title_font_color"><?php echo __('Title font color:',
|
| 1120 |
<td>
|
| 1121 |
<input type="text" name="mosaic_thumb_title_font_color" id="mosaic_thumb_title_font_color" value="<?php echo $row->mosaic_thumb_title_font_color; ?>" class="jscolor" />
|
| 1122 |
</td>
|
| 1123 |
</tr>
|
| 1124 |
<tr>
|
| 1125 |
-
<td class="spider_label"><label for="mosaic_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):',
|
| 1126 |
<td>
|
| 1127 |
<input type="text" name="mosaic_thumb_title_font_color_hover" id="mosaic_thumb_title_font_color_hover" value="<?php echo $row->mosaic_thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 1128 |
</td>
|
| 1129 |
</tr>
|
| 1130 |
<tr>
|
| 1131 |
<!--generate font style with google fonts -->
|
| 1132 |
-
<?php $this->font_style_row( $row->mosaic_thumb_title_font_style, 'mosaic_thumb_title_font_style', __('Title font family:',
|
| 1133 |
</tr>
|
| 1134 |
<tr>
|
| 1135 |
-
<td class="spider_label"><label for="mosaic_thumb_title_font_weight"><?php echo __('Title font weight:',
|
| 1136 |
<td>
|
| 1137 |
<select name="mosaic_thumb_title_font_weight" id="mosaic_thumb_title_font_weight">
|
| 1138 |
<?php
|
| 1139 |
foreach ($font_weights as $key => $font_weight) {
|
| 1140 |
?>
|
| 1141 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 1142 |
<?php
|
| 1143 |
}
|
| 1144 |
?>
|
|
@@ -1146,43 +1146,43 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1146 |
</td>
|
| 1147 |
</tr>
|
| 1148 |
<tr>
|
| 1149 |
-
<td class="spider_label"><label for="mosaic_thumb_title_shadow"><?php echo __('Title box shadow:',
|
| 1150 |
<td>
|
| 1151 |
<input type="text" name="mosaic_thumb_title_shadow" id="mosaic_thumb_title_shadow" value="<?php echo $row->mosaic_thumb_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1152 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1153 |
</td>
|
| 1154 |
</tr>
|
| 1155 |
<tr>
|
| 1156 |
-
<td class="spider_label"><label for="mosaic_thumb_title_margin"><?php echo __('Title margin:',
|
| 1157 |
<td>
|
| 1158 |
<input type="text" name="mosaic_thumb_title_margin" id="mosaic_thumb_title_margin" value="<?php echo $row->mosaic_thumb_title_margin; ?>" class="spider_char_input" />
|
| 1159 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1160 |
</td>
|
| 1161 |
</tr>
|
| 1162 |
<tr>
|
| 1163 |
-
<td class="spider_label"><label for="mosaic_thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 1164 |
<td>
|
| 1165 |
<input type="text" name="mosaic_thumb_gal_title_font_size" id="mosaic_thumb_gal_title_font_size" value="<?php echo $row->mosaic_thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1166 |
</td>
|
| 1167 |
</tr>
|
| 1168 |
<tr>
|
| 1169 |
-
<td class="spider_label"><label for="mosaic_thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 1170 |
<td>
|
| 1171 |
<input type="text" name="mosaic_thumb_gal_title_font_color" id="mosaic_thumb_gal_title_font_color" value="<?php echo $row->mosaic_thumb_gal_title_font_color; ?>" class="jscolor" />
|
| 1172 |
</td>
|
| 1173 |
</tr>
|
| 1174 |
<tr>
|
| 1175 |
<!--generate font style with google fonts -->
|
| 1176 |
-
<?php $this->font_style_row( $row->mosaic_thumb_gal_title_font_style, 'mosaic_thumb_gal_title_font_style', __('Gallery title/description font family:',
|
| 1177 |
</tr>
|
| 1178 |
<tr>
|
| 1179 |
-
<td class="spider_label"><label for="mosaic_thumb_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 1180 |
<td>
|
| 1181 |
<select name="mosaic_thumb_gal_title_font_weight" id="mosaic_thumb_gal_title_font_weight">
|
| 1182 |
<?php
|
| 1183 |
foreach ($font_weights as $key => $font_weight) {
|
| 1184 |
?>
|
| 1185 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 1186 |
<?php
|
| 1187 |
}
|
| 1188 |
?>
|
|
@@ -1190,27 +1190,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1190 |
</td>
|
| 1191 |
</tr>
|
| 1192 |
<tr>
|
| 1193 |
-
<td class="spider_label"><label for="mosaic_thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 1194 |
<td>
|
| 1195 |
<input type="text" name="mosaic_thumb_gal_title_shadow" id="mosaic_thumb_gal_title_shadow" value="<?php echo $row->mosaic_thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1196 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1197 |
</td>
|
| 1198 |
</tr>
|
| 1199 |
<tr>
|
| 1200 |
-
<td class="spider_label"><label for="mosaic_thumb_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 1201 |
<td>
|
| 1202 |
<input type="text" name="mosaic_thumb_gal_title_margin" id="mosaic_thumb_gal_title_margin" value="<?php echo $row->mosaic_thumb_gal_title_margin; ?>" class="spider_char_input" />
|
| 1203 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1204 |
</td>
|
| 1205 |
</tr>
|
| 1206 |
<tr>
|
| 1207 |
-
<td class="spider_label"><label for="mosaic_thumb_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 1208 |
<td>
|
| 1209 |
<select name="mosaic_thumb_gal_title_align" id="mosaic_thumb_gal_title_align">
|
| 1210 |
<?php
|
| 1211 |
foreach ($aligns as $key => $align) {
|
| 1212 |
?>
|
| 1213 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 1214 |
<?php
|
| 1215 |
}
|
| 1216 |
?>
|
|
@@ -1232,74 +1232,74 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1232 |
<table style="clear:both;">
|
| 1233 |
<tbody>
|
| 1234 |
<tr>
|
| 1235 |
-
<td class="spider_label"><label for="slideshow_cont_bg_color"><?php echo __('Background color:',
|
| 1236 |
<td>
|
| 1237 |
<input type="text" name="slideshow_cont_bg_color" id="slideshow_cont_bg_color" value="<?php echo $row->slideshow_cont_bg_color; ?>" class="jscolor"/>
|
| 1238 |
</td>
|
| 1239 |
</tr>
|
| 1240 |
<tr>
|
| 1241 |
-
<td class="spider_label"><label for="slideshow_rl_btn_size"><?php echo __('Right, left buttons size:',
|
| 1242 |
<td>
|
| 1243 |
<input type="text" name="slideshow_rl_btn_size" id="slideshow_rl_btn_size" value="<?php echo $row->slideshow_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1244 |
</td>
|
| 1245 |
</tr>
|
| 1246 |
<tr>
|
| 1247 |
-
<td class="spider_label"><label for="slideshow_play_pause_btn_size"><?php echo __('Play, pause buttons size:',
|
| 1248 |
<td>
|
| 1249 |
<input type="text" name="slideshow_play_pause_btn_size" id="slideshow_play_pause_btn_size" value="<?php echo $row->slideshow_play_pause_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1250 |
</td>
|
| 1251 |
</tr>
|
| 1252 |
<tr>
|
| 1253 |
-
<td class="spider_label"><label for="slideshow_rl_btn_color"><?php echo __('Buttons color:',
|
| 1254 |
<td>
|
| 1255 |
<input type="text" name="slideshow_rl_btn_color" id="slideshow_rl_btn_color" value="<?php echo $row->slideshow_rl_btn_color; ?>" class="jscolor"/>
|
| 1256 |
</td>
|
| 1257 |
</tr>
|
| 1258 |
<tr>
|
| 1259 |
-
<td class="spider_label"><label for="slideshow_close_btn_transparent"><?php echo __('Buttons transparency:',
|
| 1260 |
<td>
|
| 1261 |
<input type="text" name="slideshow_close_btn_transparent" id="slideshow_close_btn_transparent" value="<?php echo $row->slideshow_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1262 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1263 |
</td>
|
| 1264 |
</tr>
|
| 1265 |
<tr>
|
| 1266 |
-
<td class="spider_label"><label for="slideshow_close_rl_btn_hover_color"><?php echo __('Buttons hover color:',
|
| 1267 |
<td>
|
| 1268 |
<input type="text" name="slideshow_close_rl_btn_hover_color" id="slideshow_close_rl_btn_hover_color" value="<?php echo $row->slideshow_close_rl_btn_hover_color; ?>" class="jscolor"/>
|
| 1269 |
</td>
|
| 1270 |
</tr>
|
| 1271 |
<tr>
|
| 1272 |
-
<td class="spider_label"><label for="slideshow_rl_btn_width"><?php echo __('Right, left buttons width:',
|
| 1273 |
<td>
|
| 1274 |
<input type="text" name="slideshow_rl_btn_width" id="slideshow_rl_btn_width" value="<?php echo $row->slideshow_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1275 |
</td>
|
| 1276 |
</tr>
|
| 1277 |
<tr>
|
| 1278 |
-
<td class="spider_label"><label for="slideshow_rl_btn_height"><?php echo __('Right, left buttons height:',
|
| 1279 |
<td>
|
| 1280 |
<input type="text" name="slideshow_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo $row->slideshow_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1281 |
</td>
|
| 1282 |
</tr>
|
| 1283 |
<tr>
|
| 1284 |
-
<td class="spider_label"><label for="slideshow_rl_btn_bg_color"><?php echo __('Right, left buttons background color:',
|
| 1285 |
<td>
|
| 1286 |
<input type="text" name="slideshow_rl_btn_bg_color" id="slideshow_rl_btn_bg_color" value="<?php echo $row->slideshow_rl_btn_bg_color; ?>" class="jscolor"/>
|
| 1287 |
</td>
|
| 1288 |
</tr>
|
| 1289 |
<tr>
|
| 1290 |
-
<td class="spider_label"><label for="slideshow_rl_btn_border_width"><?php echo __('Right, left buttons border width:',
|
| 1291 |
<td>
|
| 1292 |
<input type="text" name="slideshow_rl_btn_border_width" id="slideshow_rl_btn_border_width" value="<?php echo $row->slideshow_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1293 |
</td>
|
| 1294 |
</tr>
|
| 1295 |
<tr>
|
| 1296 |
-
<td class="spider_label"><label for="slideshow_rl_btn_border_style"><?php echo __('Right, left buttons border style:',
|
| 1297 |
<td>
|
| 1298 |
<select name="slideshow_rl_btn_border_style" id="slideshow_rl_btn_border_style">
|
| 1299 |
<?php
|
| 1300 |
foreach ($border_styles as $key => $border_style) {
|
| 1301 |
?>
|
| 1302 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 1303 |
<?php
|
| 1304 |
}
|
| 1305 |
?>
|
|
@@ -1307,26 +1307,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1307 |
</td>
|
| 1308 |
</tr>
|
| 1309 |
<tr>
|
| 1310 |
-
<td class="spider_label"><label for="slideshow_rl_btn_border_color"><?php echo __('Right, left buttons border color:',
|
| 1311 |
<td>
|
| 1312 |
<input type="text" name="slideshow_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo $row->slideshow_rl_btn_border_color; ?>" class="jscolor"/>
|
| 1313 |
</td>
|
| 1314 |
</tr>
|
| 1315 |
<tr>
|
| 1316 |
-
<td class="spider_label"><label for="slideshow_rl_btn_border_radius"><?php echo __('Right, left buttons border radius:',
|
| 1317 |
<td>
|
| 1318 |
<input type="text" name="slideshow_rl_btn_border_radius" id="slideshow_rl_btn_border_radius" value="<?php echo $row->slideshow_rl_btn_border_radius; ?>" class="spider_char_input"/>
|
| 1319 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1320 |
</td>
|
| 1321 |
</tr>
|
| 1322 |
<tr>
|
| 1323 |
-
<td class="spider_label"><label for="slideshow_rl_btn_style"><?php echo __('Right, left buttons style:',
|
| 1324 |
<td>
|
| 1325 |
<select name="slideshow_rl_btn_style" id="slideshow_rl_btn_style">
|
| 1326 |
<?php
|
| 1327 |
foreach ($button_styles as $key => $button_style) {
|
| 1328 |
?>
|
| 1329 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($button_style,
|
| 1330 |
<?php
|
| 1331 |
}
|
| 1332 |
?>
|
|
@@ -1334,10 +1334,10 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1334 |
</td>
|
| 1335 |
</tr>
|
| 1336 |
<tr>
|
| 1337 |
-
<td class="spider_label"><label for="slideshow_rl_btn_box_shadow"><?php echo __('Right, left buttons box shadow:',
|
| 1338 |
<td>
|
| 1339 |
<input type="text" name="slideshow_rl_btn_box_shadow" id="slideshow_rl_btn_box_shadow" value="<?php echo $row->slideshow_rl_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1340 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1341 |
</td>
|
| 1342 |
</tr>
|
| 1343 |
</tbody>
|
|
@@ -1351,38 +1351,38 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1351 |
<table style="clear:both;">
|
| 1352 |
<tbody>
|
| 1353 |
<tr>
|
| 1354 |
-
<td class="spider_label"><label><?php echo __('Filmstrip/Slider bullet position:',
|
| 1355 |
<td>
|
| 1356 |
<select name="slideshow_filmstrip_pos" id="slideshow_filmstrip_pos">
|
| 1357 |
-
<option value="top" <?php echo (($row->slideshow_filmstrip_pos == "top") ? 'selected="selected"' : ''); ?>><?php echo __("Top",
|
| 1358 |
-
<option value="right" <?php echo (($row->slideshow_filmstrip_pos == "right") ? 'selected="selected"' : ''); ?>><?php echo __("Right",
|
| 1359 |
-
<option value="bottom" <?php echo (($row->slideshow_filmstrip_pos == "bottom") ? 'selected="selected"' : ''); ?>><?php echo __("Bottom",
|
| 1360 |
-
<option value="left" <?php echo (($row->slideshow_filmstrip_pos == "left") ? 'selected="selected"' : ''); ?>><?php echo __("Left",
|
| 1361 |
</select>
|
| 1362 |
</td>
|
| 1363 |
</tr>
|
| 1364 |
<tr>
|
| 1365 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_margin"><?php echo __('Filmstrip margin:',
|
| 1366 |
<td>
|
| 1367 |
<input type="text" name="slideshow_filmstrip_thumb_margin" id="slideshow_filmstrip_thumb_margin" value="<?php echo $row->slideshow_filmstrip_thumb_margin; ?>" class="spider_char_input"/>
|
| 1368 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1369 |
</td>
|
| 1370 |
</tr>
|
| 1371 |
<tr>
|
| 1372 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_width"><?php echo __('Filmstrip border width:',
|
| 1373 |
<td>
|
| 1374 |
<input type="text" name="slideshow_filmstrip_thumb_border_width" id="slideshow_filmstrip_thumb_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1375 |
</td>
|
| 1376 |
</tr>
|
| 1377 |
<tr>
|
| 1378 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_style"><?php echo __('Filmstrip border style:',
|
| 1379 |
</td>
|
| 1380 |
<td>
|
| 1381 |
<select name="slideshow_filmstrip_thumb_border_style" id="slideshow_filmstrip_thumb_border_style">
|
| 1382 |
<?php
|
| 1383 |
foreach ($border_styles as $key => $border_style) {
|
| 1384 |
?>
|
| 1385 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->slideshow_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 1386 |
<?php
|
| 1387 |
}
|
| 1388 |
?>
|
|
@@ -1390,100 +1390,100 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1390 |
</td>
|
| 1391 |
</tr>
|
| 1392 |
<tr>
|
| 1393 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_color"><?php echo __('Filmstrip border color:',
|
| 1394 |
<td>
|
| 1395 |
<input type="text" name="slideshow_filmstrip_thumb_border_color" id="slideshow_filmstrip_thumb_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_border_color; ?>" class="jscolor"/>
|
| 1396 |
</td>
|
| 1397 |
</tr>
|
| 1398 |
<tr>
|
| 1399 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_radius"><?php echo __('Filmstrip border radius:',
|
| 1400 |
<td>
|
| 1401 |
<input type="text" name="slideshow_filmstrip_thumb_border_radius" id="slideshow_filmstrip_thumb_border_radius" value="<?php echo $row->slideshow_filmstrip_thumb_border_radius; ?>" class="spider_char_input"/>
|
| 1402 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1403 |
</td>
|
| 1404 |
</tr>
|
| 1405 |
<tr>
|
| 1406 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_width"><?php echo __('Filmstrip active border width:',
|
| 1407 |
<td>
|
| 1408 |
<input type="text" name="slideshow_filmstrip_thumb_active_border_width" id="slideshow_filmstrip_thumb_active_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
|
| 1409 |
</td>
|
| 1410 |
</tr>
|
| 1411 |
<tr>
|
| 1412 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_color"><?php echo __('Filmstrip active border color:',
|
| 1413 |
<td>
|
| 1414 |
<input type="text" name="slideshow_filmstrip_thumb_active_border_color" id="slideshow_filmstrip_thumb_active_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_color; ?>" class="jscolor"/>
|
| 1415 |
</td>
|
| 1416 |
</tr>
|
| 1417 |
<tr id="tr_appWidth">
|
| 1418 |
-
<td class="spider_label"><label for="slideshow_filmstrip_thumb_deactive_transparent"><?php echo __('Filmstrip deactive transparency: ',
|
| 1419 |
<td>
|
| 1420 |
<input type="text" name="slideshow_filmstrip_thumb_deactive_transparent" id="slideshow_filmstrip_thumb_deactive_transparent" value="<?php echo $row->slideshow_filmstrip_thumb_deactive_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1421 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1422 |
</td>
|
| 1423 |
</tr>
|
| 1424 |
<tr>
|
| 1425 |
-
<td class="spider_label"><label for="slideshow_filmstrip_rl_bg_color"><?php echo __('Filmstrip right, left buttons background color: ',
|
| 1426 |
<td>
|
| 1427 |
<input type="text" name="slideshow_filmstrip_rl_bg_color" id="slideshow_filmstrip_rl_bg_color" value="<?php echo $row->slideshow_filmstrip_rl_bg_color; ?>" class="jscolor"/>
|
| 1428 |
</td>
|
| 1429 |
</tr>
|
| 1430 |
<tr>
|
| 1431 |
-
<td class="spider_label"><label for="slideshow_filmstrip_rl_btn_color"><?php echo __('Filmstrip right, left buttons color:',
|
| 1432 |
<td>
|
| 1433 |
<input type="text" name="slideshow_filmstrip_rl_btn_color" id="slideshow_filmstrip_rl_btn_color" value="<?php echo $row->slideshow_filmstrip_rl_btn_color; ?>" class="jscolor"/>
|
| 1434 |
</td>
|
| 1435 |
</tr>
|
| 1436 |
<tr>
|
| 1437 |
-
<td class="spider_label"><label for="slideshow_filmstrip_rl_btn_size"><?php echo __('Filmstrip right, left buttons size:',
|
| 1438 |
<td>
|
| 1439 |
<input type="text" name="slideshow_filmstrip_rl_btn_size" id="slideshow_filmstrip_rl_btn_size" value="<?php echo $row->slideshow_filmstrip_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
| 1440 |
</td>
|
| 1441 |
</tr>
|
| 1442 |
<tr>
|
| 1443 |
-
<td class="spider_label"><label for="slideshow_dots_width"><?php echo __('Slider bullet width: ',
|
| 1444 |
<td>
|
| 1445 |
<input type="text" name="slideshow_dots_width" id="slideshow_dots_width" value="<?php echo $row->slideshow_dots_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1446 |
</td>
|
| 1447 |
</tr>
|
| 1448 |
<tr>
|
| 1449 |
-
<td class="spider_label"><label for="slideshow_dots_height"><?php echo __('Slider bullet height:',
|
| 1450 |
<td>
|
| 1451 |
<input type="text" name="slideshow_dots_height" id="slideshow_dots_height" value="<?php echo $row->slideshow_dots_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1452 |
</td>
|
| 1453 |
</tr>
|
| 1454 |
<tr>
|
| 1455 |
-
<td class="spider_label"><label for="slideshow_dots_border_radius"><?php echo __('Slider bullet border radius: ',
|
| 1456 |
<td>
|
| 1457 |
<input type="text" name="slideshow_dots_border_radius" id="slideshow_dots_border_radius" value="<?php echo $row->slideshow_dots_border_radius; ?>" class="spider_char_input"/>
|
| 1458 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1459 |
</td>
|
| 1460 |
</tr>
|
| 1461 |
<tr>
|
| 1462 |
-
<td class="spider_label"><label for="slideshow_dots_background_color"><?php echo __('Slider bullet background color:',
|
| 1463 |
<td>
|
| 1464 |
<input type="text" name="slideshow_dots_background_color" id="slideshow_dots_background_color" value="<?php echo $row->slideshow_dots_background_color; ?>" class="jscolor"/>
|
| 1465 |
</td>
|
| 1466 |
</tr>
|
| 1467 |
<tr>
|
| 1468 |
-
<td class="spider_label"><label for="slideshow_dots_margin"><?php echo __('Slider bullet margin:',
|
| 1469 |
<td>
|
| 1470 |
<input type="text" name="slideshow_dots_margin" id="slideshow_dots_margin" value="<?php echo $row->slideshow_dots_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1471 |
</td>
|
| 1472 |
</tr>
|
| 1473 |
<tr>
|
| 1474 |
-
<td class="spider_label"><label for="slideshow_dots_active_background_color"><?php echo __('Slider bullet active background color: ',
|
| 1475 |
<td>
|
| 1476 |
<input type="text" name="slideshow_dots_active_background_color" id="slideshow_dots_active_background_color" value="<?php echo $row->slideshow_dots_active_background_color; ?>" class="jscolor"/>
|
| 1477 |
</td>
|
| 1478 |
</tr>
|
| 1479 |
<tr>
|
| 1480 |
-
<td class="spider_label"><label for="slideshow_dots_active_border_width"><?php echo __('Slider bullet active border width:',
|
| 1481 |
<td>
|
| 1482 |
<input type="text" name="slideshow_dots_active_border_width" id="slideshow_dots_active_border_width" value="<?php echo $row->slideshow_dots_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1483 |
</td>
|
| 1484 |
</tr>
|
| 1485 |
<tr>
|
| 1486 |
-
<td class="spider_label"><label for="slideshow_dots_active_border_color"><?php echo __('Slider bullet active border color: ',
|
| 1487 |
<td>
|
| 1488 |
<input type="text" name="slideshow_dots_active_border_color" id="slideshow_dots_active_border_color" value="<?php echo $row->slideshow_dots_active_border_color; ?>" class="jscolor"/>
|
| 1489 |
</td>
|
|
@@ -1499,90 +1499,90 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1499 |
<table style="clear:both;">
|
| 1500 |
<tbody>
|
| 1501 |
<tr>
|
| 1502 |
-
<td class="spider_label"><label for="slideshow_title_background_color"><?php echo __('Title background color: ',
|
| 1503 |
<td>
|
| 1504 |
<input type="text" name="slideshow_title_background_color" id="slideshow_title_background_color" value="<?php echo $row->slideshow_title_background_color; ?>" class="jscolor"/>
|
| 1505 |
</td>
|
| 1506 |
</tr>
|
| 1507 |
<tr>
|
| 1508 |
-
<td class="spider_label"><label for="slideshow_title_opacity"><?php echo __('Title transparency: ',
|
| 1509 |
<td>
|
| 1510 |
<input type="text" name="slideshow_title_opacity" id="slideshow_title_opacity" value="<?php echo $row->slideshow_title_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1511 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1512 |
</td>
|
| 1513 |
</tr>
|
| 1514 |
<tr>
|
| 1515 |
-
<td class="spider_label"><label for="slideshow_title_border_radius"><?php echo __('Title border radius:',
|
| 1516 |
<td>
|
| 1517 |
<input type="text" name="slideshow_title_border_radius" id="slideshow_title_border_radius" value="<?php echo $row->slideshow_title_border_radius; ?>" class="spider_char_input"/>
|
| 1518 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1519 |
</td>
|
| 1520 |
</tr>
|
| 1521 |
<tr>
|
| 1522 |
-
<td class="spider_label"><label for="slideshow_title_padding"><?php echo __('Title padding: ',
|
| 1523 |
<td>
|
| 1524 |
<input type="text" name="slideshow_title_padding" id="slideshow_title_padding" value="<?php echo $row->slideshow_title_padding; ?>" class="spider_char_input"/>
|
| 1525 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1526 |
</td>
|
| 1527 |
</tr>
|
| 1528 |
<tr>
|
| 1529 |
-
<td class="spider_label"><label for="slideshow_title_font_size"><?php echo __('Title font size: ',
|
| 1530 |
<td>
|
| 1531 |
<input type="text" name="slideshow_title_font_size" id="slideshow_title_font_size" value="<?php echo $row->slideshow_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
| 1532 |
</td>
|
| 1533 |
</tr>
|
| 1534 |
<tr>
|
| 1535 |
-
<td class="spider_label"><label for="slideshow_title_color"><?php echo __('Title color: ',
|
| 1536 |
<td>
|
| 1537 |
<input type="text" name="slideshow_title_color" id="slideshow_title_color" value="<?php echo $row->slideshow_title_color; ?>" class="jscolor"/>
|
| 1538 |
</td>
|
| 1539 |
</tr>
|
| 1540 |
<tr>
|
| 1541 |
<!--generate font style with google fonts -->
|
| 1542 |
-
<?php $this->font_style_row( $row->slideshow_title_font, 'slideshow_title_font', __('Title font family:',
|
| 1543 |
</tr>
|
| 1544 |
<tr>
|
| 1545 |
-
<td class="spider_label"><label for="slideshow_description_background_color"><?php echo __('Description background color:',
|
| 1546 |
<td>
|
| 1547 |
<input type="text" name="slideshow_description_background_color" id="slideshow_description_background_color" value="<?php echo $row->slideshow_description_background_color; ?>" class="jscolor"/>
|
| 1548 |
</td>
|
| 1549 |
</tr>
|
| 1550 |
<tr>
|
| 1551 |
-
<td class="spider_label"><label for="slideshow_description_opacity"><?php echo __('Description transparency:',
|
| 1552 |
<td>
|
| 1553 |
<input type="text" name="slideshow_description_opacity" id="slideshow_description_opacity" value="<?php echo $row->slideshow_description_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1554 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1555 |
</td>
|
| 1556 |
</tr>
|
| 1557 |
<tr>
|
| 1558 |
-
<td class="spider_label"><label for="slideshow_description_border_radius"><?php echo __('Description border radius:',
|
| 1559 |
<td>
|
| 1560 |
<input type="text" name="slideshow_description_border_radius" id="slideshow_description_border_radius" value="<?php echo $row->slideshow_description_border_radius; ?>" class="spider_char_input"/>
|
| 1561 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1562 |
</td>
|
| 1563 |
</tr>
|
| 1564 |
<tr>
|
| 1565 |
-
<td class="spider_label"><label for="slideshow_description_padding"><?php echo __('Description padding:',
|
| 1566 |
<td>
|
| 1567 |
<input type="text" name="slideshow_description_padding" id="slideshow_description_padding" value="<?php echo $row->slideshow_description_padding; ?>" class="spider_char_input"/>
|
| 1568 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1569 |
</td>
|
| 1570 |
</tr>
|
| 1571 |
<tr>
|
| 1572 |
-
<td class="spider_label"><label for="slideshow_description_font_size"><?php echo __('Description font size:',
|
| 1573 |
<td>
|
| 1574 |
<input type="text" name="slideshow_description_font_size" id="slideshow_description_font_size" value="<?php echo $row->slideshow_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1575 |
</td>
|
| 1576 |
</tr>
|
| 1577 |
<tr>
|
| 1578 |
-
<td class="spider_label"><label for="slideshow_description_color"><?php echo __('Description color:',
|
| 1579 |
<td>
|
| 1580 |
<input type="text" name="slideshow_description_color" id="slideshow_description_color" value="<?php echo $row->slideshow_description_color; ?>" class="jscolor"/>
|
| 1581 |
</td>
|
| 1582 |
</tr>
|
| 1583 |
<tr>
|
| 1584 |
<!--generate font style with google fonts -->
|
| 1585 |
-
<?php $this->font_style_row( $row->slideshow_description_font, 'slideshow_description_font', __('Description font family:',
|
| 1586 |
</tr>
|
| 1587 |
</tbody>
|
| 1588 |
</table>
|
|
@@ -1599,46 +1599,46 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1599 |
<table style="clear:both;">
|
| 1600 |
<tbody>
|
| 1601 |
<tr>
|
| 1602 |
-
<td class="spider_label"><label for="image_browser_full_padding"><?php echo __('Full padding:',
|
| 1603 |
<td>
|
| 1604 |
<input type="text" name="image_browser_full_padding" id="image_browser_full_padding" value="<?php echo $row->image_browser_full_padding; ?>" class="spider_char_input"/>
|
| 1605 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1606 |
</td>
|
| 1607 |
</tr>
|
| 1608 |
<tr>
|
| 1609 |
-
<td class="spider_label"><label for="image_browser_full_bg_color"><?php echo __('Full background color:',
|
| 1610 |
<td>
|
| 1611 |
<input type="text" name="image_browser_full_bg_color" id="image_browser_full_bg_color" value="<?php echo $row->image_browser_full_bg_color; ?>" class="jscolor" />
|
| 1612 |
</td>
|
| 1613 |
</tr>
|
| 1614 |
<tr>
|
| 1615 |
-
<td class="spider_label"><label for="image_browser_full_transparent"><?php echo __('Full background transparency:',
|
| 1616 |
<td>
|
| 1617 |
<input type="text" name="image_browser_full_transparent" id="image_browser_full_transparent" value="<?php echo $row->image_browser_full_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1618 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1619 |
</td>
|
| 1620 |
</tr>
|
| 1621 |
<tr>
|
| 1622 |
-
<td class="spider_label"><label for="image_browser_full_border_radius"><?php echo __('Full border radius:',
|
| 1623 |
<td>
|
| 1624 |
<input type="text" name="image_browser_full_border_radius" id="image_browser_full_border_radius" value="<?php echo $row->image_browser_full_border_radius; ?>" class="spider_char_input" />
|
| 1625 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1626 |
</td>
|
| 1627 |
</tr>
|
| 1628 |
<tr>
|
| 1629 |
-
<td class="spider_label"><label for="image_browser_full_border_width"><?php echo __('Full border width:',
|
| 1630 |
<td>
|
| 1631 |
<input type="text" name="image_browser_full_border_width" id="image_browser_full_border_width" value="<?php echo $row->image_browser_full_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1632 |
</td>
|
| 1633 |
</tr>
|
| 1634 |
<tr>
|
| 1635 |
-
<td class="spider_label"><label for="image_browser_full_border_style"><?php echo __('Full border style:',
|
| 1636 |
<td>
|
| 1637 |
<select name="image_browser_full_border_style" id="image_browser_full_border_style">
|
| 1638 |
<?php
|
| 1639 |
foreach ($border_styles as $key => $border_style) {
|
| 1640 |
?>
|
| 1641 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_full_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 1642 |
<?php
|
| 1643 |
}
|
| 1644 |
?>
|
|
@@ -1646,7 +1646,7 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1646 |
</td>
|
| 1647 |
</tr>
|
| 1648 |
<tr>
|
| 1649 |
-
<td class="spider_label"><label for="image_browser_full_border_color"><?php echo __('Full border color:',
|
| 1650 |
<td>
|
| 1651 |
<input type="text" name="image_browser_full_border_color" id="image_browser_full_border_color" value="<?php echo $row->image_browser_full_border_color; ?>" class="jscolor" />
|
| 1652 |
</td>
|
|
@@ -1662,13 +1662,13 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1662 |
<table style="clear:both;">
|
| 1663 |
<tbody>
|
| 1664 |
<tr>
|
| 1665 |
-
<td class="spider_label"><label for="image_browser_align0"><?php echo __('Alignment:',
|
| 1666 |
<td>
|
| 1667 |
<select name="image_browser_align" id="image_browser_align">
|
| 1668 |
<?php
|
| 1669 |
foreach ($aligns as $key => $align) {
|
| 1670 |
?>
|
| 1671 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 1672 |
<?php
|
| 1673 |
}
|
| 1674 |
?>
|
|
@@ -1676,33 +1676,33 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1676 |
</td>
|
| 1677 |
</tr>
|
| 1678 |
<tr>
|
| 1679 |
-
<td class="spider_label"><label for="image_browser_margin"><?php echo __('Margin:',
|
| 1680 |
<td>
|
| 1681 |
<input type="text" name="image_browser_margin" id="image_browser_margin" value="<?php echo $row->image_browser_margin; ?>" class="spider_char_input" />
|
| 1682 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1683 |
</td>
|
| 1684 |
</tr>
|
| 1685 |
<tr>
|
| 1686 |
-
<td class="spider_label"><label for="image_browser_padding"><?php echo __('Padding:',
|
| 1687 |
<td>
|
| 1688 |
<input type="text" name="image_browser_padding" id="image_browser_padding" value="<?php echo $row->image_browser_padding; ?>" class="spider_char_input" />
|
| 1689 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1690 |
</td>
|
| 1691 |
</tr>
|
| 1692 |
<tr>
|
| 1693 |
-
<td class="spider_label"><label for="image_browser_border_width"><?php echo __('Border width:',
|
| 1694 |
<td>
|
| 1695 |
<input type="text" name="image_browser_border_width" id="image_browser_border_width" value="<?php echo $row->image_browser_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1696 |
</td>
|
| 1697 |
</tr>
|
| 1698 |
<tr>
|
| 1699 |
-
<td class="spider_label"><label for="image_browser_border_style"><?php echo __('Border style:',
|
| 1700 |
<td>
|
| 1701 |
<select name="image_browser_border_style" id="image_browser_border_style">
|
| 1702 |
<?php
|
| 1703 |
foreach ($border_styles as $key => $border_style) {
|
| 1704 |
?>
|
| 1705 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 1706 |
<?php
|
| 1707 |
}
|
| 1708 |
?>
|
|
@@ -1710,36 +1710,36 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1710 |
</td>
|
| 1711 |
</tr>
|
| 1712 |
<tr>
|
| 1713 |
-
<td class="spider_label"><label for="image_browser_border_color"><?php echo __('Border color:',
|
| 1714 |
<td>
|
| 1715 |
<input type="text" name="image_browser_border_color" id="image_browser_border_color" value="<?php echo $row->image_browser_border_color; ?>" class="jscolor" />
|
| 1716 |
</td>
|
| 1717 |
</tr>
|
| 1718 |
<tr>
|
| 1719 |
-
<td class="spider_label"><label for="image_browser_border_radius"><?php echo __('Border radius:',
|
| 1720 |
<td>
|
| 1721 |
<input type="text" name="image_browser_border_radius" id="image_browser_border_radius" value="<?php echo $row->image_browser_border_radius; ?>" class="spider_char_input" />
|
| 1722 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1723 |
</td>
|
| 1724 |
</tr>
|
| 1725 |
<tr>
|
| 1726 |
-
<td class="spider_label"><label for="image_browser_bg_color"><?php echo __('Background color:',
|
| 1727 |
<td>
|
| 1728 |
<input type="text" name="image_browser_bg_color" id="image_browser_bg_color" value="<?php echo $row->image_browser_bg_color; ?>" class="jscolor" />
|
| 1729 |
</td>
|
| 1730 |
</tr>
|
| 1731 |
<tr>
|
| 1732 |
-
<td class="spider_label"><label for="image_browser_transparent"><?php echo __('Background transparency:',
|
| 1733 |
<td>
|
| 1734 |
<input type="text" name="image_browser_transparent" id="image_browser_transparent" value="<?php echo $row->image_browser_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1735 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 1736 |
</td>
|
| 1737 |
</tr>
|
| 1738 |
<tr>
|
| 1739 |
-
<td class="spider_label"><label for="image_browser_box_shadow"><?php echo __('Box shadow:',
|
| 1740 |
<td>
|
| 1741 |
<input type="text" name="image_browser_box_shadow" id="image_browser_box_shadow" value="<?php echo $row->image_browser_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1742 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1743 |
</td>
|
| 1744 |
</tr>
|
| 1745 |
</tbody>
|
|
@@ -1753,22 +1753,22 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1753 |
<table style="clear:both;">
|
| 1754 |
<tbody>
|
| 1755 |
<tr>
|
| 1756 |
-
<td class="spider_label"><label><?php _e('Title position:',
|
| 1757 |
<td>
|
| 1758 |
<input type="radio" name="image_browser_image_title_align" id="image_browser_image_title_align1" value="top" <?php if ($row->image_browser_image_title_align == "top") echo 'checked="checked"'; ?> />
|
| 1759 |
-
<label for="image_browser_image_title_align1" id="image_browser_image_title_align1_lbl"><?php _e('Top',
|
| 1760 |
<input type="radio" name="image_browser_image_title_align" id="image_browser_image_title_align0" value="bottom" <?php if ($row->image_browser_image_title_align == "bottom") echo 'checked="checked"'; ?> />
|
| 1761 |
-
<label for="image_browser_image_title_align0" id="image_browser_image_title_align0_lbl"><?php _e('Bottom',
|
| 1762 |
</td>
|
| 1763 |
</tr>
|
| 1764 |
<tr>
|
| 1765 |
-
<td class="spider_label"><label for="image_browser_image_description_align0"><?php echo __('Title alignment:',
|
| 1766 |
<td>
|
| 1767 |
<select name="image_browser_image_description_align" id="image_browser_image_description_align">
|
| 1768 |
<?php
|
| 1769 |
foreach ($aligns as $key => $align) {
|
| 1770 |
?>
|
| 1771 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 1772 |
<?php
|
| 1773 |
}
|
| 1774 |
?>
|
|
@@ -1776,49 +1776,49 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1776 |
</td>
|
| 1777 |
</tr>
|
| 1778 |
<tr>
|
| 1779 |
-
<td class="spider_label"><label for="image_browser_img_font_size"><?php echo __('Font size:',
|
| 1780 |
<td>
|
| 1781 |
<input type="text" name="image_browser_img_font_size" id="image_browser_img_font_size" value="<?php echo $row->image_browser_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1782 |
</td>
|
| 1783 |
</tr>
|
| 1784 |
<tr>
|
| 1785 |
-
<td class="spider_label"><label for="image_browser_img_font_color"><?php echo __('Font color:',
|
| 1786 |
<td>
|
| 1787 |
<input type="text" name="image_browser_img_font_color" id="image_browser_img_font_color" value="<?php echo $row->image_browser_img_font_color; ?>" class="jscolor" />
|
| 1788 |
</td>
|
| 1789 |
</tr>
|
| 1790 |
<tr>
|
| 1791 |
<!--generate font style with google fonts -->
|
| 1792 |
-
<?php $this->font_style_row( $row->image_browser_img_font_family, 'image_browser_img_font_family', __('Font family:',
|
| 1793 |
</tr>
|
| 1794 |
<tr>
|
| 1795 |
-
<td class="spider_label"><label for="image_browser_image_description_margin"><?php echo __('Description margin:',
|
| 1796 |
<td>
|
| 1797 |
<input type="text" name="image_browser_image_description_margin" id="image_browser_image_description_margin" value="<?php echo $row->image_browser_image_description_margin; ?>" class="spider_char_input" />
|
| 1798 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1799 |
</td>
|
| 1800 |
</tr>
|
| 1801 |
<tr>
|
| 1802 |
-
<td class="spider_label"><label for="image_browser_image_description_padding"><?php echo __('Description padding:',
|
| 1803 |
<td>
|
| 1804 |
<input type="text" name="image_browser_image_description_padding" id="image_browser_image_description_padding" value="<?php echo $row->image_browser_image_description_padding; ?>" class="spider_char_input" />
|
| 1805 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1806 |
</td>
|
| 1807 |
</tr>
|
| 1808 |
<tr>
|
| 1809 |
-
<td class="spider_label"><label for="image_browser_image_description_border_width"><?php echo __('Description border width:',
|
| 1810 |
<td>
|
| 1811 |
<input type="text" name="image_browser_image_description_border_width" id="image_browser_image_description_border_width" value="<?php echo $row->image_browser_image_description_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
| 1812 |
</td>
|
| 1813 |
</tr>
|
| 1814 |
<tr>
|
| 1815 |
-
<td class="spider_label"><label for="image_browser_image_description_border_style"><?php echo __('Description border style:',
|
| 1816 |
<td>
|
| 1817 |
<select name="image_browser_image_description_border_style" id="image_browser_image_description_border_style">
|
| 1818 |
<?php
|
| 1819 |
foreach ($border_styles as $key => $border_style) {
|
| 1820 |
?>
|
| 1821 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 1822 |
<?php
|
| 1823 |
}
|
| 1824 |
?>
|
|
@@ -1826,49 +1826,49 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1826 |
</td>
|
| 1827 |
</tr>
|
| 1828 |
<tr>
|
| 1829 |
-
<td class="spider_label"><label for="image_browser_image_description_border_color"><?php echo __('Description border color:',
|
| 1830 |
<td>
|
| 1831 |
<input type="text" name="image_browser_image_description_border_color" id="image_browser_image_description_border_color" value="<?php echo $row->image_browser_image_description_border_color; ?>" class="jscolor" />
|
| 1832 |
</td>
|
| 1833 |
</tr>
|
| 1834 |
<tr>
|
| 1835 |
-
<td class="spider_label"><label for="image_browser_image_description_border_radius"><?php echo __('Description border radius:',
|
| 1836 |
<td>
|
| 1837 |
<input type="text" name="image_browser_image_description_border_radius" id="image_browser_image_description_border_radius" value="<?php echo $row->image_browser_image_description_border_radius; ?>" class="spider_char_input" />
|
| 1838 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1839 |
</td>
|
| 1840 |
</tr>
|
| 1841 |
<tr>
|
| 1842 |
-
<td class="spider_label"><label for="image_browser_image_description_bg_color"><?php echo __('Description background color:',
|
| 1843 |
<td>
|
| 1844 |
<input type="text" name="image_browser_image_description_bg_color" id="image_browser_image_description_bg_color" value="<?php echo $row->image_browser_image_description_bg_color; ?>" class="jscolor" />
|
| 1845 |
</td>
|
| 1846 |
</tr>
|
| 1847 |
<tr>
|
| 1848 |
-
<td class="spider_label"><label for="image_browser_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 1849 |
<td>
|
| 1850 |
<input type="text" name="image_browser_gal_title_font_size" id="image_browser_gal_title_font_size" value="<?php echo
|
| 1851 |
$row->image_browser_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1852 |
</td>
|
| 1853 |
</tr>
|
| 1854 |
<tr>
|
| 1855 |
-
<td class="spider_label"><label for="image_browser_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 1856 |
<td>
|
| 1857 |
<input type="text" name="image_browser_gal_title_font_color" id="image_browser_gal_title_font_color" value="<?php echo $row->image_browser_gal_title_font_color; ?>" class="jscolor" />
|
| 1858 |
</td>
|
| 1859 |
</tr>
|
| 1860 |
<tr>
|
| 1861 |
<!--generate font style with google fonts -->
|
| 1862 |
-
<?php $this->font_style_row( $row->image_browser_gal_title_font_style, 'image_browser_gal_title_font_style', __('Gallery title/description font family:',
|
| 1863 |
</tr>
|
| 1864 |
<tr>
|
| 1865 |
-
<td class="spider_label"><label for="image_browser_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 1866 |
<td>
|
| 1867 |
<select name="image_browser_gal_title_font_weight" id="image_browser_gal_title_font_weight">
|
| 1868 |
<?php
|
| 1869 |
foreach ($font_weights as $key => $font_weight) {
|
| 1870 |
?>
|
| 1871 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 1872 |
<?php
|
| 1873 |
}
|
| 1874 |
?>
|
|
@@ -1876,27 +1876,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1876 |
</td>
|
| 1877 |
</tr>
|
| 1878 |
<tr>
|
| 1879 |
-
<td class="spider_label"><label for="image_browser_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 1880 |
<td>
|
| 1881 |
<input type="text" name="image_browser_gal_title_shadow" id="image_browser_gal_title_shadow" value="<?php echo $row->image_browser_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1882 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1883 |
</td>
|
| 1884 |
</tr>
|
| 1885 |
<tr>
|
| 1886 |
-
<td class="spider_label"><label for="image_browser_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 1887 |
<td>
|
| 1888 |
<input type="text" name="image_browser_gal_title_margin" id="image_browser_gal_title_margin" value="<?php echo $row->image_browser_gal_title_margin; ?>" class="spider_char_input" />
|
| 1889 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1890 |
</td>
|
| 1891 |
</tr>
|
| 1892 |
<tr>
|
| 1893 |
-
<td class="spider_label"><label for="image_browser_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 1894 |
<td>
|
| 1895 |
<select name="image_browser_gal_title_align" id="image_browser_gal_title_align">
|
| 1896 |
<?php
|
| 1897 |
foreach ($aligns as $key => $align) {
|
| 1898 |
?>
|
| 1899 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 1900 |
<?php
|
| 1901 |
}
|
| 1902 |
?>
|
|
@@ -1918,42 +1918,42 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1918 |
<table style="clear:both;">
|
| 1919 |
<tbody>
|
| 1920 |
<tr>
|
| 1921 |
-
<td class="spider_label"><label for="album_compact_thumb_margin"><?php _e('Distance between pictures:',
|
| 1922 |
<td>
|
| 1923 |
<input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin" value="<?php echo $row->album_compact_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1924 |
</td>
|
| 1925 |
</tr>
|
| 1926 |
<tr>
|
| 1927 |
-
<td class="spider_label"><label><?php _e('Distance from container frame:',
|
| 1928 |
<td>
|
| 1929 |
<input type="radio" name="compact_container_margin" id="compact_container_margin1" value="1"<?php if ($row->compact_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 1930 |
-
<label for="compact_container_margin1"><?php _e('Yes',
|
| 1931 |
<input type="radio" name="compact_container_margin" id="compact_container_margin0" value="0"<?php if ($row->compact_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 1932 |
-
<label for="compact_container_margin0"><?php _e('No',
|
| 1933 |
-
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.',
|
| 1934 |
</td>
|
| 1935 |
</tr>
|
| 1936 |
<tr>
|
| 1937 |
-
<td class="spider_label"><label for="album_compact_thumb_padding"><?php echo __('Padding:',
|
| 1938 |
<td>
|
| 1939 |
<input type="text" name="album_compact_thumb_padding" id="album_compact_thumb_padding" value="<?php echo $row->album_compact_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1940 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1941 |
</td>
|
| 1942 |
</tr>
|
| 1943 |
<tr>
|
| 1944 |
-
<td class="spider_label"><label for="album_compact_thumb_border_width"><?php echo __('Border width:',
|
| 1945 |
<td>
|
| 1946 |
<input type="text" name="album_compact_thumb_border_width" id="album_compact_thumb_border_width" value="<?php echo $row->album_compact_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1947 |
</td>
|
| 1948 |
</tr>
|
| 1949 |
<tr>
|
| 1950 |
-
<td class="spider_label"><label for="album_compact_thumb_border_style"><?php echo __('Border style:',
|
| 1951 |
<td>
|
| 1952 |
<select name="album_compact_thumb_border_style" id="album_compact_thumb_border_style">
|
| 1953 |
<?php
|
| 1954 |
foreach ($border_styles as $key => $border_style) {
|
| 1955 |
?>
|
| 1956 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 1957 |
<?php
|
| 1958 |
}
|
| 1959 |
?>
|
|
@@ -1961,33 +1961,33 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1961 |
</td>
|
| 1962 |
</tr>
|
| 1963 |
<tr>
|
| 1964 |
-
<td class="spider_label"><label for="album_compact_thumb_border_color"><?php echo __('Border color:',
|
| 1965 |
<td>
|
| 1966 |
<input type="text" name="album_compact_thumb_border_color" id="album_compact_thumb_border_color" value="<?php echo $row->album_compact_thumb_border_color; ?>" class="jscolor" />
|
| 1967 |
</td>
|
| 1968 |
</tr>
|
| 1969 |
<tr>
|
| 1970 |
-
<td class="spider_label"><label for="album_compact_thumb_border_radius"><?php echo __('Border radius:',
|
| 1971 |
<td>
|
| 1972 |
<input type="text" name="album_compact_thumb_border_radius" id="album_compact_thumb_border_radius" value="<?php echo $row->album_compact_thumb_border_radius; ?>" class="spider_char_input" />
|
| 1973 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1974 |
</td>
|
| 1975 |
</tr>
|
| 1976 |
<tr>
|
| 1977 |
-
<td class="spider_label"><label for="album_compact_thumb_box_shadow"><?php echo __('Shadow:',
|
| 1978 |
<td>
|
| 1979 |
<input type="text" name="album_compact_thumb_box_shadow" id="album_compact_thumb_box_shadow" value="<?php echo $row->album_compact_thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1980 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 1981 |
</td>
|
| 1982 |
</tr>
|
| 1983 |
<tr>
|
| 1984 |
-
<td class="spider_label"><label for="album_compact_thumb_hover_effect"><?php echo __('Hover effect:',
|
| 1985 |
<td>
|
| 1986 |
<select name="album_compact_thumb_hover_effect" id="album_compact_thumb_hover_effect">
|
| 1987 |
<?php
|
| 1988 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 1989 |
?>
|
| 1990 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect,
|
| 1991 |
<?php
|
| 1992 |
}
|
| 1993 |
?>
|
|
@@ -1995,19 +1995,19 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 1995 |
</td>
|
| 1996 |
</tr>
|
| 1997 |
<tr>
|
| 1998 |
-
<td class="spider_label"><label for="album_compact_thumb_hover_effect_value"><?php echo __('Hover effect value:',
|
| 1999 |
<td>
|
| 2000 |
<input type="text" name="album_compact_thumb_hover_effect_value" id="album_compact_thumb_hover_effect_value" value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 2001 |
-
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.',
|
| 2002 |
</td>
|
| 2003 |
</tr>
|
| 2004 |
<tr>
|
| 2005 |
-
<td class="spider_label"><label><?php echo __('Thumbnail transition:',
|
| 2006 |
<td id="album_compact_thumb_transition">
|
| 2007 |
<input type="radio" name="album_compact_thumb_transition" id="album_compact_thumb_transition1" value="1"<?php if ($row->album_compact_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 2008 |
-
<label for="album_compact_thumb_transition1" id="album_compact_thumb_transition1_lbl"><?php echo __('Yes',
|
| 2009 |
<input type="radio" name="album_compact_thumb_transition" id="album_compact_thumb_transition0" value="0"<?php if ($row->album_compact_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 2010 |
-
<label for="album_compact_thumb_transition0" id="album_compact_thumb_transition0_lbl"><?php echo __('No',
|
| 2011 |
</td>
|
| 2012 |
</tr>
|
| 2013 |
</tbody>
|
|
@@ -2021,46 +2021,46 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2021 |
<table style="clear:both;">
|
| 2022 |
<tbody>
|
| 2023 |
<tr>
|
| 2024 |
-
<td class="spider_label"><label for="album_compact_thumb_bg_color"><?php echo __('Thumbnail background color:',
|
| 2025 |
<td>
|
| 2026 |
<input type="text" name="album_compact_thumb_bg_color" id="album_compact_thumb_bg_color" value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="jscolor" />
|
| 2027 |
</td>
|
| 2028 |
</tr>
|
| 2029 |
<tr>
|
| 2030 |
-
<td class="spider_label"><label for="album_compact_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:',
|
| 2031 |
<td>
|
| 2032 |
<input type="text" name="album_compact_thumb_bg_transparency" id="album_compact_thumb_bg_transparency" value="<?php echo $row->album_compact_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2033 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2034 |
</td>
|
| 2035 |
</tr>
|
| 2036 |
<tr>
|
| 2037 |
-
<td class="spider_label"><label for="album_compact_thumb_transparent"><?php echo __('Thumbnail transparency:',
|
| 2038 |
<td>
|
| 2039 |
<input type="text" name="album_compact_thumb_transparent" id="album_compact_thumb_transparent" value="<?php echo $row->album_compact_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2040 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2041 |
</td>
|
| 2042 |
</tr>
|
| 2043 |
<tr>
|
| 2044 |
-
<td class="spider_label"><label for="album_compact_thumbs_bg_color"><?php echo __('Full background color:',
|
| 2045 |
<td>
|
| 2046 |
<input type="text" name="album_compact_thumbs_bg_color" id="album_compact_thumbs_bg_color" value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="jscolor" />
|
| 2047 |
</td>
|
| 2048 |
</tr>
|
| 2049 |
<tr>
|
| 2050 |
-
<td class="spider_label"><label for="album_compact_thumb_bg_transparent"><?php echo __('Full background transparency:',
|
| 2051 |
<td>
|
| 2052 |
<input type="text" name="album_compact_thumb_bg_transparent" id="album_compact_thumb_bg_transparent" value="<?php echo $row->album_compact_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2053 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2054 |
</td>
|
| 2055 |
</tr>
|
| 2056 |
<tr>
|
| 2057 |
-
<td class="spider_label"><label for="album_compact_thumb_align0"><?php echo __('Alignment:',
|
| 2058 |
<td>
|
| 2059 |
<select name="album_compact_thumb_align" id="album_compact_thumb_align">
|
| 2060 |
<?php
|
| 2061 |
foreach ($aligns as $key => $align) {
|
| 2062 |
?>
|
| 2063 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 2064 |
<?php
|
| 2065 |
}
|
| 2066 |
?>
|
|
@@ -2078,44 +2078,44 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2078 |
<table style="clear:both;">
|
| 2079 |
<tbody>
|
| 2080 |
<tr>
|
| 2081 |
-
<td class="spider_label"><label><?php echo __('Title position:',
|
| 2082 |
<td>
|
| 2083 |
<input type="radio" name="album_compact_thumb_title_pos" id="album_compact_thumb_title_pos1" value="top" <?php if ($row->album_compact_thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
| 2084 |
-
<label for="album_compact_thumb_title_pos1" id="album_compact_thumb_title_pos1_lbl"><?php echo __('Top',
|
| 2085 |
<input type="radio" name="album_compact_thumb_title_pos" id="album_compact_thumb_title_pos0" value="bottom" <?php if ($row->album_compact_thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
| 2086 |
-
<label for="album_compact_thumb_title_pos0" id="album_compact_thumb_title_pos0_lbl"><?php echo __('Bottom',
|
| 2087 |
</td>
|
| 2088 |
</tr>
|
| 2089 |
<tr>
|
| 2090 |
-
<td class="spider_label"><label for="album_compact_title_font_size"><?php echo __('Title font size:',
|
| 2091 |
<td>
|
| 2092 |
<input type="text" name="album_compact_title_font_size" id="album_compact_title_font_size" value="<?php echo $row->album_compact_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2093 |
</td>
|
| 2094 |
</tr>
|
| 2095 |
<tr>
|
| 2096 |
-
<td class="spider_label"><label for="album_compact_title_font_color"><?php echo __('Title font color:',
|
| 2097 |
<td>
|
| 2098 |
<input type="text" name="album_compact_title_font_color" id="album_compact_title_font_color" value="<?php echo $row->album_compact_title_font_color; ?>" class="jscolor" />
|
| 2099 |
</td>
|
| 2100 |
</tr>
|
| 2101 |
<tr>
|
| 2102 |
-
<td class="spider_label"><label for="album_compact_title_font_color_hover"><?php echo __('Title font color (Show on hover):',
|
| 2103 |
<td>
|
| 2104 |
<input type="text" name="album_compact_title_font_color_hover" id="album_compact_title_font_color_hover" value="<?php echo $row->album_compact_title_font_color_hover; ?>" class="jscolor" />
|
| 2105 |
</td>
|
| 2106 |
</tr>
|
| 2107 |
<tr>
|
| 2108 |
<!--generate font style with google fonts -->
|
| 2109 |
-
<?php $this->font_style_row( $row->album_compact_title_font_style, 'album_compact_title_font_style', __('Title font family:',
|
| 2110 |
</tr>
|
| 2111 |
<tr>
|
| 2112 |
-
<td class="spider_label"><label for="album_compact_title_font_weight"><?php echo __('Title font weight:',
|
| 2113 |
<td>
|
| 2114 |
<select name="album_compact_title_font_weight" id="album_compact_title_font_weight">
|
| 2115 |
<?php
|
| 2116 |
foreach ($font_weights as $key => $font_weight) {
|
| 2117 |
?>
|
| 2118 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2119 |
<?php
|
| 2120 |
}
|
| 2121 |
?>
|
|
@@ -2123,43 +2123,43 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2123 |
</td>
|
| 2124 |
</tr>
|
| 2125 |
<tr>
|
| 2126 |
-
<td class="spider_label"><label for="album_compact_title_shadow"><?php echo __('Title box shadow:',
|
| 2127 |
<td>
|
| 2128 |
<input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow" value="<?php echo $row->album_compact_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2129 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2130 |
</td>
|
| 2131 |
</tr>
|
| 2132 |
<tr>
|
| 2133 |
-
<td class="spider_label"><label for="album_compact_title_margin"><?php echo __('Title margin:',
|
| 2134 |
<td>
|
| 2135 |
<input type="text" name="album_compact_title_margin" id="album_compact_title_margin" value="<?php echo $row->album_compact_title_margin; ?>" class="spider_char_input" />
|
| 2136 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2137 |
</td>
|
| 2138 |
</tr>
|
| 2139 |
<tr>
|
| 2140 |
-
<td class="spider_label"><label for="album_compact_back_font_size"><?php echo __('Back Font size:',
|
| 2141 |
<td>
|
| 2142 |
<input type="text" name="album_compact_back_font_size" id="album_compact_back_font_size" value="<?php echo $row->album_compact_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2143 |
</td>
|
| 2144 |
</tr>
|
| 2145 |
<tr>
|
| 2146 |
-
<td class="spider_label"><label for="album_compact_back_font_color"><?php echo __('Back Font color:',
|
| 2147 |
<td>
|
| 2148 |
<input type="text" name="album_compact_back_font_color" id="album_compact_back_font_color" value="<?php echo $row->album_compact_back_font_color; ?>" class="jscolor" />
|
| 2149 |
</td>
|
| 2150 |
</tr>
|
| 2151 |
<tr>
|
| 2152 |
<!--generate font style with google fonts -->
|
| 2153 |
-
<?php $this->font_style_row( $row->album_compact_back_font_style, 'album_compact_back_font_style', __('Back Font family:',
|
| 2154 |
</tr>
|
| 2155 |
<tr>
|
| 2156 |
-
<td class="spider_label"><label for="album_compact_back_font_weight"><?php echo __('Back Font weight:',
|
| 2157 |
<td>
|
| 2158 |
<select name="album_compact_back_font_weight" id="album_compact_back_font_weight">
|
| 2159 |
<?php
|
| 2160 |
foreach ($font_weights as $key => $font_weight) {
|
| 2161 |
?>
|
| 2162 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2163 |
<?php
|
| 2164 |
}
|
| 2165 |
?>
|
|
@@ -2167,36 +2167,36 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2167 |
</td>
|
| 2168 |
</tr>
|
| 2169 |
<tr>
|
| 2170 |
-
<td class="spider_label"><label for="album_compact_back_padding"><?php echo __('Back padding:',
|
| 2171 |
<td>
|
| 2172 |
<input type="text" name="album_compact_back_padding" id="album_compact_back_padding" value="<?php echo $row->album_compact_back_padding; ?>" class="spider_char_input" />
|
| 2173 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2174 |
</td>
|
| 2175 |
</tr>
|
| 2176 |
<tr>
|
| 2177 |
-
<td class="spider_label"><label for="album_compact_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 2178 |
<td>
|
| 2179 |
<input type="text" name="album_compact_gal_title_font_size" id="album_compact_gal_title_font_size" value="<?php echo $row->album_compact_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2180 |
</td>
|
| 2181 |
</tr>
|
| 2182 |
<tr>
|
| 2183 |
-
<td class="spider_label"><label for="album_compact_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 2184 |
<td>
|
| 2185 |
<input type="text" name="album_compact_gal_title_font_color" id="album_compact_gal_title_font_color" value="<?php echo $row->album_compact_gal_title_font_color; ?>" class="jscolor" />
|
| 2186 |
</td>
|
| 2187 |
</tr>
|
| 2188 |
<tr>
|
| 2189 |
<!--generate font style with google fonts -->
|
| 2190 |
-
<?php $this->font_style_row( $row->album_compact_gal_title_font_style, 'album_compact_gal_title_font_style', __('Gallery title/description font family:',
|
| 2191 |
</tr>
|
| 2192 |
<tr>
|
| 2193 |
-
<td class="spider_label"><label for="album_compact_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 2194 |
<td>
|
| 2195 |
<select name="album_compact_gal_title_font_weight" id="album_compact_gal_title_font_weight">
|
| 2196 |
<?php
|
| 2197 |
foreach ($font_weights as $key => $font_weight) {
|
| 2198 |
?>
|
| 2199 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2200 |
<?php
|
| 2201 |
}
|
| 2202 |
?>
|
|
@@ -2204,27 +2204,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2204 |
</td>
|
| 2205 |
</tr>
|
| 2206 |
<tr>
|
| 2207 |
-
<td class="spider_label"><label for="album_compact_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 2208 |
<td>
|
| 2209 |
<input type="text" name="album_compact_gal_title_shadow" id="album_compact_gal_title_shadow" value="<?php echo $row->album_compact_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2210 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2211 |
</td>
|
| 2212 |
</tr>
|
| 2213 |
<tr>
|
| 2214 |
-
<td class="spider_label"><label for="album_compact_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 2215 |
<td>
|
| 2216 |
<input type="text" name="album_compact_gal_title_margin" id="album_compact_gal_title_margin" value="<?php echo $row->album_compact_gal_title_margin; ?>" class="spider_char_input" />
|
| 2217 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2218 |
</td>
|
| 2219 |
</tr>
|
| 2220 |
<tr>
|
| 2221 |
-
<td class="spider_label"><label for="album_compact_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 2222 |
<td>
|
| 2223 |
<select name="album_compact_gal_title_align" id="album_compact_gal_title_align">
|
| 2224 |
<?php
|
| 2225 |
foreach ($aligns as $key => $align) {
|
| 2226 |
?>
|
| 2227 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 2228 |
<?php
|
| 2229 |
}
|
| 2230 |
?>
|
|
@@ -2246,31 +2246,31 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2246 |
<table style="clear:both;">
|
| 2247 |
<tbody>
|
| 2248 |
<tr>
|
| 2249 |
-
<td class="spider_label"><label for="album_extended_thumb_margin"><?php echo __('Thumbnail margin:',
|
| 2250 |
<td>
|
| 2251 |
<input type="text" name="album_extended_thumb_margin" id="album_extended_thumb_margin" value="<?php echo $row->album_extended_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2252 |
</td>
|
| 2253 |
</tr>
|
| 2254 |
<tr>
|
| 2255 |
-
<td class="spider_label"><label for="album_extended_thumb_padding"><?php echo __('Thumbnail padding:',
|
| 2256 |
<td>
|
| 2257 |
<input type="text" name="album_extended_thumb_padding" id="album_extended_thumb_padding" value="<?php echo $row->album_extended_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2258 |
</td>
|
| 2259 |
</tr>
|
| 2260 |
<tr>
|
| 2261 |
-
<td class="spider_label"><label for="album_extended_thumb_border_width"><?php echo __('Thumbnail border width:',
|
| 2262 |
<td>
|
| 2263 |
<input type="text" name="album_extended_thumb_border_width" id="album_extended_thumb_border_width" value="<?php echo $row->album_extended_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2264 |
</td>
|
| 2265 |
</tr>
|
| 2266 |
<tr>
|
| 2267 |
-
<td class="spider_label"><label for="album_extended_thumb_border_style"><?php echo __('Thumbnail border style:',
|
| 2268 |
<td>
|
| 2269 |
<select name="album_extended_thumb_border_style" id="album_extended_thumb_border_style">
|
| 2270 |
<?php
|
| 2271 |
foreach ($border_styles as $key => $border_style) {
|
| 2272 |
?>
|
| 2273 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2274 |
<?php
|
| 2275 |
}
|
| 2276 |
?>
|
|
@@ -2278,42 +2278,42 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2278 |
</td>
|
| 2279 |
</tr>
|
| 2280 |
<tr>
|
| 2281 |
-
<td class="spider_label"><label for="album_extended_thumb_border_color"><?php echo __('Thumbnail border color:',
|
| 2282 |
<td>
|
| 2283 |
<input type="text" name="album_extended_thumb_border_color" id="album_extended_thumb_border_color" value="<?php echo $row->album_extended_thumb_border_color; ?>" class="jscolor"/>
|
| 2284 |
</td>
|
| 2285 |
</tr>
|
| 2286 |
<tr>
|
| 2287 |
-
<td class="spider_label"><label for="album_extended_thumb_border_radius"><?php echo __('Thumbnail border radius:',
|
| 2288 |
<td>
|
| 2289 |
<input type="text" name="album_extended_thumb_border_radius" id="album_extended_thumb_border_radius" value="<?php echo $row->album_extended_thumb_border_radius; ?>" class="spider_char_input"/>
|
| 2290 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2291 |
</td>
|
| 2292 |
</tr>
|
| 2293 |
<tr>
|
| 2294 |
-
<td class="spider_label"><label for="album_extended_thumb_box_shadow"><?php echo __('Thumbnail box shadow:',
|
| 2295 |
<td>
|
| 2296 |
<input type="text" name="album_extended_thumb_box_shadow" id="album_extended_thumb_box_shadow" value="<?php echo $row->album_extended_thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2297 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2298 |
</td>
|
| 2299 |
</tr>
|
| 2300 |
<tr>
|
| 2301 |
-
<td class="spider_label"><label><?php echo __('Thumbnail transition:',
|
| 2302 |
<td id="album_extended_thumb_transition">
|
| 2303 |
<input type="radio" name="album_extended_thumb_transition" id="album_extended_thumb_transition1" value="1"<?php if ($row->album_extended_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 2304 |
-
<label for="album_extended_thumb_transition1" id="album_extended_thumb_transition1_lbl"><?php echo __('Yes',
|
| 2305 |
<input type="radio" name="album_extended_thumb_transition" id="album_extended_thumb_transition0" value="0"<?php if ($row->album_extended_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 2306 |
-
<label for="album_extended_thumb_transition0" id="album_extended_thumb_transition0_lbl"><?php echo __('No',
|
| 2307 |
</td>
|
| 2308 |
</tr>
|
| 2309 |
<tr>
|
| 2310 |
-
<td class="spider_label"><label for="album_extended_thumb_align0"><?php echo __('Description alignment:',
|
| 2311 |
<td>
|
| 2312 |
<select name="album_extended_thumb_align" id="album_extended_thumb_align">
|
| 2313 |
<?php
|
| 2314 |
foreach ($aligns as $key => $align) {
|
| 2315 |
?>
|
| 2316 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 2317 |
<?php
|
| 2318 |
}
|
| 2319 |
?>
|
|
@@ -2321,20 +2321,20 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2321 |
</td>
|
| 2322 |
</tr>
|
| 2323 |
<tr>
|
| 2324 |
-
<td class="spider_label"><label for="album_extended_thumb_transparent"><?php echo __('Thumbnail transparency:',
|
| 2325 |
<td>
|
| 2326 |
<input type="text" name="album_extended_thumb_transparent" id="album_extended_thumb_transparent" value="<?php echo $row->album_extended_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2327 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2328 |
</td>
|
| 2329 |
</tr>
|
| 2330 |
<tr>
|
| 2331 |
-
<td class="spider_label"><label for="album_extended_thumb_hover_effect"><?php echo __('Thumbnail hover effect:',
|
| 2332 |
<td>
|
| 2333 |
<select name="album_extended_thumb_hover_effect" id="album_extended_thumb_hover_effect">
|
| 2334 |
<?php
|
| 2335 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 2336 |
?>
|
| 2337 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect,
|
| 2338 |
<?php
|
| 2339 |
}
|
| 2340 |
?>
|
|
@@ -2342,29 +2342,29 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2342 |
</td>
|
| 2343 |
</tr>
|
| 2344 |
<tr>
|
| 2345 |
-
<td class="spider_label"><label for="album_extended_thumb_hover_effect_value"><?php echo __('Hover effect value:',
|
| 2346 |
<td>
|
| 2347 |
<input type="text" name="album_extended_thumb_hover_effect_value" id="album_extended_thumb_hover_effect_value" value="<?php echo $row->album_extended_thumb_hover_effect_value; ?>" class="spider_char_input"/>
|
| 2348 |
-
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.',
|
| 2349 |
</td>
|
| 2350 |
</tr>
|
| 2351 |
<tr>
|
| 2352 |
-
<td class="spider_label"><label for="album_extended_thumb_bg_color"><?php echo __('Thumbnail background color:',
|
| 2353 |
<td>
|
| 2354 |
<input type="text" name="album_extended_thumb_bg_color" id="album_extended_thumb_bg_color" value="<?php echo $row->album_extended_thumb_bg_color; ?>" class="jscolor"/>
|
| 2355 |
</td>
|
| 2356 |
</tr>
|
| 2357 |
<tr>
|
| 2358 |
-
<td class="spider_label"><label for="album_extended_thumbs_bg_color"><?php echo __('Thumbnails background color:',
|
| 2359 |
<td>
|
| 2360 |
<input type="text" name="album_extended_thumbs_bg_color" id="album_extended_thumbs_bg_color" value="<?php echo $row->album_extended_thumbs_bg_color; ?>" class="jscolor"/>
|
| 2361 |
</td>
|
| 2362 |
</tr>
|
| 2363 |
<tr>
|
| 2364 |
-
<td class="spider_label"><label for="album_extended_thumb_bg_transparent"><?php echo __('Thumbnail background transparency:',
|
| 2365 |
<td>
|
| 2366 |
<input type="text" name="album_extended_thumb_bg_transparent" id="album_extended_thumb_bg_transparent" value="<?php echo $row->album_extended_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2367 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2368 |
</td>
|
| 2369 |
</tr>
|
| 2370 |
</tbody>
|
|
@@ -2379,33 +2379,33 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2379 |
<table style="clear:both;">
|
| 2380 |
<tbody>
|
| 2381 |
<tr>
|
| 2382 |
-
<td class="spider_label"><label for="album_extended_thumb_div_padding"><?php echo __('Thumbnail div padding:',
|
| 2383 |
<td>
|
| 2384 |
<input type="text" name="album_extended_thumb_div_padding" id="album_extended_thumb_div_padding" value="<?php echo $row->album_extended_thumb_div_padding; ?>" class="spider_char_input"/>
|
| 2385 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2386 |
</td>
|
| 2387 |
</tr>
|
| 2388 |
<tr>
|
| 2389 |
-
<td class="spider_label"><label for="album_extended_thumb_div_bg_color"><?php echo __('Thumbnail div background color:',
|
| 2390 |
<td>
|
| 2391 |
<input type="text" name="album_extended_thumb_div_bg_color" id="album_extended_thumb_div_bg_color" value="<?php echo $row->album_extended_thumb_div_bg_color; ?>" class="jscolor"/>
|
| 2392 |
</td>
|
| 2393 |
</tr>
|
| 2394 |
<tr>
|
| 2395 |
-
<td class="spider_label"><label for="album_extended_thumb_div_border_width"><?php echo __('Thumbnail div border width:',
|
| 2396 |
</td>
|
| 2397 |
<td>
|
| 2398 |
<input type="text" name="album_extended_thumb_div_border_width" id="album_extended_thumb_div_border_width" value="<?php echo $row->album_extended_thumb_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2399 |
</td>
|
| 2400 |
</tr>
|
| 2401 |
<tr>
|
| 2402 |
-
<td class="spider_label"><label for="album_extended_thumb_div_border_style">T<?php echo __('humbnail div border style:',
|
| 2403 |
<td>
|
| 2404 |
<select name="album_extended_thumb_div_border_style" id="album_extended_thumb_div_border_style">
|
| 2405 |
<?php
|
| 2406 |
foreach ($border_styles as $key => $border_style) {
|
| 2407 |
?>
|
| 2408 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2409 |
<?php
|
| 2410 |
}
|
| 2411 |
?>
|
|
@@ -2413,65 +2413,65 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2413 |
</td>
|
| 2414 |
</tr>
|
| 2415 |
<tr>
|
| 2416 |
-
<td class="spider_label"><label for="album_extended_thumb_div_border_color"><?php echo __('Thumbnail div border color:',
|
| 2417 |
<td>
|
| 2418 |
<input type="text" name="album_extended_thumb_div_border_color" id="album_extended_thumb_div_border_color" value="<?php echo $row->album_extended_thumb_div_border_color; ?>" class="jscolor"/>
|
| 2419 |
</td>
|
| 2420 |
</tr>
|
| 2421 |
<tr>
|
| 2422 |
-
<td class="spider_label"><label for="album_extended_thumb_div_border_radius"><?php echo __('Thumbnail div border radius:',
|
| 2423 |
<td>
|
| 2424 |
<input type="text" name="album_extended_thumb_div_border_radius" id="album_extended_thumb_div_border_radius" value="<?php echo $row->album_extended_thumb_div_border_radius; ?>" class="spider_char_input"/>
|
| 2425 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2426 |
</td>
|
| 2427 |
</tr>
|
| 2428 |
<tr>
|
| 2429 |
-
<td class="spider_label"><label for="album_extended_div_margin"><?php echo __('Margin:',
|
| 2430 |
<td>
|
| 2431 |
<input type="text" name="album_extended_div_margin" id="album_extended_div_margin" value="<?php echo $row->album_extended_div_margin; ?>" class="spider_char_input"/>
|
| 2432 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2433 |
</td>
|
| 2434 |
</tr>
|
| 2435 |
<tr>
|
| 2436 |
-
<td class="spider_label"><label for="album_extended_div_padding"><?php echo __('Padding:',
|
| 2437 |
<td>
|
| 2438 |
<input type="text" name="album_extended_div_padding" id="album_extended_div_padding" value="<?php echo $row->album_extended_div_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2439 |
</td>
|
| 2440 |
</tr>
|
| 2441 |
<tr>
|
| 2442 |
-
<td class="spider_label"><label for="album_extended_div_bg_color"><?php echo __('Background color:',
|
| 2443 |
<td>
|
| 2444 |
<input type="text" name="album_extended_div_bg_color" id="album_extended_div_bg_color" value="<?php echo $row->album_extended_div_bg_color; ?>" class="jscolor"/>
|
| 2445 |
</td>
|
| 2446 |
</tr>
|
| 2447 |
<tr>
|
| 2448 |
-
<td class="spider_label"><label for="album_extended_div_bg_transparent"><?php echo __('Background transparency:',
|
| 2449 |
<td>
|
| 2450 |
<input type="text" name="album_extended_div_bg_transparent" id="album_extended_div_bg_transparent" value="<?php echo $row->album_extended_div_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2451 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2452 |
</td>
|
| 2453 |
</tr>
|
| 2454 |
<tr>
|
| 2455 |
-
<td class="spider_label"><label for="album_extended_div_border_radius"><?php echo __('Border radius:',
|
| 2456 |
<td>
|
| 2457 |
<input type="text" name="album_extended_div_border_radius" id="album_extended_div_border_radius" value="<?php echo $row->album_extended_div_border_radius; ?>" class="spider_char_input"/>
|
| 2458 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2459 |
</td>
|
| 2460 |
</tr>
|
| 2461 |
<tr>
|
| 2462 |
-
<td class="spider_label"><label for="album_extended_div_separator_width"><?php echo __('Separator width:',
|
| 2463 |
<td>
|
| 2464 |
<input type="text" name="album_extended_div_separator_width" id="album_extended_div_separator_width" value="<?php echo $row->album_extended_div_separator_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2465 |
</td>
|
| 2466 |
</tr>
|
| 2467 |
<tr>
|
| 2468 |
-
<td class="spider_label"><label for="album_extended_div_separator_style"><?php echo __('Separator style:',
|
| 2469 |
<td>
|
| 2470 |
<select name="album_extended_div_separator_style" id="album_extended_div_separator_style">
|
| 2471 |
<?php
|
| 2472 |
foreach ($border_styles as $key => $border_style) {
|
| 2473 |
?>
|
| 2474 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_div_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2475 |
<?php
|
| 2476 |
}
|
| 2477 |
?>
|
|
@@ -2479,42 +2479,42 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2479 |
</td>
|
| 2480 |
</tr>
|
| 2481 |
<tr>
|
| 2482 |
-
<td class="spider_label"><label for="album_extended_div_separator_color"><?php echo __('Separator color:',
|
| 2483 |
<td>
|
| 2484 |
<input type="text" name="album_extended_div_separator_color" id="album_extended_div_separator_color" value="<?php echo $row->album_extended_div_separator_color; ?>" class="jscolor"/>
|
| 2485 |
</td>
|
| 2486 |
</tr>
|
| 2487 |
<tr>
|
| 2488 |
-
<td class="spider_label"><label for="album_extended_back_padding"><?php echo __('Back padding:',
|
| 2489 |
<td>
|
| 2490 |
<input type="text" name="album_extended_back_padding" id="album_extended_back_padding" value="<?php echo $row->album_extended_back_padding; ?>" class="spider_char_input" />
|
| 2491 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2492 |
</td>
|
| 2493 |
</tr>
|
| 2494 |
<tr>
|
| 2495 |
-
<td class="spider_label"><label for="album_extended_back_font_size"><?php echo __('Back font size:',
|
| 2496 |
<td>
|
| 2497 |
<input type="text" name="album_extended_back_font_size" id="album_extended_back_font_size" value="<?php echo $row->album_extended_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2498 |
</td>
|
| 2499 |
</tr>
|
| 2500 |
<tr>
|
| 2501 |
-
<td class="spider_label"><label for="album_extended_back_font_color"><?php echo __('Back font color:',
|
| 2502 |
<td>
|
| 2503 |
<input type="text" name="album_extended_back_font_color" id="album_extended_back_font_color" value="<?php echo $row->album_extended_back_font_color; ?>" class="jscolor"/>
|
| 2504 |
</td>
|
| 2505 |
</tr>
|
| 2506 |
<tr>
|
| 2507 |
<!--generate font style with google fonts -->
|
| 2508 |
-
<?php $this->font_style_row( $row->album_extended_back_font_style, 'album_extended_back_font_style', __('Back font family:',
|
| 2509 |
</tr>
|
| 2510 |
<tr>
|
| 2511 |
-
<td class="spider_label"><label for="album_extended_back_font_weight"><?php echo __('Back font weight:',
|
| 2512 |
<td>
|
| 2513 |
<select name="album_extended_back_font_weight" id="album_extended_back_font_weight">
|
| 2514 |
<?php
|
| 2515 |
foreach ($font_weights as $key => $font_weight) {
|
| 2516 |
?>
|
| 2517 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2518 |
<?php
|
| 2519 |
}
|
| 2520 |
?>
|
|
@@ -2532,13 +2532,13 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2532 |
<table style="clear:both;">
|
| 2533 |
<tbody>
|
| 2534 |
<tr>
|
| 2535 |
-
<td class="spider_label"><label for="album_extended_title_desc_alignment"><?php _e('Title/description alignment:',
|
| 2536 |
<td>
|
| 2537 |
<select name="album_extended_title_desc_alignment" id="album_extended_title_desc_alignment">
|
| 2538 |
<?php
|
| 2539 |
foreach ( array('top', 'center', 'bottom') as $val ) {
|
| 2540 |
?>
|
| 2541 |
-
<option value="<?php echo $val; ?>" <?php echo (($row->album_extended_title_desc_alignment == $val) ? 'selected="selected"' : ''); ?>><?php echo ucfirst( __($val,
|
| 2542 |
<?php
|
| 2543 |
}
|
| 2544 |
?>
|
|
@@ -2546,26 +2546,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2546 |
</td>
|
| 2547 |
</tr>
|
| 2548 |
<tr>
|
| 2549 |
-
<td class="spider_label"><label for="album_extended_text_div_padding"><?php echo __('Text div padding:',
|
| 2550 |
<td>
|
| 2551 |
<input type="text" name="album_extended_text_div_padding" id="album_extended_text_div_padding" value="<?php echo $row->album_extended_text_div_padding; ?>" class="spider_char_input" />
|
| 2552 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2553 |
</td>
|
| 2554 |
</tr>
|
| 2555 |
<tr>
|
| 2556 |
-
<td class="spider_label"><label for="album_extended_text_div_border_width"><?php echo __('Text div border width:',
|
| 2557 |
<td>
|
| 2558 |
<input type="text" name="album_extended_text_div_border_width" id="album_extended_text_div_border_width" value="<?php echo $row->album_extended_text_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2559 |
</td>
|
| 2560 |
</tr>
|
| 2561 |
<tr>
|
| 2562 |
-
<td class="spider_label"><label for="album_extended_text_div_border_style"><?php echo __('Text border style:',
|
| 2563 |
<td>
|
| 2564 |
<select name="album_extended_text_div_border_style" id="album_extended_text_div_border_style">
|
| 2565 |
<?php
|
| 2566 |
foreach ($border_styles as $key => $border_style) {
|
| 2567 |
?>
|
| 2568 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_text_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2569 |
<?php
|
| 2570 |
}
|
| 2571 |
?>
|
|
@@ -2573,51 +2573,51 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2573 |
</td>
|
| 2574 |
</tr>
|
| 2575 |
<tr>
|
| 2576 |
-
<td class="spider_label"><label for="album_extended_text_div_border_color"><?php echo __('Text border color:',
|
| 2577 |
<td>
|
| 2578 |
<input type="text" name="album_extended_text_div_border_color" id="album_extended_text_div_border_color" value="<?php echo $row->album_extended_text_div_border_color; ?>" class="jscolor"/>
|
| 2579 |
</td>
|
| 2580 |
</tr>
|
| 2581 |
<tr>
|
| 2582 |
-
<td class="spider_label"><label for="album_extended_text_div_border_radius"><?php echo __('Text div border radius:',
|
| 2583 |
<td>
|
| 2584 |
<input type="text" name="album_extended_text_div_border_radius" id="album_extended_text_div_border_radius" value="<?php echo $row->album_extended_text_div_border_radius; ?>" class="spider_char_input"/>
|
| 2585 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2586 |
</td>
|
| 2587 |
</tr>
|
| 2588 |
<tr>
|
| 2589 |
-
<td class="spider_label"><label for="album_extended_text_div_bg_color"><?php echo __('Text background color:',
|
| 2590 |
<td>
|
| 2591 |
<input type="text" name="album_extended_text_div_bg_color" id="album_extended_text_div_bg_color" value="<?php echo $row->album_extended_text_div_bg_color; ?>" class="jscolor"/>
|
| 2592 |
</td>
|
| 2593 |
</tr>
|
| 2594 |
<tr>
|
| 2595 |
-
<td class="spider_label"><label for="album_extended_title_margin_bottom"><?php echo __('Title margin:',
|
| 2596 |
<td>
|
| 2597 |
<input type="text" name="album_extended_title_margin_bottom" id="album_extended_title_margin_bottom" value="<?php echo $row->album_extended_title_margin_bottom; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2598 |
</td>
|
| 2599 |
</tr>
|
| 2600 |
<tr>
|
| 2601 |
-
<td class="spider_label"><label for="album_extended_title_padding"><?php echo __('Title padding:',
|
| 2602 |
<td>
|
| 2603 |
<input type="text" name="album_extended_title_padding" id="album_extended_title_padding" value="<?php echo $row->album_extended_title_padding; ?>" class="spider_char_input"/>
|
| 2604 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2605 |
</td>
|
| 2606 |
</tr>
|
| 2607 |
<tr>
|
| 2608 |
-
<td class="spider_label"><label for="album_extended_title_span_border_width"><?php echo __('Title border width:',
|
| 2609 |
<td>
|
| 2610 |
<input type="text" name="album_extended_title_span_border_width" id="album_extended_title_span_border_width" value="<?php echo $row->album_extended_title_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2611 |
</td>
|
| 2612 |
</tr>
|
| 2613 |
<tr>
|
| 2614 |
-
<td class="spider_label"><label for="album_extended_title_span_border_style"><?php echo __('Title border style:',
|
| 2615 |
<td>
|
| 2616 |
<select name="album_extended_title_span_border_style" id="album_extended_title_span_border_style">
|
| 2617 |
<?php
|
| 2618 |
foreach ($border_styles as $key => $border_style) {
|
| 2619 |
?>
|
| 2620 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2621 |
<?php
|
| 2622 |
}
|
| 2623 |
?>
|
|
@@ -2625,35 +2625,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2625 |
</td>
|
| 2626 |
</tr>
|
| 2627 |
<tr>
|
| 2628 |
-
<td class="spider_label"><label for="album_extended_title_span_border_color"><?php echo __('Title border color:',
|
| 2629 |
<td>
|
| 2630 |
<input type="text" name="album_extended_title_span_border_color" id="album_extended_title_span_border_color" value="<?php echo $row->album_extended_title_span_border_color; ?>" class="jscolor"/>
|
| 2631 |
</td>
|
| 2632 |
</tr>
|
| 2633 |
<tr>
|
| 2634 |
-
<td class="spider_label"><label for="album_extended_title_font_size"><?php echo __('Title font size:',
|
| 2635 |
<td>
|
| 2636 |
<input type="text" name="album_extended_title_font_size" id="album_extended_title_font_size" value="<?php echo $row->album_extended_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2637 |
</td>
|
| 2638 |
</tr>
|
| 2639 |
<tr>
|
| 2640 |
-
<td class="spider_label"><label for="album_extended_title_font_color"><?php echo __('Title font color:',
|
| 2641 |
<td>
|
| 2642 |
<input type="text" name="album_extended_title_font_color" id="album_extended_title_font_color" value="<?php echo $row->album_extended_title_font_color; ?>" class="jscolor"/>
|
| 2643 |
</td>
|
| 2644 |
</tr>
|
| 2645 |
<tr>
|
| 2646 |
<!--generate font style with google fonts -->
|
| 2647 |
-
<?php $this->font_style_row( $row->album_extended_title_font_style, 'album_extended_title_font_style', __('Title font family:',
|
| 2648 |
</tr>
|
| 2649 |
<tr>
|
| 2650 |
-
<td class="spider_label"><label for="album_extended_title_font_weight"><?php echo __('Title font weight:',
|
| 2651 |
<td>
|
| 2652 |
<select name="album_extended_title_font_weight" id="album_extended_title_font_weight">
|
| 2653 |
<?php
|
| 2654 |
foreach ($font_weights as $key => $font_weight) {
|
| 2655 |
?>
|
| 2656 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2657 |
<?php
|
| 2658 |
}
|
| 2659 |
?>
|
|
@@ -2661,26 +2661,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2661 |
</td>
|
| 2662 |
</tr>
|
| 2663 |
<tr>
|
| 2664 |
-
<td class="spider_label"><label for="album_extended_desc_padding"><?php echo __('Description padding:',
|
| 2665 |
<td>
|
| 2666 |
<input type="text" name="album_extended_desc_padding" id="album_extended_desc_padding" value="<?php echo $row->album_extended_desc_padding; ?>" class="spider_char_input"/>
|
| 2667 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2668 |
</td>
|
| 2669 |
</tr>
|
| 2670 |
<tr>
|
| 2671 |
-
<td class="spider_label"><label for="album_extended_desc_span_border_width"><?php echo __('Description border width:',
|
| 2672 |
<td>
|
| 2673 |
<input type="text" name="album_extended_desc_span_border_width" id="album_extended_desc_span_border_width" value="<?php echo $row->album_extended_desc_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2674 |
</td>
|
| 2675 |
</tr>
|
| 2676 |
<tr>
|
| 2677 |
-
<td class="spider_label"><label for="album_extended_desc_span_border_style"><?php echo __('Description border style:',
|
| 2678 |
<td>
|
| 2679 |
<select name="album_extended_desc_span_border_style" id="album_extended_desc_span_border_style">
|
| 2680 |
<?php
|
| 2681 |
foreach ($border_styles as $key => $border_style) {
|
| 2682 |
?>
|
| 2683 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2684 |
<?php
|
| 2685 |
}
|
| 2686 |
?>
|
|
@@ -2688,35 +2688,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2688 |
</td>
|
| 2689 |
</tr>
|
| 2690 |
<tr>
|
| 2691 |
-
<td class="spider_label"><label for="album_extended_desc_span_border_color"><?php echo __('Description border color:',
|
| 2692 |
<td>
|
| 2693 |
<input type="text" name="album_extended_desc_span_border_color" id="album_extended_desc_span_border_color" value="<?php echo $row->album_extended_desc_span_border_color; ?>" class="jscolor"/>
|
| 2694 |
</td>
|
| 2695 |
</tr>
|
| 2696 |
<tr>
|
| 2697 |
-
<td class="spider_label"><label for="album_extended_desc_font_size"><?php echo __('Description font size:',
|
| 2698 |
<td>
|
| 2699 |
<input type="text" name="album_extended_desc_font_size" id="album_extended_desc_font_size" value="<?php echo $row->album_extended_desc_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2700 |
</td>
|
| 2701 |
</tr>
|
| 2702 |
<tr>
|
| 2703 |
-
<td class="spider_label"><label for="album_extended_desc_font_color"><?php echo __('Description font color:',
|
| 2704 |
<td>
|
| 2705 |
<input type="text" name="album_extended_desc_font_color" id="album_extended_desc_font_color" value="<?php echo $row->album_extended_desc_font_color; ?>" class="jscolor"/>
|
| 2706 |
</td>
|
| 2707 |
</tr>
|
| 2708 |
<tr>
|
| 2709 |
<!--generate font style with google fonts -->
|
| 2710 |
-
<?php $this->font_style_row( $row->album_extended_desc_font_style, 'album_extended_desc_font_style', __('Description font family:',
|
| 2711 |
</tr>
|
| 2712 |
<tr>
|
| 2713 |
-
<td class="spider_label"><label for="album_extended_desc_font_weight"><?php echo __('Description font weight:',
|
| 2714 |
<td>
|
| 2715 |
<select name="album_extended_desc_font_weight" id="album_extended_desc_font_weight">
|
| 2716 |
<?php
|
| 2717 |
foreach ($font_weights as $key => $font_weight) {
|
| 2718 |
?>
|
| 2719 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2720 |
<?php
|
| 2721 |
}
|
| 2722 |
?>
|
|
@@ -2724,41 +2724,41 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2724 |
</td>
|
| 2725 |
</tr>
|
| 2726 |
<tr>
|
| 2727 |
-
<td class="spider_label"><label for="album_extended_desc_more_size"><?php echo __('Description more size:',
|
| 2728 |
<td>
|
| 2729 |
<input type="text" name="album_extended_desc_more_size" id="album_extended_desc_more_size" value="<?php echo $row->album_extended_desc_more_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2730 |
</td>
|
| 2731 |
</tr>
|
| 2732 |
<tr>
|
| 2733 |
-
<td class="spider_label"><label for="album_extended_desc_more_color"><?php echo __('Description more color:',
|
| 2734 |
<td>
|
| 2735 |
<input type="text" name="album_extended_desc_more_color" id="album_extended_desc_more_color" value="<?php echo $row->album_extended_desc_more_color; ?>" class="jscolor"/>
|
| 2736 |
</td>
|
| 2737 |
</tr>
|
| 2738 |
<tr>
|
| 2739 |
-
<td class="spider_label"><label for="album_extended_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 2740 |
<td>
|
| 2741 |
<input type="text" name="album_extended_gal_title_font_size" id="album_extended_gal_title_font_size" value="<?php echo $row->album_extended_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2742 |
</td>
|
| 2743 |
</tr>
|
| 2744 |
<tr>
|
| 2745 |
-
<td class="spider_label"><label for="album_extended_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 2746 |
<td>
|
| 2747 |
<input type="text" name="album_extended_gal_title_font_color" id="album_extended_gal_title_font_color" value="<?php echo $row->album_extended_gal_title_font_color; ?>" class="jscolor" />
|
| 2748 |
</td>
|
| 2749 |
</tr>
|
| 2750 |
<tr>
|
| 2751 |
<!--generate font style with google fonts -->
|
| 2752 |
-
<?php $this->font_style_row( $row->album_extended_gal_title_font_style, 'album_extended_gal_title_font_style', __('Gallery title/description font family:',
|
| 2753 |
</tr>
|
| 2754 |
<tr>
|
| 2755 |
-
<td class="spider_label"><label for="album_extended_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 2756 |
<td>
|
| 2757 |
<select name="album_extended_gal_title_font_weight" id="album_extended_gal_title_font_weight">
|
| 2758 |
<?php
|
| 2759 |
foreach ($font_weights as $key => $font_weight) {
|
| 2760 |
?>
|
| 2761 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2762 |
<?php
|
| 2763 |
}
|
| 2764 |
?>
|
|
@@ -2766,27 +2766,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2766 |
</td>
|
| 2767 |
</tr>
|
| 2768 |
<tr>
|
| 2769 |
-
<td class="spider_label"><label for="album_extended_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 2770 |
<td>
|
| 2771 |
<input type="text" name="album_extended_gal_title_shadow" id="album_extended_gal_title_shadow" value="<?php echo $row->album_extended_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2772 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2773 |
</td>
|
| 2774 |
</tr>
|
| 2775 |
<tr>
|
| 2776 |
-
<td class="spider_label"><label for="album_extended_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 2777 |
<td>
|
| 2778 |
<input type="text" name="album_extended_gal_title_margin" id="album_extended_gal_title_margin" value="<?php echo $row->album_extended_gal_title_margin; ?>" class="spider_char_input" />
|
| 2779 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2780 |
</td>
|
| 2781 |
</tr>
|
| 2782 |
<tr>
|
| 2783 |
-
<td class="spider_label"><label for="album_extended_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 2784 |
<td>
|
| 2785 |
<select name="album_extended_gal_title_align" id="album_extended_gal_title_align">
|
| 2786 |
<?php
|
| 2787 |
foreach ($aligns as $key => $align) {
|
| 2788 |
?>
|
| 2789 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 2790 |
<?php
|
| 2791 |
}
|
| 2792 |
?>
|
|
@@ -2809,35 +2809,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2809 |
<tbody>
|
| 2810 |
|
| 2811 |
<tr>
|
| 2812 |
-
<td class="spider_label"><label for="album_masonry_thumb_padding"><?php echo __('Distance between pictures:',
|
| 2813 |
<td>
|
| 2814 |
<input type="text" name="album_masonry_thumb_padding" id="album_masonry_thumb_padding" value="<?php echo $row->album_masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2815 |
</td>
|
| 2816 |
</tr>
|
| 2817 |
<tr>
|
| 2818 |
-
<td class="spider_label"><label><?php _e('Distance from container frame:',
|
| 2819 |
<td>
|
| 2820 |
<input type="radio" name="album_masonry_container_margin" id="album_masonry_container_margin1" value="1"<?php if ($row->album_masonry_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 2821 |
-
<label for="album_masonry_container_margin1"><?php _e('Yes',
|
| 2822 |
<input type="radio" name="album_masonry_container_margin" id="album_masonry_container_margin0" value="0"<?php if ($row->album_masonry_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 2823 |
-
<label for="album_masonry_container_margin0"><?php _e('No',
|
| 2824 |
-
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.',
|
| 2825 |
</td>
|
| 2826 |
</tr>
|
| 2827 |
<tr>
|
| 2828 |
-
<td class="spider_label"><label for="album_masonry_thumb_border_width"><?php echo __('Border width:',
|
| 2829 |
<td>
|
| 2830 |
<input type="text" name="album_masonry_thumb_border_width" id="album_masonry_thumb_border_width" value="<?php echo $row->album_masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2831 |
</td>
|
| 2832 |
</tr>
|
| 2833 |
<tr>
|
| 2834 |
-
<td class="spider_label"><label for="album_masonry_thumb_border_style"><?php echo __('Border style:',
|
| 2835 |
<td>
|
| 2836 |
<select name="album_masonry_thumb_border_style" id="album_masonry_thumb_border_style">
|
| 2837 |
<?php
|
| 2838 |
foreach ($border_styles as $key => $border_style) {
|
| 2839 |
?>
|
| 2840 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 2841 |
<?php
|
| 2842 |
}
|
| 2843 |
?>
|
|
@@ -2845,26 +2845,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2845 |
</td>
|
| 2846 |
</tr>
|
| 2847 |
<tr>
|
| 2848 |
-
<td class="spider_label"><label for="album_masonry_thumb_border_color"><?php echo __('Border color:',
|
| 2849 |
<td>
|
| 2850 |
<input type="text" name="album_masonry_thumb_border_color" id="album_masonry_thumb_border_color" value="<?php echo $row->album_masonry_thumb_border_color; ?>" class="jscolor" />
|
| 2851 |
</td>
|
| 2852 |
</tr>
|
| 2853 |
<tr>
|
| 2854 |
-
<td class="spider_label"><label for="album_masonry_thumb_border_radius"><?php echo __('Border radius:',
|
| 2855 |
<td>
|
| 2856 |
<input type="text" name="album_masonry_thumb_border_radius" id="album_masonry_thumb_border_radius" value="<?php echo $row->album_masonry_thumb_border_radius; ?>" class="spider_char_input" />
|
| 2857 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2858 |
</td>
|
| 2859 |
</tr>
|
| 2860 |
<tr>
|
| 2861 |
-
<td class="spider_label"><label for="album_masonry_thumb_hover_effect"><?php echo __('Hover effect:',
|
| 2862 |
<td>
|
| 2863 |
<select name="album_masonry_thumb_hover_effect" id="album_masonry_thumb_hover_effect">
|
| 2864 |
<?php
|
| 2865 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 2866 |
?>
|
| 2867 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect,
|
| 2868 |
<?php
|
| 2869 |
}
|
| 2870 |
?>
|
|
@@ -2872,19 +2872,19 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2872 |
</td>
|
| 2873 |
</tr>
|
| 2874 |
<tr>
|
| 2875 |
-
<td class="spider_label"><label for="album_masonry_thumb_hover_effect_value"><?php echo __('Hover effect value:',
|
| 2876 |
<td>
|
| 2877 |
<input type="text" name="album_masonry_thumb_hover_effect_value" id="album_masonry_thumb_hover_effect_value" value="<?php echo $row->album_masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 2878 |
-
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.',
|
| 2879 |
</td>
|
| 2880 |
</tr>
|
| 2881 |
<tr>
|
| 2882 |
-
<td class="spider_label"><label><?php echo __('Thumbnail transition:',
|
| 2883 |
<td id="album_masonry_thumb_transition">
|
| 2884 |
<input type="radio" name="album_masonry_thumb_transition" id="album_masonry_thumb_transition1" value="1"<?php if ($row->album_masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 2885 |
-
<label for="album_masonry_thumb_transition1" id="album_masonry_thumb_transition1_lbl"><?php echo __('Yes',
|
| 2886 |
<input type="radio" name="album_masonry_thumb_transition" id="album_masonry_thumb_transition0" value="0"<?php if ($row->album_masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 2887 |
-
<label for="album_masonry_thumb_transition0" id="album_masonry_thumb_transition0_lbl"><?php echo __('No',
|
| 2888 |
</td>
|
| 2889 |
</tr>
|
| 2890 |
</tbody>
|
|
@@ -2899,40 +2899,40 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2899 |
<tbody>
|
| 2900 |
<tr>
|
| 2901 |
<td class="spider_label">
|
| 2902 |
-
<label for="album_masonry_thumb_bg_color"><?php echo __('Thumbnail background color:',
|
| 2903 |
</td>
|
| 2904 |
<td>
|
| 2905 |
<input type="text" name="album_masonry_thumb_bg_color" id="album_masonry_thumb_bg_color" value="<?php echo $row->album_masonry_thumb_bg_color; ?>" class="jscolor" />
|
| 2906 |
</td>
|
| 2907 |
</tr>
|
| 2908 |
<tr>
|
| 2909 |
-
<td class="spider_label"><label for="album_masonry_thumb_transparent"><?php echo __('Thumbnail transparency:',
|
| 2910 |
<td>
|
| 2911 |
<input type="text" name="album_masonry_thumb_transparent" id="album_masonry_thumb_transparent" value="<?php echo $row->album_masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2912 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2913 |
</td>
|
| 2914 |
</tr>
|
| 2915 |
<tr>
|
| 2916 |
-
<td class="spider_label"><label for="album_masonry_thumbs_bg_color"><?php echo __('Full background color:',
|
| 2917 |
<td>
|
| 2918 |
<input type="text" name="album_masonry_thumbs_bg_color" id="album_masonry_thumbs_bg_color" value="<?php echo $row->album_masonry_thumbs_bg_color; ?>" class="jscolor" />
|
| 2919 |
</td>
|
| 2920 |
</tr>
|
| 2921 |
<tr>
|
| 2922 |
-
<td class="spider_label"><label for="album_masonry_thumb_bg_transparent"><?php echo __('Full background transparency:',
|
| 2923 |
<td>
|
| 2924 |
<input type="text" name="album_masonry_thumb_bg_transparent" id="album_masonry_thumb_bg_transparent" value="<?php echo $row->album_masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2925 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 2926 |
</td>
|
| 2927 |
</tr>
|
| 2928 |
<tr>
|
| 2929 |
-
<td class="spider_label"><label for="album_masonry_thumb_align0"><?php echo __('Alignment:',
|
| 2930 |
<td>
|
| 2931 |
<select name="album_masonry_thumb_align" id="album_masonry_thumb_align">
|
| 2932 |
<?php
|
| 2933 |
foreach ($aligns as $key => $align) {
|
| 2934 |
?>
|
| 2935 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 2936 |
<?php
|
| 2937 |
}
|
| 2938 |
?>
|
|
@@ -2950,35 +2950,35 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2950 |
<table style="clear:both;">
|
| 2951 |
<tbody>
|
| 2952 |
<tr>
|
| 2953 |
-
<td class="spider_label"><label for="album_masonry_title_font_size"><?php echo __('Title font size:',
|
| 2954 |
<td>
|
| 2955 |
<input type="text" name="album_masonry_title_font_size" id="album_masonry_title_font_size" value="<?php echo $row->album_masonry_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2956 |
</td>
|
| 2957 |
</tr>
|
| 2958 |
<tr>
|
| 2959 |
-
<td class="spider_label"><label for="album_masonry_title_font_color"><?php echo __('Title font color:',
|
| 2960 |
<td>
|
| 2961 |
<input type="text" name="album_masonry_title_font_color" id="album_masonry_title_font_color" value="<?php echo $row->album_masonry_title_font_color; ?>" class="jscolor" />
|
| 2962 |
</td>
|
| 2963 |
</tr>
|
| 2964 |
<tr>
|
| 2965 |
-
<td class="spider_label"><label for="album_masonry_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):',
|
| 2966 |
<td>
|
| 2967 |
<input type="text" name="album_masonry_thumb_title_font_color_hover" id="album_masonry_thumb_title_font_color_hover" value="<?php echo $row->album_masonry_thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 2968 |
</td>
|
| 2969 |
</tr>
|
| 2970 |
<tr>
|
| 2971 |
<!--generate font style with google fonts -->
|
| 2972 |
-
<?php $this->font_style_row( $row->album_masonry_title_font_style, 'album_masonry_title_font_style', __('Title font family:',
|
| 2973 |
</tr>
|
| 2974 |
<tr>
|
| 2975 |
-
<td class="spider_label"><label for="album_masonry_title_font_weight"><?php echo __('Title font weight:',
|
| 2976 |
<td>
|
| 2977 |
<select name="album_masonry_title_font_weight" id="album_masonry_title_font_weight">
|
| 2978 |
<?php
|
| 2979 |
foreach ($font_weights as $key => $font_weight) {
|
| 2980 |
?>
|
| 2981 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 2982 |
<?php
|
| 2983 |
}
|
| 2984 |
?>
|
|
@@ -2986,36 +2986,36 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 2986 |
</td>
|
| 2987 |
</tr>
|
| 2988 |
<tr>
|
| 2989 |
-
<td class="spider_label"><label for="album_masonry_title_shadow"><?php echo __('Title box shadow:',
|
| 2990 |
<td>
|
| 2991 |
<input type="text" name="album_masonry_title_shadow" id="album_masonry_title_shadow" value="<?php echo $row->album_masonry_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2992 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 2993 |
</td>
|
| 2994 |
</tr>
|
| 2995 |
<tr>
|
| 2996 |
-
<td class="spider_label"><label for="album_masonry_back_font_size"><?php echo __('Back Font size:',
|
| 2997 |
<td>
|
| 2998 |
<input type="text" name="album_masonry_back_font_size" id="album_masonry_back_font_size" value="<?php echo $row->album_masonry_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2999 |
</td>
|
| 3000 |
</tr>
|
| 3001 |
<tr>
|
| 3002 |
-
<td class="spider_label"><label for="album_masonry_back_font_color"><?php echo __('Back Font color:',
|
| 3003 |
<td>
|
| 3004 |
<input type="text" name="album_masonry_back_font_color" id="album_masonry_back_font_color" value="<?php echo $row->album_masonry_back_font_color; ?>" class="jscolor" />
|
| 3005 |
</td>
|
| 3006 |
</tr>
|
| 3007 |
<tr>
|
| 3008 |
<!--generate font style with google fonts -->
|
| 3009 |
-
<?php $this->font_style_row( $row->album_masonry_back_font_style, 'album_masonry_back_font_style', __('Back Font family:',
|
| 3010 |
</tr>
|
| 3011 |
<tr>
|
| 3012 |
-
<td class="spider_label"><label for="album_masonry_back_font_weight"><?php echo __('Back Font weight:',
|
| 3013 |
<td>
|
| 3014 |
<select name="album_masonry_back_font_weight" id="album_masonry_back_font_weight">
|
| 3015 |
<?php
|
| 3016 |
foreach ($font_weights as $key => $font_weight) {
|
| 3017 |
?>
|
| 3018 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 3019 |
<?php
|
| 3020 |
}
|
| 3021 |
?>
|
|
@@ -3023,36 +3023,36 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3023 |
</td>
|
| 3024 |
</tr>
|
| 3025 |
<tr>
|
| 3026 |
-
<td class="spider_label"><label for="album_masonry_back_padding"><?php echo __('Back padding:',
|
| 3027 |
<td>
|
| 3028 |
<input type="text" name="album_masonry_back_padding" id="album_masonry_back_padding" value="<?php echo $row->album_masonry_back_padding; ?>" class="spider_char_input" />
|
| 3029 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3030 |
</td>
|
| 3031 |
</tr>
|
| 3032 |
<tr>
|
| 3033 |
-
<td class="spider_label"><label for="album_masonry_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 3034 |
<td>
|
| 3035 |
<input type="text" name="album_masonry_gal_title_font_size" id="album_masonry_gal_title_font_size" value="<?php echo $row->album_masonry_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3036 |
</td>
|
| 3037 |
</tr>
|
| 3038 |
<tr>
|
| 3039 |
-
<td class="spider_label"><label for="album_masonry_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 3040 |
<td>
|
| 3041 |
<input type="text" name="album_masonry_gal_title_font_color" id="album_masonry_gal_title_font_color" value="<?php echo $row->album_masonry_gal_title_font_color; ?>" class="jscolor" />
|
| 3042 |
</td>
|
| 3043 |
</tr>
|
| 3044 |
<tr>
|
| 3045 |
<!--generate font style with google fonts -->
|
| 3046 |
-
<?php $this->font_style_row( $row->album_masonry_gal_title_font_style, 'album_masonry_gal_title_font_style', __('Gallery title/description font family:',
|
| 3047 |
</tr>
|
| 3048 |
<tr>
|
| 3049 |
-
<td class="spider_label"><label for="album_masonry_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 3050 |
<td>
|
| 3051 |
<select name="album_masonry_gal_title_font_weight" id="album_masonry_gal_title_font_weight">
|
| 3052 |
<?php
|
| 3053 |
foreach ($font_weights as $key => $font_weight) {
|
| 3054 |
?>
|
| 3055 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 3056 |
<?php
|
| 3057 |
}
|
| 3058 |
?>
|
|
@@ -3060,27 +3060,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3060 |
</td>
|
| 3061 |
</tr>
|
| 3062 |
<tr>
|
| 3063 |
-
<td class="spider_label"><label for="album_masonry_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 3064 |
<td>
|
| 3065 |
<input type="text" name="album_masonry_gal_title_shadow" id="album_masonry_gal_title_shadow" value="<?php echo $row->album_masonry_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3066 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3067 |
</td>
|
| 3068 |
</tr>
|
| 3069 |
<tr>
|
| 3070 |
-
<td class="spider_label"><label for="album_masonry_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 3071 |
<td>
|
| 3072 |
<input type="text" name="album_masonry_gal_title_margin" id="album_masonry_gal_title_margin" value="<?php echo $row->album_masonry_gal_title_margin; ?>" class="spider_char_input" />
|
| 3073 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3074 |
</td>
|
| 3075 |
</tr>
|
| 3076 |
<tr>
|
| 3077 |
-
<td class="spider_label"><label for="album_masonry_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 3078 |
<td>
|
| 3079 |
<select name="album_masonry_gal_title_align" id="album_masonry_gal_title_align">
|
| 3080 |
<?php
|
| 3081 |
foreach ($aligns as $key => $align) {
|
| 3082 |
?>
|
| 3083 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 3084 |
<?php
|
| 3085 |
}
|
| 3086 |
?>
|
|
@@ -3102,26 +3102,26 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3102 |
<table style="clear:both;">
|
| 3103 |
<tbody>
|
| 3104 |
<tr>
|
| 3105 |
-
<td class="spider_label"><label for="blog_style_bg_color"><?php echo __('Background color:',
|
| 3106 |
<td>
|
| 3107 |
<input type="text" name="blog_style_bg_color" id="blog_style_bg_color" value="<?php echo $row->blog_style_bg_color; ?>" class="jscolor"/>
|
| 3108 |
</td>
|
| 3109 |
</tr>
|
| 3110 |
<tr>
|
| 3111 |
-
<td class="spider_label"><label for="blog_style_transparent"><?php echo __('Background transparency:',
|
| 3112 |
<td>
|
| 3113 |
<input type="text" name="blog_style_transparent" id="blog_style_transparent" value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3114 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 3115 |
</td>
|
| 3116 |
</tr>
|
| 3117 |
<tr>
|
| 3118 |
-
<td class="spider_label"><label for="blog_style_align0"><?php echo __('Alignment:',
|
| 3119 |
<td>
|
| 3120 |
<select name="blog_style_align" id="blog_style_align">
|
| 3121 |
<?php
|
| 3122 |
foreach ($aligns as $key => $align) {
|
| 3123 |
?>
|
| 3124 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 3125 |
<?php
|
| 3126 |
}
|
| 3127 |
?>
|
|
@@ -3129,24 +3129,24 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3129 |
</td>
|
| 3130 |
</tr>
|
| 3131 |
<tr>
|
| 3132 |
-
<td class="spider_label"><label for="blog_style_margin"><?php echo __('Margin:',
|
| 3133 |
<td>
|
| 3134 |
<input type="text" name="blog_style_margin" id="blog_style_margin" value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
|
| 3135 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3136 |
</td>
|
| 3137 |
</tr>
|
| 3138 |
<tr>
|
| 3139 |
-
<td class="spider_label"><label for="blog_style_padding"><?php echo __('Padding:',
|
| 3140 |
<td>
|
| 3141 |
<input type="text" name="blog_style_padding" id="blog_style_padding" value="<?php echo $row->blog_style_padding; ?>" class="spider_char_input"/>
|
| 3142 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3143 |
</td>
|
| 3144 |
</tr>
|
| 3145 |
<tr>
|
| 3146 |
-
<td class="spider_label"><label for="blog_style_box_shadow"><?php echo __('Box shadow:',
|
| 3147 |
<td>
|
| 3148 |
<input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow" value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3149 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3150 |
</td>
|
| 3151 |
</tr>
|
| 3152 |
</tbody>
|
|
@@ -3161,34 +3161,34 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3161 |
<tbody>
|
| 3162 |
<tr>
|
| 3163 |
<!--generate font style with google fonts -->
|
| 3164 |
-
<?php $this->font_style_row( $row->blog_style_img_font_family, 'blog_style_img_font_family', __('Font family:',
|
| 3165 |
</tr>
|
| 3166 |
<tr>
|
| 3167 |
-
<td class="spider_label"><label for="blog_style_img_font_size"><?php echo __('Font size:',
|
| 3168 |
<td>
|
| 3169 |
<input type="text" name="blog_style_img_font_size" id="blog_style_img_font_size" value="<?php echo $row->blog_style_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3170 |
</td>
|
| 3171 |
</tr>
|
| 3172 |
<tr>
|
| 3173 |
-
<td class="spider_label"><label for="blog_style_img_font_color"><?php echo __('Font color:',
|
| 3174 |
<td>
|
| 3175 |
<input type="text" name="blog_style_img_font_color" id="blog_style_img_font_color" value="<?php echo $row->blog_style_img_font_color; ?>" class="jscolor"/>
|
| 3176 |
</td>
|
| 3177 |
</tr>
|
| 3178 |
<tr>
|
| 3179 |
-
<td class="spider_label"><label for="blog_style_border_width"><?php echo __('Border width:',
|
| 3180 |
<td>
|
| 3181 |
<input type="text" name="blog_style_border_width" id="blog_style_border_width" value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3182 |
</td>
|
| 3183 |
</tr>
|
| 3184 |
<tr>
|
| 3185 |
-
<td class="spider_label"><label for="blog_style_border_style"><?php echo __('Border style:',
|
| 3186 |
<td>
|
| 3187 |
<select name="blog_style_border_style" id="blog_style_border_style">
|
| 3188 |
<?php
|
| 3189 |
foreach ($border_styles as $key => $border_style) {
|
| 3190 |
?>
|
| 3191 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 3192 |
<?php
|
| 3193 |
}
|
| 3194 |
?>
|
|
@@ -3196,16 +3196,16 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3196 |
</td>
|
| 3197 |
</tr>
|
| 3198 |
<tr>
|
| 3199 |
-
<td class="spider_label"><label for="blog_style_border_color"><?php echo __('Border color:',
|
| 3200 |
<td>
|
| 3201 |
<input type="text" name="blog_style_border_color" id="blog_style_border_color" value="<?php echo $row->blog_style_border_color; ?>" class="jscolor" />
|
| 3202 |
</td>
|
| 3203 |
</tr>
|
| 3204 |
<tr>
|
| 3205 |
-
<td class="spider_label"><label for="blog_style_border_radius"><?php echo __('Border radius:',
|
| 3206 |
<td>
|
| 3207 |
<input type="text" name="blog_style_border_radius" id="blog_style_border_radius" value="<?php echo $row->blog_style_border_radius; ?>" class="spider_char_input"/>
|
| 3208 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3209 |
</td>
|
| 3210 |
</tr>
|
| 3211 |
</tbody>
|
|
@@ -3219,38 +3219,38 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3219 |
<table style="clear:both;">
|
| 3220 |
<tbody>
|
| 3221 |
<tr>
|
| 3222 |
-
<td class="spider_label"><label for="blog_style_share_buttons_margin"><?php echo __('Buttons and title margin:',
|
| 3223 |
<td>
|
| 3224 |
<input type="text" name="blog_style_share_buttons_margin" id="blog_style_share_buttons_margin" value="<?php echo $row->blog_style_share_buttons_margin; ?>" class="spider_char_input"/>
|
| 3225 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3226 |
</td>
|
| 3227 |
</tr>
|
| 3228 |
<tr>
|
| 3229 |
-
<td class="spider_label"><label for="blog_style_share_buttons_font_size"><?php echo __('Buttons size:',
|
| 3230 |
<td>
|
| 3231 |
<input type="text" name="blog_style_share_buttons_font_size" id="blog_style_share_buttons_font_size" value="<?php echo $row->blog_style_share_buttons_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3232 |
</td>
|
| 3233 |
</tr>
|
| 3234 |
<tr>
|
| 3235 |
-
<td class="spider_label"><label for="blog_style_share_buttons_color"><?php echo __('Buttons color:',
|
| 3236 |
<td>
|
| 3237 |
<input type="text" name="blog_style_share_buttons_color" id="blog_style_share_buttons_color" value="<?php echo $row->blog_style_share_buttons_color; ?>" class="jscolor"/>
|
| 3238 |
</td>
|
| 3239 |
</tr>
|
| 3240 |
<tr>
|
| 3241 |
-
<td class="spider_label"><label for="blog_style_share_buttons_border_width"><?php echo __('Buttons and title border width:',
|
| 3242 |
<td>
|
| 3243 |
<input type="text" name="blog_style_share_buttons_border_width" id="blog_style_share_buttons_border_width" value="<?php echo $row->blog_style_share_buttons_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3244 |
</td>
|
| 3245 |
</tr>
|
| 3246 |
<tr>
|
| 3247 |
-
<td class="spider_label"><label for="blog_style_share_buttons_border_style"><?php echo __('Buttons and title border style:',
|
| 3248 |
<td>
|
| 3249 |
<select name="blog_style_share_buttons_border_style" id="blog_style_share_buttons_border_style">
|
| 3250 |
<?php
|
| 3251 |
foreach ($border_styles as $key => $border_style) {
|
| 3252 |
?>
|
| 3253 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 3254 |
<?php
|
| 3255 |
}
|
| 3256 |
?>
|
|
@@ -3258,39 +3258,39 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3258 |
</td>
|
| 3259 |
</tr>
|
| 3260 |
<tr>
|
| 3261 |
-
<td class="spider_label"><label for="blog_style_share_buttons_border_color"><?php echo __('Buttons and title border color:',
|
| 3262 |
<td>
|
| 3263 |
<input type="text" name="blog_style_share_buttons_border_color" id="blog_style_share_buttons_border_color" value="<?php echo $row->blog_style_share_buttons_border_color; ?>" class="jscolor"/>
|
| 3264 |
</td>
|
| 3265 |
</tr>
|
| 3266 |
<tr>
|
| 3267 |
-
<td class="spider_label"><label for="blog_style_share_buttons_border_radius"><?php echo __('Buttons and title border radius:',
|
| 3268 |
<td>
|
| 3269 |
<input type="text" name="blog_style_share_buttons_border_radius" id="blog_style_share_buttons_border_radius" value="<?php echo $row->blog_style_share_buttons_border_radius; ?>" class="spider_char_input"/>
|
| 3270 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3271 |
</td>
|
| 3272 |
</tr>
|
| 3273 |
<tr>
|
| 3274 |
-
<td class="spider_label"><label for="blog_style_share_buttons_bg_color"><?php echo __('Buttons and title background color:',
|
| 3275 |
<td>
|
| 3276 |
<input type="text" name="blog_style_share_buttons_bg_color" id="blog_style_share_buttons_bg_color" value="<?php echo $row->blog_style_share_buttons_bg_color; ?>" class="jscolor"/>
|
| 3277 |
</td>
|
| 3278 |
</tr>
|
| 3279 |
<tr>
|
| 3280 |
-
<td class="spider_label"><label for="blog_style_share_buttons_bg_transparent"><?php echo __('Buttons and title background transparency:',
|
| 3281 |
<td>
|
| 3282 |
<input type="text" name="blog_style_share_buttons_bg_transparent" id="blog_style_share_buttons_bg_transparent" value="<?php echo $row->blog_style_share_buttons_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3283 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 3284 |
</td>
|
| 3285 |
</tr>
|
| 3286 |
<tr>
|
| 3287 |
-
<td class="spider_label"><label for="blog_style_share_buttons_align0"><?php echo __('Buttons or title alignment:',
|
| 3288 |
<td>
|
| 3289 |
<select name="blog_style_share_buttons_align" id="blog_style_share_buttons_align">
|
| 3290 |
<?php
|
| 3291 |
foreach ($aligns as $key => $align) {
|
| 3292 |
?>
|
| 3293 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 3294 |
<?php
|
| 3295 |
}
|
| 3296 |
?>
|
|
@@ -3298,30 +3298,30 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3298 |
</td>
|
| 3299 |
</tr>
|
| 3300 |
<tr>
|
| 3301 |
-
<td class="spider_label"><label for="blog_style_gal_title_font_size"><?php echo __('Gallery title/description font size:',
|
| 3302 |
<td>
|
| 3303 |
<input type="text" name="blog_style_gal_title_font_size" id="blog_style_gal_title_font_size" value="<?php echo
|
| 3304 |
$row->blog_style_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3305 |
</td>
|
| 3306 |
</tr>
|
| 3307 |
<tr>
|
| 3308 |
-
<td class="spider_label"><label for="blog_style_gal_title_font_color"><?php echo __('Gallery title/description font color:',
|
| 3309 |
<td>
|
| 3310 |
<input type="text" name="blog_style_gal_title_font_color" id="blog_style_gal_title_font_color" value="<?php echo $row->blog_style_gal_title_font_color; ?>" class="jscolor" />
|
| 3311 |
</td>
|
| 3312 |
</tr>
|
| 3313 |
<tr>
|
| 3314 |
<!--generate font style with google fonts -->
|
| 3315 |
-
<?php $this->font_style_row( $row->blog_style_gal_title_font_style, 'blog_style_gal_title_font_style', __('Gallery title/description font family:',
|
| 3316 |
</tr>
|
| 3317 |
<tr>
|
| 3318 |
-
<td class="spider_label"><label for="blog_style_gal_title_font_weight"><?php echo __('Gallery title/description font weight:',
|
| 3319 |
<td>
|
| 3320 |
<select name="blog_style_gal_title_font_weight" id="blog_style_gal_title_font_weight">
|
| 3321 |
<?php
|
| 3322 |
foreach ($font_weights as $key => $font_weight) {
|
| 3323 |
?>
|
| 3324 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight,
|
| 3325 |
<?php
|
| 3326 |
}
|
| 3327 |
?>
|
|
@@ -3329,27 +3329,27 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3329 |
</td>
|
| 3330 |
</tr>
|
| 3331 |
<tr>
|
| 3332 |
-
<td class="spider_label"><label for="blog_style_gal_title_shadow"><?php echo __('Gallery title/description box shadow:',
|
| 3333 |
<td>
|
| 3334 |
<input type="text" name="blog_style_gal_title_shadow" id="blog_style_gal_title_shadow" value="<?php echo $row->blog_style_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3335 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3336 |
</td>
|
| 3337 |
</tr>
|
| 3338 |
<tr>
|
| 3339 |
-
<td class="spider_label"><label for="blog_style_gal_title_margin"><?php echo __('Gallery title/description margin:',
|
| 3340 |
<td>
|
| 3341 |
<input type="text" name="blog_style_gal_title_margin" id="blog_style_gal_title_margin" value="<?php echo $row->blog_style_gal_title_margin; ?>" class="spider_char_input" />
|
| 3342 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3343 |
</td>
|
| 3344 |
</tr>
|
| 3345 |
<tr>
|
| 3346 |
-
<td class="spider_label"><label for="blog_style_gal_title_align"><?php echo __('Gallery title alignment:',
|
| 3347 |
<td>
|
| 3348 |
<select name="blog_style_gal_title_align" id="blog_style_gal_title_align">
|
| 3349 |
<?php
|
| 3350 |
foreach ($aligns as $key => $align) {
|
| 3351 |
?>
|
| 3352 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align,
|
| 3353 |
<?php
|
| 3354 |
}
|
| 3355 |
?>
|
|
@@ -3371,86 +3371,86 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3371 |
<table style="clear:both;">
|
| 3372 |
<tbody>
|
| 3373 |
<tr id="lightbox_overlay_bg">
|
| 3374 |
-
<td class="spider_label"><label for="lightbox_overlay_bg_color"><?php echo __('Overlay background color:',
|
| 3375 |
<td>
|
| 3376 |
<input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color" value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="jscolor"/>
|
| 3377 |
</td>
|
| 3378 |
</tr>
|
| 3379 |
<tr id="lightbox_overlay">
|
| 3380 |
-
<td class="spider_label"><label for="lightbox_overlay_bg_transparent"><?php echo __('Overlay background transparency:',
|
| 3381 |
<td>
|
| 3382 |
<input type="text" name="lightbox_overlay_bg_transparent" id="lightbox_overlay_bg_transparent" value="<?php echo $row->lightbox_overlay_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3383 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 3384 |
</td>
|
| 3385 |
</tr>
|
| 3386 |
<tr id="lightbox_bg">
|
| 3387 |
-
<td class="spider_label"><label for="lightbox_bg_color"><?php echo __('Lightbox background color:',
|
| 3388 |
<td>
|
| 3389 |
<input type="text" name="lightbox_bg_color" id="lightbox_bg_color" value="<?php echo $row->lightbox_bg_color; ?>" class="jscolor"/>
|
| 3390 |
</td>
|
| 3391 |
</tr>
|
| 3392 |
<tr id="lightbox_transparency">
|
| 3393 |
-
<td class="spider_label"><label for="lightbox_bg_transparent"><?php echo __('Lightbox background transparency:',
|
| 3394 |
<td>
|
| 3395 |
<input type="text" name="lightbox_bg_transparent" id="lightbox_bg_transparent" value="<?php echo $row->lightbox_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3396 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 3397 |
</td>
|
| 3398 |
</tr>
|
| 3399 |
<tr id="lightbox_cntrl1">
|
| 3400 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_height"><?php echo __('Control buttons height:',
|
| 3401 |
<td>
|
| 3402 |
<input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height" value="<?php echo $row->lightbox_ctrl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3403 |
</td>
|
| 3404 |
</tr>
|
| 3405 |
<tr id="lightbox_cntrl2">
|
| 3406 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_top"><?php echo __('Control buttons margin (top):',
|
| 3407 |
<td>
|
| 3408 |
<input type="text" name="lightbox_ctrl_btn_margin_top" id="lightbox_ctrl_btn_margin_top" value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3409 |
</td>
|
| 3410 |
</tr>
|
| 3411 |
<tr id="lightbox_cntrl3">
|
| 3412 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_left"><?php echo __('Control buttons margin (left):',
|
| 3413 |
<td>
|
| 3414 |
<input type="text" name="lightbox_ctrl_btn_margin_left" id="lightbox_ctrl_btn_margin_left" value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3415 |
</td>
|
| 3416 |
</tr>
|
| 3417 |
<tr id="lightbox_cntrl9">
|
| 3418 |
-
<td class="spider_label"><label><?php echo __('Control buttons position:',
|
| 3419 |
<td>
|
| 3420 |
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos1" value="top"<?php if ($row->lightbox_ctrl_btn_pos == "top") echo 'checked="checked"'; ?> />
|
| 3421 |
-
<label for="lightbox_ctrl_btn_pos1" id="lightbox_ctrl_btn_pos1_lbl"><?php echo __('Top',
|
| 3422 |
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos0" value="bottom"<?php if ($row->lightbox_ctrl_btn_pos == "bottom") echo 'checked="checked"'; ?> />
|
| 3423 |
-
<label for="lightbox_ctrl_btn_pos0" id="lightbox_ctrl_btn_pos0_lbl"><?php echo __('Bottom',
|
| 3424 |
</td>
|
| 3425 |
</tr>
|
| 3426 |
<tr id="lightbox_cntrl8">
|
| 3427 |
-
<td class="spider_label"><label for="lightbox_ctrl_cont_bg_color"><?php echo __('Control buttons background color:',
|
| 3428 |
<td>
|
| 3429 |
<input type="text" name="lightbox_ctrl_cont_bg_color" id="lightbox_ctrl_cont_bg_color" value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="jscolor"/>
|
| 3430 |
</td>
|
| 3431 |
</tr>
|
| 3432 |
<tr id="lightbox_cntrl5">
|
| 3433 |
-
<td class="spider_label"><label for="lightbox_ctrl_cont_border_radius"><?php echo __('Control buttons container border radius:',
|
| 3434 |
<td>
|
| 3435 |
<input type="text" name="lightbox_ctrl_cont_border_radius" id="lightbox_ctrl_cont_border_radius" value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>" class="spider_char_input"/>
|
| 3436 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3437 |
</td>
|
| 3438 |
</tr>
|
| 3439 |
<tr id="lightbox_cntrl6">
|
| 3440 |
-
<td class="spider_label"><label for="lightbox_ctrl_cont_transparent"><?php echo __('Control buttons container background transparency:',
|
| 3441 |
<td>
|
| 3442 |
<input type="text" name="lightbox_ctrl_cont_transparent" id="lightbox_ctrl_cont_transparent" value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3443 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 3444 |
</td>
|
| 3445 |
</tr>
|
| 3446 |
<tr id="lightbox_cntrl10">
|
| 3447 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_align0"><?php echo __('Control buttons alignment:',
|
| 3448 |
<td>
|
| 3449 |
<select name="lightbox_ctrl_btn_align" id="lightbox_ctrl_btn_align">
|
| 3450 |
<?php
|
| 3451 |
foreach ($aligns as $key => $align) {
|
| 3452 |
?>
|
| 3453 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align,
|
| 3454 |
<?php
|
| 3455 |
}
|
| 3456 |
?>
|
|
@@ -3458,52 +3458,52 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3458 |
</td>
|
| 3459 |
</tr>
|
| 3460 |
<tr id="lightbox_cntrl7">
|
| 3461 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_color"><?php echo __('Control buttons color:',
|
| 3462 |
<td>
|
| 3463 |
<input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="jscolor"/>
|
| 3464 |
</td>
|
| 3465 |
</tr>
|
| 3466 |
<tr id="lightbox_cntrl4">
|
| 3467 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_transparent"><?php echo __('Control buttons transparency:',
|
| 3468 |
<td>
|
| 3469 |
<input type="text" name="lightbox_ctrl_btn_transparent" id="lightbox_ctrl_btn_transparent" value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3470 |
-
<div class="spider_description"><?php echo __('Value must be between 0 to 100.',
|
| 3471 |
</td>
|
| 3472 |
</tr>
|
| 3473 |
<tr id="lightbox_toggle1">
|
| 3474 |
-
<td class="spider_label"><label for="lightbox_toggle_btn_height"><?php echo __('Toggle button height:',
|
| 3475 |
<td>
|
| 3476 |
<input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height" value="<?php echo $row->lightbox_toggle_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3477 |
</td>
|
| 3478 |
</tr>
|
| 3479 |
<tr id="lightbox_toggle2">
|
| 3480 |
-
<td class="spider_label"><label for="lightbox_toggle_btn_width"><?php echo __('Toggle button width:',
|
| 3481 |
<td>
|
| 3482 |
<input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width" value="<?php echo $row->lightbox_toggle_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3483 |
</td>
|
| 3484 |
</tr>
|
| 3485 |
<tr id="lightbox_close1">
|
| 3486 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_radius"><?php echo __('Close button border radius:',
|
| 3487 |
</td>
|
| 3488 |
<td>
|
| 3489 |
<input type="text" name="lightbox_close_btn_border_radius" id="lightbox_close_btn_border_radius" value="<?php echo $row->lightbox_close_btn_border_radius; ?>" class="spider_char_input"/>
|
| 3490 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3491 |
</td>
|
| 3492 |
</tr>
|
| 3493 |
<tr id="lightbox_close2">
|
| 3494 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_width"><?php echo __('Close button border width:',
|
| 3495 |
<td>
|
| 3496 |
<input type="text" name="lightbox_close_btn_border_width" id="lightbox_close_btn_border_width" value="<?php echo $row->lightbox_close_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3497 |
</td>
|
| 3498 |
</tr>
|
| 3499 |
<tr id="lightbox_close12">
|
| 3500 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_style"><?php echo __('Close button border style:',
|
| 3501 |
<td>
|
| 3502 |
<select name="lightbox_close_btn_border_style" id="lightbox_close_btn_border_style">
|
| 3503 |
<?php
|
| 3504 |
foreach ($border_styles as $key => $border_style) {
|
| 3505 |
?>
|
| 3506 |
-
<option value="<?php echo $key; ?>" <?php echo (($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style,
|
| 3507 |
<?php
|
| 3508 |
}
|
| 3509 |
?>
|
|
@@ -3511,79 +3511,79 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3511 |
</td>
|
| 3512 |
</tr>
|
| 3513 |
<tr id="lightbox_close13">
|
| 3514 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_color"><?php echo __('Close button border color:',
|
| 3515 |
<td>
|
| 3516 |
<input type="text" name="lightbox_close_btn_border_color" id="lightbox_close_btn_border_color" value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="jscolor"/>
|
| 3517 |
</td>
|
| 3518 |
</tr>
|
| 3519 |
<tr id="lightbox_close3">
|
| 3520 |
-
<td class="spider_label"><label for="lightbox_close_btn_box_shadow"><?php echo __('Close button box shadow:',
|
| 3521 |
<td>
|
| 3522 |
<input type="text" name="lightbox_close_btn_box_shadow" id="lightbox_close_btn_box_shadow" value="<?php echo $row->lightbox_close_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3523 |
-
<div class="spider_description"><?php echo __('Use CSS type values.',
|
| 3524 |
</td>
|
| 3525 |
</tr>
|
| 3526 |
<tr id="lightbox_close11">
|
| 3527 |
-
<td class="spider_label"><label for="lightbox_close_btn_bg_color"><?php echo __('Close button background color:',
|
| 3528 |
<td>
|
| 3529 |
<input type="text" name="lightbox_close_btn_bg_color" id="lightbox_close_btn_bg_color" value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="jscolor"/>
|
| 3530 |
-
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.',
|
| 3531 |
</td>
|
| 3532 |
</tr>
|
| 3533 |
<tr id="lightbox_close9">
|
| 3534 |
-
<td class="spider_label"><label for="lightbox_close_btn_transparent"><?php echo __('Close button transparency:',
|
| 3535 |
<td>
|
| 3536 |
<input type="text" name="lightbox_close_btn_transparent" id="lightbox_close_btn_transparent" value="<?php echo $row->lightbox_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3537 |
</td>
|
| 3538 |
</tr>
|
| 3539 |
<tr id="lightbox_close5">
|
| 3540 |
-
<td class="spider_label"><label for="lightbox_close_btn_width"><?php echo __('Close button width:',
|
| 3541 |
<td>
|
| 3542 |
<input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width" value="<?php echo $row->lightbox_close_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3543 |
-
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.',
|
| 3544 |
</td>
|
| 3545 |
</tr>
|
| 3546 |
<tr id="lightbox_close6">
|
| 3547 |
-
<td class="spider_label"><label for="lightbox_close_btn_height"><?php echo __('Close button height:',
|
| 3548 |
<td>
|
| 3549 |
<input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height" value="<?php echo $row->lightbox_close_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3550 |
-
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.',
|
| 3551 |
</td>
|
| 3552 |
</tr>
|
| 3553 |
<tr id="lightbox_close7">
|
| 3554 |
-
<td class="spider_label"><label for="lightbox_close_btn_top"><?php echo __('Close button top:',
|
| 3555 |
<td>
|
| 3556 |
<input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top" value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3557 |
-
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.',
|
| 3558 |
</td>
|
| 3559 |
</tr>
|
| 3560 |
<tr id="lightbox_close8">
|
| 3561 |
-
<td class="spider_label"><label for="lightbox_close_btn_right"><?php echo __('Close button right:',
|
| 3562 |
<td>
|
| 3563 |
<input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right" value="<?php echo $row->lightbox_close_btn_right; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3564 |
-
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.',
|
| 3565 |
</td>
|
| 3566 |
</tr>
|
| 3567 |
<tr id="lightbox_close4">
|
| 3568 |
-
<td class="spider_label"><label for="lightbox_close_btn_size"><?php echo __('Close button size:',
|
| 3569 |
<td>
|
| 3570 |
<input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size" value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3571 |
</td>
|
| 3572 |
</tr>
|
| 3573 |
<tr id="lightbox_close14">
|
| 3574 |
-
<td class="spider_label"><label for="lightbox_close_btn_color"><?php echo __('Close button color:',
|
| 3575 |
<td>
|
| 3576 |
<input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="jscolor"/>
|
| 3577 |
</td>
|
| 3578 |
</tr>
|
| 3579 |
<tr id="lightbox_close10">
|
| 3580 |
-
<td class="spider_label"><label for="lightbox_close_btn_full_color"><?php echo __('Fullscreen close button color:',
|
| 3581 |
<td>
|
| 3582 |
<input type="text" name="lightbox_close_btn_full_color" id="lightbox_close_btn_full_color" value="<?php echo $row->lightbox_close_btn_full_color; ?>" class="jscolor"/>
|
| 3583 |
</td>
|
| 3584 |
</tr>
|
| 3585 |
<tr id="lightbox_comment24">
|
| 3586 |
-
<td class="spider_label"><label for="lightbox_comment_share_button_color"><?php echo __('Share buttons color:',
|
| 3587 |
<td>
|
| 3588 |
<input type="text" name="lightbox_comment_share_button_color" id="lightbox_comment_share_button_color" value="<?php echo $row->lightbox_comment_share_button_color; ?>" class="jscolor" />
|
| 3589 |
</td>
|
|
@@ -3599,13 +3599,13 @@ class ThemesView_bwg extends AdminView_bwg {
|
|
| 3599 |
<table style="clear:both;">
|
| 3600 |
<tbody>
|
| 3601 |
<tr id="lightbo
|
| 36 |
<div class="gallery_upgrade-head-content">
|
| 37 |
<div class="gallery_upgrade-head-content-heading">
|
| 38 |
<h2>
|
| 39 |
+
<?php echo __('Build Fully Customized Gallery Views', 'photo-gallery'); ?>
|
| 40 |
</h2>
|
| 41 |
</div>
|
| 42 |
<div class="gallery_upgrade-head-content-text">
|
| 43 |
<p>
|
| 44 |
+
<?php echo __('Unlimited options to completely customize every detail. ', 'photo-gallery'); ?>
|
| 45 |
<br class="break_768">
|
| 46 |
<?php echo __(' Use default dark and light themes, or
|
| 47 |
+
create new from scratch.', 'photo-gallery'); ?>
|
| 48 |
</p>
|
| 49 |
</div>
|
| 50 |
<div class="gallery_upgrade-head-content-buttons">
|
| 51 |
<div class="button-upgrade">
|
| 52 |
<a href="https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin">
|
| 53 |
+
<input type="button" value="<?php echo __('UPGRADE TO PREMIUM', 'photo-gallery'); ?>">
|
| 54 |
</a>
|
| 55 |
</div>
|
| 56 |
</div>
|
| 130 |
</div>
|
| 131 |
<div class="gallery_feature-heading">
|
| 132 |
<h3>
|
| 133 |
+
<?php echo __($item['heading'], 'photo-gallery'); ?>
|
| 134 |
</h3>
|
| 135 |
</div>
|
| 136 |
<div class="gallery_feature-text">
|
| 137 |
<p>
|
| 138 |
+
<?php echo __($item['description'], 'photo-gallery'); ?>
|
| 139 |
</p>
|
| 140 |
</div>
|
| 141 |
</div>
|
| 184 |
'add_new_button' => array(
|
| 185 |
'href' => add_query_arg(array( 'page' => $page, 'task' => 'edit' ), admin_url('admin.php')),
|
| 186 |
),
|
| 187 |
+
'add_new_button_text' => __('Add new theme', 'photo-gallery'),
|
| 188 |
));
|
| 189 |
echo $this->search();
|
| 190 |
?>
|
| 198 |
<thead>
|
| 199 |
<tr>
|
| 200 |
<td id="cb" class="column-cb check-column">
|
| 201 |
+
<label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all', 'photo-gallery'); ?></label>
|
| 202 |
<input id="check_all" type="checkbox" />
|
| 203 |
</td>
|
| 204 |
+
<?php echo WDWLibrary::ordering('name', $orderby, $order, __('Title', 'photo-gallery'), $page_url, 'column-primary'); ?>
|
| 205 |
+
<?php echo WDWLibrary::ordering('default_theme', $orderby, $order, __('Default', 'photo-gallery'), $page_url, 'column-primary'); ?>
|
| 206 |
</tr>
|
| 207 |
</thead>
|
| 208 |
<tbody>
|
| 220 |
<th class="check-column">
|
| 221 |
<input id="check_<?php echo $row_data->id; ?>" name="check[<?php echo $row_data->id; ?>]" type="checkbox" onclick="spider_check_all(this)" />
|
| 222 |
</th>
|
| 223 |
+
<td class="column-primary" data-colname="<?php _e('Title', 'photo-gallery'); ?>">
|
| 224 |
<strong>
|
| 225 |
<a href="<?php echo $edit_url; ?>"><?php echo $row_data->name; ?></a>
|
| 226 |
</strong>
|
| 227 |
<div class="row-actions">
|
| 228 |
+
<span><a href="<?php echo $edit_url; ?>"><?php _e('Edit', 'photo-gallery'); ?></a> |</span>
|
| 229 |
+
<span><a href="<?php echo $duplicate_url; ?>"><?php _e('Duplicate', 'photo-gallery'); ?></a> |</span>
|
| 230 |
+
<span class="trash"><a onclick="if (!confirm('<?php echo addslashes(__('Do you want to delete selected item?', 'photo-gallery')); ?>')) {return false;}" href="<?php echo $delete_url; ?>"><?php _e('Delete', 'photo-gallery'); ?></a></span>
|
| 231 |
</div>
|
| 232 |
<button class="toggle-row" type="button">
|
| 233 |
+
<span class="screen-reader-text"><?php _e('Show more details', 'photo-gallery'); ?></span>
|
| 234 |
</button>
|
| 235 |
</td>
|
| 236 |
+
<td class="col_default" data-colname="<?php _e('Default', 'photo-gallery'); ?>">
|
| 237 |
<?php
|
| 238 |
$default = ($row_data->default_theme) ? 1 : 0;
|
| 239 |
if (!$default) {
|
| 302 |
</select>
|
| 303 |
<div class="radio_google_fonts">
|
| 304 |
<input type="radio" name="<?php echo $radio_name; ?>" id="<?php echo $radio_name . '1'; ?>" onchange="bwg_change_fonts('<?php echo $font_style; ?>', jQuery(this).attr('id'))" value="1" <?php if ($is_google_fonts == true) echo 'checked="checked"'; ?> />
|
| 305 |
+
<label for="<?php echo $radio_name . '1'; ?>" id="<?php echo $radio_name . '1_lbl'; ?>"><?php echo __('Google fonts', 'photo-gallery'); ?></label>
|
| 306 |
<input type="radio" name="<?php echo $radio_name; ?>" id="<?php echo $radio_name . '0'; ?>" onchange="bwg_change_fonts('<?php echo $font_style; ?>', jQuery(this).attr('id') )" value="0" <?php if ($is_google_fonts == false) echo 'checked="checked"'; ?> />
|
| 307 |
+
<label for="<?php echo $radio_name . '0'; ?>" id="<?php echo $radio_name . '0_lbl'; ?>"><?php echo __('Default', 'photo-gallery'); ?></label>
|
| 308 |
</div>
|
| 309 |
</td>
|
| 310 |
<?php
|
| 343 |
?>
|
| 344 |
<div class="bwg-page-header">
|
| 345 |
<div class="wd-page-title wd-header">
|
| 346 |
+
<h1 class="wp-heading-inline"><?php _e('Theme title', 'photo-gallery'); ?></h1>
|
| 347 |
<input type="text" id="name" name="name" value="<?php echo !empty( $row->name ) ? $row->name : ''; ?>" class="spider_text_input bwg_requried">
|
| 348 |
<?php if ( BWG()->is_pro || get_option("wd_bwg_theme_version") ) { ?>
|
| 349 |
<div class="bwg-page-actions">
|
| 350 |
<button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
|
| 351 |
+
<?php echo !empty($row->name) ? __('Update', 'photo-gallery') : __('Save', 'photo-gallery'); ?>
|
| 352 |
</button>
|
| 353 |
<?php if( $id ) { ?>
|
| 354 |
+
<input title="<?php _e('Reset to default theme', 'photo-gallery'); ?>"
|
| 355 |
class="tw-button-secondary preview-button button-large wd-btn-reset" type="submit"
|
| 356 |
+
onclick="if (confirm('<?php echo addslashes(__('Do you want to reset to default?', 'photo-gallery')); ?>')) {
|
| 357 |
spider_set_input_value('task', 'reset');
|
| 358 |
} else {
|
| 359 |
return false;
|
| 360 |
}"
|
| 361 |
+
value="<?php echo __('Reset', 'photo-gallery'); ?>"/>
|
| 362 |
<?php } ?>
|
| 363 |
</div>
|
| 364 |
<?php } ?>
|
| 379 |
<table style="clear:both;">
|
| 380 |
<tbody>
|
| 381 |
<tr>
|
| 382 |
+
<td class="spider_label"><label for="thumb_margin"><?php _e('Distance between pictures:', 'photo-gallery'); ?> </label></td>
|
| 383 |
<td>
|
| 384 |
<input type="text" name="thumb_margin" id="thumb_margin" value="<?php echo $row->thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 385 |
</td>
|
| 386 |
</tr>
|
| 387 |
<tr>
|
| 388 |
+
<td class="spider_label"><label><?php _e('Distance from container frame:', 'photo-gallery'); ?> </label></td>
|
| 389 |
<td>
|
| 390 |
<input type="radio" name="container_margin" id="container_margin1" value="1"<?php if ($row->container_margin == 1) echo 'checked="checked"'; ?> />
|
| 391 |
+
<label for="container_margin1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 392 |
<input type="radio" name="container_margin" id="container_margin0" value="0"<?php if ($row->container_margin == 0) echo 'checked="checked"'; ?> />
|
| 393 |
+
<label for="container_margin0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 394 |
+
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.', 'photo-gallery'); ?></div>
|
| 395 |
</td>
|
| 396 |
</tr>
|
| 397 |
<tr>
|
| 398 |
+
<td class="spider_label"><label for="thumb_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
|
| 399 |
<td>
|
| 400 |
<input type="text" name="thumb_padding" id="thumb_padding" value="<?php echo $row->thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 401 |
</td>
|
| 402 |
</tr>
|
| 403 |
<tr>
|
| 404 |
+
<td class="spider_label"><label for="thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 405 |
<td>
|
| 406 |
<input type="text" name="thumb_border_width" id="thumb_border_width" value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 407 |
</td>
|
| 408 |
</tr>
|
| 409 |
<tr>
|
| 410 |
+
<td class="spider_label"><label for="thumb_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 411 |
<td>
|
| 412 |
<select name="thumb_border_style" id="thumb_border_style">
|
| 413 |
<?php
|
| 414 |
foreach ($border_styles as $key => $border_style) {
|
| 415 |
?>
|
| 416 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 417 |
<?php
|
| 418 |
}
|
| 419 |
?>
|
| 421 |
</td>
|
| 422 |
</tr>
|
| 423 |
<tr>
|
| 424 |
+
<td class="spider_label"><label for="thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?></label></td>
|
| 425 |
<td>
|
| 426 |
<input type="text" name="thumb_border_color" id="thumb_border_color" value="<?php echo $row->thumb_border_color; ?>" class="jscolor"/>
|
| 427 |
</td>
|
| 428 |
</tr>
|
| 429 |
<tr>
|
| 430 |
+
<td class="spider_label"><label for="thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 431 |
<td>
|
| 432 |
<input type="text" name="thumb_border_radius" id="thumb_border_radius" value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input" />
|
| 433 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 434 |
</td>
|
| 435 |
</tr>
|
| 436 |
<tr>
|
| 437 |
+
<td class="spider_label"><label for="thumb_box_shadow"><?php echo __('Shadow:', 'photo-gallery'); ?> </label></td>
|
| 438 |
<td>
|
| 439 |
<input type="text" name="thumb_box_shadow" id="thumb_box_shadow" value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 440 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 441 |
</td>
|
| 442 |
</tr>
|
| 443 |
<tr>
|
| 444 |
+
<td class="spider_label"><label for="thumb_hover_effect"><?php echo __('Hover effect:', 'photo-gallery'); ?> </label></td>
|
| 445 |
<td>
|
| 446 |
<select name="thumb_hover_effect" id="thumb_hover_effect">
|
| 447 |
<?php
|
| 448 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 449 |
?>
|
| 450 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
|
| 451 |
<?php
|
| 452 |
}
|
| 453 |
?>
|
| 455 |
</td>
|
| 456 |
</tr>
|
| 457 |
<tr>
|
| 458 |
+
<td class="spider_label"><label for="thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
|
| 459 |
<td>
|
| 460 |
<input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value" value="<?php echo $row->thumb_hover_effect_value; ?>" class="spider_char_input"/>
|
| 461 |
+
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale/Zoom: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
|
| 462 |
</td>
|
| 463 |
</tr>
|
| 464 |
<tr>
|
| 465 |
+
<td class="spider_label"><label><?php echo __('Transition:', 'photo-gallery'); ?> </label></td>
|
| 466 |
<td id="thumb_transition">
|
| 467 |
<input type="radio" name="thumb_transition" id="thumb_transition1" value="1"<?php if ($row->thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 468 |
+
<label for="thumb_transition1" id="thumb_transition1_lbl"><?php echo __('Yes', 'photo-gallery'); ?></label>
|
| 469 |
<input type="radio" name="thumb_transition" id="thumb_transition0" value="0"<?php if ($row->thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 470 |
+
<label for="thumb_transition0" id="thumb_transition0_lbl"><?php echo __('No', 'photo-gallery'); ?></label>
|
| 471 |
</td>
|
| 472 |
</tr>
|
| 473 |
</tbody>
|
| 482 |
<tbody>
|
| 483 |
<tr>
|
| 484 |
<td class="spider_label">
|
| 485 |
+
<label for="thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label>
|
| 486 |
</td>
|
| 487 |
<td>
|
| 488 |
<input type="text" name="thumb_bg_color" id="thumb_bg_color" value="<?php echo $row->thumb_bg_color; ?>" class="jscolor" />
|
| 489 |
</td>
|
| 490 |
</tr>
|
| 491 |
<tr>
|
| 492 |
+
<td class="spider_label"><label for="thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
|
| 493 |
<td>
|
| 494 |
<input type="text" name="thumb_bg_transparency" id="thumb_bg_transparency" value="<?php echo $row->thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 495 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 496 |
</td>
|
| 497 |
</tr>
|
| 498 |
<tr>
|
| 499 |
+
<td class="spider_label"><label for="thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
|
| 500 |
<td>
|
| 501 |
<input type="text" name="thumb_transparent" id="thumb_transparent" value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 502 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 503 |
</td>
|
| 504 |
</tr>
|
| 505 |
<tr>
|
| 506 |
+
<td class="spider_label"><label for="thumbs_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
|
| 507 |
<td>
|
| 508 |
<input type="text" name="thumbs_bg_color" id="thumbs_bg_color" value="<?php echo $row->thumbs_bg_color; ?>" class="jscolor"/>
|
| 509 |
</td>
|
| 510 |
</tr>
|
| 511 |
<tr>
|
| 512 |
+
<td class="spider_label"><label for="thumb_bg_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
|
| 513 |
<td>
|
| 514 |
<input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent" value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 515 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 516 |
</td>
|
| 517 |
</tr>
|
| 518 |
<tr>
|
| 519 |
+
<td class="spider_label"><label for="thumb_align"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 520 |
<td>
|
| 521 |
<select name="thumb_align" id="thumb_align">
|
| 522 |
<?php
|
| 523 |
foreach ($aligns as $key => $align) {
|
| 524 |
?>
|
| 525 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 526 |
<?php
|
| 527 |
}
|
| 528 |
?>
|
| 540 |
<table style="clear:both;">
|
| 541 |
<tbody>
|
| 542 |
<tr>
|
| 543 |
+
<td class="spider_label"><label><?php echo __('Title position:', 'photo-gallery'); ?> </label></td>
|
| 544 |
<td>
|
| 545 |
<input type="radio" name="thumb_title_pos" id="thumb_title_pos1" value="top" <?php if ($row->thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
| 546 |
+
<label for="thumb_title_pos1" id="thumb_title_pos1_lbl"><?php echo __('Top', 'photo-gallery'); ?></label>
|
| 547 |
<input type="radio" name="thumb_title_pos" id="thumb_title_pos0" value="bottom" <?php if ($row->thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
| 548 |
+
<label for="thumb_title_pos0" id="thumb_title_pos0_lbl"><?php echo __('Bottom', 'photo-gallery'); ?></label>
|
| 549 |
</td>
|
| 550 |
</tr>
|
| 551 |
<tr>
|
| 552 |
+
<td class="spider_label"><label for="thumb_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
|
| 553 |
<td>
|
| 554 |
<input type="text" name="thumb_title_font_size" id="thumb_title_font_size" value="<?php echo $row->thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 555 |
</td>
|
| 556 |
</tr>
|
| 557 |
<tr>
|
| 558 |
+
<td class="spider_label"><label for="thumb_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
|
| 559 |
<td>
|
| 560 |
<input type="text" name="thumb_title_font_color" id="thumb_title_font_color" value="<?php echo $row->thumb_title_font_color; ?>" class="jscolor" />
|
| 561 |
</td>
|
| 562 |
</tr>
|
| 563 |
<tr>
|
| 564 |
+
<td class="spider_label"><label for="thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
|
| 565 |
<td>
|
| 566 |
<input type="text" name="thumb_title_font_color_hover" id="thumb_title_font_color_hover" value="<?php echo $row->thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 567 |
</td>
|
| 568 |
</tr>
|
| 569 |
<tr>
|
| 570 |
<!--generate font style with google fonts -->
|
| 571 |
+
<?php $this->font_style_row( $row->thumb_title_font_style, 'thumb_title_font_style', __('Title font family:', 'photo-gallery'), 'thumb_title_google_fonts' ); ?>
|
| 572 |
</tr>
|
| 573 |
<tr>
|
| 574 |
+
<td class="spider_label"><label for="thumb_title_font_weight"><?php echo __('Title font weight:', 'photo-gallery'); ?> </label></td>
|
| 575 |
<td>
|
| 576 |
<select name="thumb_title_font_weight" id="thumb_title_font_weight">
|
| 577 |
<?php
|
| 578 |
foreach ($font_weights as $key => $font_weight) {
|
| 579 |
?>
|
| 580 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 581 |
<?php
|
| 582 |
}
|
| 583 |
?>
|
| 585 |
</td>
|
| 586 |
</tr>
|
| 587 |
<tr>
|
| 588 |
+
<td class="spider_label"><label for="thumb_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
|
| 589 |
<td>
|
| 590 |
<input type="text" name="thumb_title_shadow" id="thumb_title_shadow" value="<?php echo $row->thumb_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 591 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 592 |
</td>
|
| 593 |
</tr>
|
| 594 |
<tr>
|
| 595 |
+
<td class="spider_label"><label for="thumb_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
|
| 596 |
<td>
|
| 597 |
<input type="text" name="thumb_title_margin" id="thumb_title_margin" value="<?php echo $row->thumb_title_margin; ?>" class="spider_char_input" />
|
| 598 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 599 |
</td>
|
| 600 |
</tr>
|
| 601 |
<tr>
|
| 602 |
+
<td class="spider_label"><label for="thumb_description_font_size"><?php echo __('Thumb description font size:', 'photo-gallery'); ?> </label></td>
|
| 603 |
<td>
|
| 604 |
<input type="text" name="thumb_description_font_size" id="thumb_description_font_size" value="<?php echo
|
| 605 |
$row->thumb_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 606 |
</td>
|
| 607 |
</tr>
|
| 608 |
<tr>
|
| 609 |
+
<td class="spider_label"><label for="thumb_description_font_color"><?php echo __('Thumb description font color:', 'photo-gallery'); ?> </label></td>
|
| 610 |
<td>
|
| 611 |
<input type="text" name="thumb_description_font_color" id="thumb_description_font_color" value="<?php echo $row->thumb_description_font_color; ?>" class="jscolor" />
|
| 612 |
</td>
|
| 613 |
</tr>
|
| 614 |
<tr>
|
| 615 |
<!--generate font style with google fonts -->
|
| 616 |
+
<?php $this->font_style_row( $row->thumb_description_font_style, 'thumb_description_font_style', __('Description font family:', 'photo-gallery'), 'thumb_description_google_fonts' ); ?>
|
| 617 |
</tr>
|
| 618 |
<tr>
|
| 619 |
+
<td class="spider_label"><label for="thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 620 |
<td>
|
| 621 |
<input type="text" name="thumb_gal_title_font_size" id="thumb_gal_title_font_size" value="<?php echo
|
| 622 |
$row->thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 623 |
</td>
|
| 624 |
</tr>
|
| 625 |
<tr>
|
| 626 |
+
<td class="spider_label"><label for="thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 627 |
<td>
|
| 628 |
<input type="text" name="thumb_gal_title_font_color" id="thumb_gal_title_font_color" value="<?php echo $row->thumb_gal_title_font_color; ?>" class="jscolor" />
|
| 629 |
</td>
|
| 630 |
</tr>
|
| 631 |
<tr>
|
| 632 |
<!--generate font style with google fonts -->
|
| 633 |
+
<?php $this->font_style_row( $row->thumb_gal_title_font_style, 'thumb_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'thumb_gal_title_google_fonts' ); ?>
|
| 634 |
</tr>
|
| 635 |
<tr>
|
| 636 |
+
<td class="spider_label"><label for="thumb_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 637 |
<td>
|
| 638 |
<select name="thumb_gal_title_font_weight" id="thumb_gal_title_font_weight">
|
| 639 |
<?php
|
| 640 |
foreach ($font_weights as $key => $font_weight) {
|
| 641 |
?>
|
| 642 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 643 |
<?php
|
| 644 |
}
|
| 645 |
?>
|
| 647 |
</td>
|
| 648 |
</tr>
|
| 649 |
<tr>
|
| 650 |
+
<td class="spider_label"><label for="thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 651 |
<td>
|
| 652 |
<input type="text" name="thumb_gal_title_shadow" id="thumb_gal_title_shadow" value="<?php echo $row->thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 653 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 654 |
</td>
|
| 655 |
</tr>
|
| 656 |
<tr>
|
| 657 |
+
<td class="spider_label"><label for="thumb_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 658 |
<td>
|
| 659 |
<input type="text" name="thumb_gal_title_margin" id="thumb_gal_title_margin" value="<?php echo $row->thumb_gal_title_margin; ?>" class="spider_char_input" />
|
| 660 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 661 |
</td>
|
| 662 |
</tr>
|
| 663 |
<tr>
|
| 664 |
+
<td class="spider_label"><label for="thumb_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 665 |
<td>
|
| 666 |
<select name="thumb_gal_title_align" id="thumb_gal_title_align">
|
| 667 |
<?php
|
| 668 |
foreach ($aligns as $key => $align) {
|
| 669 |
?>
|
| 670 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 671 |
<?php
|
| 672 |
}
|
| 673 |
?>
|
| 689 |
<table style="clear:both;">
|
| 690 |
<tbody>
|
| 691 |
<tr>
|
| 692 |
+
<td class="spider_label"><label for="masonry_thumb_padding"><?php echo __('Distance between pictures:', 'photo-gallery'); ?> </label></td>
|
| 693 |
<td>
|
| 694 |
<input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding" value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 695 |
</td>
|
| 696 |
</tr>
|
| 697 |
<tr>
|
| 698 |
+
<td class="spider_label"><label><?php _e('Distance from container frame:', 'photo-gallery'); ?> </label></td>
|
| 699 |
<td>
|
| 700 |
<input type="radio" name="masonry_container_margin" id="masonry_container_margin1" value="1"<?php if ($row->masonry_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 701 |
+
<label for="masonry_container_margin1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 702 |
<input type="radio" name="masonry_container_margin" id="masonry_container_margin0" value="0"<?php if ($row->masonry_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 703 |
+
<label for="masonry_container_margin0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 704 |
+
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.', 'photo-gallery'); ?></div>
|
| 705 |
</td>
|
| 706 |
</tr>
|
| 707 |
<tr>
|
| 708 |
+
<td class="spider_label"><label for="masonry_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 709 |
<td>
|
| 710 |
<input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width" value="<?php echo $row->masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 711 |
</td>
|
| 712 |
</tr>
|
| 713 |
<tr>
|
| 714 |
+
<td class="spider_label"><label for="masonry_thumb_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 715 |
<td>
|
| 716 |
<select name="masonry_thumb_border_style" id="masonry_thumb_border_style">
|
| 717 |
<?php
|
| 718 |
foreach ($border_styles as $key => $border_style) {
|
| 719 |
?>
|
| 720 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 721 |
<?php
|
| 722 |
}
|
| 723 |
?>
|
| 725 |
</td>
|
| 726 |
</tr>
|
| 727 |
<tr>
|
| 728 |
+
<td class="spider_label"><label for="masonry_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
|
| 729 |
<td>
|
| 730 |
<input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color" value="<?php echo $row->masonry_thumb_border_color; ?>" class="jscolor" />
|
| 731 |
</td>
|
| 732 |
</tr>
|
| 733 |
<tr>
|
| 734 |
+
<td class="spider_label"><label for="masonry_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 735 |
<td>
|
| 736 |
<input type="text" name="masonry_thumb_border_radius" id="masonry_thumb_border_radius" value="<?php echo $row->masonry_thumb_border_radius; ?>" class="spider_char_input" />
|
| 737 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 738 |
</td>
|
| 739 |
</tr>
|
| 740 |
<tr>
|
| 741 |
+
<td class="spider_label"><label for="masonry_thumb_hover_effect"><?php echo __('Hover effect:', 'photo-gallery'); ?> </label></td>
|
| 742 |
<td>
|
| 743 |
<select name="masonry_thumb_hover_effect" id="masonry_thumb_hover_effect">
|
| 744 |
<?php
|
| 745 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 746 |
?>
|
| 747 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
|
| 748 |
<?php
|
| 749 |
}
|
| 750 |
?>
|
| 752 |
</td>
|
| 753 |
</tr>
|
| 754 |
<tr>
|
| 755 |
+
<td class="spider_label"><label for="masonry_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
|
| 756 |
<td>
|
| 757 |
<input type="text" name="masonry_thumb_hover_effect_value" id="masonry_thumb_hover_effect_value" value="<?php echo $row->masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 758 |
+
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
|
| 759 |
</td>
|
| 760 |
</tr>
|
| 761 |
<tr>
|
| 762 |
+
<td class="spider_label"><label><?php echo __('Transition:', 'photo-gallery'); ?> </label></td>
|
| 763 |
<td id="masonry_thumb_transition">
|
| 764 |
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition1" value="1"<?php if ($row->masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 765 |
+
<label for="masonry_thumb_transition1" id="masonry_thumb_transition1_lbl"><?php echo __('Yes', 'photo-gallery'); ?></label>
|
| 766 |
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition0" value="0"<?php if ($row->masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 767 |
+
<label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl"><?php echo __('No', 'photo-gallery'); ?></label>
|
| 768 |
</td>
|
| 769 |
</tr>
|
| 770 |
</tbody>
|
| 779 |
<tbody>
|
| 780 |
<tr>
|
| 781 |
<td class="spider_label">
|
| 782 |
+
<label for="masonry_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label>
|
| 783 |
</td>
|
| 784 |
<td>
|
| 785 |
<input type="text" name="masonry_thumb_bg_color" id="masonry_thumb_bg_color" value="<?php echo $row->masonry_thumb_bg_color; ?>" class="jscolor" />
|
| 786 |
</td>
|
| 787 |
</tr>
|
| 788 |
<tr>
|
| 789 |
+
<td class="spider_label"><label for="masonry_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
|
| 790 |
<td>
|
| 791 |
<input type="text" name="masonry_thumb_bg_transparency" id="masonry_thumb_bg_transparency" value="<?php echo $row->masonry_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 792 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 793 |
</td>
|
| 794 |
</tr>
|
| 795 |
<tr>
|
| 796 |
+
<td class="spider_label"><label for="masonry_thumb_transparent"><?php echo __('Transparency:', 'photo-gallery'); ?> </label></td>
|
| 797 |
<td>
|
| 798 |
<input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent" value="<?php echo $row->masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 799 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 800 |
</td>
|
| 801 |
</tr>
|
| 802 |
<tr>
|
| 803 |
+
<td class="spider_label"><label for="masonry_thumbs_bg_color"><?php echo __('Full Background color:', 'photo-gallery'); ?> </label></td>
|
| 804 |
<td>
|
| 805 |
<input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color" value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="jscolor" />
|
| 806 |
</td>
|
| 807 |
</tr>
|
| 808 |
<tr>
|
| 809 |
+
<td class="spider_label"><label for="masonry_thumb_bg_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
|
| 810 |
<td>
|
| 811 |
<input type="text" name="masonry_thumb_bg_transparent" id="masonry_thumb_bg_transparent" value="<?php echo $row->masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 812 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 813 |
</td>
|
| 814 |
</tr>
|
| 815 |
<tr>
|
| 816 |
+
<td class="spider_label"><label for="masonry_thumb_align0"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 817 |
<td>
|
| 818 |
<select name="masonry_thumb_align" id="masonry_thumb_align">
|
| 819 |
<?php foreach ($aligns as $key => $align) { ?>
|
| 820 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 821 |
<?php } ?>
|
| 822 |
</select>
|
| 823 |
</td>
|
| 833 |
<table style="clear:both;">
|
| 834 |
<tbody>
|
| 835 |
<tr>
|
| 836 |
+
<td class="spider_label"><label for="masonry_thumb_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
|
| 837 |
<td>
|
| 838 |
<input type="text" name="masonry_thumb_title_font_size" id="masonry_thumb_title_font_size" value="<?php echo $row->masonry_thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 839 |
</td>
|
| 840 |
</tr>
|
| 841 |
<tr>
|
| 842 |
+
<td class="spider_label"><label for="masonry_thumb_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
|
| 843 |
<td>
|
| 844 |
<input type="text" name="masonry_thumb_title_font_color" id="masonry_thumb_title_font_color" value="<?php echo $row->masonry_thumb_title_font_color; ?>" class="jscolor" />
|
| 845 |
</td>
|
| 846 |
</tr>
|
| 847 |
<tr>
|
| 848 |
+
<td class="spider_label"><label for="masonry_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
|
| 849 |
<td>
|
| 850 |
<input type="text" name="masonry_thumb_title_font_color_hover" id="masonry_thumb_title_font_color_hover" value="<?php echo $row->masonry_thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 851 |
</td>
|
| 852 |
</tr>
|
| 853 |
<tr>
|
| 854 |
<!--generate font style with google fonts -->
|
| 855 |
+
<?php $this->font_style_row( $row->masonry_thumb_title_font_style, 'masonry_thumb_title_font_style', __('Title font family:', 'photo-gallery'), 'masonry_thumb_title_google_fonts' ); ?>
|
| 856 |
</tr>
|
| 857 |
<tr>
|
| 858 |
+
<td class="spider_label"><label for="masonry_thumb_title_font_weight"><?php echo __('Title font weight:', 'photo-gallery'); ?> </label></td>
|
| 859 |
<td>
|
| 860 |
<select name="masonry_thumb_title_font_weight" id="masonry_thumb_title_font_weight">
|
| 861 |
<?php
|
| 862 |
foreach ($font_weights as $key => $font_weight) {
|
| 863 |
?>
|
| 864 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 865 |
<?php
|
| 866 |
}
|
| 867 |
?>
|
| 869 |
</td>
|
| 870 |
</tr>
|
| 871 |
<tr>
|
| 872 |
+
<td class="spider_label"><label for="masonry_thumb_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
|
| 873 |
<td>
|
| 874 |
<input type="text" name="masonry_thumb_title_margin" id="masonry_thumb_title_margin" value="<?php echo $row->masonry_thumb_title_margin; ?>" class="spider_char_input" />
|
| 875 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 876 |
</td>
|
| 877 |
</tr>
|
| 878 |
<tr>
|
| 879 |
+
<td class="spider_label"><label for="masonry_description_font_size"><?php echo __('Description font size:', 'photo-gallery'); ?> </label></td>
|
| 880 |
<td>
|
| 881 |
<input type="text" name="masonry_description_font_size" id="masonry_description_font_size" value="<?php echo $row->masonry_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 882 |
</td>
|
| 883 |
</tr>
|
| 884 |
<tr>
|
| 885 |
+
<td class="spider_label"><label for="masonry_description_color"><?php echo __('Description font color:', 'photo-gallery'); ?> </label></td>
|
| 886 |
<td>
|
| 887 |
<input type="text" name="masonry_description_color" id="masonry_description_color" value="<?php echo $row->masonry_description_color; ?>" class="jscolor" />
|
| 888 |
</td>
|
| 889 |
</tr>
|
| 890 |
<tr>
|
| 891 |
<!--generate font style with google fonts -->
|
| 892 |
+
<?php $this->font_style_row( $row->masonry_description_font_style, 'masonry_description_font_style', __('Description font family:', 'photo-gallery'), 'masonry_description_google_fonts' ); ?>
|
| 893 |
</tr>
|
| 894 |
<tr>
|
| 895 |
+
<td class="spider_label"><label for="masonry_thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 896 |
<td>
|
| 897 |
<input type="text" name="masonry_thumb_gal_title_font_size" id="masonry_thumb_gal_title_font_size" value="<?php echo $row->masonry_thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 898 |
</td>
|
| 899 |
</tr>
|
| 900 |
<tr>
|
| 901 |
+
<td class="spider_label"><label for="masonry_thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 902 |
<td>
|
| 903 |
<input type="text" name="masonry_thumb_gal_title_font_color" id="masonry_thumb_gal_title_font_color" value="<?php echo $row->masonry_thumb_gal_title_font_color; ?>" class="jscolor" />
|
| 904 |
</td>
|
| 905 |
</tr>
|
| 906 |
<tr>
|
| 907 |
<!--generate font style with google fonts -->
|
| 908 |
+
<?php $this->font_style_row( $row->masonry_thumb_gal_title_font_style, 'masonry_thumb_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'masonry_thumb_gal_title_google_fonts' ); ?>
|
| 909 |
</tr>
|
| 910 |
<tr>
|
| 911 |
+
<td class="spider_label"><label for="masonry_thumb_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 912 |
<td>
|
| 913 |
<select name="masonry_thumb_gal_title_font_weight" id="masonry_thumb_gal_title_font_weight">
|
| 914 |
<?php
|
| 915 |
foreach ($font_weights as $key => $font_weight) {
|
| 916 |
?>
|
| 917 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 918 |
<?php
|
| 919 |
}
|
| 920 |
?>
|
| 922 |
</td>
|
| 923 |
</tr>
|
| 924 |
<tr>
|
| 925 |
+
<td class="spider_label"><label for="masonry_thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 926 |
<td>
|
| 927 |
<input type="text" name="masonry_thumb_gal_title_shadow" id="masonry_thumb_gal_title_shadow" value="<?php echo $row->masonry_thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 928 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 929 |
</td>
|
| 930 |
</tr>
|
| 931 |
<tr>
|
| 932 |
+
<td class="spider_label"><label for="masonry_thumb_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 933 |
<td>
|
| 934 |
<input type="text" name="masonry_thumb_gal_title_margin" id="masonry_thumb_gal_title_margin" value="<?php echo $row->masonry_thumb_gal_title_margin; ?>" class="spider_char_input" />
|
| 935 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 936 |
</td>
|
| 937 |
</tr>
|
| 938 |
<tr>
|
| 939 |
+
<td class="spider_label"><label for="masonry_thumb_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 940 |
<td>
|
| 941 |
<select name="masonry_thumb_gal_title_align" id="masonry_thumb_gal_title_align">
|
| 942 |
<?php
|
| 943 |
foreach ($aligns as $key => $align) {
|
| 944 |
?>
|
| 945 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 946 |
<?php
|
| 947 |
}
|
| 948 |
?>
|
| 964 |
<table style="clear:both;">
|
| 965 |
<tbody>
|
| 966 |
<tr>
|
| 967 |
+
<td class="spider_label"><label for="mosaic_thumb_padding"><?php echo __('Distance between pictures:', 'photo-gallery'); ?> </label></td>
|
| 968 |
<td>
|
| 969 |
<input type="text" name="mosaic_thumb_padding" id="mosaic_thumb_padding" value="<?php echo $row->mosaic_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 970 |
</td>
|
| 971 |
</tr>
|
| 972 |
<tr>
|
| 973 |
+
<td class="spider_label"><label><?php _e('Distance from container frame:', 'photo-gallery'); ?> </label></td>
|
| 974 |
<td>
|
| 975 |
<input type="radio" name="mosaic_container_margin" id="mosaic_container_margin1" value="1"<?php if ($row->mosaic_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 976 |
+
<label for="mosaic_container_margin1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 977 |
<input type="radio" name="mosaic_container_margin" id="mosaic_container_margin0" value="0"<?php if ($row->mosaic_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 978 |
+
<label for="mosaic_container_margin0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 979 |
+
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.', 'photo-gallery'); ?></div>
|
| 980 |
</td>
|
| 981 |
</tr>
|
| 982 |
<tr>
|
| 983 |
+
<td class="spider_label"><label for="mosaic_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 984 |
<td>
|
| 985 |
<input type="text" name="mosaic_thumb_border_width" id="mosaic_thumb_border_width" value="<?php echo $row->mosaic_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 986 |
</td>
|
| 987 |
</tr>
|
| 988 |
<tr>
|
| 989 |
+
<td class="spider_label"><label for="mosaic_thumb_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 990 |
<td>
|
| 991 |
<select name="mosaic_thumb_border_style" id="mosaic_thumb_border_style">
|
| 992 |
<?php
|
| 993 |
foreach ($border_styles as $key => $border_style) {
|
| 994 |
?>
|
| 995 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 996 |
<?php
|
| 997 |
}
|
| 998 |
?>
|
| 1000 |
</td>
|
| 1001 |
</tr>
|
| 1002 |
<tr>
|
| 1003 |
+
<td class="spider_label"><label for="mosaic_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
|
| 1004 |
<td>
|
| 1005 |
<input type="text" name="mosaic_thumb_border_color" id="mosaic_thumb_border_color" value="<?php echo $row->mosaic_thumb_border_color; ?>" class="jscolor" />
|
| 1006 |
</td>
|
| 1007 |
</tr>
|
| 1008 |
<tr>
|
| 1009 |
+
<td class="spider_label"><label for="mosaic_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 1010 |
<td>
|
| 1011 |
<input type="text" name="mosaic_thumb_border_radius" id="mosaic_thumb_border_radius" value="<?php echo $row->mosaic_thumb_border_radius; ?>" class="spider_char_input" />
|
| 1012 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1013 |
</td>
|
| 1014 |
</tr>
|
| 1015 |
<tr>
|
| 1016 |
+
<td class="spider_label"><label for="mosaic_thumb_hover_effect"><?php echo __('Hover effect:', 'photo-gallery'); ?> </label></td>
|
| 1017 |
<td>
|
| 1018 |
<select name="mosaic_thumb_hover_effect" id="mosaic_thumb_hover_effect">
|
| 1019 |
<?php
|
| 1020 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 1021 |
?>
|
| 1022 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
|
| 1023 |
<?php
|
| 1024 |
}
|
| 1025 |
?>
|
| 1027 |
</td>
|
| 1028 |
</tr>
|
| 1029 |
<tr>
|
| 1030 |
+
<td class="spider_label"><label for="mosaic_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
|
| 1031 |
<td>
|
| 1032 |
<input type="text" name="mosaic_thumb_hover_effect_value" id="mosaic_thumb_hover_effect_value" value="<?php echo $row->mosaic_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 1033 |
+
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
|
| 1034 |
</td>
|
| 1035 |
</tr>
|
| 1036 |
<tr>
|
| 1037 |
+
<td class="spider_label"><label><?php echo __('Transition:', 'photo-gallery'); ?> </label></td>
|
| 1038 |
<td id="mosaic_thumb_transition">
|
| 1039 |
<input type="radio" name="mosaic_thumb_transition" id="mosaic_thumb_transition1" value="1"<?php if ($row->mosaic_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 1040 |
+
<label for="mosaic_thumb_transition1" id="mosaic_thumb_transition1_lbl"><?php echo __('Yes', 'photo-gallery'); ?></label>
|
| 1041 |
<input type="radio" name="mosaic_thumb_transition" id="mosaic_thumb_transition0" value="0"<?php if ($row->mosaic_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 1042 |
+
<label for="mosaic_thumb_transition0" id="mosaic_thumb_transition0_lbl"><?php echo __('No', 'photo-gallery'); ?></label>
|
| 1043 |
</td>
|
| 1044 |
</tr>
|
| 1045 |
</tbody>
|
| 1053 |
<table style="clear:both;">
|
| 1054 |
<tbody>
|
| 1055 |
<tr>
|
| 1056 |
+
<td class="spider_label"><label for="mosaic_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label></td>
|
| 1057 |
<td>
|
| 1058 |
<input type="text" name="mosaic_thumb_bg_color" id="mosaic_thumb_bg_color" value="<?php echo $row->mosaic_thumb_bg_color; ?>" class="jscolor" />
|
| 1059 |
</td>
|
| 1060 |
</tr>
|
| 1061 |
<tr>
|
| 1062 |
+
<td class="spider_label"><label for="mosaic_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
|
| 1063 |
<td>
|
| 1064 |
<input type="text" name="mosaic_thumb_bg_transparency" id="mosaic_thumb_bg_transparency" value="<?php echo $row->mosaic_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1065 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1066 |
</td>
|
| 1067 |
</tr>
|
| 1068 |
<tr>
|
| 1069 |
+
<td class="spider_label"><label for="mosaic_thumb_transparent"><?php echo __('Transparency:', 'photo-gallery'); ?> </label></td>
|
| 1070 |
<td>
|
| 1071 |
<input type="text" name="mosaic_thumb_transparent" id="mosaic_thumb_transparent" value="<?php echo $row->mosaic_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1072 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1073 |
</td>
|
| 1074 |
</tr>
|
| 1075 |
<tr>
|
| 1076 |
+
<td class="spider_label"><label for="mosaic_thumbs_bg_color"><?php echo __('Full Background color:', 'photo-gallery'); ?> </label></td>
|
| 1077 |
<td>
|
| 1078 |
<input type="text" name="mosaic_thumbs_bg_color" id="mosaic_thumbs_bg_color" value="<?php echo $row->mosaic_thumbs_bg_color; ?>" class="jscolor" />
|
| 1079 |
</td>
|
| 1080 |
</tr>
|
| 1081 |
<tr>
|
| 1082 |
+
<td class="spider_label"><label for="mosaic_thumb_bg_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
|
| 1083 |
<td>
|
| 1084 |
<input type="text" name="mosaic_thumb_bg_transparent" id="mosaic_thumb_bg_transparent" value="<?php echo $row->mosaic_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1085 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1086 |
</td>
|
| 1087 |
</tr>
|
| 1088 |
<tr>
|
| 1089 |
+
<td class="spider_label"><label for="mosaic_thumb_align0"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 1090 |
<td>
|
| 1091 |
<select name="mosaic_thumb_align" id="mosaic_thumb_align">
|
| 1092 |
<?php
|
| 1093 |
foreach ($aligns as $key => $align) {
|
| 1094 |
?>
|
| 1095 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 1096 |
<?php
|
| 1097 |
}
|
| 1098 |
?>
|
| 1110 |
<table style="clear:both;">
|
| 1111 |
<tbody>
|
| 1112 |
<tr>
|
| 1113 |
+
<td class="spider_label"><label for="mosaic_thumb_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
|
| 1114 |
<td>
|
| 1115 |
<input type="text" name="mosaic_thumb_title_font_size" id="mosaic_thumb_title_font_size" value="<?php echo $row->mosaic_thumb_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1116 |
</td>
|
| 1117 |
</tr>
|
| 1118 |
<tr>
|
| 1119 |
+
<td class="spider_label"><label for="mosaic_thumb_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
|
| 1120 |
<td>
|
| 1121 |
<input type="text" name="mosaic_thumb_title_font_color" id="mosaic_thumb_title_font_color" value="<?php echo $row->mosaic_thumb_title_font_color; ?>" class="jscolor" />
|
| 1122 |
</td>
|
| 1123 |
</tr>
|
| 1124 |
<tr>
|
| 1125 |
+
<td class="spider_label"><label for="mosaic_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
|
| 1126 |
<td>
|
| 1127 |
<input type="text" name="mosaic_thumb_title_font_color_hover" id="mosaic_thumb_title_font_color_hover" value="<?php echo $row->mosaic_thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 1128 |
</td>
|
| 1129 |
</tr>
|
| 1130 |
<tr>
|
| 1131 |
<!--generate font style with google fonts -->
|
| 1132 |
+
<?php $this->font_style_row( $row->mosaic_thumb_title_font_style, 'mosaic_thumb_title_font_style', __('Title font family:', 'photo-gallery'), 'mosaic_thumb_title_google_fonts' ); ?>
|
| 1133 |
</tr>
|
| 1134 |
<tr>
|
| 1135 |
+
<td class="spider_label"><label for="mosaic_thumb_title_font_weight"><?php echo __('Title font weight:', 'photo-gallery'); ?> </label></td>
|
| 1136 |
<td>
|
| 1137 |
<select name="mosaic_thumb_title_font_weight" id="mosaic_thumb_title_font_weight">
|
| 1138 |
<?php
|
| 1139 |
foreach ($font_weights as $key => $font_weight) {
|
| 1140 |
?>
|
| 1141 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 1142 |
<?php
|
| 1143 |
}
|
| 1144 |
?>
|
| 1146 |
</td>
|
| 1147 |
</tr>
|
| 1148 |
<tr>
|
| 1149 |
+
<td class="spider_label"><label for="mosaic_thumb_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
|
| 1150 |
<td>
|
| 1151 |
<input type="text" name="mosaic_thumb_title_shadow" id="mosaic_thumb_title_shadow" value="<?php echo $row->mosaic_thumb_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1152 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1153 |
</td>
|
| 1154 |
</tr>
|
| 1155 |
<tr>
|
| 1156 |
+
<td class="spider_label"><label for="mosaic_thumb_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
|
| 1157 |
<td>
|
| 1158 |
<input type="text" name="mosaic_thumb_title_margin" id="mosaic_thumb_title_margin" value="<?php echo $row->mosaic_thumb_title_margin; ?>" class="spider_char_input" />
|
| 1159 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1160 |
</td>
|
| 1161 |
</tr>
|
| 1162 |
<tr>
|
| 1163 |
+
<td class="spider_label"><label for="mosaic_thumb_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 1164 |
<td>
|
| 1165 |
<input type="text" name="mosaic_thumb_gal_title_font_size" id="mosaic_thumb_gal_title_font_size" value="<?php echo $row->mosaic_thumb_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1166 |
</td>
|
| 1167 |
</tr>
|
| 1168 |
<tr>
|
| 1169 |
+
<td class="spider_label"><label for="mosaic_thumb_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 1170 |
<td>
|
| 1171 |
<input type="text" name="mosaic_thumb_gal_title_font_color" id="mosaic_thumb_gal_title_font_color" value="<?php echo $row->mosaic_thumb_gal_title_font_color; ?>" class="jscolor" />
|
| 1172 |
</td>
|
| 1173 |
</tr>
|
| 1174 |
<tr>
|
| 1175 |
<!--generate font style with google fonts -->
|
| 1176 |
+
<?php $this->font_style_row( $row->mosaic_thumb_gal_title_font_style, 'mosaic_thumb_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'mosaic_thumb_gal_title_google_fonts' ); ?>
|
| 1177 |
</tr>
|
| 1178 |
<tr>
|
| 1179 |
+
<td class="spider_label"><label for="mosaic_thumb_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 1180 |
<td>
|
| 1181 |
<select name="mosaic_thumb_gal_title_font_weight" id="mosaic_thumb_gal_title_font_weight">
|
| 1182 |
<?php
|
| 1183 |
foreach ($font_weights as $key => $font_weight) {
|
| 1184 |
?>
|
| 1185 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 1186 |
<?php
|
| 1187 |
}
|
| 1188 |
?>
|
| 1190 |
</td>
|
| 1191 |
</tr>
|
| 1192 |
<tr>
|
| 1193 |
+
<td class="spider_label"><label for="mosaic_thumb_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 1194 |
<td>
|
| 1195 |
<input type="text" name="mosaic_thumb_gal_title_shadow" id="mosaic_thumb_gal_title_shadow" value="<?php echo $row->mosaic_thumb_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1196 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1197 |
</td>
|
| 1198 |
</tr>
|
| 1199 |
<tr>
|
| 1200 |
+
<td class="spider_label"><label for="mosaic_thumb_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 1201 |
<td>
|
| 1202 |
<input type="text" name="mosaic_thumb_gal_title_margin" id="mosaic_thumb_gal_title_margin" value="<?php echo $row->mosaic_thumb_gal_title_margin; ?>" class="spider_char_input" />
|
| 1203 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1204 |
</td>
|
| 1205 |
</tr>
|
| 1206 |
<tr>
|
| 1207 |
+
<td class="spider_label"><label for="mosaic_thumb_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 1208 |
<td>
|
| 1209 |
<select name="mosaic_thumb_gal_title_align" id="mosaic_thumb_gal_title_align">
|
| 1210 |
<?php
|
| 1211 |
foreach ($aligns as $key => $align) {
|
| 1212 |
?>
|
| 1213 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->mosaic_thumb_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 1214 |
<?php
|
| 1215 |
}
|
| 1216 |
?>
|
| 1232 |
<table style="clear:both;">
|
| 1233 |
<tbody>
|
| 1234 |
<tr>
|
| 1235 |
+
<td class="spider_label"><label for="slideshow_cont_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
|
| 1236 |
<td>
|
| 1237 |
<input type="text" name="slideshow_cont_bg_color" id="slideshow_cont_bg_color" value="<?php echo $row->slideshow_cont_bg_color; ?>" class="jscolor"/>
|
| 1238 |
</td>
|
| 1239 |
</tr>
|
| 1240 |
<tr>
|
| 1241 |
+
<td class="spider_label"><label for="slideshow_rl_btn_size"><?php echo __('Right, left buttons size:', 'photo-gallery'); ?> </label></td>
|
| 1242 |
<td>
|
| 1243 |
<input type="text" name="slideshow_rl_btn_size" id="slideshow_rl_btn_size" value="<?php echo $row->slideshow_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1244 |
</td>
|
| 1245 |
</tr>
|
| 1246 |
<tr>
|
| 1247 |
+
<td class="spider_label"><label for="slideshow_play_pause_btn_size"><?php echo __('Play, pause buttons size:', 'photo-gallery'); ?> </label></td>
|
| 1248 |
<td>
|
| 1249 |
<input type="text" name="slideshow_play_pause_btn_size" id="slideshow_play_pause_btn_size" value="<?php echo $row->slideshow_play_pause_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1250 |
</td>
|
| 1251 |
</tr>
|
| 1252 |
<tr>
|
| 1253 |
+
<td class="spider_label"><label for="slideshow_rl_btn_color"><?php echo __('Buttons color:', 'photo-gallery'); ?> </label></td>
|
| 1254 |
<td>
|
| 1255 |
<input type="text" name="slideshow_rl_btn_color" id="slideshow_rl_btn_color" value="<?php echo $row->slideshow_rl_btn_color; ?>" class="jscolor"/>
|
| 1256 |
</td>
|
| 1257 |
</tr>
|
| 1258 |
<tr>
|
| 1259 |
+
<td class="spider_label"><label for="slideshow_close_btn_transparent"><?php echo __('Buttons transparency:', 'photo-gallery'); ?> </label></td>
|
| 1260 |
<td>
|
| 1261 |
<input type="text" name="slideshow_close_btn_transparent" id="slideshow_close_btn_transparent" value="<?php echo $row->slideshow_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1262 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1263 |
</td>
|
| 1264 |
</tr>
|
| 1265 |
<tr>
|
| 1266 |
+
<td class="spider_label"><label for="slideshow_close_rl_btn_hover_color"><?php echo __('Buttons hover color:', 'photo-gallery'); ?> </label></td>
|
| 1267 |
<td>
|
| 1268 |
<input type="text" name="slideshow_close_rl_btn_hover_color" id="slideshow_close_rl_btn_hover_color" value="<?php echo $row->slideshow_close_rl_btn_hover_color; ?>" class="jscolor"/>
|
| 1269 |
</td>
|
| 1270 |
</tr>
|
| 1271 |
<tr>
|
| 1272 |
+
<td class="spider_label"><label for="slideshow_rl_btn_width"><?php echo __('Right, left buttons width:', 'photo-gallery'); ?> </label></td>
|
| 1273 |
<td>
|
| 1274 |
<input type="text" name="slideshow_rl_btn_width" id="slideshow_rl_btn_width" value="<?php echo $row->slideshow_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1275 |
</td>
|
| 1276 |
</tr>
|
| 1277 |
<tr>
|
| 1278 |
+
<td class="spider_label"><label for="slideshow_rl_btn_height"><?php echo __('Right, left buttons height:', 'photo-gallery'); ?> </label></td>
|
| 1279 |
<td>
|
| 1280 |
<input type="text" name="slideshow_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo $row->slideshow_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1281 |
</td>
|
| 1282 |
</tr>
|
| 1283 |
<tr>
|
| 1284 |
+
<td class="spider_label"><label for="slideshow_rl_btn_bg_color"><?php echo __('Right, left buttons background color:', 'photo-gallery'); ?> </label></td>
|
| 1285 |
<td>
|
| 1286 |
<input type="text" name="slideshow_rl_btn_bg_color" id="slideshow_rl_btn_bg_color" value="<?php echo $row->slideshow_rl_btn_bg_color; ?>" class="jscolor"/>
|
| 1287 |
</td>
|
| 1288 |
</tr>
|
| 1289 |
<tr>
|
| 1290 |
+
<td class="spider_label"><label for="slideshow_rl_btn_border_width"><?php echo __('Right, left buttons border width:', 'photo-gallery'); ?> </label></td>
|
| 1291 |
<td>
|
| 1292 |
<input type="text" name="slideshow_rl_btn_border_width" id="slideshow_rl_btn_border_width" value="<?php echo $row->slideshow_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1293 |
</td>
|
| 1294 |
</tr>
|
| 1295 |
<tr>
|
| 1296 |
+
<td class="spider_label"><label for="slideshow_rl_btn_border_style"><?php echo __('Right, left buttons border style:', 'photo-gallery'); ?> </label></td>
|
| 1297 |
<td>
|
| 1298 |
<select name="slideshow_rl_btn_border_style" id="slideshow_rl_btn_border_style">
|
| 1299 |
<?php
|
| 1300 |
foreach ($border_styles as $key => $border_style) {
|
| 1301 |
?>
|
| 1302 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 1303 |
<?php
|
| 1304 |
}
|
| 1305 |
?>
|
| 1307 |
</td>
|
| 1308 |
</tr>
|
| 1309 |
<tr>
|
| 1310 |
+
<td class="spider_label"><label for="slideshow_rl_btn_border_color"><?php echo __('Right, left buttons border color:', 'photo-gallery'); ?> </label></td>
|
| 1311 |
<td>
|
| 1312 |
<input type="text" name="slideshow_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo $row->slideshow_rl_btn_border_color; ?>" class="jscolor"/>
|
| 1313 |
</td>
|
| 1314 |
</tr>
|
| 1315 |
<tr>
|
| 1316 |
+
<td class="spider_label"><label for="slideshow_rl_btn_border_radius"><?php echo __('Right, left buttons border radius:', 'photo-gallery'); ?> </label></td>
|
| 1317 |
<td>
|
| 1318 |
<input type="text" name="slideshow_rl_btn_border_radius" id="slideshow_rl_btn_border_radius" value="<?php echo $row->slideshow_rl_btn_border_radius; ?>" class="spider_char_input"/>
|
| 1319 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1320 |
</td>
|
| 1321 |
</tr>
|
| 1322 |
<tr>
|
| 1323 |
+
<td class="spider_label"><label for="slideshow_rl_btn_style"><?php echo __('Right, left buttons style:', 'photo-gallery'); ?> </label></td>
|
| 1324 |
<td>
|
| 1325 |
<select name="slideshow_rl_btn_style" id="slideshow_rl_btn_style">
|
| 1326 |
<?php
|
| 1327 |
foreach ($button_styles as $key => $button_style) {
|
| 1328 |
?>
|
| 1329 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($button_style, 'photo-gallery'); ?></option>
|
| 1330 |
<?php
|
| 1331 |
}
|
| 1332 |
?>
|
| 1334 |
</td>
|
| 1335 |
</tr>
|
| 1336 |
<tr>
|
| 1337 |
+
<td class="spider_label"><label for="slideshow_rl_btn_box_shadow"><?php echo __('Right, left buttons box shadow:', 'photo-gallery'); ?> </label></td>
|
| 1338 |
<td>
|
| 1339 |
<input type="text" name="slideshow_rl_btn_box_shadow" id="slideshow_rl_btn_box_shadow" value="<?php echo $row->slideshow_rl_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1340 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1341 |
</td>
|
| 1342 |
</tr>
|
| 1343 |
</tbody>
|
| 1351 |
<table style="clear:both;">
|
| 1352 |
<tbody>
|
| 1353 |
<tr>
|
| 1354 |
+
<td class="spider_label"><label><?php echo __('Filmstrip/Slider bullet position:', 'photo-gallery'); ?> </label></td>
|
| 1355 |
<td>
|
| 1356 |
<select name="slideshow_filmstrip_pos" id="slideshow_filmstrip_pos">
|
| 1357 |
+
<option value="top" <?php echo (($row->slideshow_filmstrip_pos == "top") ? 'selected="selected"' : ''); ?>><?php echo __("Top", 'photo-gallery'); ?></option>
|
| 1358 |
+
<option value="right" <?php echo (($row->slideshow_filmstrip_pos == "right") ? 'selected="selected"' : ''); ?>><?php echo __("Right", 'photo-gallery'); ?></option>
|
| 1359 |
+
<option value="bottom" <?php echo (($row->slideshow_filmstrip_pos == "bottom") ? 'selected="selected"' : ''); ?>><?php echo __("Bottom", 'photo-gallery'); ?></option>
|
| 1360 |
+
<option value="left" <?php echo (($row->slideshow_filmstrip_pos == "left") ? 'selected="selected"' : ''); ?>><?php echo __("Left", 'photo-gallery'); ?></option>
|
| 1361 |
</select>
|
| 1362 |
</td>
|
| 1363 |
</tr>
|
| 1364 |
<tr>
|
| 1365 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_margin"><?php echo __('Filmstrip margin:', 'photo-gallery'); ?> </label></td>
|
| 1366 |
<td>
|
| 1367 |
<input type="text" name="slideshow_filmstrip_thumb_margin" id="slideshow_filmstrip_thumb_margin" value="<?php echo $row->slideshow_filmstrip_thumb_margin; ?>" class="spider_char_input"/>
|
| 1368 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1369 |
</td>
|
| 1370 |
</tr>
|
| 1371 |
<tr>
|
| 1372 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_width"><?php echo __('Filmstrip border width:', 'photo-gallery'); ?> </label></td>
|
| 1373 |
<td>
|
| 1374 |
<input type="text" name="slideshow_filmstrip_thumb_border_width" id="slideshow_filmstrip_thumb_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1375 |
</td>
|
| 1376 |
</tr>
|
| 1377 |
<tr>
|
| 1378 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_style"><?php echo __('Filmstrip border style:', 'photo-gallery'); ?> </label>
|
| 1379 |
</td>
|
| 1380 |
<td>
|
| 1381 |
<select name="slideshow_filmstrip_thumb_border_style" id="slideshow_filmstrip_thumb_border_style">
|
| 1382 |
<?php
|
| 1383 |
foreach ($border_styles as $key => $border_style) {
|
| 1384 |
?>
|
| 1385 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->slideshow_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 1386 |
<?php
|
| 1387 |
}
|
| 1388 |
?>
|
| 1390 |
</td>
|
| 1391 |
</tr>
|
| 1392 |
<tr>
|
| 1393 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_color"><?php echo __('Filmstrip border color:', 'photo-gallery'); ?> </label></td>
|
| 1394 |
<td>
|
| 1395 |
<input type="text" name="slideshow_filmstrip_thumb_border_color" id="slideshow_filmstrip_thumb_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_border_color; ?>" class="jscolor"/>
|
| 1396 |
</td>
|
| 1397 |
</tr>
|
| 1398 |
<tr>
|
| 1399 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_border_radius"><?php echo __('Filmstrip border radius:', 'photo-gallery'); ?> </label></td>
|
| 1400 |
<td>
|
| 1401 |
<input type="text" name="slideshow_filmstrip_thumb_border_radius" id="slideshow_filmstrip_thumb_border_radius" value="<?php echo $row->slideshow_filmstrip_thumb_border_radius; ?>" class="spider_char_input"/>
|
| 1402 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1403 |
</td>
|
| 1404 |
</tr>
|
| 1405 |
<tr>
|
| 1406 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_width"><?php echo __('Filmstrip active border width:', 'photo-gallery'); ?> </label></td>
|
| 1407 |
<td>
|
| 1408 |
<input type="text" name="slideshow_filmstrip_thumb_active_border_width" id="slideshow_filmstrip_thumb_active_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
|
| 1409 |
</td>
|
| 1410 |
</tr>
|
| 1411 |
<tr>
|
| 1412 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_color"><?php echo __('Filmstrip active border color:', 'photo-gallery'); ?> </label></td>
|
| 1413 |
<td>
|
| 1414 |
<input type="text" name="slideshow_filmstrip_thumb_active_border_color" id="slideshow_filmstrip_thumb_active_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_color; ?>" class="jscolor"/>
|
| 1415 |
</td>
|
| 1416 |
</tr>
|
| 1417 |
<tr id="tr_appWidth">
|
| 1418 |
+
<td class="spider_label"><label for="slideshow_filmstrip_thumb_deactive_transparent"><?php echo __('Filmstrip deactive transparency: ', 'photo-gallery'); ?></label></td>
|
| 1419 |
<td>
|
| 1420 |
<input type="text" name="slideshow_filmstrip_thumb_deactive_transparent" id="slideshow_filmstrip_thumb_deactive_transparent" value="<?php echo $row->slideshow_filmstrip_thumb_deactive_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1421 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1422 |
</td>
|
| 1423 |
</tr>
|
| 1424 |
<tr>
|
| 1425 |
+
<td class="spider_label"><label for="slideshow_filmstrip_rl_bg_color"><?php echo __('Filmstrip right, left buttons background color: ', 'photo-gallery'); ?></label></td>
|
| 1426 |
<td>
|
| 1427 |
<input type="text" name="slideshow_filmstrip_rl_bg_color" id="slideshow_filmstrip_rl_bg_color" value="<?php echo $row->slideshow_filmstrip_rl_bg_color; ?>" class="jscolor"/>
|
| 1428 |
</td>
|
| 1429 |
</tr>
|
| 1430 |
<tr>
|
| 1431 |
+
<td class="spider_label"><label for="slideshow_filmstrip_rl_btn_color"><?php echo __('Filmstrip right, left buttons color:', 'photo-gallery'); ?> </label></td>
|
| 1432 |
<td>
|
| 1433 |
<input type="text" name="slideshow_filmstrip_rl_btn_color" id="slideshow_filmstrip_rl_btn_color" value="<?php echo $row->slideshow_filmstrip_rl_btn_color; ?>" class="jscolor"/>
|
| 1434 |
</td>
|
| 1435 |
</tr>
|
| 1436 |
<tr>
|
| 1437 |
+
<td class="spider_label"><label for="slideshow_filmstrip_rl_btn_size"><?php echo __('Filmstrip right, left buttons size:', 'photo-gallery'); ?> </label></td>
|
| 1438 |
<td>
|
| 1439 |
<input type="text" name="slideshow_filmstrip_rl_btn_size" id="slideshow_filmstrip_rl_btn_size" value="<?php echo $row->slideshow_filmstrip_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
| 1440 |
</td>
|
| 1441 |
</tr>
|
| 1442 |
<tr>
|
| 1443 |
+
<td class="spider_label"><label for="slideshow_dots_width"><?php echo __('Slider bullet width: ', 'photo-gallery'); ?></label></td>
|
| 1444 |
<td>
|
| 1445 |
<input type="text" name="slideshow_dots_width" id="slideshow_dots_width" value="<?php echo $row->slideshow_dots_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1446 |
</td>
|
| 1447 |
</tr>
|
| 1448 |
<tr>
|
| 1449 |
+
<td class="spider_label"><label for="slideshow_dots_height"><?php echo __('Slider bullet height:', 'photo-gallery'); ?> </label></td>
|
| 1450 |
<td>
|
| 1451 |
<input type="text" name="slideshow_dots_height" id="slideshow_dots_height" value="<?php echo $row->slideshow_dots_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1452 |
</td>
|
| 1453 |
</tr>
|
| 1454 |
<tr>
|
| 1455 |
+
<td class="spider_label"><label for="slideshow_dots_border_radius"><?php echo __('Slider bullet border radius: ', 'photo-gallery'); ?></label></td>
|
| 1456 |
<td>
|
| 1457 |
<input type="text" name="slideshow_dots_border_radius" id="slideshow_dots_border_radius" value="<?php echo $row->slideshow_dots_border_radius; ?>" class="spider_char_input"/>
|
| 1458 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1459 |
</td>
|
| 1460 |
</tr>
|
| 1461 |
<tr>
|
| 1462 |
+
<td class="spider_label"><label for="slideshow_dots_background_color"><?php echo __('Slider bullet background color:', 'photo-gallery'); ?> </label></td>
|
| 1463 |
<td>
|
| 1464 |
<input type="text" name="slideshow_dots_background_color" id="slideshow_dots_background_color" value="<?php echo $row->slideshow_dots_background_color; ?>" class="jscolor"/>
|
| 1465 |
</td>
|
| 1466 |
</tr>
|
| 1467 |
<tr>
|
| 1468 |
+
<td class="spider_label"><label for="slideshow_dots_margin"><?php echo __('Slider bullet margin:', 'photo-gallery'); ?> </label></td>
|
| 1469 |
<td>
|
| 1470 |
<input type="text" name="slideshow_dots_margin" id="slideshow_dots_margin" value="<?php echo $row->slideshow_dots_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1471 |
</td>
|
| 1472 |
</tr>
|
| 1473 |
<tr>
|
| 1474 |
+
<td class="spider_label"><label for="slideshow_dots_active_background_color"><?php echo __('Slider bullet active background color: ', 'photo-gallery'); ?></label></td>
|
| 1475 |
<td>
|
| 1476 |
<input type="text" name="slideshow_dots_active_background_color" id="slideshow_dots_active_background_color" value="<?php echo $row->slideshow_dots_active_background_color; ?>" class="jscolor"/>
|
| 1477 |
</td>
|
| 1478 |
</tr>
|
| 1479 |
<tr>
|
| 1480 |
+
<td class="spider_label"><label for="slideshow_dots_active_border_width"><?php echo __('Slider bullet active border width:', 'photo-gallery'); ?> </label></td>
|
| 1481 |
<td>
|
| 1482 |
<input type="text" name="slideshow_dots_active_border_width" id="slideshow_dots_active_border_width" value="<?php echo $row->slideshow_dots_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1483 |
</td>
|
| 1484 |
</tr>
|
| 1485 |
<tr>
|
| 1486 |
+
<td class="spider_label"><label for="slideshow_dots_active_border_color"><?php echo __('Slider bullet active border color: ', 'photo-gallery'); ?></label></td>
|
| 1487 |
<td>
|
| 1488 |
<input type="text" name="slideshow_dots_active_border_color" id="slideshow_dots_active_border_color" value="<?php echo $row->slideshow_dots_active_border_color; ?>" class="jscolor"/>
|
| 1489 |
</td>
|
| 1499 |
<table style="clear:both;">
|
| 1500 |
<tbody>
|
| 1501 |
<tr>
|
| 1502 |
+
<td class="spider_label"><label for="slideshow_title_background_color"><?php echo __('Title background color: ', 'photo-gallery'); ?></label></td>
|
| 1503 |
<td>
|
| 1504 |
<input type="text" name="slideshow_title_background_color" id="slideshow_title_background_color" value="<?php echo $row->slideshow_title_background_color; ?>" class="jscolor"/>
|
| 1505 |
</td>
|
| 1506 |
</tr>
|
| 1507 |
<tr>
|
| 1508 |
+
<td class="spider_label"><label for="slideshow_title_opacity"><?php echo __('Title transparency: ', 'photo-gallery'); ?></label></td>
|
| 1509 |
<td>
|
| 1510 |
<input type="text" name="slideshow_title_opacity" id="slideshow_title_opacity" value="<?php echo $row->slideshow_title_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1511 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1512 |
</td>
|
| 1513 |
</tr>
|
| 1514 |
<tr>
|
| 1515 |
+
<td class="spider_label"><label for="slideshow_title_border_radius"><?php echo __('Title border radius:', 'photo-gallery'); ?> </label></td>
|
| 1516 |
<td>
|
| 1517 |
<input type="text" name="slideshow_title_border_radius" id="slideshow_title_border_radius" value="<?php echo $row->slideshow_title_border_radius; ?>" class="spider_char_input"/>
|
| 1518 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1519 |
</td>
|
| 1520 |
</tr>
|
| 1521 |
<tr>
|
| 1522 |
+
<td class="spider_label"><label for="slideshow_title_padding"><?php echo __('Title padding: ', 'photo-gallery'); ?></label></td>
|
| 1523 |
<td>
|
| 1524 |
<input type="text" name="slideshow_title_padding" id="slideshow_title_padding" value="<?php echo $row->slideshow_title_padding; ?>" class="spider_char_input"/>
|
| 1525 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1526 |
</td>
|
| 1527 |
</tr>
|
| 1528 |
<tr>
|
| 1529 |
+
<td class="spider_label"><label for="slideshow_title_font_size"><?php echo __('Title font size: ', 'photo-gallery'); ?></label></td>
|
| 1530 |
<td>
|
| 1531 |
<input type="text" name="slideshow_title_font_size" id="slideshow_title_font_size" value="<?php echo $row->slideshow_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
| 1532 |
</td>
|
| 1533 |
</tr>
|
| 1534 |
<tr>
|
| 1535 |
+
<td class="spider_label"><label for="slideshow_title_color"><?php echo __('Title color: ', 'photo-gallery'); ?></label></td>
|
| 1536 |
<td>
|
| 1537 |
<input type="text" name="slideshow_title_color" id="slideshow_title_color" value="<?php echo $row->slideshow_title_color; ?>" class="jscolor"/>
|
| 1538 |
</td>
|
| 1539 |
</tr>
|
| 1540 |
<tr>
|
| 1541 |
<!--generate font style with google fonts -->
|
| 1542 |
+
<?php $this->font_style_row( $row->slideshow_title_font, 'slideshow_title_font', __('Title font family:', 'photo-gallery'), 'slideshow_title_google_fonts' ); ?>
|
| 1543 |
</tr>
|
| 1544 |
<tr>
|
| 1545 |
+
<td class="spider_label"><label for="slideshow_description_background_color"><?php echo __('Description background color:', 'photo-gallery'); ?> </label></td>
|
| 1546 |
<td>
|
| 1547 |
<input type="text" name="slideshow_description_background_color" id="slideshow_description_background_color" value="<?php echo $row->slideshow_description_background_color; ?>" class="jscolor"/>
|
| 1548 |
</td>
|
| 1549 |
</tr>
|
| 1550 |
<tr>
|
| 1551 |
+
<td class="spider_label"><label for="slideshow_description_opacity"><?php echo __('Description transparency:', 'photo-gallery'); ?> </label></td>
|
| 1552 |
<td>
|
| 1553 |
<input type="text" name="slideshow_description_opacity" id="slideshow_description_opacity" value="<?php echo $row->slideshow_description_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1554 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1555 |
</td>
|
| 1556 |
</tr>
|
| 1557 |
<tr>
|
| 1558 |
+
<td class="spider_label"><label for="slideshow_description_border_radius"><?php echo __('Description border radius:', 'photo-gallery'); ?> </label></td>
|
| 1559 |
<td>
|
| 1560 |
<input type="text" name="slideshow_description_border_radius" id="slideshow_description_border_radius" value="<?php echo $row->slideshow_description_border_radius; ?>" class="spider_char_input"/>
|
| 1561 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1562 |
</td>
|
| 1563 |
</tr>
|
| 1564 |
<tr>
|
| 1565 |
+
<td class="spider_label"><label for="slideshow_description_padding"><?php echo __('Description padding:', 'photo-gallery'); ?> </label></td>
|
| 1566 |
<td>
|
| 1567 |
<input type="text" name="slideshow_description_padding" id="slideshow_description_padding" value="<?php echo $row->slideshow_description_padding; ?>" class="spider_char_input"/>
|
| 1568 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1569 |
</td>
|
| 1570 |
</tr>
|
| 1571 |
<tr>
|
| 1572 |
+
<td class="spider_label"><label for="slideshow_description_font_size"><?php echo __('Description font size:', 'photo-gallery'); ?> </label></td>
|
| 1573 |
<td>
|
| 1574 |
<input type="text" name="slideshow_description_font_size" id="slideshow_description_font_size" value="<?php echo $row->slideshow_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1575 |
</td>
|
| 1576 |
</tr>
|
| 1577 |
<tr>
|
| 1578 |
+
<td class="spider_label"><label for="slideshow_description_color"><?php echo __('Description color:', 'photo-gallery'); ?> </label></td>
|
| 1579 |
<td>
|
| 1580 |
<input type="text" name="slideshow_description_color" id="slideshow_description_color" value="<?php echo $row->slideshow_description_color; ?>" class="jscolor"/>
|
| 1581 |
</td>
|
| 1582 |
</tr>
|
| 1583 |
<tr>
|
| 1584 |
<!--generate font style with google fonts -->
|
| 1585 |
+
<?php $this->font_style_row( $row->slideshow_description_font, 'slideshow_description_font', __('Description font family:', 'photo-gallery'), 'slideshow_description_google_fonts' ); ?>
|
| 1586 |
</tr>
|
| 1587 |
</tbody>
|
| 1588 |
</table>
|
| 1599 |
<table style="clear:both;">
|
| 1600 |
<tbody>
|
| 1601 |
<tr>
|
| 1602 |
+
<td class="spider_label"><label for="image_browser_full_padding"><?php echo __('Full padding:', 'photo-gallery'); ?> </label></td>
|
| 1603 |
<td>
|
| 1604 |
<input type="text" name="image_browser_full_padding" id="image_browser_full_padding" value="<?php echo $row->image_browser_full_padding; ?>" class="spider_char_input"/>
|
| 1605 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1606 |
</td>
|
| 1607 |
</tr>
|
| 1608 |
<tr>
|
| 1609 |
+
<td class="spider_label"><label for="image_browser_full_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
|
| 1610 |
<td>
|
| 1611 |
<input type="text" name="image_browser_full_bg_color" id="image_browser_full_bg_color" value="<?php echo $row->image_browser_full_bg_color; ?>" class="jscolor" />
|
| 1612 |
</td>
|
| 1613 |
</tr>
|
| 1614 |
<tr>
|
| 1615 |
+
<td class="spider_label"><label for="image_browser_full_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
|
| 1616 |
<td>
|
| 1617 |
<input type="text" name="image_browser_full_transparent" id="image_browser_full_transparent" value="<?php echo $row->image_browser_full_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1618 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1619 |
</td>
|
| 1620 |
</tr>
|
| 1621 |
<tr>
|
| 1622 |
+
<td class="spider_label"><label for="image_browser_full_border_radius"><?php echo __('Full border radius:', 'photo-gallery'); ?> </label></td>
|
| 1623 |
<td>
|
| 1624 |
<input type="text" name="image_browser_full_border_radius" id="image_browser_full_border_radius" value="<?php echo $row->image_browser_full_border_radius; ?>" class="spider_char_input" />
|
| 1625 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1626 |
</td>
|
| 1627 |
</tr>
|
| 1628 |
<tr>
|
| 1629 |
+
<td class="spider_label"><label for="image_browser_full_border_width"><?php echo __('Full border width:', 'photo-gallery'); ?> </label></td>
|
| 1630 |
<td>
|
| 1631 |
<input type="text" name="image_browser_full_border_width" id="image_browser_full_border_width" value="<?php echo $row->image_browser_full_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1632 |
</td>
|
| 1633 |
</tr>
|
| 1634 |
<tr>
|
| 1635 |
+
<td class="spider_label"><label for="image_browser_full_border_style"><?php echo __('Full border style:', 'photo-gallery'); ?> </label></td>
|
| 1636 |
<td>
|
| 1637 |
<select name="image_browser_full_border_style" id="image_browser_full_border_style">
|
| 1638 |
<?php
|
| 1639 |
foreach ($border_styles as $key => $border_style) {
|
| 1640 |
?>
|
| 1641 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_full_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 1642 |
<?php
|
| 1643 |
}
|
| 1644 |
?>
|
| 1646 |
</td>
|
| 1647 |
</tr>
|
| 1648 |
<tr>
|
| 1649 |
+
<td class="spider_label"><label for="image_browser_full_border_color"><?php echo __('Full border color:', 'photo-gallery'); ?> </label></td>
|
| 1650 |
<td>
|
| 1651 |
<input type="text" name="image_browser_full_border_color" id="image_browser_full_border_color" value="<?php echo $row->image_browser_full_border_color; ?>" class="jscolor" />
|
| 1652 |
</td>
|
| 1662 |
<table style="clear:both;">
|
| 1663 |
<tbody>
|
| 1664 |
<tr>
|
| 1665 |
+
<td class="spider_label"><label for="image_browser_align0"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 1666 |
<td>
|
| 1667 |
<select name="image_browser_align" id="image_browser_align">
|
| 1668 |
<?php
|
| 1669 |
foreach ($aligns as $key => $align) {
|
| 1670 |
?>
|
| 1671 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 1672 |
<?php
|
| 1673 |
}
|
| 1674 |
?>
|
| 1676 |
</td>
|
| 1677 |
</tr>
|
| 1678 |
<tr>
|
| 1679 |
+
<td class="spider_label"><label for="image_browser_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
|
| 1680 |
<td>
|
| 1681 |
<input type="text" name="image_browser_margin" id="image_browser_margin" value="<?php echo $row->image_browser_margin; ?>" class="spider_char_input" />
|
| 1682 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1683 |
</td>
|
| 1684 |
</tr>
|
| 1685 |
<tr>
|
| 1686 |
+
<td class="spider_label"><label for="image_browser_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
|
| 1687 |
<td>
|
| 1688 |
<input type="text" name="image_browser_padding" id="image_browser_padding" value="<?php echo $row->image_browser_padding; ?>" class="spider_char_input" />
|
| 1689 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1690 |
</td>
|
| 1691 |
</tr>
|
| 1692 |
<tr>
|
| 1693 |
+
<td class="spider_label"><label for="image_browser_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 1694 |
<td>
|
| 1695 |
<input type="text" name="image_browser_border_width" id="image_browser_border_width" value="<?php echo $row->image_browser_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1696 |
</td>
|
| 1697 |
</tr>
|
| 1698 |
<tr>
|
| 1699 |
+
<td class="spider_label"><label for="image_browser_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 1700 |
<td>
|
| 1701 |
<select name="image_browser_border_style" id="image_browser_border_style">
|
| 1702 |
<?php
|
| 1703 |
foreach ($border_styles as $key => $border_style) {
|
| 1704 |
?>
|
| 1705 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 1706 |
<?php
|
| 1707 |
}
|
| 1708 |
?>
|
| 1710 |
</td>
|
| 1711 |
</tr>
|
| 1712 |
<tr>
|
| 1713 |
+
<td class="spider_label"><label for="image_browser_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
|
| 1714 |
<td>
|
| 1715 |
<input type="text" name="image_browser_border_color" id="image_browser_border_color" value="<?php echo $row->image_browser_border_color; ?>" class="jscolor" />
|
| 1716 |
</td>
|
| 1717 |
</tr>
|
| 1718 |
<tr>
|
| 1719 |
+
<td class="spider_label"><label for="image_browser_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 1720 |
<td>
|
| 1721 |
<input type="text" name="image_browser_border_radius" id="image_browser_border_radius" value="<?php echo $row->image_browser_border_radius; ?>" class="spider_char_input" />
|
| 1722 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1723 |
</td>
|
| 1724 |
</tr>
|
| 1725 |
<tr>
|
| 1726 |
+
<td class="spider_label"><label for="image_browser_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
|
| 1727 |
<td>
|
| 1728 |
<input type="text" name="image_browser_bg_color" id="image_browser_bg_color" value="<?php echo $row->image_browser_bg_color; ?>" class="jscolor" />
|
| 1729 |
</td>
|
| 1730 |
</tr>
|
| 1731 |
<tr>
|
| 1732 |
+
<td class="spider_label"><label for="image_browser_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
|
| 1733 |
<td>
|
| 1734 |
<input type="text" name="image_browser_transparent" id="image_browser_transparent" value="<?php echo $row->image_browser_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 1735 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 1736 |
</td>
|
| 1737 |
</tr>
|
| 1738 |
<tr>
|
| 1739 |
+
<td class="spider_label"><label for="image_browser_box_shadow"><?php echo __('Box shadow:', 'photo-gallery'); ?> </label></td>
|
| 1740 |
<td>
|
| 1741 |
<input type="text" name="image_browser_box_shadow" id="image_browser_box_shadow" value="<?php echo $row->image_browser_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1742 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1743 |
</td>
|
| 1744 |
</tr>
|
| 1745 |
</tbody>
|
| 1753 |
<table style="clear:both;">
|
| 1754 |
<tbody>
|
| 1755 |
<tr>
|
| 1756 |
+
<td class="spider_label"><label><?php _e('Title position:', 'photo-gallery'); ?> </label></td>
|
| 1757 |
<td>
|
| 1758 |
<input type="radio" name="image_browser_image_title_align" id="image_browser_image_title_align1" value="top" <?php if ($row->image_browser_image_title_align == "top") echo 'checked="checked"'; ?> />
|
| 1759 |
+
<label for="image_browser_image_title_align1" id="image_browser_image_title_align1_lbl"><?php _e('Top', 'photo-gallery'); ?></label>
|
| 1760 |
<input type="radio" name="image_browser_image_title_align" id="image_browser_image_title_align0" value="bottom" <?php if ($row->image_browser_image_title_align == "bottom") echo 'checked="checked"'; ?> />
|
| 1761 |
+
<label for="image_browser_image_title_align0" id="image_browser_image_title_align0_lbl"><?php _e('Bottom', 'photo-gallery'); ?></label>
|
| 1762 |
</td>
|
| 1763 |
</tr>
|
| 1764 |
<tr>
|
| 1765 |
+
<td class="spider_label"><label for="image_browser_image_description_align0"><?php echo __('Title alignment:', 'photo-gallery'); ?> </label></td>
|
| 1766 |
<td>
|
| 1767 |
<select name="image_browser_image_description_align" id="image_browser_image_description_align">
|
| 1768 |
<?php
|
| 1769 |
foreach ($aligns as $key => $align) {
|
| 1770 |
?>
|
| 1771 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 1772 |
<?php
|
| 1773 |
}
|
| 1774 |
?>
|
| 1776 |
</td>
|
| 1777 |
</tr>
|
| 1778 |
<tr>
|
| 1779 |
+
<td class="spider_label"><label for="image_browser_img_font_size"><?php echo __('Font size:', 'photo-gallery'); ?> </label></td>
|
| 1780 |
<td>
|
| 1781 |
<input type="text" name="image_browser_img_font_size" id="image_browser_img_font_size" value="<?php echo $row->image_browser_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1782 |
</td>
|
| 1783 |
</tr>
|
| 1784 |
<tr>
|
| 1785 |
+
<td class="spider_label"><label for="image_browser_img_font_color"><?php echo __('Font color:', 'photo-gallery'); ?> </label></td>
|
| 1786 |
<td>
|
| 1787 |
<input type="text" name="image_browser_img_font_color" id="image_browser_img_font_color" value="<?php echo $row->image_browser_img_font_color; ?>" class="jscolor" />
|
| 1788 |
</td>
|
| 1789 |
</tr>
|
| 1790 |
<tr>
|
| 1791 |
<!--generate font style with google fonts -->
|
| 1792 |
+
<?php $this->font_style_row( $row->image_browser_img_font_family, 'image_browser_img_font_family', __('Font family:', 'photo-gallery'), 'image_browser_img_google_fonts' ); ?>
|
| 1793 |
</tr>
|
| 1794 |
<tr>
|
| 1795 |
+
<td class="spider_label"><label for="image_browser_image_description_margin"><?php echo __('Description margin:', 'photo-gallery'); ?> </label></td>
|
| 1796 |
<td>
|
| 1797 |
<input type="text" name="image_browser_image_description_margin" id="image_browser_image_description_margin" value="<?php echo $row->image_browser_image_description_margin; ?>" class="spider_char_input" />
|
| 1798 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1799 |
</td>
|
| 1800 |
</tr>
|
| 1801 |
<tr>
|
| 1802 |
+
<td class="spider_label"><label for="image_browser_image_description_padding"><?php echo __('Description padding:', 'photo-gallery'); ?> </label></td>
|
| 1803 |
<td>
|
| 1804 |
<input type="text" name="image_browser_image_description_padding" id="image_browser_image_description_padding" value="<?php echo $row->image_browser_image_description_padding; ?>" class="spider_char_input" />
|
| 1805 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1806 |
</td>
|
| 1807 |
</tr>
|
| 1808 |
<tr>
|
| 1809 |
+
<td class="spider_label"><label for="image_browser_image_description_border_width"><?php echo __('Description border width:', 'photo-gallery'); ?> </label></td>
|
| 1810 |
<td>
|
| 1811 |
<input type="text" name="image_browser_image_description_border_width" id="image_browser_image_description_border_width" value="<?php echo $row->image_browser_image_description_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
|
| 1812 |
</td>
|
| 1813 |
</tr>
|
| 1814 |
<tr>
|
| 1815 |
+
<td class="spider_label"><label for="image_browser_image_description_border_style"><?php echo __('Description border style:', 'photo-gallery'); ?> </label></td>
|
| 1816 |
<td>
|
| 1817 |
<select name="image_browser_image_description_border_style" id="image_browser_image_description_border_style">
|
| 1818 |
<?php
|
| 1819 |
foreach ($border_styles as $key => $border_style) {
|
| 1820 |
?>
|
| 1821 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 1822 |
<?php
|
| 1823 |
}
|
| 1824 |
?>
|
| 1826 |
</td>
|
| 1827 |
</tr>
|
| 1828 |
<tr>
|
| 1829 |
+
<td class="spider_label"><label for="image_browser_image_description_border_color"><?php echo __('Description border color:', 'photo-gallery'); ?> </label></td>
|
| 1830 |
<td>
|
| 1831 |
<input type="text" name="image_browser_image_description_border_color" id="image_browser_image_description_border_color" value="<?php echo $row->image_browser_image_description_border_color; ?>" class="jscolor" />
|
| 1832 |
</td>
|
| 1833 |
</tr>
|
| 1834 |
<tr>
|
| 1835 |
+
<td class="spider_label"><label for="image_browser_image_description_border_radius"><?php echo __('Description border radius:', 'photo-gallery'); ?> </label></td>
|
| 1836 |
<td>
|
| 1837 |
<input type="text" name="image_browser_image_description_border_radius" id="image_browser_image_description_border_radius" value="<?php echo $row->image_browser_image_description_border_radius; ?>" class="spider_char_input" />
|
| 1838 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1839 |
</td>
|
| 1840 |
</tr>
|
| 1841 |
<tr>
|
| 1842 |
+
<td class="spider_label"><label for="image_browser_image_description_bg_color"><?php echo __('Description background color:', 'photo-gallery'); ?> </label></td>
|
| 1843 |
<td>
|
| 1844 |
<input type="text" name="image_browser_image_description_bg_color" id="image_browser_image_description_bg_color" value="<?php echo $row->image_browser_image_description_bg_color; ?>" class="jscolor" />
|
| 1845 |
</td>
|
| 1846 |
</tr>
|
| 1847 |
<tr>
|
| 1848 |
+
<td class="spider_label"><label for="image_browser_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 1849 |
<td>
|
| 1850 |
<input type="text" name="image_browser_gal_title_font_size" id="image_browser_gal_title_font_size" value="<?php echo
|
| 1851 |
$row->image_browser_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1852 |
</td>
|
| 1853 |
</tr>
|
| 1854 |
<tr>
|
| 1855 |
+
<td class="spider_label"><label for="image_browser_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 1856 |
<td>
|
| 1857 |
<input type="text" name="image_browser_gal_title_font_color" id="image_browser_gal_title_font_color" value="<?php echo $row->image_browser_gal_title_font_color; ?>" class="jscolor" />
|
| 1858 |
</td>
|
| 1859 |
</tr>
|
| 1860 |
<tr>
|
| 1861 |
<!--generate font style with google fonts -->
|
| 1862 |
+
<?php $this->font_style_row( $row->image_browser_gal_title_font_style, 'image_browser_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'image_browser_gal_title_google_fonts' ); ?>
|
| 1863 |
</tr>
|
| 1864 |
<tr>
|
| 1865 |
+
<td class="spider_label"><label for="image_browser_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 1866 |
<td>
|
| 1867 |
<select name="image_browser_gal_title_font_weight" id="image_browser_gal_title_font_weight">
|
| 1868 |
<?php
|
| 1869 |
foreach ($font_weights as $key => $font_weight) {
|
| 1870 |
?>
|
| 1871 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 1872 |
<?php
|
| 1873 |
}
|
| 1874 |
?>
|
| 1876 |
</td>
|
| 1877 |
</tr>
|
| 1878 |
<tr>
|
| 1879 |
+
<td class="spider_label"><label for="image_browser_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 1880 |
<td>
|
| 1881 |
<input type="text" name="image_browser_gal_title_shadow" id="image_browser_gal_title_shadow" value="<?php echo $row->image_browser_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1882 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1883 |
</td>
|
| 1884 |
</tr>
|
| 1885 |
<tr>
|
| 1886 |
+
<td class="spider_label"><label for="image_browser_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 1887 |
<td>
|
| 1888 |
<input type="text" name="image_browser_gal_title_margin" id="image_browser_gal_title_margin" value="<?php echo $row->image_browser_gal_title_margin; ?>" class="spider_char_input" />
|
| 1889 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1890 |
</td>
|
| 1891 |
</tr>
|
| 1892 |
<tr>
|
| 1893 |
+
<td class="spider_label"><label for="image_browser_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 1894 |
<td>
|
| 1895 |
<select name="image_browser_gal_title_align" id="image_browser_gal_title_align">
|
| 1896 |
<?php
|
| 1897 |
foreach ($aligns as $key => $align) {
|
| 1898 |
?>
|
| 1899 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->image_browser_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 1900 |
<?php
|
| 1901 |
}
|
| 1902 |
?>
|
| 1918 |
<table style="clear:both;">
|
| 1919 |
<tbody>
|
| 1920 |
<tr>
|
| 1921 |
+
<td class="spider_label"><label for="album_compact_thumb_margin"><?php _e('Distance between pictures:', 'photo-gallery'); ?> </label></td>
|
| 1922 |
<td>
|
| 1923 |
<input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin" value="<?php echo $row->album_compact_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1924 |
</td>
|
| 1925 |
</tr>
|
| 1926 |
<tr>
|
| 1927 |
+
<td class="spider_label"><label><?php _e('Distance from container frame:', 'photo-gallery'); ?> </label></td>
|
| 1928 |
<td>
|
| 1929 |
<input type="radio" name="compact_container_margin" id="compact_container_margin1" value="1"<?php if ($row->compact_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 1930 |
+
<label for="compact_container_margin1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 1931 |
<input type="radio" name="compact_container_margin" id="compact_container_margin0" value="0"<?php if ($row->compact_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 1932 |
+
<label for="compact_container_margin0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 1933 |
+
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.', 'photo-gallery'); ?></div>
|
| 1934 |
</td>
|
| 1935 |
</tr>
|
| 1936 |
<tr>
|
| 1937 |
+
<td class="spider_label"><label for="album_compact_thumb_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
|
| 1938 |
<td>
|
| 1939 |
<input type="text" name="album_compact_thumb_padding" id="album_compact_thumb_padding" value="<?php echo $row->album_compact_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1940 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1941 |
</td>
|
| 1942 |
</tr>
|
| 1943 |
<tr>
|
| 1944 |
+
<td class="spider_label"><label for="album_compact_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 1945 |
<td>
|
| 1946 |
<input type="text" name="album_compact_thumb_border_width" id="album_compact_thumb_border_width" value="<?php echo $row->album_compact_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 1947 |
</td>
|
| 1948 |
</tr>
|
| 1949 |
<tr>
|
| 1950 |
+
<td class="spider_label"><label for="album_compact_thumb_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 1951 |
<td>
|
| 1952 |
<select name="album_compact_thumb_border_style" id="album_compact_thumb_border_style">
|
| 1953 |
<?php
|
| 1954 |
foreach ($border_styles as $key => $border_style) {
|
| 1955 |
?>
|
| 1956 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 1957 |
<?php
|
| 1958 |
}
|
| 1959 |
?>
|
| 1961 |
</td>
|
| 1962 |
</tr>
|
| 1963 |
<tr>
|
| 1964 |
+
<td class="spider_label"><label for="album_compact_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
|
| 1965 |
<td>
|
| 1966 |
<input type="text" name="album_compact_thumb_border_color" id="album_compact_thumb_border_color" value="<?php echo $row->album_compact_thumb_border_color; ?>" class="jscolor" />
|
| 1967 |
</td>
|
| 1968 |
</tr>
|
| 1969 |
<tr>
|
| 1970 |
+
<td class="spider_label"><label for="album_compact_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 1971 |
<td>
|
| 1972 |
<input type="text" name="album_compact_thumb_border_radius" id="album_compact_thumb_border_radius" value="<?php echo $row->album_compact_thumb_border_radius; ?>" class="spider_char_input" />
|
| 1973 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1974 |
</td>
|
| 1975 |
</tr>
|
| 1976 |
<tr>
|
| 1977 |
+
<td class="spider_label"><label for="album_compact_thumb_box_shadow"><?php echo __('Shadow:', 'photo-gallery'); ?> </label></td>
|
| 1978 |
<td>
|
| 1979 |
<input type="text" name="album_compact_thumb_box_shadow" id="album_compact_thumb_box_shadow" value="<?php echo $row->album_compact_thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 1980 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 1981 |
</td>
|
| 1982 |
</tr>
|
| 1983 |
<tr>
|
| 1984 |
+
<td class="spider_label"><label for="album_compact_thumb_hover_effect"><?php echo __('Hover effect:', 'photo-gallery'); ?> </label></td>
|
| 1985 |
<td>
|
| 1986 |
<select name="album_compact_thumb_hover_effect" id="album_compact_thumb_hover_effect">
|
| 1987 |
<?php
|
| 1988 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 1989 |
?>
|
| 1990 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
|
| 1991 |
<?php
|
| 1992 |
}
|
| 1993 |
?>
|
| 1995 |
</td>
|
| 1996 |
</tr>
|
| 1997 |
<tr>
|
| 1998 |
+
<td class="spider_label"><label for="album_compact_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
|
| 1999 |
<td>
|
| 2000 |
<input type="text" name="album_compact_thumb_hover_effect_value" id="album_compact_thumb_hover_effect_value" value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 2001 |
+
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
|
| 2002 |
</td>
|
| 2003 |
</tr>
|
| 2004 |
<tr>
|
| 2005 |
+
<td class="spider_label"><label><?php echo __('Thumbnail transition:', 'photo-gallery'); ?> </label></td>
|
| 2006 |
<td id="album_compact_thumb_transition">
|
| 2007 |
<input type="radio" name="album_compact_thumb_transition" id="album_compact_thumb_transition1" value="1"<?php if ($row->album_compact_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 2008 |
+
<label for="album_compact_thumb_transition1" id="album_compact_thumb_transition1_lbl"><?php echo __('Yes', 'photo-gallery'); ?></label>
|
| 2009 |
<input type="radio" name="album_compact_thumb_transition" id="album_compact_thumb_transition0" value="0"<?php if ($row->album_compact_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 2010 |
+
<label for="album_compact_thumb_transition0" id="album_compact_thumb_transition0_lbl"><?php echo __('No', 'photo-gallery'); ?></label>
|
| 2011 |
</td>
|
| 2012 |
</tr>
|
| 2013 |
</tbody>
|
| 2021 |
<table style="clear:both;">
|
| 2022 |
<tbody>
|
| 2023 |
<tr>
|
| 2024 |
+
<td class="spider_label"><label for="album_compact_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label></td>
|
| 2025 |
<td>
|
| 2026 |
<input type="text" name="album_compact_thumb_bg_color" id="album_compact_thumb_bg_color" value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="jscolor" />
|
| 2027 |
</td>
|
| 2028 |
</tr>
|
| 2029 |
<tr>
|
| 2030 |
+
<td class="spider_label"><label for="album_compact_thumb_bg_transparency"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
|
| 2031 |
<td>
|
| 2032 |
<input type="text" name="album_compact_thumb_bg_transparency" id="album_compact_thumb_bg_transparency" value="<?php echo $row->album_compact_thumb_bg_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2033 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2034 |
</td>
|
| 2035 |
</tr>
|
| 2036 |
<tr>
|
| 2037 |
+
<td class="spider_label"><label for="album_compact_thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
|
| 2038 |
<td>
|
| 2039 |
<input type="text" name="album_compact_thumb_transparent" id="album_compact_thumb_transparent" value="<?php echo $row->album_compact_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2040 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2041 |
</td>
|
| 2042 |
</tr>
|
| 2043 |
<tr>
|
| 2044 |
+
<td class="spider_label"><label for="album_compact_thumbs_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
|
| 2045 |
<td>
|
| 2046 |
<input type="text" name="album_compact_thumbs_bg_color" id="album_compact_thumbs_bg_color" value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="jscolor" />
|
| 2047 |
</td>
|
| 2048 |
</tr>
|
| 2049 |
<tr>
|
| 2050 |
+
<td class="spider_label"><label for="album_compact_thumb_bg_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
|
| 2051 |
<td>
|
| 2052 |
<input type="text" name="album_compact_thumb_bg_transparent" id="album_compact_thumb_bg_transparent" value="<?php echo $row->album_compact_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2053 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2054 |
</td>
|
| 2055 |
</tr>
|
| 2056 |
<tr>
|
| 2057 |
+
<td class="spider_label"><label for="album_compact_thumb_align0"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 2058 |
<td>
|
| 2059 |
<select name="album_compact_thumb_align" id="album_compact_thumb_align">
|
| 2060 |
<?php
|
| 2061 |
foreach ($aligns as $key => $align) {
|
| 2062 |
?>
|
| 2063 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 2064 |
<?php
|
| 2065 |
}
|
| 2066 |
?>
|
| 2078 |
<table style="clear:both;">
|
| 2079 |
<tbody>
|
| 2080 |
<tr>
|
| 2081 |
+
<td class="spider_label"><label><?php echo __('Title position:', 'photo-gallery'); ?> </label></td>
|
| 2082 |
<td>
|
| 2083 |
<input type="radio" name="album_compact_thumb_title_pos" id="album_compact_thumb_title_pos1" value="top" <?php if ($row->album_compact_thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
| 2084 |
+
<label for="album_compact_thumb_title_pos1" id="album_compact_thumb_title_pos1_lbl"><?php echo __('Top', 'photo-gallery'); ?></label>
|
| 2085 |
<input type="radio" name="album_compact_thumb_title_pos" id="album_compact_thumb_title_pos0" value="bottom" <?php if ($row->album_compact_thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
| 2086 |
+
<label for="album_compact_thumb_title_pos0" id="album_compact_thumb_title_pos0_lbl"><?php echo __('Bottom', 'photo-gallery'); ?></label>
|
| 2087 |
</td>
|
| 2088 |
</tr>
|
| 2089 |
<tr>
|
| 2090 |
+
<td class="spider_label"><label for="album_compact_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
|
| 2091 |
<td>
|
| 2092 |
<input type="text" name="album_compact_title_font_size" id="album_compact_title_font_size" value="<?php echo $row->album_compact_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2093 |
</td>
|
| 2094 |
</tr>
|
| 2095 |
<tr>
|
| 2096 |
+
<td class="spider_label"><label for="album_compact_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
|
| 2097 |
<td>
|
| 2098 |
<input type="text" name="album_compact_title_font_color" id="album_compact_title_font_color" value="<?php echo $row->album_compact_title_font_color; ?>" class="jscolor" />
|
| 2099 |
</td>
|
| 2100 |
</tr>
|
| 2101 |
<tr>
|
| 2102 |
+
<td class="spider_label"><label for="album_compact_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
|
| 2103 |
<td>
|
| 2104 |
<input type="text" name="album_compact_title_font_color_hover" id="album_compact_title_font_color_hover" value="<?php echo $row->album_compact_title_font_color_hover; ?>" class="jscolor" />
|
| 2105 |
</td>
|
| 2106 |
</tr>
|
| 2107 |
<tr>
|
| 2108 |
<!--generate font style with google fonts -->
|
| 2109 |
+
<?php $this->font_style_row( $row->album_compact_title_font_style, 'album_compact_title_font_style', __('Title font family:', 'photo-gallery'), 'album_compact_title_google_fonts' ); ?>
|
| 2110 |
</tr>
|
| 2111 |
<tr>
|
| 2112 |
+
<td class="spider_label"><label for="album_compact_title_font_weight"><?php echo __('Title font weight:', 'photo-gallery'); ?> </label></td>
|
| 2113 |
<td>
|
| 2114 |
<select name="album_compact_title_font_weight" id="album_compact_title_font_weight">
|
| 2115 |
<?php
|
| 2116 |
foreach ($font_weights as $key => $font_weight) {
|
| 2117 |
?>
|
| 2118 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2119 |
<?php
|
| 2120 |
}
|
| 2121 |
?>
|
| 2123 |
</td>
|
| 2124 |
</tr>
|
| 2125 |
<tr>
|
| 2126 |
+
<td class="spider_label"><label for="album_compact_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
|
| 2127 |
<td>
|
| 2128 |
<input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow" value="<?php echo $row->album_compact_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2129 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2130 |
</td>
|
| 2131 |
</tr>
|
| 2132 |
<tr>
|
| 2133 |
+
<td class="spider_label"><label for="album_compact_title_margin"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
|
| 2134 |
<td>
|
| 2135 |
<input type="text" name="album_compact_title_margin" id="album_compact_title_margin" value="<?php echo $row->album_compact_title_margin; ?>" class="spider_char_input" />
|
| 2136 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2137 |
</td>
|
| 2138 |
</tr>
|
| 2139 |
<tr>
|
| 2140 |
+
<td class="spider_label"><label for="album_compact_back_font_size"><?php echo __('Back Font size:', 'photo-gallery'); ?> </label></td>
|
| 2141 |
<td>
|
| 2142 |
<input type="text" name="album_compact_back_font_size" id="album_compact_back_font_size" value="<?php echo $row->album_compact_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2143 |
</td>
|
| 2144 |
</tr>
|
| 2145 |
<tr>
|
| 2146 |
+
<td class="spider_label"><label for="album_compact_back_font_color"><?php echo __('Back Font color:', 'photo-gallery'); ?> </label></td>
|
| 2147 |
<td>
|
| 2148 |
<input type="text" name="album_compact_back_font_color" id="album_compact_back_font_color" value="<?php echo $row->album_compact_back_font_color; ?>" class="jscolor" />
|
| 2149 |
</td>
|
| 2150 |
</tr>
|
| 2151 |
<tr>
|
| 2152 |
<!--generate font style with google fonts -->
|
| 2153 |
+
<?php $this->font_style_row( $row->album_compact_back_font_style, 'album_compact_back_font_style', __('Back Font family:', 'photo-gallery'), 'album_compact_back_google_fonts' ); ?>
|
| 2154 |
</tr>
|
| 2155 |
<tr>
|
| 2156 |
+
<td class="spider_label"><label for="album_compact_back_font_weight"><?php echo __('Back Font weight:', 'photo-gallery'); ?> </label></td>
|
| 2157 |
<td>
|
| 2158 |
<select name="album_compact_back_font_weight" id="album_compact_back_font_weight">
|
| 2159 |
<?php
|
| 2160 |
foreach ($font_weights as $key => $font_weight) {
|
| 2161 |
?>
|
| 2162 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2163 |
<?php
|
| 2164 |
}
|
| 2165 |
?>
|
| 2167 |
</td>
|
| 2168 |
</tr>
|
| 2169 |
<tr>
|
| 2170 |
+
<td class="spider_label"><label for="album_compact_back_padding"><?php echo __('Back padding:', 'photo-gallery'); ?> </label></td>
|
| 2171 |
<td>
|
| 2172 |
<input type="text" name="album_compact_back_padding" id="album_compact_back_padding" value="<?php echo $row->album_compact_back_padding; ?>" class="spider_char_input" />
|
| 2173 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2174 |
</td>
|
| 2175 |
</tr>
|
| 2176 |
<tr>
|
| 2177 |
+
<td class="spider_label"><label for="album_compact_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 2178 |
<td>
|
| 2179 |
<input type="text" name="album_compact_gal_title_font_size" id="album_compact_gal_title_font_size" value="<?php echo $row->album_compact_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2180 |
</td>
|
| 2181 |
</tr>
|
| 2182 |
<tr>
|
| 2183 |
+
<td class="spider_label"><label for="album_compact_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 2184 |
<td>
|
| 2185 |
<input type="text" name="album_compact_gal_title_font_color" id="album_compact_gal_title_font_color" value="<?php echo $row->album_compact_gal_title_font_color; ?>" class="jscolor" />
|
| 2186 |
</td>
|
| 2187 |
</tr>
|
| 2188 |
<tr>
|
| 2189 |
<!--generate font style with google fonts -->
|
| 2190 |
+
<?php $this->font_style_row( $row->album_compact_gal_title_font_style, 'album_compact_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'album_compact_gal_title_google_fonts' ); ?>
|
| 2191 |
</tr>
|
| 2192 |
<tr>
|
| 2193 |
+
<td class="spider_label"><label for="album_compact_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 2194 |
<td>
|
| 2195 |
<select name="album_compact_gal_title_font_weight" id="album_compact_gal_title_font_weight">
|
| 2196 |
<?php
|
| 2197 |
foreach ($font_weights as $key => $font_weight) {
|
| 2198 |
?>
|
| 2199 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2200 |
<?php
|
| 2201 |
}
|
| 2202 |
?>
|
| 2204 |
</td>
|
| 2205 |
</tr>
|
| 2206 |
<tr>
|
| 2207 |
+
<td class="spider_label"><label for="album_compact_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 2208 |
<td>
|
| 2209 |
<input type="text" name="album_compact_gal_title_shadow" id="album_compact_gal_title_shadow" value="<?php echo $row->album_compact_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2210 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2211 |
</td>
|
| 2212 |
</tr>
|
| 2213 |
<tr>
|
| 2214 |
+
<td class="spider_label"><label for="album_compact_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 2215 |
<td>
|
| 2216 |
<input type="text" name="album_compact_gal_title_margin" id="album_compact_gal_title_margin" value="<?php echo $row->album_compact_gal_title_margin; ?>" class="spider_char_input" />
|
| 2217 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2218 |
</td>
|
| 2219 |
</tr>
|
| 2220 |
<tr>
|
| 2221 |
+
<td class="spider_label"><label for="album_compact_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 2222 |
<td>
|
| 2223 |
<select name="album_compact_gal_title_align" id="album_compact_gal_title_align">
|
| 2224 |
<?php
|
| 2225 |
foreach ($aligns as $key => $align) {
|
| 2226 |
?>
|
| 2227 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_compact_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 2228 |
<?php
|
| 2229 |
}
|
| 2230 |
?>
|
| 2246 |
<table style="clear:both;">
|
| 2247 |
<tbody>
|
| 2248 |
<tr>
|
| 2249 |
+
<td class="spider_label"><label for="album_extended_thumb_margin"><?php echo __('Thumbnail margin:', 'photo-gallery'); ?> </label></td>
|
| 2250 |
<td>
|
| 2251 |
<input type="text" name="album_extended_thumb_margin" id="album_extended_thumb_margin" value="<?php echo $row->album_extended_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2252 |
</td>
|
| 2253 |
</tr>
|
| 2254 |
<tr>
|
| 2255 |
+
<td class="spider_label"><label for="album_extended_thumb_padding"><?php echo __('Thumbnail padding:', 'photo-gallery'); ?> </label></td>
|
| 2256 |
<td>
|
| 2257 |
<input type="text" name="album_extended_thumb_padding" id="album_extended_thumb_padding" value="<?php echo $row->album_extended_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2258 |
</td>
|
| 2259 |
</tr>
|
| 2260 |
<tr>
|
| 2261 |
+
<td class="spider_label"><label for="album_extended_thumb_border_width"><?php echo __('Thumbnail border width:', 'photo-gallery'); ?> </label></td>
|
| 2262 |
<td>
|
| 2263 |
<input type="text" name="album_extended_thumb_border_width" id="album_extended_thumb_border_width" value="<?php echo $row->album_extended_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2264 |
</td>
|
| 2265 |
</tr>
|
| 2266 |
<tr>
|
| 2267 |
+
<td class="spider_label"><label for="album_extended_thumb_border_style"><?php echo __('Thumbnail border style:', 'photo-gallery'); ?> </label></td>
|
| 2268 |
<td>
|
| 2269 |
<select name="album_extended_thumb_border_style" id="album_extended_thumb_border_style">
|
| 2270 |
<?php
|
| 2271 |
foreach ($border_styles as $key => $border_style) {
|
| 2272 |
?>
|
| 2273 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2274 |
<?php
|
| 2275 |
}
|
| 2276 |
?>
|
| 2278 |
</td>
|
| 2279 |
</tr>
|
| 2280 |
<tr>
|
| 2281 |
+
<td class="spider_label"><label for="album_extended_thumb_border_color"><?php echo __('Thumbnail border color:', 'photo-gallery'); ?> </label></td>
|
| 2282 |
<td>
|
| 2283 |
<input type="text" name="album_extended_thumb_border_color" id="album_extended_thumb_border_color" value="<?php echo $row->album_extended_thumb_border_color; ?>" class="jscolor"/>
|
| 2284 |
</td>
|
| 2285 |
</tr>
|
| 2286 |
<tr>
|
| 2287 |
+
<td class="spider_label"><label for="album_extended_thumb_border_radius"><?php echo __('Thumbnail border radius:', 'photo-gallery'); ?> </label></td>
|
| 2288 |
<td>
|
| 2289 |
<input type="text" name="album_extended_thumb_border_radius" id="album_extended_thumb_border_radius" value="<?php echo $row->album_extended_thumb_border_radius; ?>" class="spider_char_input"/>
|
| 2290 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2291 |
</td>
|
| 2292 |
</tr>
|
| 2293 |
<tr>
|
| 2294 |
+
<td class="spider_label"><label for="album_extended_thumb_box_shadow"><?php echo __('Thumbnail box shadow:', 'photo-gallery'); ?> </label></td>
|
| 2295 |
<td>
|
| 2296 |
<input type="text" name="album_extended_thumb_box_shadow" id="album_extended_thumb_box_shadow" value="<?php echo $row->album_extended_thumb_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2297 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2298 |
</td>
|
| 2299 |
</tr>
|
| 2300 |
<tr>
|
| 2301 |
+
<td class="spider_label"><label><?php echo __('Thumbnail transition:', 'photo-gallery'); ?> </label></td>
|
| 2302 |
<td id="album_extended_thumb_transition">
|
| 2303 |
<input type="radio" name="album_extended_thumb_transition" id="album_extended_thumb_transition1" value="1"<?php if ($row->album_extended_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 2304 |
+
<label for="album_extended_thumb_transition1" id="album_extended_thumb_transition1_lbl"><?php echo __('Yes', 'photo-gallery'); ?></label>
|
| 2305 |
<input type="radio" name="album_extended_thumb_transition" id="album_extended_thumb_transition0" value="0"<?php if ($row->album_extended_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 2306 |
+
<label for="album_extended_thumb_transition0" id="album_extended_thumb_transition0_lbl"><?php echo __('No', 'photo-gallery'); ?></label>
|
| 2307 |
</td>
|
| 2308 |
</tr>
|
| 2309 |
<tr>
|
| 2310 |
+
<td class="spider_label"><label for="album_extended_thumb_align0"><?php echo __('Description alignment:', 'photo-gallery'); ?> </label></td>
|
| 2311 |
<td>
|
| 2312 |
<select name="album_extended_thumb_align" id="album_extended_thumb_align">
|
| 2313 |
<?php
|
| 2314 |
foreach ($aligns as $key => $align) {
|
| 2315 |
?>
|
| 2316 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 2317 |
<?php
|
| 2318 |
}
|
| 2319 |
?>
|
| 2321 |
</td>
|
| 2322 |
</tr>
|
| 2323 |
<tr>
|
| 2324 |
+
<td class="spider_label"><label for="album_extended_thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
|
| 2325 |
<td>
|
| 2326 |
<input type="text" name="album_extended_thumb_transparent" id="album_extended_thumb_transparent" value="<?php echo $row->album_extended_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2327 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2328 |
</td>
|
| 2329 |
</tr>
|
| 2330 |
<tr>
|
| 2331 |
+
<td class="spider_label"><label for="album_extended_thumb_hover_effect"><?php echo __('Thumbnail hover effect:', 'photo-gallery'); ?> </label></td>
|
| 2332 |
<td>
|
| 2333 |
<select name="album_extended_thumb_hover_effect" id="album_extended_thumb_hover_effect">
|
| 2334 |
<?php
|
| 2335 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 2336 |
?>
|
| 2337 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
|
| 2338 |
<?php
|
| 2339 |
}
|
| 2340 |
?>
|
| 2342 |
</td>
|
| 2343 |
</tr>
|
| 2344 |
<tr>
|
| 2345 |
+
<td class="spider_label"><label for="album_extended_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
|
| 2346 |
<td>
|
| 2347 |
<input type="text" name="album_extended_thumb_hover_effect_value" id="album_extended_thumb_hover_effect_value" value="<?php echo $row->album_extended_thumb_hover_effect_value; ?>" class="spider_char_input"/>
|
| 2348 |
+
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
|
| 2349 |
</td>
|
| 2350 |
</tr>
|
| 2351 |
<tr>
|
| 2352 |
+
<td class="spider_label"><label for="album_extended_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label></td>
|
| 2353 |
<td>
|
| 2354 |
<input type="text" name="album_extended_thumb_bg_color" id="album_extended_thumb_bg_color" value="<?php echo $row->album_extended_thumb_bg_color; ?>" class="jscolor"/>
|
| 2355 |
</td>
|
| 2356 |
</tr>
|
| 2357 |
<tr>
|
| 2358 |
+
<td class="spider_label"><label for="album_extended_thumbs_bg_color"><?php echo __('Thumbnails background color:', 'photo-gallery'); ?> </label></td>
|
| 2359 |
<td>
|
| 2360 |
<input type="text" name="album_extended_thumbs_bg_color" id="album_extended_thumbs_bg_color" value="<?php echo $row->album_extended_thumbs_bg_color; ?>" class="jscolor"/>
|
| 2361 |
</td>
|
| 2362 |
</tr>
|
| 2363 |
<tr>
|
| 2364 |
+
<td class="spider_label"><label for="album_extended_thumb_bg_transparent"><?php echo __('Thumbnail background transparency:', 'photo-gallery'); ?> </label></td>
|
| 2365 |
<td>
|
| 2366 |
<input type="text" name="album_extended_thumb_bg_transparent" id="album_extended_thumb_bg_transparent" value="<?php echo $row->album_extended_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2367 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2368 |
</td>
|
| 2369 |
</tr>
|
| 2370 |
</tbody>
|
| 2379 |
<table style="clear:both;">
|
| 2380 |
<tbody>
|
| 2381 |
<tr>
|
| 2382 |
+
<td class="spider_label"><label for="album_extended_thumb_div_padding"><?php echo __('Thumbnail div padding:', 'photo-gallery'); ?> </label></td>
|
| 2383 |
<td>
|
| 2384 |
<input type="text" name="album_extended_thumb_div_padding" id="album_extended_thumb_div_padding" value="<?php echo $row->album_extended_thumb_div_padding; ?>" class="spider_char_input"/>
|
| 2385 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2386 |
</td>
|
| 2387 |
</tr>
|
| 2388 |
<tr>
|
| 2389 |
+
<td class="spider_label"><label for="album_extended_thumb_div_bg_color"><?php echo __('Thumbnail div background color:', 'photo-gallery'); ?> </label></td>
|
| 2390 |
<td>
|
| 2391 |
<input type="text" name="album_extended_thumb_div_bg_color" id="album_extended_thumb_div_bg_color" value="<?php echo $row->album_extended_thumb_div_bg_color; ?>" class="jscolor"/>
|
| 2392 |
</td>
|
| 2393 |
</tr>
|
| 2394 |
<tr>
|
| 2395 |
+
<td class="spider_label"><label for="album_extended_thumb_div_border_width"><?php echo __('Thumbnail div border width:', 'photo-gallery'); ?> </label>
|
| 2396 |
</td>
|
| 2397 |
<td>
|
| 2398 |
<input type="text" name="album_extended_thumb_div_border_width" id="album_extended_thumb_div_border_width" value="<?php echo $row->album_extended_thumb_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2399 |
</td>
|
| 2400 |
</tr>
|
| 2401 |
<tr>
|
| 2402 |
+
<td class="spider_label"><label for="album_extended_thumb_div_border_style">T<?php echo __('humbnail div border style:', 'photo-gallery'); ?> </label></td>
|
| 2403 |
<td>
|
| 2404 |
<select name="album_extended_thumb_div_border_style" id="album_extended_thumb_div_border_style">
|
| 2405 |
<?php
|
| 2406 |
foreach ($border_styles as $key => $border_style) {
|
| 2407 |
?>
|
| 2408 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2409 |
<?php
|
| 2410 |
}
|
| 2411 |
?>
|
| 2413 |
</td>
|
| 2414 |
</tr>
|
| 2415 |
<tr>
|
| 2416 |
+
<td class="spider_label"><label for="album_extended_thumb_div_border_color"><?php echo __('Thumbnail div border color:', 'photo-gallery'); ?> </label></td>
|
| 2417 |
<td>
|
| 2418 |
<input type="text" name="album_extended_thumb_div_border_color" id="album_extended_thumb_div_border_color" value="<?php echo $row->album_extended_thumb_div_border_color; ?>" class="jscolor"/>
|
| 2419 |
</td>
|
| 2420 |
</tr>
|
| 2421 |
<tr>
|
| 2422 |
+
<td class="spider_label"><label for="album_extended_thumb_div_border_radius"><?php echo __('Thumbnail div border radius:', 'photo-gallery'); ?> </label></td>
|
| 2423 |
<td>
|
| 2424 |
<input type="text" name="album_extended_thumb_div_border_radius" id="album_extended_thumb_div_border_radius" value="<?php echo $row->album_extended_thumb_div_border_radius; ?>" class="spider_char_input"/>
|
| 2425 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2426 |
</td>
|
| 2427 |
</tr>
|
| 2428 |
<tr>
|
| 2429 |
+
<td class="spider_label"><label for="album_extended_div_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
|
| 2430 |
<td>
|
| 2431 |
<input type="text" name="album_extended_div_margin" id="album_extended_div_margin" value="<?php echo $row->album_extended_div_margin; ?>" class="spider_char_input"/>
|
| 2432 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2433 |
</td>
|
| 2434 |
</tr>
|
| 2435 |
<tr>
|
| 2436 |
+
<td class="spider_label"><label for="album_extended_div_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
|
| 2437 |
<td>
|
| 2438 |
<input type="text" name="album_extended_div_padding" id="album_extended_div_padding" value="<?php echo $row->album_extended_div_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2439 |
</td>
|
| 2440 |
</tr>
|
| 2441 |
<tr>
|
| 2442 |
+
<td class="spider_label"><label for="album_extended_div_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
|
| 2443 |
<td>
|
| 2444 |
<input type="text" name="album_extended_div_bg_color" id="album_extended_div_bg_color" value="<?php echo $row->album_extended_div_bg_color; ?>" class="jscolor"/>
|
| 2445 |
</td>
|
| 2446 |
</tr>
|
| 2447 |
<tr>
|
| 2448 |
+
<td class="spider_label"><label for="album_extended_div_bg_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
|
| 2449 |
<td>
|
| 2450 |
<input type="text" name="album_extended_div_bg_transparent" id="album_extended_div_bg_transparent" value="<?php echo $row->album_extended_div_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2451 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2452 |
</td>
|
| 2453 |
</tr>
|
| 2454 |
<tr>
|
| 2455 |
+
<td class="spider_label"><label for="album_extended_div_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 2456 |
<td>
|
| 2457 |
<input type="text" name="album_extended_div_border_radius" id="album_extended_div_border_radius" value="<?php echo $row->album_extended_div_border_radius; ?>" class="spider_char_input"/>
|
| 2458 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2459 |
</td>
|
| 2460 |
</tr>
|
| 2461 |
<tr>
|
| 2462 |
+
<td class="spider_label"><label for="album_extended_div_separator_width"><?php echo __('Separator width:', 'photo-gallery'); ?> </label></td>
|
| 2463 |
<td>
|
| 2464 |
<input type="text" name="album_extended_div_separator_width" id="album_extended_div_separator_width" value="<?php echo $row->album_extended_div_separator_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2465 |
</td>
|
| 2466 |
</tr>
|
| 2467 |
<tr>
|
| 2468 |
+
<td class="spider_label"><label for="album_extended_div_separator_style"><?php echo __('Separator style:', 'photo-gallery'); ?> </label></td>
|
| 2469 |
<td>
|
| 2470 |
<select name="album_extended_div_separator_style" id="album_extended_div_separator_style">
|
| 2471 |
<?php
|
| 2472 |
foreach ($border_styles as $key => $border_style) {
|
| 2473 |
?>
|
| 2474 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_div_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2475 |
<?php
|
| 2476 |
}
|
| 2477 |
?>
|
| 2479 |
</td>
|
| 2480 |
</tr>
|
| 2481 |
<tr>
|
| 2482 |
+
<td class="spider_label"><label for="album_extended_div_separator_color"><?php echo __('Separator color:', 'photo-gallery'); ?> </label></td>
|
| 2483 |
<td>
|
| 2484 |
<input type="text" name="album_extended_div_separator_color" id="album_extended_div_separator_color" value="<?php echo $row->album_extended_div_separator_color; ?>" class="jscolor"/>
|
| 2485 |
</td>
|
| 2486 |
</tr>
|
| 2487 |
<tr>
|
| 2488 |
+
<td class="spider_label"><label for="album_extended_back_padding"><?php echo __('Back padding:', 'photo-gallery'); ?> </label></td>
|
| 2489 |
<td>
|
| 2490 |
<input type="text" name="album_extended_back_padding" id="album_extended_back_padding" value="<?php echo $row->album_extended_back_padding; ?>" class="spider_char_input" />
|
| 2491 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2492 |
</td>
|
| 2493 |
</tr>
|
| 2494 |
<tr>
|
| 2495 |
+
<td class="spider_label"><label for="album_extended_back_font_size"><?php echo __('Back font size:', 'photo-gallery'); ?> </label></td>
|
| 2496 |
<td>
|
| 2497 |
<input type="text" name="album_extended_back_font_size" id="album_extended_back_font_size" value="<?php echo $row->album_extended_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2498 |
</td>
|
| 2499 |
</tr>
|
| 2500 |
<tr>
|
| 2501 |
+
<td class="spider_label"><label for="album_extended_back_font_color"><?php echo __('Back font color:', 'photo-gallery'); ?> </label></td>
|
| 2502 |
<td>
|
| 2503 |
<input type="text" name="album_extended_back_font_color" id="album_extended_back_font_color" value="<?php echo $row->album_extended_back_font_color; ?>" class="jscolor"/>
|
| 2504 |
</td>
|
| 2505 |
</tr>
|
| 2506 |
<tr>
|
| 2507 |
<!--generate font style with google fonts -->
|
| 2508 |
+
<?php $this->font_style_row( $row->album_extended_back_font_style, 'album_extended_back_font_style', __('Back font family:', 'photo-gallery'), 'album_extended_back_google_fonts' ); ?>
|
| 2509 |
</tr>
|
| 2510 |
<tr>
|
| 2511 |
+
<td class="spider_label"><label for="album_extended_back_font_weight"><?php echo __('Back font weight:', 'photo-gallery'); ?> </label></td>
|
| 2512 |
<td>
|
| 2513 |
<select name="album_extended_back_font_weight" id="album_extended_back_font_weight">
|
| 2514 |
<?php
|
| 2515 |
foreach ($font_weights as $key => $font_weight) {
|
| 2516 |
?>
|
| 2517 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2518 |
<?php
|
| 2519 |
}
|
| 2520 |
?>
|
| 2532 |
<table style="clear:both;">
|
| 2533 |
<tbody>
|
| 2534 |
<tr>
|
| 2535 |
+
<td class="spider_label"><label for="album_extended_title_desc_alignment"><?php _e('Title/description alignment:', 'photo-gallery'); ?></label></td>
|
| 2536 |
<td>
|
| 2537 |
<select name="album_extended_title_desc_alignment" id="album_extended_title_desc_alignment">
|
| 2538 |
<?php
|
| 2539 |
foreach ( array('top', 'center', 'bottom') as $val ) {
|
| 2540 |
?>
|
| 2541 |
+
<option value="<?php echo $val; ?>" <?php echo (($row->album_extended_title_desc_alignment == $val) ? 'selected="selected"' : ''); ?>><?php echo ucfirst( __($val, 'photo-gallery') ); ?></option>
|
| 2542 |
<?php
|
| 2543 |
}
|
| 2544 |
?>
|
| 2546 |
</td>
|
| 2547 |
</tr>
|
| 2548 |
<tr>
|
| 2549 |
+
<td class="spider_label"><label for="album_extended_text_div_padding"><?php echo __('Text div padding:', 'photo-gallery'); ?> </label></td>
|
| 2550 |
<td>
|
| 2551 |
<input type="text" name="album_extended_text_div_padding" id="album_extended_text_div_padding" value="<?php echo $row->album_extended_text_div_padding; ?>" class="spider_char_input" />
|
| 2552 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2553 |
</td>
|
| 2554 |
</tr>
|
| 2555 |
<tr>
|
| 2556 |
+
<td class="spider_label"><label for="album_extended_text_div_border_width"><?php echo __('Text div border width:', 'photo-gallery'); ?> </label></td>
|
| 2557 |
<td>
|
| 2558 |
<input type="text" name="album_extended_text_div_border_width" id="album_extended_text_div_border_width" value="<?php echo $row->album_extended_text_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2559 |
</td>
|
| 2560 |
</tr>
|
| 2561 |
<tr>
|
| 2562 |
+
<td class="spider_label"><label for="album_extended_text_div_border_style"><?php echo __('Text border style:', 'photo-gallery'); ?> </label></td>
|
| 2563 |
<td>
|
| 2564 |
<select name="album_extended_text_div_border_style" id="album_extended_text_div_border_style">
|
| 2565 |
<?php
|
| 2566 |
foreach ($border_styles as $key => $border_style) {
|
| 2567 |
?>
|
| 2568 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_text_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2569 |
<?php
|
| 2570 |
}
|
| 2571 |
?>
|
| 2573 |
</td>
|
| 2574 |
</tr>
|
| 2575 |
<tr>
|
| 2576 |
+
<td class="spider_label"><label for="album_extended_text_div_border_color"><?php echo __('Text border color:', 'photo-gallery'); ?> </label></td>
|
| 2577 |
<td>
|
| 2578 |
<input type="text" name="album_extended_text_div_border_color" id="album_extended_text_div_border_color" value="<?php echo $row->album_extended_text_div_border_color; ?>" class="jscolor"/>
|
| 2579 |
</td>
|
| 2580 |
</tr>
|
| 2581 |
<tr>
|
| 2582 |
+
<td class="spider_label"><label for="album_extended_text_div_border_radius"><?php echo __('Text div border radius:', 'photo-gallery'); ?> </label></td>
|
| 2583 |
<td>
|
| 2584 |
<input type="text" name="album_extended_text_div_border_radius" id="album_extended_text_div_border_radius" value="<?php echo $row->album_extended_text_div_border_radius; ?>" class="spider_char_input"/>
|
| 2585 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2586 |
</td>
|
| 2587 |
</tr>
|
| 2588 |
<tr>
|
| 2589 |
+
<td class="spider_label"><label for="album_extended_text_div_bg_color"><?php echo __('Text background color:', 'photo-gallery'); ?> </label></td>
|
| 2590 |
<td>
|
| 2591 |
<input type="text" name="album_extended_text_div_bg_color" id="album_extended_text_div_bg_color" value="<?php echo $row->album_extended_text_div_bg_color; ?>" class="jscolor"/>
|
| 2592 |
</td>
|
| 2593 |
</tr>
|
| 2594 |
<tr>
|
| 2595 |
+
<td class="spider_label"><label for="album_extended_title_margin_bottom"><?php echo __('Title margin:', 'photo-gallery'); ?> </label></td>
|
| 2596 |
<td>
|
| 2597 |
<input type="text" name="album_extended_title_margin_bottom" id="album_extended_title_margin_bottom" value="<?php echo $row->album_extended_title_margin_bottom; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2598 |
</td>
|
| 2599 |
</tr>
|
| 2600 |
<tr>
|
| 2601 |
+
<td class="spider_label"><label for="album_extended_title_padding"><?php echo __('Title padding:', 'photo-gallery'); ?> </label></td>
|
| 2602 |
<td>
|
| 2603 |
<input type="text" name="album_extended_title_padding" id="album_extended_title_padding" value="<?php echo $row->album_extended_title_padding; ?>" class="spider_char_input"/>
|
| 2604 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2605 |
</td>
|
| 2606 |
</tr>
|
| 2607 |
<tr>
|
| 2608 |
+
<td class="spider_label"><label for="album_extended_title_span_border_width"><?php echo __('Title border width:', 'photo-gallery'); ?> </label></td>
|
| 2609 |
<td>
|
| 2610 |
<input type="text" name="album_extended_title_span_border_width" id="album_extended_title_span_border_width" value="<?php echo $row->album_extended_title_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2611 |
</td>
|
| 2612 |
</tr>
|
| 2613 |
<tr>
|
| 2614 |
+
<td class="spider_label"><label for="album_extended_title_span_border_style"><?php echo __('Title border style:', 'photo-gallery'); ?> </label></td>
|
| 2615 |
<td>
|
| 2616 |
<select name="album_extended_title_span_border_style" id="album_extended_title_span_border_style">
|
| 2617 |
<?php
|
| 2618 |
foreach ($border_styles as $key => $border_style) {
|
| 2619 |
?>
|
| 2620 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2621 |
<?php
|
| 2622 |
}
|
| 2623 |
?>
|
| 2625 |
</td>
|
| 2626 |
</tr>
|
| 2627 |
<tr>
|
| 2628 |
+
<td class="spider_label"><label for="album_extended_title_span_border_color"><?php echo __('Title border color:', 'photo-gallery'); ?> </label></td>
|
| 2629 |
<td>
|
| 2630 |
<input type="text" name="album_extended_title_span_border_color" id="album_extended_title_span_border_color" value="<?php echo $row->album_extended_title_span_border_color; ?>" class="jscolor"/>
|
| 2631 |
</td>
|
| 2632 |
</tr>
|
| 2633 |
<tr>
|
| 2634 |
+
<td class="spider_label"><label for="album_extended_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
|
| 2635 |
<td>
|
| 2636 |
<input type="text" name="album_extended_title_font_size" id="album_extended_title_font_size" value="<?php echo $row->album_extended_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2637 |
</td>
|
| 2638 |
</tr>
|
| 2639 |
<tr>
|
| 2640 |
+
<td class="spider_label"><label for="album_extended_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
|
| 2641 |
<td>
|
| 2642 |
<input type="text" name="album_extended_title_font_color" id="album_extended_title_font_color" value="<?php echo $row->album_extended_title_font_color; ?>" class="jscolor"/>
|
| 2643 |
</td>
|
| 2644 |
</tr>
|
| 2645 |
<tr>
|
| 2646 |
<!--generate font style with google fonts -->
|
| 2647 |
+
<?php $this->font_style_row( $row->album_extended_title_font_style, 'album_extended_title_font_style', __('Title font family:', 'photo-gallery'), 'album_extended_title_google_fonts' ); ?>
|
| 2648 |
</tr>
|
| 2649 |
<tr>
|
| 2650 |
+
<td class="spider_label"><label for="album_extended_title_font_weight"><?php echo __('Title font weight:', 'photo-gallery'); ?> </label></td>
|
| 2651 |
<td>
|
| 2652 |
<select name="album_extended_title_font_weight" id="album_extended_title_font_weight">
|
| 2653 |
<?php
|
| 2654 |
foreach ($font_weights as $key => $font_weight) {
|
| 2655 |
?>
|
| 2656 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2657 |
<?php
|
| 2658 |
}
|
| 2659 |
?>
|
| 2661 |
</td>
|
| 2662 |
</tr>
|
| 2663 |
<tr>
|
| 2664 |
+
<td class="spider_label"><label for="album_extended_desc_padding"><?php echo __('Description padding:', 'photo-gallery'); ?> </label></td>
|
| 2665 |
<td>
|
| 2666 |
<input type="text" name="album_extended_desc_padding" id="album_extended_desc_padding" value="<?php echo $row->album_extended_desc_padding; ?>" class="spider_char_input"/>
|
| 2667 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2668 |
</td>
|
| 2669 |
</tr>
|
| 2670 |
<tr>
|
| 2671 |
+
<td class="spider_label"><label for="album_extended_desc_span_border_width"><?php echo __('Description border width:', 'photo-gallery'); ?> </label></td>
|
| 2672 |
<td>
|
| 2673 |
<input type="text" name="album_extended_desc_span_border_width" id="album_extended_desc_span_border_width" value="<?php echo $row->album_extended_desc_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2674 |
</td>
|
| 2675 |
</tr>
|
| 2676 |
<tr>
|
| 2677 |
+
<td class="spider_label"><label for="album_extended_desc_span_border_style"><?php echo __('Description border style:', 'photo-gallery'); ?> </label></td>
|
| 2678 |
<td>
|
| 2679 |
<select name="album_extended_desc_span_border_style" id="album_extended_desc_span_border_style">
|
| 2680 |
<?php
|
| 2681 |
foreach ($border_styles as $key => $border_style) {
|
| 2682 |
?>
|
| 2683 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2684 |
<?php
|
| 2685 |
}
|
| 2686 |
?>
|
| 2688 |
</td>
|
| 2689 |
</tr>
|
| 2690 |
<tr>
|
| 2691 |
+
<td class="spider_label"><label for="album_extended_desc_span_border_color"><?php echo __('Description border color:', 'photo-gallery'); ?> </label></td>
|
| 2692 |
<td>
|
| 2693 |
<input type="text" name="album_extended_desc_span_border_color" id="album_extended_desc_span_border_color" value="<?php echo $row->album_extended_desc_span_border_color; ?>" class="jscolor"/>
|
| 2694 |
</td>
|
| 2695 |
</tr>
|
| 2696 |
<tr>
|
| 2697 |
+
<td class="spider_label"><label for="album_extended_desc_font_size"><?php echo __('Description font size:', 'photo-gallery'); ?> </label></td>
|
| 2698 |
<td>
|
| 2699 |
<input type="text" name="album_extended_desc_font_size" id="album_extended_desc_font_size" value="<?php echo $row->album_extended_desc_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2700 |
</td>
|
| 2701 |
</tr>
|
| 2702 |
<tr>
|
| 2703 |
+
<td class="spider_label"><label for="album_extended_desc_font_color"><?php echo __('Description font color:', 'photo-gallery'); ?> </label></td>
|
| 2704 |
<td>
|
| 2705 |
<input type="text" name="album_extended_desc_font_color" id="album_extended_desc_font_color" value="<?php echo $row->album_extended_desc_font_color; ?>" class="jscolor"/>
|
| 2706 |
</td>
|
| 2707 |
</tr>
|
| 2708 |
<tr>
|
| 2709 |
<!--generate font style with google fonts -->
|
| 2710 |
+
<?php $this->font_style_row( $row->album_extended_desc_font_style, 'album_extended_desc_font_style', __('Description font family:', 'photo-gallery'), 'album_extended_desc_google_fonts' ); ?>
|
| 2711 |
</tr>
|
| 2712 |
<tr>
|
| 2713 |
+
<td class="spider_label"><label for="album_extended_desc_font_weight"><?php echo __('Description font weight:', 'photo-gallery'); ?> </label></td>
|
| 2714 |
<td>
|
| 2715 |
<select name="album_extended_desc_font_weight" id="album_extended_desc_font_weight">
|
| 2716 |
<?php
|
| 2717 |
foreach ($font_weights as $key => $font_weight) {
|
| 2718 |
?>
|
| 2719 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2720 |
<?php
|
| 2721 |
}
|
| 2722 |
?>
|
| 2724 |
</td>
|
| 2725 |
</tr>
|
| 2726 |
<tr>
|
| 2727 |
+
<td class="spider_label"><label for="album_extended_desc_more_size"><?php echo __('Description more size:', 'photo-gallery'); ?> </label></td>
|
| 2728 |
<td>
|
| 2729 |
<input type="text" name="album_extended_desc_more_size" id="album_extended_desc_more_size" value="<?php echo $row->album_extended_desc_more_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2730 |
</td>
|
| 2731 |
</tr>
|
| 2732 |
<tr>
|
| 2733 |
+
<td class="spider_label"><label for="album_extended_desc_more_color"><?php echo __('Description more color:', 'photo-gallery'); ?> </label></td>
|
| 2734 |
<td>
|
| 2735 |
<input type="text" name="album_extended_desc_more_color" id="album_extended_desc_more_color" value="<?php echo $row->album_extended_desc_more_color; ?>" class="jscolor"/>
|
| 2736 |
</td>
|
| 2737 |
</tr>
|
| 2738 |
<tr>
|
| 2739 |
+
<td class="spider_label"><label for="album_extended_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 2740 |
<td>
|
| 2741 |
<input type="text" name="album_extended_gal_title_font_size" id="album_extended_gal_title_font_size" value="<?php echo $row->album_extended_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2742 |
</td>
|
| 2743 |
</tr>
|
| 2744 |
<tr>
|
| 2745 |
+
<td class="spider_label"><label for="album_extended_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 2746 |
<td>
|
| 2747 |
<input type="text" name="album_extended_gal_title_font_color" id="album_extended_gal_title_font_color" value="<?php echo $row->album_extended_gal_title_font_color; ?>" class="jscolor" />
|
| 2748 |
</td>
|
| 2749 |
</tr>
|
| 2750 |
<tr>
|
| 2751 |
<!--generate font style with google fonts -->
|
| 2752 |
+
<?php $this->font_style_row( $row->album_extended_gal_title_font_style, 'album_extended_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'album_extended_gal_title_google_fonts' ); ?>
|
| 2753 |
</tr>
|
| 2754 |
<tr>
|
| 2755 |
+
<td class="spider_label"><label for="album_extended_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 2756 |
<td>
|
| 2757 |
<select name="album_extended_gal_title_font_weight" id="album_extended_gal_title_font_weight">
|
| 2758 |
<?php
|
| 2759 |
foreach ($font_weights as $key => $font_weight) {
|
| 2760 |
?>
|
| 2761 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2762 |
<?php
|
| 2763 |
}
|
| 2764 |
?>
|
| 2766 |
</td>
|
| 2767 |
</tr>
|
| 2768 |
<tr>
|
| 2769 |
+
<td class="spider_label"><label for="album_extended_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 2770 |
<td>
|
| 2771 |
<input type="text" name="album_extended_gal_title_shadow" id="album_extended_gal_title_shadow" value="<?php echo $row->album_extended_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2772 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2773 |
</td>
|
| 2774 |
</tr>
|
| 2775 |
<tr>
|
| 2776 |
+
<td class="spider_label"><label for="album_extended_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 2777 |
<td>
|
| 2778 |
<input type="text" name="album_extended_gal_title_margin" id="album_extended_gal_title_margin" value="<?php echo $row->album_extended_gal_title_margin; ?>" class="spider_char_input" />
|
| 2779 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2780 |
</td>
|
| 2781 |
</tr>
|
| 2782 |
<tr>
|
| 2783 |
+
<td class="spider_label"><label for="album_extended_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 2784 |
<td>
|
| 2785 |
<select name="album_extended_gal_title_align" id="album_extended_gal_title_align">
|
| 2786 |
<?php
|
| 2787 |
foreach ($aligns as $key => $align) {
|
| 2788 |
?>
|
| 2789 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_extended_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 2790 |
<?php
|
| 2791 |
}
|
| 2792 |
?>
|
| 2809 |
<tbody>
|
| 2810 |
|
| 2811 |
<tr>
|
| 2812 |
+
<td class="spider_label"><label for="album_masonry_thumb_padding"><?php echo __('Distance between pictures:', 'photo-gallery'); ?> </label></td>
|
| 2813 |
<td>
|
| 2814 |
<input type="text" name="album_masonry_thumb_padding" id="album_masonry_thumb_padding" value="<?php echo $row->album_masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2815 |
</td>
|
| 2816 |
</tr>
|
| 2817 |
<tr>
|
| 2818 |
+
<td class="spider_label"><label><?php _e('Distance from container frame:', 'photo-gallery'); ?> </label></td>
|
| 2819 |
<td>
|
| 2820 |
<input type="radio" name="album_masonry_container_margin" id="album_masonry_container_margin1" value="1"<?php if ($row->album_masonry_container_margin == 1) echo 'checked="checked"'; ?> />
|
| 2821 |
+
<label for="album_masonry_container_margin1"><?php _e('Yes', 'photo-gallery'); ?></label>
|
| 2822 |
<input type="radio" name="album_masonry_container_margin" id="album_masonry_container_margin0" value="0"<?php if ($row->album_masonry_container_margin == 0) echo 'checked="checked"'; ?> />
|
| 2823 |
+
<label for="album_masonry_container_margin0"><?php _e('No', 'photo-gallery'); ?></label>
|
| 2824 |
+
<div class="spider_description"><?php _e('Enable this option to add distance between the parent container and the thumbnails grid.', 'photo-gallery'); ?></div>
|
| 2825 |
</td>
|
| 2826 |
</tr>
|
| 2827 |
<tr>
|
| 2828 |
+
<td class="spider_label"><label for="album_masonry_thumb_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 2829 |
<td>
|
| 2830 |
<input type="text" name="album_masonry_thumb_border_width" id="album_masonry_thumb_border_width" value="<?php echo $row->album_masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2831 |
</td>
|
| 2832 |
</tr>
|
| 2833 |
<tr>
|
| 2834 |
+
<td class="spider_label"><label for="album_masonry_thumb_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 2835 |
<td>
|
| 2836 |
<select name="album_masonry_thumb_border_style" id="album_masonry_thumb_border_style">
|
| 2837 |
<?php
|
| 2838 |
foreach ($border_styles as $key => $border_style) {
|
| 2839 |
?>
|
| 2840 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 2841 |
<?php
|
| 2842 |
}
|
| 2843 |
?>
|
| 2845 |
</td>
|
| 2846 |
</tr>
|
| 2847 |
<tr>
|
| 2848 |
+
<td class="spider_label"><label for="album_masonry_thumb_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
|
| 2849 |
<td>
|
| 2850 |
<input type="text" name="album_masonry_thumb_border_color" id="album_masonry_thumb_border_color" value="<?php echo $row->album_masonry_thumb_border_color; ?>" class="jscolor" />
|
| 2851 |
</td>
|
| 2852 |
</tr>
|
| 2853 |
<tr>
|
| 2854 |
+
<td class="spider_label"><label for="album_masonry_thumb_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 2855 |
<td>
|
| 2856 |
<input type="text" name="album_masonry_thumb_border_radius" id="album_masonry_thumb_border_radius" value="<?php echo $row->album_masonry_thumb_border_radius; ?>" class="spider_char_input" />
|
| 2857 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2858 |
</td>
|
| 2859 |
</tr>
|
| 2860 |
<tr>
|
| 2861 |
+
<td class="spider_label"><label for="album_masonry_thumb_hover_effect"><?php echo __('Hover effect:', 'photo-gallery'); ?> </label></td>
|
| 2862 |
<td>
|
| 2863 |
<select name="album_masonry_thumb_hover_effect" id="album_masonry_thumb_hover_effect">
|
| 2864 |
<?php
|
| 2865 |
foreach ($thumbnail_hover_effects as $key => $hover_effect) {
|
| 2866 |
?>
|
| 2867 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo __($hover_effect, 'photo-gallery'); ?></option>
|
| 2868 |
<?php
|
| 2869 |
}
|
| 2870 |
?>
|
| 2872 |
</td>
|
| 2873 |
</tr>
|
| 2874 |
<tr>
|
| 2875 |
+
<td class="spider_label"><label for="album_masonry_thumb_hover_effect_value"><?php echo __('Hover effect value:', 'photo-gallery'); ?> </label></td>
|
| 2876 |
<td>
|
| 2877 |
<input type="text" name="album_masonry_thumb_hover_effect_value" id="album_masonry_thumb_hover_effect_value" value="<?php echo $row->album_masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
|
| 2878 |
+
<div class="spider_description"><?php echo __('E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.', 'photo-gallery'); ?></div>
|
| 2879 |
</td>
|
| 2880 |
</tr>
|
| 2881 |
<tr>
|
| 2882 |
+
<td class="spider_label"><label><?php echo __('Thumbnail transition:', 'photo-gallery'); ?> </label></td>
|
| 2883 |
<td id="album_masonry_thumb_transition">
|
| 2884 |
<input type="radio" name="album_masonry_thumb_transition" id="album_masonry_thumb_transition1" value="1"<?php if ($row->album_masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
| 2885 |
+
<label for="album_masonry_thumb_transition1" id="album_masonry_thumb_transition1_lbl"><?php echo __('Yes', 'photo-gallery'); ?></label>
|
| 2886 |
<input type="radio" name="album_masonry_thumb_transition" id="album_masonry_thumb_transition0" value="0"<?php if ($row->album_masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
| 2887 |
+
<label for="album_masonry_thumb_transition0" id="album_masonry_thumb_transition0_lbl"><?php echo __('No', 'photo-gallery'); ?></label>
|
| 2888 |
</td>
|
| 2889 |
</tr>
|
| 2890 |
</tbody>
|
| 2899 |
<tbody>
|
| 2900 |
<tr>
|
| 2901 |
<td class="spider_label">
|
| 2902 |
+
<label for="album_masonry_thumb_bg_color"><?php echo __('Thumbnail background color:', 'photo-gallery'); ?> </label>
|
| 2903 |
</td>
|
| 2904 |
<td>
|
| 2905 |
<input type="text" name="album_masonry_thumb_bg_color" id="album_masonry_thumb_bg_color" value="<?php echo $row->album_masonry_thumb_bg_color; ?>" class="jscolor" />
|
| 2906 |
</td>
|
| 2907 |
</tr>
|
| 2908 |
<tr>
|
| 2909 |
+
<td class="spider_label"><label for="album_masonry_thumb_transparent"><?php echo __('Thumbnail transparency:', 'photo-gallery'); ?> </label></td>
|
| 2910 |
<td>
|
| 2911 |
<input type="text" name="album_masonry_thumb_transparent" id="album_masonry_thumb_transparent" value="<?php echo $row->album_masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2912 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2913 |
</td>
|
| 2914 |
</tr>
|
| 2915 |
<tr>
|
| 2916 |
+
<td class="spider_label"><label for="album_masonry_thumbs_bg_color"><?php echo __('Full background color:', 'photo-gallery'); ?> </label></td>
|
| 2917 |
<td>
|
| 2918 |
<input type="text" name="album_masonry_thumbs_bg_color" id="album_masonry_thumbs_bg_color" value="<?php echo $row->album_masonry_thumbs_bg_color; ?>" class="jscolor" />
|
| 2919 |
</td>
|
| 2920 |
</tr>
|
| 2921 |
<tr>
|
| 2922 |
+
<td class="spider_label"><label for="album_masonry_thumb_bg_transparent"><?php echo __('Full background transparency:', 'photo-gallery'); ?> </label></td>
|
| 2923 |
<td>
|
| 2924 |
<input type="text" name="album_masonry_thumb_bg_transparent" id="album_masonry_thumb_bg_transparent" value="<?php echo $row->album_masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 2925 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 2926 |
</td>
|
| 2927 |
</tr>
|
| 2928 |
<tr>
|
| 2929 |
+
<td class="spider_label"><label for="album_masonry_thumb_align0"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 2930 |
<td>
|
| 2931 |
<select name="album_masonry_thumb_align" id="album_masonry_thumb_align">
|
| 2932 |
<?php
|
| 2933 |
foreach ($aligns as $key => $align) {
|
| 2934 |
?>
|
| 2935 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 2936 |
<?php
|
| 2937 |
}
|
| 2938 |
?>
|
| 2950 |
<table style="clear:both;">
|
| 2951 |
<tbody>
|
| 2952 |
<tr>
|
| 2953 |
+
<td class="spider_label"><label for="album_masonry_title_font_size"><?php echo __('Title font size:', 'photo-gallery'); ?> </label></td>
|
| 2954 |
<td>
|
| 2955 |
<input type="text" name="album_masonry_title_font_size" id="album_masonry_title_font_size" value="<?php echo $row->album_masonry_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2956 |
</td>
|
| 2957 |
</tr>
|
| 2958 |
<tr>
|
| 2959 |
+
<td class="spider_label"><label for="album_masonry_title_font_color"><?php echo __('Title font color:', 'photo-gallery'); ?> </label></td>
|
| 2960 |
<td>
|
| 2961 |
<input type="text" name="album_masonry_title_font_color" id="album_masonry_title_font_color" value="<?php echo $row->album_masonry_title_font_color; ?>" class="jscolor" />
|
| 2962 |
</td>
|
| 2963 |
</tr>
|
| 2964 |
<tr>
|
| 2965 |
+
<td class="spider_label"><label for="album_masonry_thumb_title_font_color_hover"><?php echo __('Title font color (Show on hover):', 'photo-gallery'); ?> </label></td>
|
| 2966 |
<td>
|
| 2967 |
<input type="text" name="album_masonry_thumb_title_font_color_hover" id="album_masonry_thumb_title_font_color_hover" value="<?php echo $row->album_masonry_thumb_title_font_color_hover; ?>" class="jscolor" />
|
| 2968 |
</td>
|
| 2969 |
</tr>
|
| 2970 |
<tr>
|
| 2971 |
<!--generate font style with google fonts -->
|
| 2972 |
+
<?php $this->font_style_row( $row->album_masonry_title_font_style, 'album_masonry_title_font_style', __('Title font family:', 'photo-gallery'), 'album_masonry_title_google_fonts' ); ?>
|
| 2973 |
</tr>
|
| 2974 |
<tr>
|
| 2975 |
+
<td class="spider_label"><label for="album_masonry_title_font_weight"><?php echo __('Title font weight:', 'photo-gallery'); ?> </label></td>
|
| 2976 |
<td>
|
| 2977 |
<select name="album_masonry_title_font_weight" id="album_masonry_title_font_weight">
|
| 2978 |
<?php
|
| 2979 |
foreach ($font_weights as $key => $font_weight) {
|
| 2980 |
?>
|
| 2981 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 2982 |
<?php
|
| 2983 |
}
|
| 2984 |
?>
|
| 2986 |
</td>
|
| 2987 |
</tr>
|
| 2988 |
<tr>
|
| 2989 |
+
<td class="spider_label"><label for="album_masonry_title_shadow"><?php echo __('Title box shadow:', 'photo-gallery'); ?> </label></td>
|
| 2990 |
<td>
|
| 2991 |
<input type="text" name="album_masonry_title_shadow" id="album_masonry_title_shadow" value="<?php echo $row->album_masonry_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 2992 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 2993 |
</td>
|
| 2994 |
</tr>
|
| 2995 |
<tr>
|
| 2996 |
+
<td class="spider_label"><label for="album_masonry_back_font_size"><?php echo __('Back Font size:', 'photo-gallery'); ?> </label></td>
|
| 2997 |
<td>
|
| 2998 |
<input type="text" name="album_masonry_back_font_size" id="album_masonry_back_font_size" value="<?php echo $row->album_masonry_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 2999 |
</td>
|
| 3000 |
</tr>
|
| 3001 |
<tr>
|
| 3002 |
+
<td class="spider_label"><label for="album_masonry_back_font_color"><?php echo __('Back Font color:', 'photo-gallery'); ?> </label></td>
|
| 3003 |
<td>
|
| 3004 |
<input type="text" name="album_masonry_back_font_color" id="album_masonry_back_font_color" value="<?php echo $row->album_masonry_back_font_color; ?>" class="jscolor" />
|
| 3005 |
</td>
|
| 3006 |
</tr>
|
| 3007 |
<tr>
|
| 3008 |
<!--generate font style with google fonts -->
|
| 3009 |
+
<?php $this->font_style_row( $row->album_masonry_back_font_style, 'album_masonry_back_font_style', __('Back Font family:', 'photo-gallery'), 'album_masonry_back_google_fonts' ); ?>
|
| 3010 |
</tr>
|
| 3011 |
<tr>
|
| 3012 |
+
<td class="spider_label"><label for="album_masonry_back_font_weight"><?php echo __('Back Font weight:', 'photo-gallery'); ?> </label></td>
|
| 3013 |
<td>
|
| 3014 |
<select name="album_masonry_back_font_weight" id="album_masonry_back_font_weight">
|
| 3015 |
<?php
|
| 3016 |
foreach ($font_weights as $key => $font_weight) {
|
| 3017 |
?>
|
| 3018 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 3019 |
<?php
|
| 3020 |
}
|
| 3021 |
?>
|
| 3023 |
</td>
|
| 3024 |
</tr>
|
| 3025 |
<tr>
|
| 3026 |
+
<td class="spider_label"><label for="album_masonry_back_padding"><?php echo __('Back padding:', 'photo-gallery'); ?> </label></td>
|
| 3027 |
<td>
|
| 3028 |
<input type="text" name="album_masonry_back_padding" id="album_masonry_back_padding" value="<?php echo $row->album_masonry_back_padding; ?>" class="spider_char_input" />
|
| 3029 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3030 |
</td>
|
| 3031 |
</tr>
|
| 3032 |
<tr>
|
| 3033 |
+
<td class="spider_label"><label for="album_masonry_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 3034 |
<td>
|
| 3035 |
<input type="text" name="album_masonry_gal_title_font_size" id="album_masonry_gal_title_font_size" value="<?php echo $row->album_masonry_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3036 |
</td>
|
| 3037 |
</tr>
|
| 3038 |
<tr>
|
| 3039 |
+
<td class="spider_label"><label for="album_masonry_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 3040 |
<td>
|
| 3041 |
<input type="text" name="album_masonry_gal_title_font_color" id="album_masonry_gal_title_font_color" value="<?php echo $row->album_masonry_gal_title_font_color; ?>" class="jscolor" />
|
| 3042 |
</td>
|
| 3043 |
</tr>
|
| 3044 |
<tr>
|
| 3045 |
<!--generate font style with google fonts -->
|
| 3046 |
+
<?php $this->font_style_row( $row->album_masonry_gal_title_font_style, 'album_masonry_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'album_masonry_gal_title_google_fonts' ); ?>
|
| 3047 |
</tr>
|
| 3048 |
<tr>
|
| 3049 |
+
<td class="spider_label"><label for="album_masonry_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 3050 |
<td>
|
| 3051 |
<select name="album_masonry_gal_title_font_weight" id="album_masonry_gal_title_font_weight">
|
| 3052 |
<?php
|
| 3053 |
foreach ($font_weights as $key => $font_weight) {
|
| 3054 |
?>
|
| 3055 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 3056 |
<?php
|
| 3057 |
}
|
| 3058 |
?>
|
| 3060 |
</td>
|
| 3061 |
</tr>
|
| 3062 |
<tr>
|
| 3063 |
+
<td class="spider_label"><label for="album_masonry_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 3064 |
<td>
|
| 3065 |
<input type="text" name="album_masonry_gal_title_shadow" id="album_masonry_gal_title_shadow" value="<?php echo $row->album_masonry_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3066 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3067 |
</td>
|
| 3068 |
</tr>
|
| 3069 |
<tr>
|
| 3070 |
+
<td class="spider_label"><label for="album_masonry_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 3071 |
<td>
|
| 3072 |
<input type="text" name="album_masonry_gal_title_margin" id="album_masonry_gal_title_margin" value="<?php echo $row->album_masonry_gal_title_margin; ?>" class="spider_char_input" />
|
| 3073 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3074 |
</td>
|
| 3075 |
</tr>
|
| 3076 |
<tr>
|
| 3077 |
+
<td class="spider_label"><label for="album_masonry_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 3078 |
<td>
|
| 3079 |
<select name="album_masonry_gal_title_align" id="album_masonry_gal_title_align">
|
| 3080 |
<?php
|
| 3081 |
foreach ($aligns as $key => $align) {
|
| 3082 |
?>
|
| 3083 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->album_masonry_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 3084 |
<?php
|
| 3085 |
}
|
| 3086 |
?>
|
| 3102 |
<table style="clear:both;">
|
| 3103 |
<tbody>
|
| 3104 |
<tr>
|
| 3105 |
+
<td class="spider_label"><label for="blog_style_bg_color"><?php echo __('Background color:', 'photo-gallery'); ?> </label></td>
|
| 3106 |
<td>
|
| 3107 |
<input type="text" name="blog_style_bg_color" id="blog_style_bg_color" value="<?php echo $row->blog_style_bg_color; ?>" class="jscolor"/>
|
| 3108 |
</td>
|
| 3109 |
</tr>
|
| 3110 |
<tr>
|
| 3111 |
+
<td class="spider_label"><label for="blog_style_transparent"><?php echo __('Background transparency:', 'photo-gallery'); ?> </label></td>
|
| 3112 |
<td>
|
| 3113 |
<input type="text" name="blog_style_transparent" id="blog_style_transparent" value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3114 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 3115 |
</td>
|
| 3116 |
</tr>
|
| 3117 |
<tr>
|
| 3118 |
+
<td class="spider_label"><label for="blog_style_align0"><?php echo __('Alignment:', 'photo-gallery'); ?> </label></td>
|
| 3119 |
<td>
|
| 3120 |
<select name="blog_style_align" id="blog_style_align">
|
| 3121 |
<?php
|
| 3122 |
foreach ($aligns as $key => $align) {
|
| 3123 |
?>
|
| 3124 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 3125 |
<?php
|
| 3126 |
}
|
| 3127 |
?>
|
| 3129 |
</td>
|
| 3130 |
</tr>
|
| 3131 |
<tr>
|
| 3132 |
+
<td class="spider_label"><label for="blog_style_margin"><?php echo __('Margin:', 'photo-gallery'); ?> </label></td>
|
| 3133 |
<td>
|
| 3134 |
<input type="text" name="blog_style_margin" id="blog_style_margin" value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
|
| 3135 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3136 |
</td>
|
| 3137 |
</tr>
|
| 3138 |
<tr>
|
| 3139 |
+
<td class="spider_label"><label for="blog_style_padding"><?php echo __('Padding:', 'photo-gallery'); ?> </label></td>
|
| 3140 |
<td>
|
| 3141 |
<input type="text" name="blog_style_padding" id="blog_style_padding" value="<?php echo $row->blog_style_padding; ?>" class="spider_char_input"/>
|
| 3142 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3143 |
</td>
|
| 3144 |
</tr>
|
| 3145 |
<tr>
|
| 3146 |
+
<td class="spider_label"><label for="blog_style_box_shadow"><?php echo __('Box shadow:', 'photo-gallery'); ?> </label></td>
|
| 3147 |
<td>
|
| 3148 |
<input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow" value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3149 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3150 |
</td>
|
| 3151 |
</tr>
|
| 3152 |
</tbody>
|
| 3161 |
<tbody>
|
| 3162 |
<tr>
|
| 3163 |
<!--generate font style with google fonts -->
|
| 3164 |
+
<?php $this->font_style_row( $row->blog_style_img_font_family, 'blog_style_img_font_family', __('Font family:', 'photo-gallery'), 'blog_style_img_google_fonts' ); ?>
|
| 3165 |
</tr>
|
| 3166 |
<tr>
|
| 3167 |
+
<td class="spider_label"><label for="blog_style_img_font_size"><?php echo __('Font size:', 'photo-gallery'); ?> </label></td>
|
| 3168 |
<td>
|
| 3169 |
<input type="text" name="blog_style_img_font_size" id="blog_style_img_font_size" value="<?php echo $row->blog_style_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3170 |
</td>
|
| 3171 |
</tr>
|
| 3172 |
<tr>
|
| 3173 |
+
<td class="spider_label"><label for="blog_style_img_font_color"><?php echo __('Font color:', 'photo-gallery'); ?> </label></td>
|
| 3174 |
<td>
|
| 3175 |
<input type="text" name="blog_style_img_font_color" id="blog_style_img_font_color" value="<?php echo $row->blog_style_img_font_color; ?>" class="jscolor"/>
|
| 3176 |
</td>
|
| 3177 |
</tr>
|
| 3178 |
<tr>
|
| 3179 |
+
<td class="spider_label"><label for="blog_style_border_width"><?php echo __('Border width:', 'photo-gallery'); ?> </label></td>
|
| 3180 |
<td>
|
| 3181 |
<input type="text" name="blog_style_border_width" id="blog_style_border_width" value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3182 |
</td>
|
| 3183 |
</tr>
|
| 3184 |
<tr>
|
| 3185 |
+
<td class="spider_label"><label for="blog_style_border_style"><?php echo __('Border style:', 'photo-gallery'); ?> </label></td>
|
| 3186 |
<td>
|
| 3187 |
<select name="blog_style_border_style" id="blog_style_border_style">
|
| 3188 |
<?php
|
| 3189 |
foreach ($border_styles as $key => $border_style) {
|
| 3190 |
?>
|
| 3191 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 3192 |
<?php
|
| 3193 |
}
|
| 3194 |
?>
|
| 3196 |
</td>
|
| 3197 |
</tr>
|
| 3198 |
<tr>
|
| 3199 |
+
<td class="spider_label"><label for="blog_style_border_color"><?php echo __('Border color:', 'photo-gallery'); ?> </label></td>
|
| 3200 |
<td>
|
| 3201 |
<input type="text" name="blog_style_border_color" id="blog_style_border_color" value="<?php echo $row->blog_style_border_color; ?>" class="jscolor" />
|
| 3202 |
</td>
|
| 3203 |
</tr>
|
| 3204 |
<tr>
|
| 3205 |
+
<td class="spider_label"><label for="blog_style_border_radius"><?php echo __('Border radius:', 'photo-gallery'); ?> </label></td>
|
| 3206 |
<td>
|
| 3207 |
<input type="text" name="blog_style_border_radius" id="blog_style_border_radius" value="<?php echo $row->blog_style_border_radius; ?>" class="spider_char_input"/>
|
| 3208 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3209 |
</td>
|
| 3210 |
</tr>
|
| 3211 |
</tbody>
|
| 3219 |
<table style="clear:both;">
|
| 3220 |
<tbody>
|
| 3221 |
<tr>
|
| 3222 |
+
<td class="spider_label"><label for="blog_style_share_buttons_margin"><?php echo __('Buttons and title margin:', 'photo-gallery'); ?> </label></td>
|
| 3223 |
<td>
|
| 3224 |
<input type="text" name="blog_style_share_buttons_margin" id="blog_style_share_buttons_margin" value="<?php echo $row->blog_style_share_buttons_margin; ?>" class="spider_char_input"/>
|
| 3225 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3226 |
</td>
|
| 3227 |
</tr>
|
| 3228 |
<tr>
|
| 3229 |
+
<td class="spider_label"><label for="blog_style_share_buttons_font_size"><?php echo __('Buttons size:', 'photo-gallery'); ?> </label></td>
|
| 3230 |
<td>
|
| 3231 |
<input type="text" name="blog_style_share_buttons_font_size" id="blog_style_share_buttons_font_size" value="<?php echo $row->blog_style_share_buttons_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3232 |
</td>
|
| 3233 |
</tr>
|
| 3234 |
<tr>
|
| 3235 |
+
<td class="spider_label"><label for="blog_style_share_buttons_color"><?php echo __('Buttons color:', 'photo-gallery'); ?> </label></td>
|
| 3236 |
<td>
|
| 3237 |
<input type="text" name="blog_style_share_buttons_color" id="blog_style_share_buttons_color" value="<?php echo $row->blog_style_share_buttons_color; ?>" class="jscolor"/>
|
| 3238 |
</td>
|
| 3239 |
</tr>
|
| 3240 |
<tr>
|
| 3241 |
+
<td class="spider_label"><label for="blog_style_share_buttons_border_width"><?php echo __('Buttons and title border width:', 'photo-gallery'); ?> </label></td>
|
| 3242 |
<td>
|
| 3243 |
<input type="text" name="blog_style_share_buttons_border_width" id="blog_style_share_buttons_border_width" value="<?php echo $row->blog_style_share_buttons_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3244 |
</td>
|
| 3245 |
</tr>
|
| 3246 |
<tr>
|
| 3247 |
+
<td class="spider_label"><label for="blog_style_share_buttons_border_style"><?php echo __('Buttons and title border style:', 'photo-gallery'); ?> </label></td>
|
| 3248 |
<td>
|
| 3249 |
<select name="blog_style_share_buttons_border_style" id="blog_style_share_buttons_border_style">
|
| 3250 |
<?php
|
| 3251 |
foreach ($border_styles as $key => $border_style) {
|
| 3252 |
?>
|
| 3253 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 3254 |
<?php
|
| 3255 |
}
|
| 3256 |
?>
|
| 3258 |
</td>
|
| 3259 |
</tr>
|
| 3260 |
<tr>
|
| 3261 |
+
<td class="spider_label"><label for="blog_style_share_buttons_border_color"><?php echo __('Buttons and title border color:', 'photo-gallery'); ?> </label></td>
|
| 3262 |
<td>
|
| 3263 |
<input type="text" name="blog_style_share_buttons_border_color" id="blog_style_share_buttons_border_color" value="<?php echo $row->blog_style_share_buttons_border_color; ?>" class="jscolor"/>
|
| 3264 |
</td>
|
| 3265 |
</tr>
|
| 3266 |
<tr>
|
| 3267 |
+
<td class="spider_label"><label for="blog_style_share_buttons_border_radius"><?php echo __('Buttons and title border radius:', 'photo-gallery'); ?> </label></td>
|
| 3268 |
<td>
|
| 3269 |
<input type="text" name="blog_style_share_buttons_border_radius" id="blog_style_share_buttons_border_radius" value="<?php echo $row->blog_style_share_buttons_border_radius; ?>" class="spider_char_input"/>
|
| 3270 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3271 |
</td>
|
| 3272 |
</tr>
|
| 3273 |
<tr>
|
| 3274 |
+
<td class="spider_label"><label for="blog_style_share_buttons_bg_color"><?php echo __('Buttons and title background color:', 'photo-gallery'); ?> </label></td>
|
| 3275 |
<td>
|
| 3276 |
<input type="text" name="blog_style_share_buttons_bg_color" id="blog_style_share_buttons_bg_color" value="<?php echo $row->blog_style_share_buttons_bg_color; ?>" class="jscolor"/>
|
| 3277 |
</td>
|
| 3278 |
</tr>
|
| 3279 |
<tr>
|
| 3280 |
+
<td class="spider_label"><label for="blog_style_share_buttons_bg_transparent"><?php echo __('Buttons and title background transparency:', 'photo-gallery'); ?> </label></td>
|
| 3281 |
<td>
|
| 3282 |
<input type="text" name="blog_style_share_buttons_bg_transparent" id="blog_style_share_buttons_bg_transparent" value="<?php echo $row->blog_style_share_buttons_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3283 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 3284 |
</td>
|
| 3285 |
</tr>
|
| 3286 |
<tr>
|
| 3287 |
+
<td class="spider_label"><label for="blog_style_share_buttons_align0"><?php echo __('Buttons or title alignment:', 'photo-gallery'); ?> </label></td>
|
| 3288 |
<td>
|
| 3289 |
<select name="blog_style_share_buttons_align" id="blog_style_share_buttons_align">
|
| 3290 |
<?php
|
| 3291 |
foreach ($aligns as $key => $align) {
|
| 3292 |
?>
|
| 3293 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 3294 |
<?php
|
| 3295 |
}
|
| 3296 |
?>
|
| 3298 |
</td>
|
| 3299 |
</tr>
|
| 3300 |
<tr>
|
| 3301 |
+
<td class="spider_label"><label for="blog_style_gal_title_font_size"><?php echo __('Gallery title/description font size:', 'photo-gallery'); ?> </label></td>
|
| 3302 |
<td>
|
| 3303 |
<input type="text" name="blog_style_gal_title_font_size" id="blog_style_gal_title_font_size" value="<?php echo
|
| 3304 |
$row->blog_style_gal_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3305 |
</td>
|
| 3306 |
</tr>
|
| 3307 |
<tr>
|
| 3308 |
+
<td class="spider_label"><label for="blog_style_gal_title_font_color"><?php echo __('Gallery title/description font color:', 'photo-gallery'); ?> </label></td>
|
| 3309 |
<td>
|
| 3310 |
<input type="text" name="blog_style_gal_title_font_color" id="blog_style_gal_title_font_color" value="<?php echo $row->blog_style_gal_title_font_color; ?>" class="jscolor" />
|
| 3311 |
</td>
|
| 3312 |
</tr>
|
| 3313 |
<tr>
|
| 3314 |
<!--generate font style with google fonts -->
|
| 3315 |
+
<?php $this->font_style_row( $row->blog_style_gal_title_font_style, 'blog_style_gal_title_font_style', __('Gallery title/description font family:', 'photo-gallery'), 'blog_style_gal_title_google_fonts' ); ?>
|
| 3316 |
</tr>
|
| 3317 |
<tr>
|
| 3318 |
+
<td class="spider_label"><label for="blog_style_gal_title_font_weight"><?php echo __('Gallery title/description font weight:', 'photo-gallery'); ?> </label></td>
|
| 3319 |
<td>
|
| 3320 |
<select name="blog_style_gal_title_font_weight" id="blog_style_gal_title_font_weight">
|
| 3321 |
<?php
|
| 3322 |
foreach ($font_weights as $key => $font_weight) {
|
| 3323 |
?>
|
| 3324 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_gal_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo __($font_weight, 'photo-gallery'); ?></option>
|
| 3325 |
<?php
|
| 3326 |
}
|
| 3327 |
?>
|
| 3329 |
</td>
|
| 3330 |
</tr>
|
| 3331 |
<tr>
|
| 3332 |
+
<td class="spider_label"><label for="blog_style_gal_title_shadow"><?php echo __('Gallery title/description box shadow:', 'photo-gallery'); ?> </label></td>
|
| 3333 |
<td>
|
| 3334 |
<input type="text" name="blog_style_gal_title_shadow" id="blog_style_gal_title_shadow" value="<?php echo $row->blog_style_gal_title_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3335 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3336 |
</td>
|
| 3337 |
</tr>
|
| 3338 |
<tr>
|
| 3339 |
+
<td class="spider_label"><label for="blog_style_gal_title_margin"><?php echo __('Gallery title/description margin:', 'photo-gallery'); ?> </label></td>
|
| 3340 |
<td>
|
| 3341 |
<input type="text" name="blog_style_gal_title_margin" id="blog_style_gal_title_margin" value="<?php echo $row->blog_style_gal_title_margin; ?>" class="spider_char_input" />
|
| 3342 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3343 |
</td>
|
| 3344 |
</tr>
|
| 3345 |
<tr>
|
| 3346 |
+
<td class="spider_label"><label for="blog_style_gal_title_align"><?php echo __('Gallery title alignment:', 'photo-gallery'); ?> </label></td>
|
| 3347 |
<td>
|
| 3348 |
<select name="blog_style_gal_title_align" id="blog_style_gal_title_align">
|
| 3349 |
<?php
|
| 3350 |
foreach ($aligns as $key => $align) {
|
| 3351 |
?>
|
| 3352 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->blog_style_gal_title_align == $key) ? 'selected="selected"' : ''); ?>><?php echo _e($align, 'photo-gallery'); ?></option>
|
| 3353 |
<?php
|
| 3354 |
}
|
| 3355 |
?>
|
| 3371 |
<table style="clear:both;">
|
| 3372 |
<tbody>
|
| 3373 |
<tr id="lightbox_overlay_bg">
|
| 3374 |
+
<td class="spider_label"><label for="lightbox_overlay_bg_color"><?php echo __('Overlay background color:', 'photo-gallery'); ?> </label></td>
|
| 3375 |
<td>
|
| 3376 |
<input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color" value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="jscolor"/>
|
| 3377 |
</td>
|
| 3378 |
</tr>
|
| 3379 |
<tr id="lightbox_overlay">
|
| 3380 |
+
<td class="spider_label"><label for="lightbox_overlay_bg_transparent"><?php echo __('Overlay background transparency:', 'photo-gallery'); ?> </label></td>
|
| 3381 |
<td>
|
| 3382 |
<input type="text" name="lightbox_overlay_bg_transparent" id="lightbox_overlay_bg_transparent" value="<?php echo $row->lightbox_overlay_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3383 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 3384 |
</td>
|
| 3385 |
</tr>
|
| 3386 |
<tr id="lightbox_bg">
|
| 3387 |
+
<td class="spider_label"><label for="lightbox_bg_color"><?php echo __('Lightbox background color:', 'photo-gallery'); ?> </label></td>
|
| 3388 |
<td>
|
| 3389 |
<input type="text" name="lightbox_bg_color" id="lightbox_bg_color" value="<?php echo $row->lightbox_bg_color; ?>" class="jscolor"/>
|
| 3390 |
</td>
|
| 3391 |
</tr>
|
| 3392 |
<tr id="lightbox_transparency">
|
| 3393 |
+
<td class="spider_label"><label for="lightbox_bg_transparent"><?php echo __('Lightbox background transparency:', 'photo-gallery'); ?> </label></td>
|
| 3394 |
<td>
|
| 3395 |
<input type="text" name="lightbox_bg_transparent" id="lightbox_bg_transparent" value="<?php echo $row->lightbox_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3396 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 3397 |
</td>
|
| 3398 |
</tr>
|
| 3399 |
<tr id="lightbox_cntrl1">
|
| 3400 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_height"><?php echo __('Control buttons height:', 'photo-gallery'); ?> </label></td>
|
| 3401 |
<td>
|
| 3402 |
<input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height" value="<?php echo $row->lightbox_ctrl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3403 |
</td>
|
| 3404 |
</tr>
|
| 3405 |
<tr id="lightbox_cntrl2">
|
| 3406 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_top"><?php echo __('Control buttons margin (top):', 'photo-gallery'); ?> </label></td>
|
| 3407 |
<td>
|
| 3408 |
<input type="text" name="lightbox_ctrl_btn_margin_top" id="lightbox_ctrl_btn_margin_top" value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3409 |
</td>
|
| 3410 |
</tr>
|
| 3411 |
<tr id="lightbox_cntrl3">
|
| 3412 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_left"><?php echo __('Control buttons margin (left):', 'photo-gallery'); ?> </label></td>
|
| 3413 |
<td>
|
| 3414 |
<input type="text" name="lightbox_ctrl_btn_margin_left" id="lightbox_ctrl_btn_margin_left" value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3415 |
</td>
|
| 3416 |
</tr>
|
| 3417 |
<tr id="lightbox_cntrl9">
|
| 3418 |
+
<td class="spider_label"><label><?php echo __('Control buttons position:', 'photo-gallery'); ?> </label></td>
|
| 3419 |
<td>
|
| 3420 |
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos1" value="top"<?php if ($row->lightbox_ctrl_btn_pos == "top") echo 'checked="checked"'; ?> />
|
| 3421 |
+
<label for="lightbox_ctrl_btn_pos1" id="lightbox_ctrl_btn_pos1_lbl"><?php echo __('Top', 'photo-gallery'); ?></label>
|
| 3422 |
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos0" value="bottom"<?php if ($row->lightbox_ctrl_btn_pos == "bottom") echo 'checked="checked"'; ?> />
|
| 3423 |
+
<label for="lightbox_ctrl_btn_pos0" id="lightbox_ctrl_btn_pos0_lbl"><?php echo __('Bottom', 'photo-gallery'); ?></label>
|
| 3424 |
</td>
|
| 3425 |
</tr>
|
| 3426 |
<tr id="lightbox_cntrl8">
|
| 3427 |
+
<td class="spider_label"><label for="lightbox_ctrl_cont_bg_color"><?php echo __('Control buttons background color:', 'photo-gallery'); ?> </label></td>
|
| 3428 |
<td>
|
| 3429 |
<input type="text" name="lightbox_ctrl_cont_bg_color" id="lightbox_ctrl_cont_bg_color" value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="jscolor"/>
|
| 3430 |
</td>
|
| 3431 |
</tr>
|
| 3432 |
<tr id="lightbox_cntrl5">
|
| 3433 |
+
<td class="spider_label"><label for="lightbox_ctrl_cont_border_radius"><?php echo __('Control buttons container border radius:', 'photo-gallery'); ?> </label></td>
|
| 3434 |
<td>
|
| 3435 |
<input type="text" name="lightbox_ctrl_cont_border_radius" id="lightbox_ctrl_cont_border_radius" value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>" class="spider_char_input"/>
|
| 3436 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3437 |
</td>
|
| 3438 |
</tr>
|
| 3439 |
<tr id="lightbox_cntrl6">
|
| 3440 |
+
<td class="spider_label"><label for="lightbox_ctrl_cont_transparent"><?php echo __('Control buttons container background transparency:', 'photo-gallery'); ?> </label></td>
|
| 3441 |
<td>
|
| 3442 |
<input type="text" name="lightbox_ctrl_cont_transparent" id="lightbox_ctrl_cont_transparent" value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3443 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 3444 |
</td>
|
| 3445 |
</tr>
|
| 3446 |
<tr id="lightbox_cntrl10">
|
| 3447 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_align0"><?php echo __('Control buttons alignment:', 'photo-gallery'); ?> </label></td>
|
| 3448 |
<td>
|
| 3449 |
<select name="lightbox_ctrl_btn_align" id="lightbox_ctrl_btn_align">
|
| 3450 |
<?php
|
| 3451 |
foreach ($aligns as $key => $align) {
|
| 3452 |
?>
|
| 3453 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo __($align, 'photo-gallery'); ?></option>
|
| 3454 |
<?php
|
| 3455 |
}
|
| 3456 |
?>
|
| 3458 |
</td>
|
| 3459 |
</tr>
|
| 3460 |
<tr id="lightbox_cntrl7">
|
| 3461 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_color"><?php echo __('Control buttons color:', 'photo-gallery'); ?> </label></td>
|
| 3462 |
<td>
|
| 3463 |
<input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="jscolor"/>
|
| 3464 |
</td>
|
| 3465 |
</tr>
|
| 3466 |
<tr id="lightbox_cntrl4">
|
| 3467 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_transparent"><?php echo __('Control buttons transparency:', 'photo-gallery'); ?> </label></td>
|
| 3468 |
<td>
|
| 3469 |
<input type="text" name="lightbox_ctrl_btn_transparent" id="lightbox_ctrl_btn_transparent" value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3470 |
+
<div class="spider_description"><?php echo __('Value must be between 0 to 100.', 'photo-gallery'); ?></div>
|
| 3471 |
</td>
|
| 3472 |
</tr>
|
| 3473 |
<tr id="lightbox_toggle1">
|
| 3474 |
+
<td class="spider_label"><label for="lightbox_toggle_btn_height"><?php echo __('Toggle button height:', 'photo-gallery'); ?> </label></td>
|
| 3475 |
<td>
|
| 3476 |
<input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height" value="<?php echo $row->lightbox_toggle_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3477 |
</td>
|
| 3478 |
</tr>
|
| 3479 |
<tr id="lightbox_toggle2">
|
| 3480 |
+
<td class="spider_label"><label for="lightbox_toggle_btn_width"><?php echo __('Toggle button width:', 'photo-gallery'); ?> </label></td>
|
| 3481 |
<td>
|
| 3482 |
<input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width" value="<?php echo $row->lightbox_toggle_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3483 |
</td>
|
| 3484 |
</tr>
|
| 3485 |
<tr id="lightbox_close1">
|
| 3486 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_radius"><?php echo __('Close button border radius:', 'photo-gallery'); ?> </label>
|
| 3487 |
</td>
|
| 3488 |
<td>
|
| 3489 |
<input type="text" name="lightbox_close_btn_border_radius" id="lightbox_close_btn_border_radius" value="<?php echo $row->lightbox_close_btn_border_radius; ?>" class="spider_char_input"/>
|
| 3490 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3491 |
</td>
|
| 3492 |
</tr>
|
| 3493 |
<tr id="lightbox_close2">
|
| 3494 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_width"><?php echo __('Close button border width:', 'photo-gallery'); ?> </label></td>
|
| 3495 |
<td>
|
| 3496 |
<input type="text" name="lightbox_close_btn_border_width" id="lightbox_close_btn_border_width" value="<?php echo $row->lightbox_close_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3497 |
</td>
|
| 3498 |
</tr>
|
| 3499 |
<tr id="lightbox_close12">
|
| 3500 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_style"><?php echo __('Close button border style:', 'photo-gallery'); ?> </label></td>
|
| 3501 |
<td>
|
| 3502 |
<select name="lightbox_close_btn_border_style" id="lightbox_close_btn_border_style">
|
| 3503 |
<?php
|
| 3504 |
foreach ($border_styles as $key => $border_style) {
|
| 3505 |
?>
|
| 3506 |
+
<option value="<?php echo $key; ?>" <?php echo (($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo __($border_style, 'photo-gallery'); ?></option>
|
| 3507 |
<?php
|
| 3508 |
}
|
| 3509 |
?>
|
| 3511 |
</td>
|
| 3512 |
</tr>
|
| 3513 |
<tr id="lightbox_close13">
|
| 3514 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_color"><?php echo __('Close button border color:', 'photo-gallery'); ?> </label></td>
|
| 3515 |
<td>
|
| 3516 |
<input type="text" name="lightbox_close_btn_border_color" id="lightbox_close_btn_border_color" value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="jscolor"/>
|
| 3517 |
</td>
|
| 3518 |
</tr>
|
| 3519 |
<tr id="lightbox_close3">
|
| 3520 |
+
<td class="spider_label"><label for="lightbox_close_btn_box_shadow"><?php echo __('Close button box shadow:', 'photo-gallery'); ?> </label></td>
|
| 3521 |
<td>
|
| 3522 |
<input type="text" name="lightbox_close_btn_box_shadow" id="lightbox_close_btn_box_shadow" value="<?php echo $row->lightbox_close_btn_box_shadow; ?>" class="spider_box_input" placeholder="10px 10px 10px #888888" />
|
| 3523 |
+
<div class="spider_description"><?php echo __('Use CSS type values.', 'photo-gallery'); ?></div>
|
| 3524 |
</td>
|
| 3525 |
</tr>
|
| 3526 |
<tr id="lightbox_close11">
|
| 3527 |
+
<td class="spider_label"><label for="lightbox_close_btn_bg_color"><?php echo __('Close button background color:', 'photo-gallery'); ?> </label></td>
|
| 3528 |
<td>
|
| 3529 |
<input type="text" name="lightbox_close_btn_bg_color" id="lightbox_close_btn_bg_color" value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="jscolor"/>
|
| 3530 |
+
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
|
| 3531 |
</td>
|
| 3532 |
</tr>
|
| 3533 |
<tr id="lightbox_close9">
|
| 3534 |
+
<td class="spider_label"><label for="lightbox_close_btn_transparent"><?php echo __('Close button transparency:', 'photo-gallery'); ?> </label></td>
|
| 3535 |
<td>
|
| 3536 |
<input type="text" name="lightbox_close_btn_transparent" id="lightbox_close_btn_transparent" value="<?php echo $row->lightbox_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
| 3537 |
</td>
|
| 3538 |
</tr>
|
| 3539 |
<tr id="lightbox_close5">
|
| 3540 |
+
<td class="spider_label"><label for="lightbox_close_btn_width"><?php echo __('Close button width:', 'photo-gallery'); ?> </label></td>
|
| 3541 |
<td>
|
| 3542 |
<input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width" value="<?php echo $row->lightbox_close_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3543 |
+
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
|
| 3544 |
</td>
|
| 3545 |
</tr>
|
| 3546 |
<tr id="lightbox_close6">
|
| 3547 |
+
<td class="spider_label"><label for="lightbox_close_btn_height"><?php echo __('Close button height:', 'photo-gallery'); ?> </label></td>
|
| 3548 |
<td>
|
| 3549 |
<input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height" value="<?php echo $row->lightbox_close_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3550 |
+
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
|
| 3551 |
</td>
|
| 3552 |
</tr>
|
| 3553 |
<tr id="lightbox_close7">
|
| 3554 |
+
<td class="spider_label"><label for="lightbox_close_btn_top"><?php echo __('Close button top:', 'photo-gallery'); ?> </label></td>
|
| 3555 |
<td>
|
| 3556 |
<input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top" value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3557 |
+
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
|
| 3558 |
</td>
|
| 3559 |
</tr>
|
| 3560 |
<tr id="lightbox_close8">
|
| 3561 |
+
<td class="spider_label"><label for="lightbox_close_btn_right"><?php echo __('Close button right:', 'photo-gallery'); ?> </label></td>
|
| 3562 |
<td>
|
| 3563 |
<input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right" value="<?php echo $row->lightbox_close_btn_right; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3564 |
+
<div class="spider_description"><?php echo __('The option does not apply to Full-width lightbox.', 'photo-gallery'); ?></div>
|
| 3565 |
</td>
|
| 3566 |
</tr>
|
| 3567 |
<tr id="lightbox_close4">
|
| 3568 |
+
<td class="spider_label"><label for="lightbox_close_btn_size"><?php echo __('Close button size:', 'photo-gallery'); ?> </label></td>
|
| 3569 |
<td>
|
| 3570 |
<input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size" value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
| 3571 |
</td>
|
| 3572 |
</tr>
|
| 3573 |
<tr id="lightbox_close14">
|
| 3574 |
+
<td class="spider_label"><label for="lightbox_close_btn_color"><?php echo __('Close button color:', 'photo-gallery'); ?> </label></td>
|
| 3575 |
<td>
|
| 3576 |
<input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="jscolor"/>
|
| 3577 |
</td>
|
| 3578 |
</tr>
|
| 3579 |
<tr id="lightbox_close10">
|
| 3580 |
+
<td class="spider_label"><label for="lightbox_close_btn_full_color"><?php echo __('Fullscreen close button color:', 'photo-gallery'); ?> </label></td>
|
| 3581 |
<td>
|
| 3582 |
<input type="text" name="lightbox_close_btn_full_color" id="lightbox_close_btn_full_color" value="<?php echo $row->lightbox_close_btn_full_color; ?>" class="jscolor"/>
|
| 3583 |
</td>
|
| 3584 |
</tr>
|
| 3585 |
<tr id="lightbox_comment24">
|
| 3586 |
+
<td class="spider_label"><label for="lightbox_comment_share_button_color"><?php echo __('Share buttons color:', 'photo-gallery'); ?> </label></td>
|
| 3587 |
<td>
|
| 3588 |
<input type="text" name="lightbox_comment_share_button_color" id="lightbox_comment_share_button_color" value="<?php echo $row->lightbox_comment_share_button_color; ?>" class="jscolor" />
|
| 3589 |
</td>
|
| 3599 |
<table style="clear:both;">
|
| 3600 |
<tbody>
|
| 3601 |
<tr id="lightbo
|
