Version Description
- Fixed: Pagination type "scroll load" functionality.
- Fixed: Album back to previous functionality.
- Changed: Remove overview page.
- Fixed: Delete temporary zip file after images bulk download.
- Fixed: Facebook Images do not resize after lightbox resize.
- Added: Gutenberg integration.
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.4.8 |
Comparing to | |
See all releases |
Code changes from version 1.4.7 to 1.4.8
- admin/controllers/Galleries.php +6 -6
- admin/controllers/Options.php +0 -18
- admin/controllers/Shortcode.php +0 -18
- admin/models/Galleries.php +71 -36
- admin/views/AdminView.php +1 -1
- admin/views/Galleries.php +5 -12
- admin/views/Options.php +3023 -2971
- admin/views/Shortcode.php +142 -2362
- css/bwg_frontend.css +20 -0
- css/bwg_tables.css +1 -1
- css/tw-gb/block.css +27 -6
- filemanager/UploadHandler.php +0 -1
- filemanager/view.php +9 -8
- framework/BWGOptions.php +6 -6
- framework/WDWLibrary.php +41 -26
- frontend/controllers/BWGControllerSlideshow.php +0 -19
- frontend/controllers/controller.php +25 -7
- frontend/models/BWGModelGalleryBox.php +4 -2
- frontend/models/BWGModelSlideshow.php +0 -3
- frontend/views/BWGViewAlbum_compact_preview.php +12 -4
- frontend/views/BWGViewAlbum_extended_preview.php +12 -2
- frontend/views/BWGViewGalleryBox.php +685 -20
- frontend/views/BWGViewImage_browser.php +11 -1
- frontend/views/BWGViewSlideshow.php +288 -410
admin/controllers/Galleries.php
CHANGED
@@ -24,8 +24,8 @@ class GalleriesController_bwg {
|
|
24 |
private $image_actions = array();
|
25 |
|
26 |
public function __construct() {
|
27 |
-
|
28 |
-
|
29 |
$this->model = new GalleriesModel_bwg();
|
30 |
$this->view = new GalleriesView_bwg();
|
31 |
$this->page = WDWLibrary::get('page');
|
@@ -394,10 +394,10 @@ class GalleriesController_bwg {
|
|
394 |
$message = array('gallery_message' => $data['saved'], 'image_message' => '');
|
395 |
|
396 |
$ajax_task = WDWLibrary::get('ajax_task', '');
|
397 |
-
if ( $ajax_task
|
398 |
if ( method_exists($this->model, $ajax_task) ) {
|
399 |
$image_id = WDWLibrary::get('image_current_id', 0);
|
400 |
-
$message['image_message'] = $this->model->$ajax_task($image_id, $all);
|
401 |
}
|
402 |
}
|
403 |
|
@@ -421,13 +421,13 @@ class GalleriesController_bwg {
|
|
421 |
|
422 |
if ( method_exists($this->model, $image_action) ) {
|
423 |
if ( $all ) {
|
424 |
-
$message['image_message'] = $this->model->$image_action(0, TRUE);
|
425 |
}
|
426 |
else {
|
427 |
if ( $check ) {
|
428 |
foreach ( $check as $image_id ) {
|
429 |
if ( strpos($image_id, 'pr_') === FALSE ) {
|
430 |
-
$message['image_message'] = $this->model->$image_action($image_id);
|
431 |
if ( $message['image_message'] == 6 ) {
|
432 |
// Action set watermark with none watermark type.
|
433 |
break;
|
24 |
private $image_actions = array();
|
25 |
|
26 |
public function __construct() {
|
27 |
+
// Allowed upload mime_types.
|
28 |
+
add_filter('upload_mimes', array(BWG(), 'allowed_upload_mime_types'), 10, 2);
|
29 |
$this->model = new GalleriesModel_bwg();
|
30 |
$this->view = new GalleriesView_bwg();
|
31 |
$this->page = WDWLibrary::get('page');
|
394 |
$message = array('gallery_message' => $data['saved'], 'image_message' => '');
|
395 |
|
396 |
$ajax_task = WDWLibrary::get('ajax_task', '');
|
397 |
+
if ( $ajax_task !== '' ) {
|
398 |
if ( method_exists($this->model, $ajax_task) ) {
|
399 |
$image_id = WDWLibrary::get('image_current_id', 0);
|
400 |
+
$message['image_message'] = $this->model->$ajax_task($image_id, $data['id'], $all);
|
401 |
}
|
402 |
}
|
403 |
|
421 |
|
422 |
if ( method_exists($this->model, $image_action) ) {
|
423 |
if ( $all ) {
|
424 |
+
$message['image_message'] = $this->model->$image_action(0, $data['id'], TRUE);
|
425 |
}
|
426 |
else {
|
427 |
if ( $check ) {
|
428 |
foreach ( $check as $image_id ) {
|
429 |
if ( strpos($image_id, 'pr_') === FALSE ) {
|
430 |
+
$message['image_message'] = $this->model->$image_action($image_id, $data['id']);
|
431 |
if ( $message['image_message'] == 6 ) {
|
432 |
// Action set watermark with none watermark type.
|
433 |
break;
|
admin/controllers/Options.php
CHANGED
@@ -41,24 +41,6 @@ class OptionsController_bwg {
|
|
41 |
'monospace' => 'Monospace',
|
42 |
'serif' => 'Serif',
|
43 |
);
|
44 |
-
$params['effects'] = array(
|
45 |
-
'none' => 'None',
|
46 |
-
'cubeH' => 'Cube Horizontal',
|
47 |
-
'cubeV' => 'Cube Vertical',
|
48 |
-
'fade' => 'Fade',
|
49 |
-
'sliceH' => 'Slice Horizontal',
|
50 |
-
'sliceV' => 'Slice Vertical',
|
51 |
-
'slideH' => 'Slide Horizontal',
|
52 |
-
'slideV' => 'Slide Vertical',
|
53 |
-
'scaleOut' => 'Scale Out',
|
54 |
-
'scaleIn' => 'Scale In',
|
55 |
-
'blockScale' => 'Block Scale',
|
56 |
-
'kaleidoscope' => 'Kaleidoscope',
|
57 |
-
'fan' => 'Fan',
|
58 |
-
'blindH' => 'Blind Horizontal',
|
59 |
-
'blindV' => 'Blind Vertical',
|
60 |
-
'random' => 'Random',
|
61 |
-
);
|
62 |
$params['page_title'] = __('Edit options', BWG()->prefix);
|
63 |
$params['active_tab'] = WDWLibrary::get('active_tab', 0);
|
64 |
$params['gallery_type'] = WDWLibrary::get('gallery_type', 'thumbnails');
|
41 |
'monospace' => 'Monospace',
|
42 |
'serif' => 'Serif',
|
43 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
$params['page_title'] = __('Edit options', BWG()->prefix);
|
45 |
$params['active_tab'] = WDWLibrary::get('active_tab', 0);
|
46 |
$params['gallery_type'] = WDWLibrary::get('gallery_type', 'thumbnails');
|
admin/controllers/Shortcode.php
CHANGED
@@ -34,24 +34,6 @@ class ShortcodeController_bwg {
|
|
34 |
$params['shortcode_max_id'] = $this->model->get_shortcode_max_id();
|
35 |
$params['tag_rows'] = $this->model->get_tag_rows_data();
|
36 |
|
37 |
-
$params['effects'] = array(
|
38 |
-
'none' => __('None',BWG()->prefix),
|
39 |
-
'cubeH' => __('Cube Horizontal',BWG()->prefix),
|
40 |
-
'cubeV' => __('Cube Vertical',BWG()->prefix),
|
41 |
-
'fade' => __('Fade',BWG()->prefix),
|
42 |
-
'sliceH' => __('Slice Horizontal',BWG()->prefix),
|
43 |
-
'sliceV' => __('Slice Vertical',BWG()->prefix),
|
44 |
-
'slideH' => __('Slide Horizontal',BWG()->prefix),
|
45 |
-
'slideV' => __('Slide Vertical',BWG()->prefix),
|
46 |
-
'scaleOut' => __('Scale Out',BWG()->prefix),
|
47 |
-
'scaleIn' => __('Scale In',BWG()->prefix),
|
48 |
-
'blockScale' => __('Block Scale',BWG()->prefix),
|
49 |
-
'kaleidoscope' => __('Kaleidoscope',BWG()->prefix),
|
50 |
-
'fan' => __('Fan',BWG()->prefix),
|
51 |
-
'blindH' => __('Blind Horizontal',BWG()->prefix),
|
52 |
-
'blindV' => __('Blind Vertical',BWG()->prefix),
|
53 |
-
'random' => __('Random',BWG()->prefix),
|
54 |
-
);
|
55 |
$params['watermark_fonts'] = WDWLibrary::get_fonts();
|
56 |
$params['gallery_types_name'] = array(
|
57 |
'thumbnails' => __('Thumbnails', BWG()->prefix),
|
34 |
$params['shortcode_max_id'] = $this->model->get_shortcode_max_id();
|
35 |
$params['tag_rows'] = $this->model->get_tag_rows_data();
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
$params['watermark_fonts'] = WDWLibrary::get_fonts();
|
38 |
$params['gallery_types_name'] = array(
|
39 |
'thumbnails' => __('Thumbnails', BWG()->prefix),
|
admin/models/Galleries.php
CHANGED
@@ -21,7 +21,7 @@ class GalleriesModel_bwg {
|
|
21 |
$search = $params['search'];
|
22 |
|
23 |
if ( !$total ) {
|
24 |
-
$query = 'SELECT t1.*, count(
|
25 |
}
|
26 |
else {
|
27 |
$query = 'SELECT COUNT(*)';
|
@@ -402,6 +402,7 @@ class GalleriesModel_bwg {
|
|
402 |
$image_ids = WDWLibrary::get('ids_string', '');
|
403 |
$image_id_array = explode(',', $image_ids);
|
404 |
$save = TRUE;
|
|
|
405 |
foreach ( $image_id_array as $image_id ) {
|
406 |
if ( $image_id ) {
|
407 |
$filename = WDWLibrary::get('input_filename_' . $image_id, '');
|
@@ -415,7 +416,6 @@ class GalleriesModel_bwg {
|
|
415 |
$resolution = WDWLibrary::get('input_resolution_' . $image_id, '');
|
416 |
$order = (int) WDWLibrary::get('order_input_' . $image_id, 0);
|
417 |
$redirect_url = WDWLibrary::get('redirect_url_' . $image_id, '');
|
418 |
-
$author = get_current_user_id();
|
419 |
$tags_ids = WDWLibrary::get('tags_' . $image_id, '');
|
420 |
$data = array(
|
421 |
'gallery_id' => $gallery_id,
|
@@ -559,14 +559,17 @@ class GalleriesModel_bwg {
|
|
559 |
* Delete image.
|
560 |
*
|
561 |
* @param $id
|
|
|
562 |
* @param bool $all
|
563 |
*
|
564 |
* @return int
|
565 |
*/
|
566 |
-
public function image_delete( $id, $all = FALSE ) {
|
567 |
global $wpdb;
|
568 |
-
$
|
569 |
-
|
|
|
|
|
570 |
$where .= ($all ? '' : ' AND id=' . $id);
|
571 |
$image_where = ($all ? '' : ' WHERE image_id=' . $id);
|
572 |
|
@@ -609,14 +612,17 @@ class GalleriesModel_bwg {
|
|
609 |
* Publish image.
|
610 |
*
|
611 |
* @param $id
|
|
|
612 |
* @param bool $all
|
613 |
*
|
614 |
* @return int
|
615 |
*/
|
616 |
-
public function image_publish( $id, $all = FALSE ) {
|
617 |
global $wpdb;
|
618 |
-
$
|
619 |
-
|
|
|
|
|
620 |
$where .= ($all ? '' : ' AND id=' . $id);
|
621 |
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_image` SET published=1' . $where);
|
622 |
|
@@ -631,14 +637,17 @@ class GalleriesModel_bwg {
|
|
631 |
* Unpublish image.
|
632 |
*
|
633 |
* @param $id
|
|
|
634 |
* @param bool $all
|
635 |
*
|
636 |
* @return int
|
637 |
*/
|
638 |
-
public function image_unpublish( $id, $all = FALSE ) {
|
639 |
global $wpdb;
|
640 |
-
$
|
641 |
-
|
|
|
|
|
642 |
$where .= ($all ? '' : ' AND id=' . $id);
|
643 |
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_image` SET published=0' . $where);
|
644 |
|
@@ -653,13 +662,16 @@ class GalleriesModel_bwg {
|
|
653 |
* Reset image.
|
654 |
*
|
655 |
* @param $id
|
|
|
656 |
* @param bool $all
|
657 |
*
|
658 |
* @return int
|
659 |
*/
|
660 |
-
public function image_reset( $id, $all = FALSE ) {
|
661 |
if ( $all ) {
|
662 |
-
$gallery_id
|
|
|
|
|
663 |
WDWLibrary::bwg_image_recover_all($gallery_id);
|
664 |
}
|
665 |
else {
|
@@ -668,8 +680,8 @@ class GalleriesModel_bwg {
|
|
668 |
$width = BWG()->options->upload_img_width;
|
669 |
$image = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
|
670 |
WDWLibrary::recover_image($image, $thumb_width, $width, 'gallery_page');
|
671 |
-
|
672 |
-
|
673 |
}
|
674 |
return 20;
|
675 |
}
|
@@ -678,12 +690,15 @@ class GalleriesModel_bwg {
|
|
678 |
* Set watermark.
|
679 |
*
|
680 |
* @param $id
|
|
|
681 |
* @param bool $all
|
682 |
*
|
683 |
* @return int
|
684 |
*/
|
685 |
-
public function image_set_watermark($id, $all = FALSE) {
|
686 |
-
$gallery_id
|
|
|
|
|
687 |
$message_id = WDWLibrary::bwg_image_set_watermark($gallery_id, ($all ? 0 : $id));
|
688 |
|
689 |
return $message_id;
|
@@ -693,24 +708,26 @@ class GalleriesModel_bwg {
|
|
693 |
* Rotate left.
|
694 |
*
|
695 |
* @param $id
|
|
|
696 |
* @param bool $all
|
697 |
*
|
698 |
* @return int
|
699 |
*/
|
700 |
-
public function image_rotate_left($id, $all = FALSE) {
|
701 |
-
return $this->rotate(90, $id, $all);
|
702 |
}
|
703 |
|
704 |
/**
|
705 |
* Rotate right.
|
706 |
*
|
707 |
* @param $id
|
|
|
708 |
* @param bool $all
|
709 |
*
|
710 |
* @return int
|
711 |
*/
|
712 |
-
public function image_rotate_right($id, $all = FALSE) {
|
713 |
-
return $this->rotate(270, $id, $all);
|
714 |
}
|
715 |
|
716 |
/**
|
@@ -718,14 +735,17 @@ class GalleriesModel_bwg {
|
|
718 |
*
|
719 |
* @param $edit_type
|
720 |
* @param int $id
|
|
|
721 |
* @param bool $all
|
722 |
*
|
723 |
* @return int
|
724 |
*/
|
725 |
-
public function rotate( $edit_type, $id = 0, $all = FALSE ) {
|
726 |
global $wpdb;
|
727 |
$image_id = ($all ? 0 : $id);
|
728 |
-
$gallery_id
|
|
|
|
|
729 |
$where = ( ($gallery_id) ? ' `gallery_id` = ' . $gallery_id . ($image_id ? ' AND `id` = ' . $image_id : '' ) : 1 );
|
730 |
$images_data = $wpdb->get_results( 'SELECT id, image_url, thumb_url FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where );
|
731 |
@ini_set('memory_limit', '-1');
|
@@ -798,14 +818,17 @@ class GalleriesModel_bwg {
|
|
798 |
* Recreate thumbnail.
|
799 |
*
|
800 |
* @param $id
|
|
|
801 |
* @param bool $all
|
802 |
*
|
803 |
* @return int
|
804 |
*/
|
805 |
-
public function image_recreate_thumbnail($id, $all = FALSE) {
|
806 |
$image_id = ($all ? 0 : $id);
|
807 |
global $wpdb;
|
808 |
-
$gallery_id
|
|
|
|
|
809 |
$where = ( ($gallery_id) ? ' `gallery_id` = ' . $gallery_id . ( $image_id ? ' AND `id` = ' . $image_id : '' ) : 1 );
|
810 |
$img_ids = $wpdb->get_results( 'SELECT id, thumb_url FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where );
|
811 |
foreach ( $img_ids as $img_id ) {
|
@@ -868,17 +891,20 @@ class GalleriesModel_bwg {
|
|
868 |
* Resize image.
|
869 |
*
|
870 |
* @param $id
|
|
|
871 |
* @param bool $all
|
872 |
*
|
873 |
* @return int
|
874 |
*/
|
875 |
-
public function image_resize($id, $all = FALSE) {
|
876 |
$image_id = ($all ? 0 : $id);
|
877 |
global $wpdb;
|
878 |
-
$gallery_id
|
|
|
|
|
879 |
$image_width = (int) WDWLibrary::get('image_width', 1600);
|
880 |
$image_height = (int) WDWLibrary::get('image_height', 1200);
|
881 |
-
|
882 |
$images = $wpdb->get_results('SELECT * FROM `' . $wpdb->prefix . 'bwg_image` ' . $where );
|
883 |
if ( !empty($images) ) {
|
884 |
foreach ( $images as $image ) {
|
@@ -980,12 +1006,15 @@ class GalleriesModel_bwg {
|
|
980 |
* Edit image alt/description/redirect URL.
|
981 |
*
|
982 |
* @param $id
|
|
|
983 |
* @param bool $all
|
984 |
*
|
985 |
* @return int
|
986 |
*/
|
987 |
-
public function image_edit($id, $all = FALSE) {
|
988 |
-
$gallery_id
|
|
|
|
|
989 |
$where = ($all ? array('gallery_id' => $gallery_id ) : array('id' => $id));
|
990 |
$title = WDWLibrary::get('title', '');
|
991 |
$desc = WDWLibrary::get('desc', '');
|
@@ -1000,9 +1029,11 @@ class GalleriesModel_bwg {
|
|
1000 |
return 25;
|
1001 |
}
|
1002 |
|
1003 |
-
public function image_add_tag($id, $all = FALSE) {
|
1004 |
$image_id = ($all ? 0 : $id);
|
1005 |
-
$gallery_id
|
|
|
|
|
1006 |
$tag_ids = WDWLibrary::get('added_tags_id', '');
|
1007 |
$tag_ids_array = explode(',', $tag_ids);
|
1008 |
global $wpdb;
|
@@ -1027,14 +1058,16 @@ class GalleriesModel_bwg {
|
|
1027 |
return 25;
|
1028 |
}
|
1029 |
|
1030 |
-
public function set_image_pricelist($id, $all = FALSE) {
|
1031 |
global $wpdb;
|
1032 |
$pricelist_id = (int) WDWLibrary::get('image_pricelist_id', 0);
|
1033 |
$item_longest_dimension = $wpdb->get_var('SELECT MAX(item_longest_dimension) AS item_longest_dimension FROM ' . $wpdb->prefix . 'wdpg_ecommerce_pricelist_items AS T_PRICELIST_ITEMS LEFT JOIN ' . $wpdb->prefix . 'wdpg_ecommerce_pricelists AS T_PRICELISTS ON T_PRICELIST_ITEMS.pricelist_id = T_PRICELISTS.id WHERE T_PRICELIST_ITEMS.pricelist_id="' . $pricelist_id . '" AND T_PRICELISTS.sections LIKE "%downloads%"');
|
1034 |
$not_set_items = array();
|
1035 |
if ($pricelist_id) {
|
1036 |
$image_id = ($all ? 0 : $id);
|
1037 |
-
$gallery_id
|
|
|
|
|
1038 |
$image_ids_col = $wpdb->get_col($wpdb->prepare('SELECT id FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"' . ($image_id ? ' AND id=%d' : ''), ($image_id ? array($gallery_id, $image_id) : array($gallery_id))));
|
1039 |
foreach ($image_ids_col as $image_id) {
|
1040 |
$file_path = str_replace("thumb", ".original", htmlspecialchars_decode(ABSPATH . BWG()->upload_dir . $_POST['thumb_url_' . $image_id], ENT_COMPAT | ENT_QUOTES));
|
@@ -1059,9 +1092,11 @@ class GalleriesModel_bwg {
|
|
1059 |
}
|
1060 |
}
|
1061 |
|
1062 |
-
public function remove_pricelist_all($id, $all = FALSE) {
|
1063 |
global $wpdb;
|
1064 |
-
$gallery_id
|
|
|
|
|
1065 |
$image_id = ($all ? 0 : $id);
|
1066 |
$image_ids_col = $wpdb->get_col($wpdb->prepare('SELECT id FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"' . ($image_id ? ' AND id=%d' : ''), ($image_id ? array($gallery_id, $image_id) : array($gallery_id))));
|
1067 |
foreach ( $image_ids_col as $image_id ) {
|
21 |
$search = $params['search'];
|
22 |
|
23 |
if ( !$total ) {
|
24 |
+
$query = 'SELECT t1.*, count(t2.id) as images_count';
|
25 |
}
|
26 |
else {
|
27 |
$query = 'SELECT COUNT(*)';
|
402 |
$image_ids = WDWLibrary::get('ids_string', '');
|
403 |
$image_id_array = explode(',', $image_ids);
|
404 |
$save = TRUE;
|
405 |
+
$author = get_current_user_id();
|
406 |
foreach ( $image_id_array as $image_id ) {
|
407 |
if ( $image_id ) {
|
408 |
$filename = WDWLibrary::get('input_filename_' . $image_id, '');
|
416 |
$resolution = WDWLibrary::get('input_resolution_' . $image_id, '');
|
417 |
$order = (int) WDWLibrary::get('order_input_' . $image_id, 0);
|
418 |
$redirect_url = WDWLibrary::get('redirect_url_' . $image_id, '');
|
|
|
419 |
$tags_ids = WDWLibrary::get('tags_' . $image_id, '');
|
420 |
$data = array(
|
421 |
'gallery_id' => $gallery_id,
|
559 |
* Delete image.
|
560 |
*
|
561 |
* @param $id
|
562 |
+
* @param $gallery_id
|
563 |
* @param bool $all
|
564 |
*
|
565 |
* @return int
|
566 |
*/
|
567 |
+
public function image_delete( $id, $gallery_id = 0, $all = FALSE ) {
|
568 |
global $wpdb;
|
569 |
+
if ( $gallery_id == 0 ) {
|
570 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
571 |
+
}
|
572 |
+
$where = 'WHERE gallery_id=' . $gallery_id;
|
573 |
$where .= ($all ? '' : ' AND id=' . $id);
|
574 |
$image_where = ($all ? '' : ' WHERE image_id=' . $id);
|
575 |
|
612 |
* Publish image.
|
613 |
*
|
614 |
* @param $id
|
615 |
+
* @param $gallery_id
|
616 |
* @param bool $all
|
617 |
*
|
618 |
* @return int
|
619 |
*/
|
620 |
+
public function image_publish( $id, $gallery_id = 0, $all = FALSE ) {
|
621 |
global $wpdb;
|
622 |
+
if ( $gallery_id == 0 ) {
|
623 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
624 |
+
}
|
625 |
+
$where = ' WHERE gallery_id=' . $gallery_id;
|
626 |
$where .= ($all ? '' : ' AND id=' . $id);
|
627 |
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_image` SET published=1' . $where);
|
628 |
|
637 |
* Unpublish image.
|
638 |
*
|
639 |
* @param $id
|
640 |
+
* @param $gallery_id
|
641 |
* @param bool $all
|
642 |
*
|
643 |
* @return int
|
644 |
*/
|
645 |
+
public function image_unpublish( $id, $gallery_id = 0, $all = FALSE ) {
|
646 |
global $wpdb;
|
647 |
+
if ( $gallery_id == 0 ) {
|
648 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
649 |
+
}
|
650 |
+
$where = ' WHERE gallery_id=' . $gallery_id;
|
651 |
$where .= ($all ? '' : ' AND id=' . $id);
|
652 |
$updated = $wpdb->query('UPDATE `' . $wpdb->prefix . 'bwg_image` SET published=0' . $where);
|
653 |
|
662 |
* Reset image.
|
663 |
*
|
664 |
* @param $id
|
665 |
+
* @param $gallery_id
|
666 |
* @param bool $all
|
667 |
*
|
668 |
* @return int
|
669 |
*/
|
670 |
+
public function image_reset( $id, $gallery_id = 0, $all = FALSE ) {
|
671 |
if ( $all ) {
|
672 |
+
if ( $gallery_id == 0 ) {
|
673 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
674 |
+
}
|
675 |
WDWLibrary::bwg_image_recover_all($gallery_id);
|
676 |
}
|
677 |
else {
|
680 |
$width = BWG()->options->upload_img_width;
|
681 |
$image = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
|
682 |
WDWLibrary::recover_image($image, $thumb_width, $width, 'gallery_page');
|
683 |
+
$where = ($id) ? ' `id` = ' . $id : 1;
|
684 |
+
WDWLibrary::update_image_modified_date( $where );
|
685 |
}
|
686 |
return 20;
|
687 |
}
|
690 |
* Set watermark.
|
691 |
*
|
692 |
* @param $id
|
693 |
+
* @param $gallery_id
|
694 |
* @param bool $all
|
695 |
*
|
696 |
* @return int
|
697 |
*/
|
698 |
+
public function image_set_watermark($id, $gallery_id = 0, $all = FALSE) {
|
699 |
+
if ( $gallery_id == 0 ) {
|
700 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
701 |
+
}
|
702 |
$message_id = WDWLibrary::bwg_image_set_watermark($gallery_id, ($all ? 0 : $id));
|
703 |
|
704 |
return $message_id;
|
708 |
* Rotate left.
|
709 |
*
|
710 |
* @param $id
|
711 |
+
* @param $gallery_id
|
712 |
* @param bool $all
|
713 |
*
|
714 |
* @return int
|
715 |
*/
|
716 |
+
public function image_rotate_left($id, $gallery_id = 0, $all = FALSE) {
|
717 |
+
return $this->rotate(90, $id, $gallery_id, $all);
|
718 |
}
|
719 |
|
720 |
/**
|
721 |
* Rotate right.
|
722 |
*
|
723 |
* @param $id
|
724 |
+
* @param $gallery_id
|
725 |
* @param bool $all
|
726 |
*
|
727 |
* @return int
|
728 |
*/
|
729 |
+
public function image_rotate_right($id, $gallery_id = 0, $all = FALSE) {
|
730 |
+
return $this->rotate(270, $id, $gallery_id, $all);
|
731 |
}
|
732 |
|
733 |
/**
|
735 |
*
|
736 |
* @param $edit_type
|
737 |
* @param int $id
|
738 |
+
* @param $gallery_id
|
739 |
* @param bool $all
|
740 |
*
|
741 |
* @return int
|
742 |
*/
|
743 |
+
public function rotate( $edit_type, $id = 0, $gallery_id = 0, $all = FALSE ) {
|
744 |
global $wpdb;
|
745 |
$image_id = ($all ? 0 : $id);
|
746 |
+
if ( $gallery_id == 0 ) {
|
747 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
748 |
+
}
|
749 |
$where = ( ($gallery_id) ? ' `gallery_id` = ' . $gallery_id . ($image_id ? ' AND `id` = ' . $image_id : '' ) : 1 );
|
750 |
$images_data = $wpdb->get_results( 'SELECT id, image_url, thumb_url FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where );
|
751 |
@ini_set('memory_limit', '-1');
|
818 |
* Recreate thumbnail.
|
819 |
*
|
820 |
* @param $id
|
821 |
+
* @param $gallery_id
|
822 |
* @param bool $all
|
823 |
*
|
824 |
* @return int
|
825 |
*/
|
826 |
+
public function image_recreate_thumbnail($id, $gallery_id = 0, $all = FALSE) {
|
827 |
$image_id = ($all ? 0 : $id);
|
828 |
global $wpdb;
|
829 |
+
if ( $gallery_id == 0 ) {
|
830 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
831 |
+
}
|
832 |
$where = ( ($gallery_id) ? ' `gallery_id` = ' . $gallery_id . ( $image_id ? ' AND `id` = ' . $image_id : '' ) : 1 );
|
833 |
$img_ids = $wpdb->get_results( 'SELECT id, thumb_url FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where );
|
834 |
foreach ( $img_ids as $img_id ) {
|
891 |
* Resize image.
|
892 |
*
|
893 |
* @param $id
|
894 |
+
* @param $gallery_id
|
895 |
* @param bool $all
|
896 |
*
|
897 |
* @return int
|
898 |
*/
|
899 |
+
public function image_resize($id, $gallery_id = 0, $all = FALSE) {
|
900 |
$image_id = ($all ? 0 : $id);
|
901 |
global $wpdb;
|
902 |
+
if ( $gallery_id == 0 ) {
|
903 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
904 |
+
}
|
905 |
$image_width = (int) WDWLibrary::get('image_width', 1600);
|
906 |
$image_height = (int) WDWLibrary::get('image_height', 1200);
|
907 |
+
$where = ( ($gallery_id) ? ' gallery_id=' . $gallery_id . ( $image_id ? ' AND id=' . $image_id : '' ) : '' );
|
908 |
$images = $wpdb->get_results('SELECT * FROM `' . $wpdb->prefix . 'bwg_image` ' . $where );
|
909 |
if ( !empty($images) ) {
|
910 |
foreach ( $images as $image ) {
|
1006 |
* Edit image alt/description/redirect URL.
|
1007 |
*
|
1008 |
* @param $id
|
1009 |
+
* @param $gallery_id
|
1010 |
* @param bool $all
|
1011 |
*
|
1012 |
* @return int
|
1013 |
*/
|
1014 |
+
public function image_edit($id, $gallery_id = 0, $all = FALSE) {
|
1015 |
+
if ( $gallery_id == 0 ) {
|
1016 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
1017 |
+
}
|
1018 |
$where = ($all ? array('gallery_id' => $gallery_id ) : array('id' => $id));
|
1019 |
$title = WDWLibrary::get('title', '');
|
1020 |
$desc = WDWLibrary::get('desc', '');
|
1029 |
return 25;
|
1030 |
}
|
1031 |
|
1032 |
+
public function image_add_tag($id, $gallery_id = 0, $all = FALSE) {
|
1033 |
$image_id = ($all ? 0 : $id);
|
1034 |
+
if ( $gallery_id == 0 ) {
|
1035 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
1036 |
+
}
|
1037 |
$tag_ids = WDWLibrary::get('added_tags_id', '');
|
1038 |
$tag_ids_array = explode(',', $tag_ids);
|
1039 |
global $wpdb;
|
1058 |
return 25;
|
1059 |
}
|
1060 |
|
1061 |
+
public function set_image_pricelist($id, $gallery_id = 0, $all = FALSE) {
|
1062 |
global $wpdb;
|
1063 |
$pricelist_id = (int) WDWLibrary::get('image_pricelist_id', 0);
|
1064 |
$item_longest_dimension = $wpdb->get_var('SELECT MAX(item_longest_dimension) AS item_longest_dimension FROM ' . $wpdb->prefix . 'wdpg_ecommerce_pricelist_items AS T_PRICELIST_ITEMS LEFT JOIN ' . $wpdb->prefix . 'wdpg_ecommerce_pricelists AS T_PRICELISTS ON T_PRICELIST_ITEMS.pricelist_id = T_PRICELISTS.id WHERE T_PRICELIST_ITEMS.pricelist_id="' . $pricelist_id . '" AND T_PRICELISTS.sections LIKE "%downloads%"');
|
1065 |
$not_set_items = array();
|
1066 |
if ($pricelist_id) {
|
1067 |
$image_id = ($all ? 0 : $id);
|
1068 |
+
if ( $gallery_id == 0 ) {
|
1069 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
1070 |
+
}
|
1071 |
$image_ids_col = $wpdb->get_col($wpdb->prepare('SELECT id FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"' . ($image_id ? ' AND id=%d' : ''), ($image_id ? array($gallery_id, $image_id) : array($gallery_id))));
|
1072 |
foreach ($image_ids_col as $image_id) {
|
1073 |
$file_path = str_replace("thumb", ".original", htmlspecialchars_decode(ABSPATH . BWG()->upload_dir . $_POST['thumb_url_' . $image_id], ENT_COMPAT | ENT_QUOTES));
|
1092 |
}
|
1093 |
}
|
1094 |
|
1095 |
+
public function remove_pricelist_all($id, $gallery_id = 0, $all = FALSE) {
|
1096 |
global $wpdb;
|
1097 |
+
if ( $gallery_id == 0 ) {
|
1098 |
+
$gallery_id = (int) WDWLibrary::get('current_id', 0);
|
1099 |
+
}
|
1100 |
$image_id = ($all ? 0 : $id);
|
1101 |
$image_ids_col = $wpdb->get_col($wpdb->prepare('SELECT id FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"' . ($image_id ? ' AND id=%d' : ''), ($image_id ? array($gallery_id, $image_id) : array($gallery_id))));
|
1102 |
foreach ( $image_ids_col as $image_id ) {
|
admin/views/AdminView.php
CHANGED
@@ -294,7 +294,7 @@ class AdminView_bwg {
|
|
294 |
}
|
295 |
?>
|
296 |
</select>
|
297 |
-
<input type="button" id="doaction" class="button action" onclick="wd_bulk_action(this)" value="<?php _e('Apply', BWG()->prefix); ?>" />
|
298 |
</div>
|
299 |
<?php
|
300 |
|
294 |
}
|
295 |
?>
|
296 |
</select>
|
297 |
+
<input type="button" id="doaction" class="button action" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\')' : 'wd_bulk_action(this)'); ?>" value="<?php _e('Apply', BWG()->prefix); ?>" />
|
298 |
</div>
|
299 |
<?php
|
300 |
|
admin/views/Galleries.php
CHANGED
@@ -409,12 +409,10 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
409 |
$ids_string = '';
|
410 |
?>
|
411 |
<div class="buttons_div_left">
|
412 |
-
<a href="<?php echo $params['add_images_action']; ?>" id="add_image_bwg" onclick="jQuery('#loading_div').show();" class="button button-primary button-large thickbox thickbox-preview" title="<?php _e("Add Images", BWG()->prefix); ?>" onclick="return false;" style="margin-bottom:5px; <?php if ( $params['gallery_type'] != '' ) {
|
413 |
-
echo 'display:none';
|
414 |
-
} ?>">
|
415 |
<?php _e('Add Images', BWG()->prefix); ?>
|
416 |
</a>
|
417 |
-
<input type="button" class="button button-secondary button-large" onclick="spider_media_uploader(event, true); return false;" value="<?php _e("Import from Media Library", BWG()->prefix); ?>" />
|
418 |
<?php
|
419 |
/*(re?)define ajax_url to add nonce only in admin*/
|
420 |
?>
|
@@ -688,14 +686,9 @@ class GalleriesView_bwg extends AdminView_bwg {
|
|
688 |
<?php } ?>
|
689 |
</strong>
|
690 |
<div class="row-actions">
|
691 |
-
<span class="wd-image-actions <?php echo ( !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="thickbox thickbox-preview" href="<?php echo $edit_link; ?>"><?php _e('Edit', BWG()->prefix); ?></a> |</span>
|
692 |
-
<span class="wd-image-actions <?php echo ( !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="thickbox thickbox-preview" href="<?php echo $crop_link; ?>"><?php _e('Crop', BWG()->prefix); ?></a> |</span>
|
693 |
-
<span class="wd-image-actions <?php echo ( !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a onclick="if (confirm('
|
694 |
-
spider_set_input_value('ajax_task', 'image_reset');
|
695 |
-
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
696 |
-
spider_ajax_save('bwg_gallery');
|
697 |
-
}
|
698 |
-
return false;"><?php _e('Reset', BWG()->prefix); ?></a> |</span>
|
699 |
<span><a onclick="spider_set_input_value('ajax_task', 'image_<?php echo $row->published ? 'unpublish' : 'publish'; ?>');
|
700 |
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
701 |
spider_ajax_save('bwg_gallery');"><?php echo($row->published ? __('Unpublish', BWG()->prefix) : __('Publish', BWG()->prefix)); ?></a> |</span>
|
409 |
$ids_string = '';
|
410 |
?>
|
411 |
<div class="buttons_div_left">
|
412 |
+
<a href="<?php echo $params['add_images_action']; ?>" id="add_image_bwg" onclick="jQuery('#loading_div').show();" class="button button-primary button-large thickbox thickbox-preview" title="<?php _e("Add Images", BWG()->prefix); ?>" onclick="return false;" style="margin-bottom:5px; <?php if ( $params['gallery_type'] != '' ) { echo 'display:none';} ?>">
|
|
|
|
|
413 |
<?php _e('Add Images', BWG()->prefix); ?>
|
414 |
</a>
|
415 |
+
<input type="button" class="button button-secondary button-large" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\');' : 'spider_media_uploader(event, true);'); ?>return false;" value="<?php _e("Import from Media Library", BWG()->prefix); ?>" style="<?php if ( $params['gallery_type'] != '' ) { echo 'display:none';} ?>" />
|
416 |
<?php
|
417 |
/*(re?)define ajax_url to add nonce only in admin*/
|
418 |
?>
|
686 |
<?php } ?>
|
687 |
</strong>
|
688 |
<div class="row-actions">
|
689 |
+
<span class="wd-image-actions <?php echo ( !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="<?php echo (BWG()->is_demo ? '' : 'thickbox thickbox-preview'); ?>" href="<?php echo (BWG()->is_demo ? 'javascript:alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\');' : $edit_link); ?>"><?php _e('Edit', BWG()->prefix); ?></a> |</span>
|
690 |
+
<span class="wd-image-actions <?php echo ( !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a class="<?php echo (BWG()->is_demo ? '' : 'thickbox thickbox-preview'); ?>" href="<?php echo (BWG()->is_demo ? 'javascript:alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\');' : $crop_link); ?>"><?php _e('Crop', BWG()->prefix); ?></a> |</span>
|
691 |
+
<span class="wd-image-actions <?php echo ( !$is_embed && ( $params['gallery_type'] == '' ) ? '' : ' wd-hide' ); ?>"><a onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\');' : 'if (confirm(\'' . addslashes(__('Do you want to reset the image?', BWG()->prefix)) . '\')) { 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', BWG()->prefix); ?></a> |</span>
|
|
|
|
|
|
|
|
|
|
|
692 |
<span><a onclick="spider_set_input_value('ajax_task', 'image_<?php echo $row->published ? 'unpublish' : 'publish'; ?>');
|
693 |
spider_set_input_value('image_current_id', '<?php echo $row->id; ?>');
|
694 |
spider_ajax_save('bwg_gallery');"><?php echo($row->published ? __('Unpublish', BWG()->prefix) : __('Publish', BWG()->prefix)); ?></a> |</span>
|
admin/views/Options.php
CHANGED
@@ -27,7 +27,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
27 |
|
28 |
public function body($params) {
|
29 |
$row = $params['row'];
|
30 |
-
|
31 |
$instagram_reset_href = $params['instagram_reset_href'];
|
32 |
if (!$row) {
|
33 |
echo WDWLibrary::message_id(2);
|
@@ -37,7 +37,6 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
37 |
|
38 |
$built_in_watermark_fonts = $params['built_in_watermark_fonts'];
|
39 |
$watermark_fonts = $params['watermark_fonts'];
|
40 |
-
$effects = $params['effects'];
|
41 |
$gallery_types_name = $params['gallery_types_name'];
|
42 |
$album_types_name = $params['album_types_name'];
|
43 |
$buttons = array(
|
@@ -117,7 +116,7 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
117 |
<div class="bwg-flex">
|
118 |
<input type="number" name="upload_thumb_width" id="upload_thumb_width" value="<?php echo $row->upload_thumb_width; ?>" min="0" /><span>x</span>
|
119 |
<input type="number" name="upload_thumb_height" id="upload_thumb_height" value="<?php echo $row->upload_thumb_height; ?>" min="0" /><span>px</span>
|
120 |
-
<input type="submit" class="button-primary" onclick="spider_set_input_value('task', 'save'); spider_set_input_value('recreate', 'resize_image_thumb');" value="<?php
|
121 |
</div>
|
122 |
<p class="description"><?php _e('Specify the maximum dimensions of generated thumbnails. They must be larger than frontend thumbnail dimensions.', BWG()->prefix); ?></p>
|
123 |
</div>
|
@@ -243,6 +242,9 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
243 |
<p class="description"><?php _e('Generate or edit a shortcode.', BWG()->prefix); ?></p>
|
244 |
</div>
|
245 |
</div>
|
|
|
|
|
|
|
246 |
<div class="wd-box-content wd-width-100">
|
247 |
<div class="wd-group">
|
248 |
<label class="wd-label"><?php echo sprintf(__('Uninstall %s', BWG()->prefix), BWG()->nicename); ?></label>
|
@@ -254,77 +256,137 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
254 |
<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.', BWG()->prefix); ?></p>
|
255 |
</div>
|
256 |
</div>
|
|
|
|
|
|
|
257 |
</div>
|
258 |
</div>
|
259 |
</div>
|
260 |
</div>
|
261 |
<div id="bwg_tab_gallery_content" class="bwg-section wd-box-content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
<div class="bwg-section bwg-flex-wrap">
|
263 |
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
264 |
-
<div id="
|
265 |
<div class="bwg_change_gallery_type">
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
<span class="gallery_type" onClick="
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
<?php if ( !BWG()->is_pro ) { ?>
|
288 |
-
<span class="pro_btn">Paid</span>
|
289 |
-
<?php } ?>
|
290 |
-
</div>
|
291 |
-
</span>
|
292 |
-
<span class="gallery_type" onClick="bwg_gallery_type_options('slideshow')">
|
293 |
-
<div><label for="slideshow"><img src="<?php echo BWG()->plugin_url . '/images/slideshow.jpg'; ?>" /></label></div>
|
294 |
-
<div class="gallery_type_div">
|
295 |
-
<input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" /><label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow', BWG()->prefix); ?></label>
|
296 |
-
</div>
|
297 |
-
</span>
|
298 |
-
<span class="gallery_type" onClick="bwg_gallery_type_options('image_browser')">
|
299 |
-
<div><label for="image_browser"><img src="<?php echo BWG()->plugin_url . '/images/image_browser.jpg'; ?>" /></label></div>
|
300 |
-
<div class="gallery_type_div">
|
301 |
-
<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', BWG()->prefix); ?></label>
|
302 |
-
</div>
|
303 |
-
</span>
|
304 |
-
<span class="gallery_type" onClick="bwg_gallery_type_options('blog_style')">
|
305 |
-
<div><label for="blog_style"><img src="<?php echo BWG()->plugin_url . '/images/blog_style.jpg'; ?>" /></label></div>
|
306 |
-
<div class="gallery_type_div">
|
307 |
-
<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', BWG()->prefix); ?></label>
|
308 |
-
<?php if ( !BWG()->is_pro ) { ?>
|
309 |
-
<span class="pro_btn">Paid</span>
|
310 |
-
<?php } ?>
|
311 |
-
</div>
|
312 |
-
</span>
|
313 |
-
<span class="gallery_type" onClick="bwg_gallery_type_options('carousel')">
|
314 |
-
<div><label for="carousel"><img src="<?php echo BWG()->plugin_url . '/images/Carousel.png'; ?>" /></label></div>
|
315 |
-
<div class="gallery_type_div">
|
316 |
-
<input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" /><label class="gallery_type_label" for="carousel"><?php echo __('Carousel', BWG()->prefix); ?></label>
|
317 |
-
<?php if ( !BWG()->is_pro ) { ?>
|
318 |
-
<span class="pro_btn">Paid</span>
|
319 |
-
<?php } ?>
|
320 |
-
</div>
|
321 |
-
</span>
|
322 |
</div>
|
323 |
<div class="bwg_select_gallery_type">
|
324 |
<label class="wd-label" for="gallery_types_name"><?php _e('View type', BWG()->prefix); ?></label>
|
325 |
-
<select name="gallery_types_name" id="gallery_types_name" onchange="
|
326 |
<?php
|
327 |
-
foreach ($
|
328 |
?>
|
329 |
<option <?php echo selected($album_type_name,true); ?> value="<?php echo $key; ?>"><?php echo $album_type_name; ?></option>
|
330 |
<?php
|
@@ -344,3074 +406,3064 @@ class OptionsView_bwg extends AdminView_bwg {
|
|
344 |
<?php
|
345 |
}
|
346 |
?>
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
</div>
|
365 |
-
<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.', BWG()->prefix); ?></p>
|
366 |
</div>
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
371 |
-
<div class="bwg-flex">
|
372 |
-
<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', BWG()->prefix); ?></label>
|
373 |
-
<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', BWG()->prefix); ?></label>
|
374 |
-
<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', BWG()->prefix); ?></label>
|
375 |
-
<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', BWG()->prefix); ?></label>
|
376 |
</div>
|
377 |
-
<
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
</div>
|
389 |
-
|
390 |
</div>
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
<label class="wd-label" for="load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
395 |
-
<div class="bwg-flex">
|
396 |
-
<input type="number" name="load_more_image_count" id="load_more_image_count" value="<?php echo $row->load_more_image_count; ?>" min="0" />
|
397 |
</div>
|
398 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
</div>
|
400 |
</div>
|
401 |
</div>
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
<
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
<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', BWG()->prefix); ?></label>
|
432 |
-
<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', BWG()->prefix); ?></label>
|
433 |
</div>
|
434 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
435 |
</div>
|
436 |
</div>
|
437 |
-
<div class="wd-box-content wd-width-
|
438 |
-
<div class="wd-
|
439 |
-
<
|
440 |
-
|
441 |
-
<
|
|
|
|
|
|
|
|
|
|
|
442 |
</div>
|
443 |
</div>
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
|
|
|
|
|
|
450 |
</div>
|
451 |
</div>
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
|
|
|
|
459 |
</div>
|
460 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
461 |
</div>
|
462 |
</div>
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
</div>
|
470 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
471 |
</div>
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
</div>
|
482 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
483 |
</div>
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
<
|
491 |
</div>
|
492 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
493 |
</div>
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
<
|
501 |
-
<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", BWG()->prefix); ?></label>
|
502 |
</div>
|
503 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
504 |
</div>
|
505 |
-
|
506 |
-
<div class="wd-box-content wd-width-100">
|
507 |
-
<div class="wd-group">
|
508 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
509 |
-
<div class="bwg-flex">
|
510 |
-
<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', BWG()->prefix); ?></label>
|
511 |
-
<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', BWG()->prefix); ?></label>
|
512 |
-
</div>
|
513 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
514 |
-
</div>
|
515 |
-
</div>
|
516 |
-
<div class="wd-box-content wd-width-100">
|
517 |
-
<div class="wd-group">
|
518 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
519 |
-
<div class="bwg-flex">
|
520 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
521 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
522 |
-
</div>
|
523 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
524 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
525 |
-
</div>
|
526 |
-
</div>
|
527 |
-
<?php
|
528 |
-
if (function_exists('BWGEC')) {
|
529 |
-
?>
|
530 |
-
<div class="wd-box-content wd-width-100">
|
531 |
<div class="wd-group">
|
532 |
-
<label class="wd-label"><?php _e('
|
533 |
<div class="bwg-flex">
|
534 |
-
<input type="
|
535 |
-
<input type="
|
536 |
-
<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", BWG()->prefix); ?></label>
|
537 |
</div>
|
538 |
-
<p class="description"><?php _e('
|
539 |
</div>
|
540 |
</div>
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
<div class="wd-box-content wd-width-100">
|
549 |
-
<div class="wd-group">
|
550 |
-
<label class="wd-label"><?php _e('Masonry type', BWG()->prefix); ?></label>
|
551 |
-
<div class="bwg-flex">
|
552 |
-
<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('', 'tr_show_masonry_thumb_description', 'masonry_0');" /><label for="masonry_0" class="wd-radio-label"><?php _e('Vertical', BWG()->prefix); ?></label>
|
553 |
-
<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', 'tr_show_masonry_thumb_description', 'masonry_1');" /><label for="masonry_1" class="wd-radio-label"><?php _e('Horizontal', BWG()->prefix); ?></label>
|
554 |
</div>
|
555 |
-
<p class="description"><?php _e('Select the type of Masonry galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
556 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
557 |
</div>
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
564 |
</div>
|
565 |
-
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
566 |
</div>
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
<
|
574 |
</div>
|
575 |
-
<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.', BWG()->prefix); ?></p>
|
576 |
</div>
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
<
|
584 |
-
<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', BWG()->prefix); ?></label>
|
585 |
-
<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', BWG()->prefix); ?></label>
|
586 |
</div>
|
587 |
-
<p class="description" id="masonry_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
588 |
-
<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.', BWG()->prefix); ?></p>
|
589 |
-
<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.', BWG()->prefix); ?></p>
|
590 |
-
<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.', BWG()->prefix); ?></p>
|
591 |
</div>
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
598 |
</div>
|
599 |
-
<p class="description"><?php _e('
|
600 |
</div>
|
601 |
</div>
|
602 |
-
<div class="wd-box-content wd-width-
|
603 |
-
|
604 |
-
<label class="wd-label" for="masonry_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
605 |
-
<div class="bwg-flex">
|
606 |
-
<input type="number" name="masonry_load_more_image_count" id="masonry_load_more_image_count" value="<?php echo $row->masonry_load_more_image_count; ?>" min="0" />
|
607 |
-
</div>
|
608 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
609 |
-
</div>
|
610 |
</div>
|
611 |
</div>
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
<
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
<div class="wd-group">
|
631 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
632 |
-
<input type="radio" name="masonry_order_by" id="masonry_order_by_1" value="asc" <?php if ($row->masonry_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="masonry_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
633 |
-
<input type="radio" name="masonry_order_by" id="masonry_order_by_0" value="desc" <?php if ($row->masonry_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="masonry_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
634 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
635 |
-
</div>
|
636 |
-
</div>
|
637 |
-
<div class="wd-box-content wd-width-100">
|
638 |
-
<div class="wd-group">
|
639 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
640 |
-
<div class="bwg-flex">
|
641 |
-
<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', BWG()->prefix); ?></label>
|
642 |
-
<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', BWG()->prefix); ?></label>
|
643 |
-
</div>
|
644 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
645 |
</div>
|
|
|
646 |
</div>
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
653 |
</div>
|
|
|
654 |
</div>
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
</div>
|
|
|
662 |
</div>
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
</div>
|
670 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
671 |
</div>
|
|
|
672 |
</div>
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
</div>
|
680 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
681 |
</div>
|
|
|
682 |
</div>
|
683 |
</div>
|
684 |
-
<div class="wd-box-content wd-width-
|
685 |
-
<div class="wd-
|
686 |
-
<
|
687 |
-
|
688 |
-
<
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
693 |
</div>
|
|
|
694 |
</div>
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
</div>
|
702 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
703 |
</div>
|
|
|
704 |
</div>
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
</div>
|
712 |
-
<p class="description"><?php _e('Enable this setting to display descriptions under images in Vertical Masonry view.', BWG()->prefix); ?></p>
|
713 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
714 |
</div>
|
|
|
715 |
</div>
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
724 |
</div>
|
|
|
725 |
</div>
|
726 |
-
<div class="wd-box-content wd-width-100">
|
727 |
-
<div class="wd-group">
|
728 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
729 |
-
<div class="bwg-flex">
|
730 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
731 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
732 |
-
</div>
|
733 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
734 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
735 |
-
</div>
|
736 |
-
</div>
|
737 |
-
<?php
|
738 |
-
if (function_exists('BWGEC')) {
|
739 |
-
?>
|
740 |
-
<div class="wd-box-content wd-width-100">
|
741 |
-
<div class="wd-group">
|
742 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
743 |
-
<div class="bwg-flex">
|
744 |
-
<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', BWG()->prefix); ?></label>
|
745 |
-
<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", BWG()->prefix); ?></label>
|
746 |
-
</div>
|
747 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
748 |
-
</div>
|
749 |
-
</div>
|
750 |
-
<?php
|
751 |
-
}
|
752 |
-
?>
|
753 |
-
</div>
|
754 |
-
</div>
|
755 |
-
<div id="thumbnails_mosaic_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
756 |
-
<div class="wd-box-content wd-width-33">
|
757 |
-
<div class="wd-box-content wd-width-100">
|
758 |
-
<div class="wd-group">
|
759 |
-
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
760 |
-
<div class="bwg-flex">
|
761 |
-
<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', BWG()->prefix); ?></label>
|
762 |
-
<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', BWG()->prefix); ?></label>
|
763 |
-
</div>
|
764 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
765 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
766 |
-
</div>
|
767 |
-
</div>
|
768 |
-
<div class="wd-box-content wd-width-100">
|
769 |
-
<div class="wd-group">
|
770 |
-
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
771 |
-
<div class="bwg-flex">
|
772 |
-
<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', BWG()->prefix); ?></label>
|
773 |
-
<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', BWG()->prefix); ?></label>
|
774 |
-
</div>
|
775 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
776 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
777 |
-
</div>
|
778 |
-
</div>
|
779 |
-
<div class="wd-box-content wd-width-100">
|
780 |
-
<div class="wd-group">
|
781 |
-
<label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
782 |
-
<div class="bwg-flex">
|
783 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo $row->mosaic_total_width; ?>" min="0" /><span>%</span>
|
784 |
-
</div>
|
785 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
786 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
787 |
-
</div>
|
788 |
-
</div>
|
789 |
-
<div class="wd-box-content wd-width-100">
|
790 |
-
<div class="wd-group">
|
791 |
-
<label class="wd-label" for="mosaic_thumb_size"><?php _e('Thumbnail size', BWG()->prefix); ?></label>
|
792 |
-
<div class="bwg-flex">
|
793 |
-
<input type="number" name="mosaic_thumb_size" id="mosaic_thumb_size" value="<?php echo $row->mosaic_thumb_size; ?>" min="0" /><span>px</span>
|
794 |
-
</div>
|
795 |
-
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
796 |
-
</div>
|
797 |
-
</div>
|
798 |
-
<div class="wd-box-content wd-width-100">
|
799 |
-
<div class="wd-group">
|
800 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
801 |
-
<div class="bwg-flex">
|
802 |
-
<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', BWG()->prefix); ?></label>
|
803 |
-
<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', BWG()->prefix); ?></label>
|
804 |
-
<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', BWG()->prefix); ?></label>
|
805 |
-
<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', BWG()->prefix); ?></label>
|
806 |
-
</div>
|
807 |
-
<p class="description" id="mosaic_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
808 |
-
<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.', BWG()->prefix); ?></p>
|
809 |
-
<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.', BWG()->prefix); ?></p>
|
810 |
-
<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.', BWG()->prefix); ?></p>
|
811 |
-
</div>
|
812 |
-
</div>
|
813 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_images_per_page">
|
814 |
-
<div class="wd-group">
|
815 |
-
<label class="wd-label" for="mosaic_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
816 |
-
<div class="bwg-flex">
|
817 |
-
<input type="number" name="mosaic_images_per_page" id="mosaic_images_per_page" value="<?php echo $row->mosaic_images_per_page; ?>" min="0" />
|
818 |
-
</div>
|
819 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
820 |
-
</div>
|
821 |
-
</div>
|
822 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_load_more_image_count">
|
823 |
-
<div class="wd-group">
|
824 |
-
<label class="wd-label" for="mosaic_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
825 |
-
<div class="bwg-flex">
|
826 |
-
<input type="number" name="mosaic_load_more_image_count" id="mosaic_load_more_image_count" value="<?php echo $row->mosaic_load_more_image_count; ?>" min="0" />
|
827 |
-
</div>
|
828 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
829 |
-
</div>
|
830 |
-
</div>
|
831 |
-
</div>
|
832 |
-
<div class="wd-box-content wd-width-33">
|
833 |
-
<div class="wd-box-content wd-width-100">
|
834 |
-
<div class="wd-group">
|
835 |
-
<label class="wd-label" for="mosaic_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
836 |
-
<select name="mosaic_sort_by" id="mosaic_sort_by">
|
837 |
-
<option value="order" <?php if ($row->mosaic_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
838 |
-
<option value="alt" <?php if ($row->mosaic_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
839 |
-
<option value="date" <?php if ($row->mosaic_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
840 |
-
<option value="filename" <?php if ($row->mosaic_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
841 |
-
<option value="size" <?php if ($row->mosaic_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
842 |
-
<option value="filetype" <?php if ($row->mosaic_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
843 |
-
<option value="resolution" <?php if ($row->mosaic_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
844 |
-
<option value="random" <?php if ($row->mosaic_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
845 |
-
</select>
|
846 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
847 |
-
</div>
|
848 |
-
</div>
|
849 |
-
<div class="wd-box-content wd-width-100">
|
850 |
-
<div class="wd-group">
|
851 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
852 |
-
<input type="radio" name="mosaic_order_by" id="mosaic_order_by_1" value="asc" <?php if ($row->mosaic_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="mosaic_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
853 |
-
<input type="radio" name="mosaic_order_by" id="mosaic_order_by_0" value="desc" <?php if ($row->mosaic_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="mosaic_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
854 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
855 |
-
</div>
|
856 |
-
</div>
|
857 |
-
<div class="wd-box-content wd-width-100">
|
858 |
-
<div class="wd-group">
|
859 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
860 |
-
<div class="bwg-flex">
|
861 |
-
<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', BWG()->prefix); ?></label>
|
862 |
-
<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', BWG()->prefix); ?></label>
|
863 |
-
</div>
|
864 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
865 |
-
</div>
|
866 |
-
</div>
|
867 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_placeholder">
|
868 |
-
<div class="wd-group">
|
869 |
-
<label class="wd-label" for="mosaic_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
870 |
-
<div class="bwg-flex">
|
871 |
-
<input type="text" name="mosaic_placeholder" id="mosaic_placeholder" value="<?php echo $row->mosaic_placeholder; ?>" />
|
872 |
-
</div>
|
873 |
-
</div>
|
874 |
-
</div>
|
875 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_width">
|
876 |
-
<div class="wd-group">
|
877 |
-
<label class="wd-label" for="mosaic_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
878 |
-
<div class="bwg-flex">
|
879 |
-
<input type="number" name="mosaic_search_box_width" id="mosaic_search_box_width" value="<?php echo $row->mosaic_search_box_width; ?>" min="0" /><span>px</span>
|
880 |
-
</div>
|
881 |
-
</div>
|
882 |
-
</div>
|
883 |
-
<div class="wd-box-content wd-width-100">
|
884 |
-
<div class="wd-group">
|
885 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
886 |
-
<div class="bwg-flex">
|
887 |
-
<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', BWG()->prefix); ?></label>
|
888 |
-
<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', BWG()->prefix); ?></label>
|
889 |
-
</div>
|
890 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
891 |
-
</div>
|
892 |
-
</div>
|
893 |
-
<div class="wd-box-content wd-width-100">
|
894 |
-
<div class="wd-group">
|
895 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
896 |
-
<div class="bwg-flex">
|
897 |
-
<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', BWG()->prefix); ?></label>
|
898 |
-
<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', BWG()->prefix); ?></label>
|
899 |
-
</div>
|
900 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
901 |
-
</div>
|
902 |
-
</div>
|
903 |
-
</div>
|
904 |
-
<div class="wd-box-content wd-width-33">
|
905 |
-
<div class="wd-box-content wd-width-100">
|
906 |
-
<div class="wd-group">
|
907 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
908 |
-
<div class="bwg-flex">
|
909 |
-
<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', BWG()->prefix); ?></label>
|
910 |
-
<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', BWG()->prefix); ?></label>
|
911 |
-
</div>
|
912 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
913 |
-
</div>
|
914 |
-
</div>
|
915 |
-
<div class="wd-box-content wd-width-100">
|
916 |
-
<div class="wd-group">
|
917 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
918 |
-
<div class="bwg-flex">
|
919 |
-
<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', BWG()->prefix); ?></label>
|
920 |
-
<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', BWG()->prefix); ?></label>
|
921 |
-
</div>
|
922 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
923 |
-
</div>
|
924 |
-
</div>
|
925 |
-
<div class="wd-box-content wd-width-100">
|
926 |
-
<div class="wd-group">
|
927 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
928 |
-
<div class="bwg-flex">
|
929 |
-
<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', BWG()->prefix); ?></label>
|
930 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_0" value="show" <?php if ($row->mosaic_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
931 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_2" value="none" <?php if ($row->mosaic_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
932 |
-
</div>
|
933 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
934 |
-
</div>
|
935 |
-
</div>
|
936 |
-
<div class="wd-box-content wd-width-100">
|
937 |
-
<div class="wd-group">
|
938 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
939 |
-
<div class="bwg-flex">
|
940 |
-
<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', BWG()->prefix); ?></label>
|
941 |
-
<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', BWG()->prefix); ?></label>
|
942 |
-
</div>
|
943 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
944 |
-
</div>
|
945 |
-
</div>
|
946 |
-
<div class="wd-box-content wd-width-100">
|
947 |
-
<div class="wd-group">
|
948 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
949 |
-
<div class="bwg-flex">
|
950 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
951 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
952 |
-
</div>
|
953 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
954 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
955 |
-
</div>
|
956 |
-
</div>
|
957 |
-
<?php
|
958 |
-
if (function_exists('BWGEC')) {
|
959 |
-
?>
|
960 |
-
<div class="wd-box-content wd-width-100">
|
961 |
-
<div class="wd-group">
|
962 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
963 |
-
<div class="bwg-flex">
|
964 |
-
<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', BWG()->prefix); ?></label>
|
965 |
-
<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", BWG()->prefix); ?></label>
|
966 |
-
</div>
|
967 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
968 |
-
</div>
|
969 |
-
</div>
|
970 |
-
<?php
|
971 |
-
}
|
972 |
-
?>
|
973 |
-
</div>
|
974 |
-
</div>
|
975 |
-
<div id="slideshow_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
976 |
-
<div class="wd-box-content wd-width-33">
|
977 |
-
<div class="wd-box-content wd-width-100">
|
978 |
-
<div class="wd-group">
|
979 |
-
<label class="wd-label" for="slideshow_type"><?php _e('Slideshow effect', BWG()->prefix); ?></label>
|
980 |
-
<div class="bwg-flex">
|
981 |
-
<select name="slideshow_type" id="slideshow_type">
|
982 |
-
<?php
|
983 |
-
foreach ($effects as $key => $effect) {
|
984 |
-
?>
|
985 |
-
<option value="<?php echo $key; ?>"
|
986 |
-
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.', BWG()->prefix) . '"' : ''; ?>
|
987 |
-
<?php if ($row->slideshow_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect, BWG()->prefix); ?></option>
|
988 |
-
<?php
|
989 |
-
}
|
990 |
-
?>
|
991 |
-
</select>
|
992 |
-
</div>
|
993 |
-
<p class="description"><?php _e('Select the animation effect for your slideshow.', BWG()->prefix); ?></p>
|
994 |
-
</div>
|
995 |
-
</div>
|
996 |
-
<div class="wd-box-content wd-width-100">
|
997 |
-
<div class="wd-group">
|
998 |
-
<label class="wd-label" for="slideshow_effect_duration"><?php _e('Effect duration', BWG()->prefix); ?></label>
|
999 |
-
<div class="bwg-flex">
|
1000 |
-
<input type="number" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo $row->slideshow_effect_duration; ?>" min="0" step="0.1" /><span>sec.</span>
|
1001 |
-
</div>
|
1002 |
-
<p class="description"><?php _e('Set the duration of your slideshow animation effect.', BWG()->prefix); ?></p>
|
1003 |
-
</div>
|
1004 |
-
</div>
|
1005 |
-
<div class="wd-box-content wd-width-100">
|
1006 |
-
<div class="wd-group">
|
1007 |
-
<label class="wd-label" for="slideshow_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
1008 |
-
<div class="bwg-flex">
|
1009 |
-
<input type="number" name="slideshow_interval" id="slideshow_interval" value="<?php echo $row->slideshow_interval; ?>" min="0" /><span>sec.</span>
|
1010 |
-
</div>
|
1011 |
-
<p class="description"><?php _e('Specify the time interval between slides in Photo Gallery\'s Slideshow view.', BWG()->prefix); ?></p>
|
1012 |
-
</div>
|
1013 |
-
</div>
|
1014 |
-
<div class="wd-box-content wd-width-100">
|
1015 |
-
<div class="wd-group">
|
1016 |
-
<label class="wd-label" for="slideshow_width"><?php _e('Slideshow dimensions', BWG()->prefix); ?></label>
|
1017 |
-
<div class="bwg-flex">
|
1018 |
-
<input type="number" name="slideshow_width" id="slideshow_width" value="<?php echo $row->slideshow_width; ?>" min="0" /><span>px</span>
|
1019 |
-
<input type="number" name="slideshow_height" id="slideshow_height" value="<?php echo $row->slideshow_height; ?>" min="0" /><span>px</span>
|
1020 |
-
</div>
|
1021 |
-
<p class="description"><?php _e('Set the default dimensions of your slideshow galleries.', BWG()->prefix); ?></p>
|
1022 |
-
</div>
|
1023 |
-
</div>
|
1024 |
-
</div>
|
1025 |
-
<div class="wd-box-content wd-width-33">
|
1026 |
-
<div class="wd-box-content wd-width-100">
|
1027 |
-
<div class="wd-group">
|
1028 |
-
<label class="wd-label" for="slideshow_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1029 |
-
<select name="slideshow_sort_by" id="slideshow_sort_by">
|
1030 |
-
<option value="order" <?php if ($row->slideshow_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1031 |
-
<option value="alt" <?php if ($row->slideshow_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1032 |
-
<option value="date" <?php if ($row->slideshow_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1033 |
-
<option value="filename" <?php if ($row->slideshow_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1034 |
-
<option value="size" <?php if ($row->slideshow_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1035 |
-
<option value="filetype" <?php if ($row->slideshow_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1036 |
-
<option value="resolution" <?php if ($row->slideshow_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1037 |
-
<option value="random" <?php if ($row->slideshow_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1038 |
-
</select>
|
1039 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1040 |
-
</div>
|
1041 |
-
</div>
|
1042 |
-
<div class="wd-box-content wd-width-100">
|
1043 |
-
<div class="wd-group">
|
1044 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1045 |
-
<input type="radio" name="slideshow_order_by" id="slideshow_order_by_1" value="asc" <?php if ($row->slideshow_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="slideshow_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1046 |
-
<input type="radio" name="slideshow_order_by" id="slideshow_order_by_0" value="desc" <?php if ($row->slideshow_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="slideshow_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1047 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1048 |
-
</div>
|
1049 |
-
</div>
|
1050 |
-
<div class="wd-box-content wd-width-100">
|
1051 |
-
<div class="wd-group">
|
1052 |
-
<label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
|
1053 |
-
<div class="bwg-flex">
|
1054 |
-
<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', BWG()->prefix); ?></label>
|
1055 |
-
<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', BWG()->prefix); ?></label>
|
1056 |
-
</div>
|
1057 |
-
<p class="description"><?php _e('Activate this option to autoplay slideshow galleries.', BWG()->prefix); ?></p>
|
1058 |
-
</div>
|
1059 |
-
</div>
|
1060 |
-
<div class="wd-box-content wd-width-100">
|
1061 |
-
<div class="wd-group">
|
1062 |
-
<label class="wd-label"><?php _e('Enable shuffle', BWG()->prefix); ?></label>
|
1063 |
-
<div class="bwg-flex">
|
1064 |
-
<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', BWG()->prefix); ?></label>
|
1065 |
-
<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', BWG()->prefix); ?></label>
|
1066 |
-
</div>
|
1067 |
-
<p class="description"><?php _e('The slideshow images will be shuffled in case this setting is enabled.', BWG()->prefix); ?></p>
|
1068 |
-
</div>
|
1069 |
-
</div>
|
1070 |
-
<div class="wd-box-content wd-width-100">
|
1071 |
-
<div class="wd-group">
|
1072 |
-
<label class="wd-label"><?php _e('Enable control buttons', BWG()->prefix); ?></label>
|
1073 |
-
<div class="bwg-flex">
|
1074 |
-
<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', BWG()->prefix); ?></label>
|
1075 |
-
<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', BWG()->prefix); ?></label>
|
1076 |
-
</div>
|
1077 |
-
<p class="description"><?php _e('Enable this option to show control buttons on your slideshow galleries.', BWG()->prefix); ?></p>
|
1078 |
-
</div>
|
1079 |
-
</div>
|
1080 |
-
<div class="wd-box-content wd-width-100" id="tr_autohide_slideshow_navigation">
|
1081 |
-
<div class="wd-group">
|
1082 |
-
<label class="wd-label"><?php _e('Show Next / Previous buttons', BWG()->prefix); ?></label>
|
1083 |
-
<div class="bwg-flex">
|
1084 |
-
<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', BWG()->prefix); ?></label>
|
1085 |
-
<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', BWG()->prefix); ?></label>
|
1086 |
-
</div>
|
1087 |
-
<p class="description"><?php _e('Display Next/Previous buttons on your slideshow galleries activating this setting.', BWG()->prefix); ?></p>
|
1088 |
-
</div>
|
1089 |
-
</div>
|
1090 |
-
</div>
|
1091 |
-
<div class="wd-box-content wd-width-33">
|
1092 |
-
<div class="wd-box-content wd-width-100">
|
1093 |
-
<div class="wd-group">
|
1094 |
-
<label class="wd-label"><?php _e('Enable slideshow filmstrip', BWG()->prefix); ?></label>
|
1095 |
-
<div class="bwg-flex">
|
1096 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_yes" value="1" <?php if ($row->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes')" /><label for="slideshow_enable_filmstrip_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1097 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_no" value="0" <?php if (!$row->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no')" /><label for="slideshow_enable_filmstrip_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1098 |
-
</div>
|
1099 |
-
<p class="description"><?php _e('Add a filmstrip with image thumbnails to your slideshow galleries by enabling this option.', BWG()->prefix); ?></p>
|
1100 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1101 |
-
</div>
|
1102 |
-
</div>
|
1103 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_filmstrip_height">
|
1104 |
-
<div class="wd-group">
|
1105 |
-
<label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size', BWG()->prefix); ?></label>
|
1106 |
-
<div class="bwg-flex">
|
1107 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo $row->slideshow_filmstrip_height; ?>" min="0" /><span>px</span>
|
1108 |
-
</div>
|
1109 |
-
<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.', BWG()->prefix); ?></p>
|
1110 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1111 |
-
</div>
|
1112 |
-
</div>
|
1113 |
-
<div class="wd-box-content wd-width-100">
|
1114 |
-
<div class="wd-group">
|
1115 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1116 |
-
<div class="bwg-flex">
|
1117 |
-
<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', BWG()->prefix); ?></label>
|
1118 |
-
<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', BWG()->prefix); ?></label>
|
1119 |
-
</div>
|
1120 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Slideshow view.', BWG()->prefix); ?></p>
|
1121 |
-
</div>
|
1122 |
-
</div>
|
1123 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_title_position">
|
1124 |
-
<div class="wd-group">
|
1125 |
-
<label class="wd-label"><?php _e('Title position', BWG()->prefix); ?></label>
|
1126 |
-
<div class="bwg-flex">
|
1127 |
-
<table class="bwg_position_table">
|
1128 |
-
<tbody>
|
1129 |
-
<tr>
|
1130 |
-
<td><input type="radio" value="top-left" id="slideshow_title_topLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-left") echo 'checked="checked"'; ?>></td>
|
1131 |
-
<td><input type="radio" value="top-center" id="slideshow_title_topCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-center") echo 'checked="checked"'; ?>></td>
|
1132 |
-
<td><input type="radio" value="top-right" id="slideshow_title_topRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-right") echo 'checked="checked"'; ?>></td>
|
1133 |
-
</tr>
|
1134 |
-
<tr>
|
1135 |
-
<td><input type="radio" value="middle-left" id="slideshow_title_midLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-left") echo 'checked="checked"'; ?>></td>
|
1136 |
-
<td><input type="radio" value="middle-center" id="slideshow_title_midCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-center") echo 'checked="checked"'; ?>></td>
|
1137 |
-
<td><input type="radio" value="middle-right" id="slideshow_title_midRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-right") echo 'checked="checked"'; ?>></td>
|
1138 |
-
</tr>
|
1139 |
-
<tr>
|
1140 |
-
<td><input type="radio" value="bottom-left" id="slideshow_title_botLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-left") echo 'checked="checked"'; ?>></td>
|
1141 |
-
<td><input type="radio" value="bottom-center" id="slideshow_title_botCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-center") echo 'checked="checked"'; ?>></td>
|
1142 |
-
<td><input type="radio" value="bottom-right" id="slideshow_title_botRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-right") echo 'checked="checked"'; ?>></td>
|
1143 |
-
</tr>
|
1144 |
-
</tbody>
|
1145 |
-
</table>
|
1146 |
-
</div>
|
1147 |
-
<p class="description"><?php _e('Set the position of image titles in Slideshow view.', BWG()->prefix); ?></p>
|
1148 |
-
</div>
|
1149 |
-
</div>
|
1150 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_full_width_title">
|
1151 |
-
<div class="wd-group">
|
1152 |
-
<label class="wd-label"><?php _e('Full width title', BWG()->prefix); ?></label>
|
1153 |
-
<div class="bwg-flex">
|
1154 |
-
<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', BWG()->prefix); ?></label>
|
1155 |
-
<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', BWG()->prefix); ?></label>
|
1156 |
-
</div>
|
1157 |
-
<p class="description"><?php _e('Display image title based on the slideshow dimensions.', BWG()->prefix); ?></p>
|
1158 |
-
</div>
|
1159 |
-
</div>
|
1160 |
-
<div class="wd-box-content wd-width-100">
|
1161 |
-
<div class="wd-group">
|
1162 |
-
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1163 |
-
<div class="bwg-flex">
|
1164 |
-
<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', BWG()->prefix); ?></label>
|
1165 |
-
<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', BWG()->prefix); ?></label>
|
1166 |
-
</div>
|
1167 |
-
<p class="description"><?php _e('Enable this setting to show descriptions of images in Slideshow view.', BWG()->prefix); ?></p>
|
1168 |
-
</div>
|
1169 |
-
</div>
|
1170 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_description_position">
|
1171 |
-
<div class="wd-group">
|
1172 |
-
<label class="wd-label"><?php _e('Description position', BWG()->prefix); ?></label>
|
1173 |
-
<div class="bwg-flex">
|
1174 |
-
<table class="bwg_position_table">
|
1175 |
-
<tbody>
|
1176 |
-
<tr>
|
1177 |
-
<td><input type="radio" value="top-left" id="slideshow_description_topLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-left") echo 'checked="checked"'; ?>></td>
|
1178 |
-
<td><input type="radio" value="top-center" id="slideshow_description_topCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-center") echo 'checked="checked"'; ?>></td>
|
1179 |
-
<td><input type="radio" value="top-right" id="slideshow_description_topRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-right") echo 'checked="checked"'; ?>></td>
|
1180 |
-
</tr>
|
1181 |
-
<tr>
|
1182 |
-
<td><input type="radio" value="middle-left" id="slideshow_description_midLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-left") echo 'checked="checked"'; ?>></td>
|
1183 |
-
<td><input type="radio" value="middle-center" id="slideshow_description_midCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-center") echo 'checked="checked"'; ?>></td>
|
1184 |
-
<td><input type="radio" value="middle-right" id="slideshow_description_midRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-right") echo 'checked="checked"'; ?>></td>
|
1185 |
-
</tr>
|
1186 |
-
<tr>
|
1187 |
-
<td><input type="radio" value="bottom-left" id="slideshow_description_botLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-left") echo 'checked="checked"'; ?>></td>
|
1188 |
-
<td><input type="radio" value="bottom-center" id="slideshow_description_botCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-center") echo 'checked="checked"'; ?>></td>
|
1189 |
-
<td><input type="radio" value="bottom-right" id="slideshow_description_botRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-right") echo 'checked="checked"'; ?>></td>
|
1190 |
-
</tr>
|
1191 |
-
</tbody>
|
1192 |
-
</table>
|
1193 |
-
</div>
|
1194 |
-
<p class="description"><?php _e('Set the position of image descriptions in Slideshow view.', BWG()->prefix); ?></p>
|
1195 |
-
</div>
|
1196 |
-
</div>
|
1197 |
-
<div class="wd-box-content wd-width-100">
|
1198 |
-
<div class="wd-group">
|
1199 |
-
<label class="wd-label"><?php _e('Enable slideshow Music', BWG()->prefix); ?></label>
|
1200 |
-
<div class="bwg-flex">
|
1201 |
-
<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', BWG()->prefix); ?></label>
|
1202 |
-
<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', BWG()->prefix); ?></label>
|
1203 |
-
</div>
|
1204 |
-
<p class="description"><?php _e('Enabling this option, you can have music playing along with your slideshow.', BWG()->prefix); ?></p>
|
1205 |
-
</div>
|
1206 |
-
</div>
|
1207 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_music_url">
|
1208 |
-
<div class="wd-group">
|
1209 |
-
<label class="wd-label" for="slideshow_audio_url"><?php _e('Audio URL', BWG()->prefix); ?></label>
|
1210 |
-
<div class="bwg-flex">
|
1211 |
-
<input type="text" id="slideshow_audio_url" name="slideshow_audio_url" value="<?php echo $row->slideshow_audio_url; ?>" />
|
1212 |
-
</div>
|
1213 |
-
<p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.', BWG()->prefix); ?></p>
|
1214 |
-
</div>
|
1215 |
-
</div>
|
1216 |
-
<div class="wd-box-content wd-width-100">
|
1217 |
-
<div class="wd-group">
|
1218 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1219 |
-
<div class="bwg-flex">
|
1220 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1221 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1222 |
-
</div>
|
1223 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1224 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1225 |
-
</div>
|
1226 |
-
</div>
|
1227 |
-
</div>
|
1228 |
-
</div>
|
1229 |
-
<div id="image_browser_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1230 |
-
<div class="wd-box-content wd-width-33">
|
1231 |
-
<div class="wd-box-content wd-width-100">
|
1232 |
-
<div class="wd-group">
|
1233 |
-
<label class="wd-label" for="image_browser_width"><?php _e('Image width', BWG()->prefix); ?></label>
|
1234 |
-
<div class="bwg-flex">
|
1235 |
-
<input type="number" name="image_browser_width" id="image_browser_width" value="<?php echo $row->image_browser_width; ?>" min="0" /><span>px</span>
|
1236 |
-
</div>
|
1237 |
-
<p class="description"><?php _e('Specify the default width of images in Image Browser view.', BWG()->prefix); ?></p>
|
1238 |
-
</div>
|
1239 |
-
</div>
|
1240 |
-
<div class="wd-box-content wd-width-100">
|
1241 |
-
<div class="wd-group">
|
1242 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1243 |
-
<div class="bwg-flex">
|
1244 |
-
<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', BWG()->prefix); ?></label>
|
1245 |
-
<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', BWG()->prefix); ?></label>
|
1246 |
-
</div>
|
1247 |
-
</div>
|
1248 |
-
</div>
|
1249 |
-
<div class="wd-box-content wd-width-100">
|
1250 |
-
<div class="wd-group">
|
1251 |
-
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1252 |
-
<div class="bwg-flex">
|
1253 |
-
<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', BWG()->prefix); ?></label>
|
1254 |
-
<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', BWG()->prefix); ?></label>
|
1255 |
-
</div>
|
1256 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Image Browser view.', BWG()->prefix); ?></p>
|
1257 |
-
</div>
|
1258 |
-
</div>
|
1259 |
-
</div>
|
1260 |
-
<div class="wd-box-content wd-width-33">
|
1261 |
-
<div class="wd-box-content wd-width-100">
|
1262 |
-
<div class="wd-group">
|
1263 |
-
<label class="wd-label" for="image_browser_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1264 |
-
<select name="image_browser_sort_by" id="image_browser_sort_by">
|
1265 |
-
<option value="order" <?php if ($row->image_browser_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1266 |
-
<option value="alt" <?php if ($row->image_browser_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1267 |
-
<option value="date" <?php if ($row->image_browser_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1268 |
-
<option value="filename" <?php if ($row->image_browser_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1269 |
-
<option value="size" <?php if ($row->image_browser_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1270 |
-
<option value="filetype" <?php if ($row->image_browser_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1271 |
-
<option value="resolution" <?php if ($row->image_browser_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1272 |
-
<option value="random" <?php if ($row->image_browser_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1273 |
-
</select>
|
1274 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1275 |
-
</div>
|
1276 |
-
</div>
|
1277 |
-
<div class="wd-box-content wd-width-100">
|
1278 |
-
<div class="wd-group">
|
1279 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1280 |
-
<input type="radio" name="image_browser_order_by" id="image_browser_order_by_1" value="asc" <?php if ($row->image_browser_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="image_browser_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1281 |
-
<input type="radio" name="image_browser_order_by" id="image_browser_order_by_0" value="desc" <?php if ($row->image_browser_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="image_browser_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1282 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1283 |
-
</div>
|
1284 |
-
</div>
|
1285 |
-
<div class="wd-box-content wd-width-100">
|
1286 |
-
<div class="wd-group">
|
1287 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1288 |
-
<div class="bwg-flex">
|
1289 |
-
<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', BWG()->prefix); ?></label>
|
1290 |
-
<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', BWG()->prefix); ?></label>
|
1291 |
-
</div>
|
1292 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1293 |
-
</div>
|
1294 |
-
</div>
|
1295 |
-
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_placeholder">
|
1296 |
-
<div class="wd-group">
|
1297 |
-
<label class="wd-label" for="image_browser_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1298 |
-
<div class="bwg-flex">
|
1299 |
-
<input type="text" name="image_browser_placeholder" id="image_browser_placeholder" value="<?php echo $row->image_browser_placeholder; ?>" />
|
1300 |
-
</div>
|
1301 |
-
</div>
|
1302 |
-
</div>
|
1303 |
-
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_width">
|
1304 |
-
<div class="wd-group">
|
1305 |
-
<label class="wd-label" for="image_browser_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1306 |
-
<div class="bwg-flex">
|
1307 |
-
<input type="number" name="image_browser_search_box_width" id="image_browser_search_box_width" value="<?php echo $row->image_browser_search_box_width; ?>" min="0" /><span>px</span>
|
1308 |
-
</div>
|
1309 |
-
</div>
|
1310 |
-
</div>
|
1311 |
-
</div>
|
1312 |
-
<div class="wd-box-content wd-width-33">
|
1313 |
-
<div class="wd-box-content wd-width-100">
|
1314 |
-
<div class="wd-group">
|
1315 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1316 |
-
<div class="bwg-flex">
|
1317 |
-
<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', BWG()->prefix); ?></label>
|
1318 |
-
<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', BWG()->prefix); ?></label>
|
1319 |
-
</div>
|
1320 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1321 |
-
</div>
|
1322 |
-
</div>
|
1323 |
-
<div class="wd-box-content wd-width-100">
|
1324 |
-
<div class="wd-group">
|
1325 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1326 |
-
<div class="bwg-flex">
|
1327 |
-
<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', BWG()->prefix); ?></label>
|
1328 |
-
<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', BWG()->prefix); ?></label>
|
1329 |
-
</div>
|
1330 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></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('Enable bulk download button', BWG()->prefix); ?></label>
|
1336 |
-
<div class="bwg-flex">
|
1337 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1338 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1339 |
-
</div>
|
1340 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1341 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1342 |
-
</div>
|
1343 |
-
</div>
|
1344 |
-
</div>
|
1345 |
-
</div>
|
1346 |
-
<div id="blog_style_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1347 |
-
<div class="wd-box-content wd-width-33">
|
1348 |
-
<div class="wd-box-content wd-width-100">
|
1349 |
-
<div class="wd-group">
|
1350 |
-
<label class="wd-label" for="blog_style_width"><?php _e('Image width', BWG()->prefix); ?></label>
|
1351 |
-
<div class="bwg-flex">
|
1352 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_width" id="blog_style_width" value="<?php echo $row->blog_style_width; ?>" min="0" /><span>px</span>
|
1353 |
-
</div>
|
1354 |
-
<p class="description"><?php _e('Specify the default width of images in Blog Style view.', BWG()->prefix); ?></p>
|
1355 |
-
</div>
|
1356 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1357 |
-
</div>
|
1358 |
-
<div class="wd-box-content wd-width-100">
|
1359 |
-
<div class="wd-group">
|
1360 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1361 |
-
<div class="bwg-flex">
|
1362 |
-
<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', BWG()->prefix); ?></label>
|
1363 |
-
<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', BWG()->prefix); ?></label>
|
1364 |
-
<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', BWG()->prefix); ?></label>
|
1365 |
-
<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', BWG()->prefix); ?></label>
|
1366 |
-
</div>
|
1367 |
-
<p class="description" id="blog_style_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1368 |
-
<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.', BWG()->prefix); ?></p>
|
1369 |
-
<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.', BWG()->prefix); ?></p>
|
1370 |
-
<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.', BWG()->prefix); ?></p>
|
1371 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1372 |
-
</div>
|
1373 |
-
</div>
|
1374 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_images_per_page">
|
1375 |
-
<div class="wd-group">
|
1376 |
-
<label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1377 |
-
<div class="bwg-flex">
|
1378 |
-
<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 $row->blog_style_images_per_page; ?>" min="0" />
|
1379 |
-
</div>
|
1380 |
-
<p class="description"><?php _e('Select the number of images displayed per page in Blog Style view.', BWG()->prefix); ?></p>
|
1381 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1382 |
-
</div>
|
1383 |
-
</div>
|
1384 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_load_more_image_count">
|
1385 |
-
<div class="wd-group">
|
1386 |
-
<label class="wd-label" for="blog_style_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
1387 |
-
<div class="bwg-flex">
|
1388 |
-
<input type="number" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo $row->blog_style_load_more_image_count; ?>" min="0" />
|
1389 |
-
</div>
|
1390 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
1391 |
-
</div>
|
1392 |
-
</div>
|
1393 |
-
</div>
|
1394 |
-
<div class="wd-box-content wd-width-33">
|
1395 |
-
<div class="wd-box-content wd-width-100">
|
1396 |
-
<div class="wd-group">
|
1397 |
-
<label class="wd-label" for="blog_style_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1398 |
-
<select name="blog_style_sort_by" id="blog_style_sort_by">
|
1399 |
-
<option value="order" <?php if ($row->blog_style_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1400 |
-
<option value="alt" <?php if ($row->blog_style_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1401 |
-
<option value="date" <?php if ($row->blog_style_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1402 |
-
<option value="filename" <?php if ($row->blog_style_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1403 |
-
<option value="size" <?php if ($row->blog_style_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1404 |
-
<option value="filetype" <?php if ($row->blog_style_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1405 |
-
<option value="resolution" <?php if ($row->blog_style_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1406 |
-
<option value="random" <?php if ($row->blog_style_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1407 |
-
</select>
|
1408 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1409 |
-
</div>
|
1410 |
-
</div>
|
1411 |
-
<div class="wd-box-content wd-width-100">
|
1412 |
-
<div class="wd-group">
|
1413 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1414 |
-
<input type="radio" name="blog_style_order_by" id="blog_style_order_by_1" value="asc" <?php if ($row->blog_style_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="blog_style_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1415 |
-
<input type="radio" name="blog_style_order_by" id="blog_style_order_by_0" value="desc" <?php if ($row->blog_style_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="blog_style_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1416 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1417 |
-
</div>
|
1418 |
-
</div>
|
1419 |
-
<div class="wd-box-content wd-width-100">
|
1420 |
-
<div class="wd-group">
|
1421 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1422 |
-
<div class="bwg-flex">
|
1423 |
-
<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', BWG()->prefix); ?></label>
|
1424 |
-
<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', BWG()->prefix); ?></label>
|
1425 |
-
</div>
|
1426 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1427 |
-
</div>
|
1428 |
-
</div>
|
1429 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_placeholder">
|
1430 |
-
<div class="wd-group">
|
1431 |
-
<label class="wd-label" for="blog_style_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1432 |
-
<div class="bwg-flex">
|
1433 |
-
<input type="text" name="blog_style_placeholder" id="blog_style_placeholder" value="<?php echo $row->blog_style_placeholder; ?>" />
|
1434 |
-
</div>
|
1435 |
-
</div>
|
1436 |
-
</div>
|
1437 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_width">
|
1438 |
-
<div class="wd-group">
|
1439 |
-
<label class="wd-label" for="blog_style_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1440 |
-
<div class="bwg-flex">
|
1441 |
-
<input type="number" name="blog_style_search_box_width" id="blog_style_search_box_width" value="<?php echo $row->blog_style_search_box_width; ?>" min="0" /><span>px</span>
|
1442 |
-
</div>
|
1443 |
-
</div>
|
1444 |
-
</div>
|
1445 |
-
<div class="wd-box-content wd-width-100">
|
1446 |
-
<div class="wd-group">
|
1447 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1448 |
-
<div class="bwg-flex">
|
1449 |
-
<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', BWG()->prefix); ?></label>
|
1450 |
-
<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', BWG()->prefix); ?></label>
|
1451 |
-
</div>
|
1452 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1453 |
-
</div>
|
1454 |
-
</div>
|
1455 |
-
<div class="wd-box-content wd-width-100">
|
1456 |
-
<div class="wd-group">
|
1457 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1458 |
-
<div class="bwg-flex">
|
1459 |
-
<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', BWG()->prefix); ?></label>
|
1460 |
-
<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', BWG()->prefix); ?></label>
|
1461 |
-
</div>
|
1462 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1463 |
-
</div>
|
1464 |
-
</div>
|
1465 |
-
</div>
|
1466 |
-
<div class="wd-box-content wd-width-33">
|
1467 |
-
<div class="wd-box-content wd-width-100">
|
1468 |
-
<div class="wd-group">
|
1469 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1470 |
-
<div class="bwg-flex">
|
1471 |
-
<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', BWG()->prefix); ?></label>
|
1472 |
-
<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', BWG()->prefix); ?></label>
|
1473 |
-
</div>
|
1474 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1475 |
-
</div>
|
1476 |
-
</div>
|
1477 |
-
<div class="wd-box-content wd-width-100">
|
1478 |
-
<div class="wd-group">
|
1479 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1480 |
-
<div class="bwg-flex">
|
1481 |
-
<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', BWG()->prefix); ?></label>
|
1482 |
-
<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', BWG()->prefix); ?></label>
|
1483 |
-
</div>
|
1484 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1485 |
-
</div>
|
1486 |
-
</div>
|
1487 |
-
<div class="wd-box-content wd-width-100">
|
1488 |
-
<div class="wd-group">
|
1489 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1490 |
-
<div class="bwg-flex">
|
1491 |
-
<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', BWG()->prefix); ?></label>
|
1492 |
-
<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', BWG()->prefix); ?></label>
|
1493 |
-
</div>
|
1494 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Blog Style view.', BWG()->prefix); ?></p>
|
1495 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1496 |
-
</div>
|
1497 |
-
</div>
|
1498 |
-
<div class="wd-box-content wd-width-100">
|
1499 |
-
<div class="wd-group">
|
1500 |
-
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1501 |
-
<div class="bwg-flex">
|
1502 |
-
<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', BWG()->prefix); ?></label>
|
1503 |
-
<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', BWG()->prefix); ?></label>
|
1504 |
-
</div>
|
1505 |
-
<p class="description"><?php _e('Enable this setting to show descriptions of images in Blog Style view.', BWG()->prefix); ?></p>
|
1506 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1507 |
-
</div>
|
1508 |
-
</div>
|
1509 |
-
<div class="wd-box-content wd-width-100">
|
1510 |
-
<div class="wd-group">
|
1511 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1512 |
-
<div class="bwg-flex">
|
1513 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1514 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1515 |
-
</div>
|
1516 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1517 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1518 |
-
</div>
|
1519 |
-
</div>
|
1520 |
-
</div>
|
1521 |
-
</div>
|
1522 |
-
<div id="carousel_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1523 |
-
<div class="wd-box-content wd-width-33">
|
1524 |
-
<div class="wd-box-content wd-width-100">
|
1525 |
-
<div class="wd-group">
|
1526 |
-
<label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images', BWG()->prefix); ?></label>
|
1527 |
-
<div class="bwg-flex">
|
1528 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_column_number" id="carousel_image_column_number" value="<?php echo $row->carousel_image_column_number; ?>" min="0" /><span>sec.</span>
|
1529 |
-
</div>
|
1530 |
-
<p class="description"><?php _e('Set the maximum number of images that are shown with Carousel display.', BWG()->prefix); ?></p>
|
1531 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1532 |
-
</div>
|
1533 |
-
</div>
|
1534 |
-
<div class="wd-box-content wd-width-100">
|
1535 |
-
<div class="wd-group">
|
1536 |
-
<label class="wd-label" for="carousel_width"><?php _e('Image dimensions', BWG()->prefix); ?></label>
|
1537 |
-
<div class="bwg-flex">
|
1538 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_width" id="carousel_width" value="<?php echo $row->carousel_width; ?>" min="0" /><span>x</span>
|
1539 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_height" id="carousel_height" value="<?php echo $row->carousel_height; ?>" min="0" /><span>px</span>
|
1540 |
-
</div>
|
1541 |
-
<p class="description"><?php _e('Specify the dimensions of carousel images in pixels.', BWG()->prefix); ?></p>
|
1542 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1543 |
-
</div>
|
1544 |
-
</div>
|
1545 |
-
<div class="wd-box-content wd-width-100">
|
1546 |
-
<div class="wd-group">
|
1547 |
-
<label class="wd-label" for="carousel_image_par"><?php _e('Carousel image ratio', BWG()->prefix); ?></label>
|
1548 |
-
<div class="bwg-flex">
|
1549 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_par" id="carousel_image_par" value="<?php echo $row->carousel_image_par; ?>" min="0" max="1" step="0.01" />
|
1550 |
-
</div>
|
1551 |
-
<p class="description"><?php _e('This option defines the dimensions ratio of images in Carousel view. E.g. for square images set ratio to 1.', BWG()->prefix); ?></p>
|
1552 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1553 |
-
</div>
|
1554 |
-
</div>
|
1555 |
-
<div class="wd-box-content wd-width-100">
|
1556 |
-
<div class="wd-group">
|
1557 |
-
<label class="wd-label" for="carousel_r_width"><?php _e('Fixed width', BWG()->prefix); ?></label>
|
1558 |
-
<div class="bwg-flex">
|
1559 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_r_width" id="carousel_r_width" value="<?php echo $row->carousel_r_width; ?>" min="0" /><span>px</span>
|
1560 |
-
</div>
|
1561 |
-
<p class="description"><?php _e('Specify the fixed width of Carousel gallery container.', BWG()->prefix); ?></p>
|
1562 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1563 |
-
</div>
|
1564 |
-
</div>
|
1565 |
-
</div>
|
1566 |
-
<div class="wd-box-content wd-width-33">
|
1567 |
-
<div class="wd-box-content wd-width-100">
|
1568 |
-
<div class="wd-group">
|
1569 |
-
<label class="wd-label" for="carousel_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1570 |
-
<select name="carousel_sort_by" id="carousel_sort_by">
|
1571 |
-
<option value="order" <?php if ($row->carousel_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1572 |
-
<option value="alt" <?php if ($row->carousel_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1573 |
-
<option value="date" <?php if ($row->carousel_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1574 |
-
<option value="filename" <?php if ($row->carousel_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1575 |
-
<option value="size" <?php if ($row->carousel_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1576 |
-
<option value="filetype" <?php if ($row->carousel_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1577 |
-
<option value="resolution" <?php if ($row->carousel_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1578 |
-
<option value="random" <?php if ($row->carousel_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1579 |
-
</select>
|
1580 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1581 |
-
</div>
|
1582 |
-
</div>
|
1583 |
-
<div class="wd-box-content wd-width-100">
|
1584 |
-
<div class="wd-group">
|
1585 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1586 |
-
<input type="radio" name="carousel_order_by" id="carousel_order_by_1" value="asc" <?php if ($row->carousel_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="carousel_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1587 |
-
<input type="radio" name="carousel_order_by" id="carousel_order_by_0" value="desc" <?php if ($row->carousel_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="carousel_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1588 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1589 |
-
</div>
|
1590 |
-
</div>
|
1591 |
-
<div class="wd-box-content wd-width-100">
|
1592 |
-
<div class="wd-group">
|
1593 |
-
<label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
|
1594 |
-
<div class="bwg-flex">
|
1595 |
-
<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', BWG()->prefix); ?></label>
|
1596 |
-
<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', BWG()->prefix); ?></label>
|
1597 |
-
</div>
|
1598 |
-
<p class="description"><?php _e('Activate this option to autoplay Carousel galleries.', BWG()->prefix); ?></p>
|
1599 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1600 |
-
</div>
|
1601 |
-
</div>
|
1602 |
-
<div class="wd-box-content wd-width-100">
|
1603 |
-
<div class="wd-group">
|
1604 |
-
<label class="wd-label" for="carousel_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
1605 |
-
<div class="bwg-flex">
|
1606 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_interval" id="carousel_interval" value="<?php echo $row->carousel_interval; ?>" min="0" step="0.1" /><span>sec.</span>
|
1607 |
-
</div>
|
1608 |
-
<p class="description"><?php _e('Specify the time interval between rotations in Photo Gallery\'s Carousel view.', BWG()->prefix); ?></p>
|
1609 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1610 |
-
</div>
|
1611 |
-
</div>
|
1612 |
-
</div>
|
1613 |
-
<div class="wd-box-content wd-width-33">
|
1614 |
-
<div class="wd-box-content wd-width-100">
|
1615 |
-
<div class="wd-group">
|
1616 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1617 |
-
<div class="bwg-flex">
|
1618 |
-
<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', BWG()->prefix); ?></label>
|
1619 |
-
<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', BWG()->prefix); ?></label>
|
1620 |
-
</div>
|
1621 |
-
<p class="description"><?php _e('Display image titles in Photo Gallery Carousel view by activating this option.', BWG()->prefix); ?></p>
|
1622 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1623 |
-
</div>
|
1624 |
-
</div>
|
1625 |
-
<div class="wd-box-content wd-width-100">
|
1626 |
-
<div class="wd-group">
|
1627 |
-
<label class="wd-label"><?php _e('Container fit', BWG()->prefix); ?></label>
|
1628 |
-
<div class="bwg-flex">
|
1629 |
-
<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", BWG()->prefix); ?></label>
|
1630 |
-
<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', BWG()->prefix); ?></label>
|
1631 |
-
</div>
|
1632 |
-
<p class="description"><?php _e('Enabling this setting fits the images inside their container on Carousel galleries with fixed width.', BWG()->prefix); ?></p>
|
1633 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1634 |
-
</div>
|
1635 |
-
</div>
|
1636 |
-
<div class="wd-box-content wd-width-100">
|
1637 |
-
<div class="wd-group">
|
1638 |
-
<label class="wd-label"><?php _e('Next/Previous buttons', BWG()->prefix); ?></label>
|
1639 |
-
<div class="bwg-flex">
|
1640 |
-
<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", BWG()->prefix); ?></label>
|
1641 |
-
<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', BWG()->prefix); ?></label>
|
1642 |
-
</div>
|
1643 |
-
<p class="description"><?php _e('Enable this setting to display Next/Previous buttons on your galleries with Carousel view.', BWG()->prefix); ?></p>
|
1644 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1645 |
-
</div>
|
1646 |
-
</div>
|
1647 |
-
<div class="wd-box-content wd-width-100">
|
1648 |
-
<div class="wd-group">
|
1649 |
-
<label class="wd-label"><?php _e('Play/Pause buttons', BWG()->prefix); ?></label>
|
1650 |
-
<div class="bwg-flex">
|
1651 |
-
<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', BWG()->prefix); ?></label>
|
1652 |
-
<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', BWG()->prefix); ?></label>
|
1653 |
-
</div>
|
1654 |
-
<p class="description"><?php _e('Activate this to show Play/Pause buttons on your Carousel galleries.', BWG()->prefix); ?></p>
|
1655 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1656 |
-
</div>
|
1657 |
-
</div>
|
1658 |
-
<div class="wd-box-content wd-width-100">
|
1659 |
-
<div class="wd-group">
|
1660 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1661 |
-
<div class="bwg-flex">
|
1662 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1663 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1664 |
-
</div>
|
1665 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1666 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1667 |
-
</div>
|
1668 |
-
</div>
|
1669 |
-
</div>
|
1670 |
-
</div>
|
1671 |
-
</div>
|
1672 |
-
</div>
|
1673 |
-
</div>
|
1674 |
-
<div id="bwg_tab_gallery_group_content" class="bwg-section wd-box-content">
|
1675 |
-
<div class="bwg-section bwg-flex-wrap">
|
1676 |
-
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
1677 |
-
<div id="bwg_tab_albums_content" class="wd-width-100">
|
1678 |
-
<div class="bwg_change_gallery_type">
|
1679 |
-
<span class="gallery_type" onClick="bwg_album_type_options('album_compact_preview')">
|
1680 |
-
<div><label for="album_compact_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.jpg'; ?>" /></label></div>
|
1681 |
-
<div class="album_type_div">
|
1682 |
-
<input type="radio" class="album_type_radio" id="album_compact_preview" name="album_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', BWG()->prefix); ?></label>
|
1683 |
-
</div>
|
1684 |
-
</span>
|
1685 |
-
<span class="gallery_type" onClick="bwg_album_type_options('album_masonry_preview')">
|
1686 |
-
<div><label for="album_masonry_preview"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label></div>
|
1687 |
-
<div class="album_type_div">
|
1688 |
-
<input type="radio" class="album_type_radio" id="album_masonry_preview" name="album_type" value="album_masonry_preview" /><label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', BWG()->prefix); ?></label>
|
1689 |
-
<?php if ( !BWG()->is_pro ) { ?>
|
1690 |
-
<span class="pro_btn">Paid</span>
|
1691 |
-
<?php } ?>
|
1692 |
-
</div>
|
1693 |
-
</span>
|
1694 |
-
<span class="gallery_type" onClick="bwg_album_type_options('album_extended_preview')">
|
1695 |
-
<div><label for="album_extended_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.jpg'; ?>" /></label></div>
|
1696 |
-
<div class="album_type_div">
|
1697 |
-
<input type="radio" class="album_type_radio" id="album_extended_preview" name="album_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', BWG()->prefix); ?></label>
|
1698 |
-
</div>
|
1699 |
-
</span>
|
1700 |
-
</div>
|
1701 |
-
<div class="bwg_select_gallery_type">
|
1702 |
-
<label class="wd-label" for="gallery_types_name"><?php _e('View type', BWG()->prefix); ?></label>
|
1703 |
-
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_album_type_options(jQuery(this).val());">
|
1704 |
-
<?php
|
1705 |
-
foreach ($album_types_name as $key=>$album_type_name) {
|
1706 |
-
?>
|
1707 |
-
<option <?php echo selected($album_type_name,true); ?> value="<?php echo $key; ?>"><?php echo $album_type_name; ?></option>
|
1708 |
-
<?php
|
1709 |
-
}
|
1710 |
-
?>
|
1711 |
-
</select>
|
1712 |
-
</div>
|
1713 |
-
</div>
|
1714 |
-
<?php
|
1715 |
-
if ( !BWG()->is_pro ) {
|
1716 |
-
?>
|
1717 |
-
<div class="wd-box-content wd-width-100 wd-free-msg">
|
1718 |
-
<?php
|
1719 |
-
echo WDWLibrary::message_id(0, __('This view is not available in free version.', BWG()->prefix), 'error');
|
1720 |
-
?>
|
1721 |
-
</div>
|
1722 |
-
<?php
|
1723 |
-
}
|
1724 |
-
?>
|
1725 |
-
<div id="album_compact_preview_options" class="album_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1726 |
-
<div class="wd-box-content wd-width-33">
|
1727 |
-
<div class="wd-box-content wd-width-100">
|
1728 |
-
<div class="wd-group">
|
1729 |
-
<label class="wd-label" for="album_column_number"><?php _e('Number of gallery group columns', BWG()->prefix); ?></label>
|
1730 |
-
<div class="bwg-flex">
|
1731 |
-
<input type="number" name="album_column_number" id="album_column_number" value="<?php echo $row->album_column_number; ?>" min="0" />
|
1732 |
-
</div>
|
1733 |
-
<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.', BWG()->prefix); ?></p>
|
1734 |
-
</div>
|
1735 |
-
</div>
|
1736 |
-
<div class="wd-box-content wd-width-100">
|
1737 |
-
<div class="wd-group">
|
1738 |
-
<label class="wd-label" for="album_thumb_width"><?php _e('Gallery group thumbnail dimensions', BWG()->prefix); ?></label>
|
1739 |
-
<div class="bwg-flex">
|
1740 |
-
<input type="number" name="album_thumb_width" id="album_thumb_width" value="<?php echo $row->album_thumb_width; ?>" min="0" /><span>x</span>
|
1741 |
-
<input type="number" name="album_thumb_height" id="album_thumb_height" value="<?php echo $row->album_thumb_height; ?>" min="0" /><span>px</span>
|
1742 |
-
</div>
|
1743 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
1744 |
-
</div>
|
1745 |
-
</div>
|
1746 |
-
<div class="wd-box-content wd-width-100">
|
1747 |
-
<div class="wd-group">
|
1748 |
-
<label class="wd-label" for="album_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
1749 |
-
<div class="bwg-flex">
|
1750 |
-
<input type="number" name="album_image_column_number" id="album_image_column_number" value="<?php echo $row->album_image_column_number; ?>" min="0" />
|
1751 |
-
</div>
|
1752 |
-
<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.', BWG()->prefix); ?></p>
|
1753 |
-
</div>
|
1754 |
-
</div>
|
1755 |
-
<div class="wd-box-content wd-width-100">
|
1756 |
-
<div class="wd-group">
|
1757 |
-
<label class="wd-label" for="album_image_thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
1758 |
-
<div class="bwg-flex">
|
1759 |
-
<input type="number" name="album_image_thumb_width" id="album_image_thumb_width" value="<?php echo $row->album_image_thumb_width; ?>" min="0" /><span>x</span>
|
1760 |
-
<input type="number" name="album_image_thumb_height" id="album_image_thumb_height" value="<?php echo $row->album_image_thumb_height; ?>" min="0" /><span>px</span>
|
1761 |
-
</div>
|
1762 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
1763 |
-
</div>
|
1764 |
-
</div>
|
1765 |
-
<div class="wd-box-content wd-width-100">
|
1766 |
-
<div class="wd-group">
|
1767 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1768 |
-
<div class="bwg-flex">
|
1769 |
-
<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', BWG()->prefix); ?></label>
|
1770 |
-
<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', BWG()->prefix); ?></label>
|
1771 |
-
<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', BWG()->prefix); ?></label>
|
1772 |
-
<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', BWG()->prefix); ?></label>
|
1773 |
-
</div>
|
1774 |
-
<p class="description" id="album_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1775 |
-
<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.', BWG()->prefix); ?></p>
|
1776 |
-
<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.', BWG()->prefix); ?></p>
|
1777 |
-
<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.', BWG()->prefix); ?></p>
|
1778 |
-
</div>
|
1779 |
-
</div>
|
1780 |
-
<div class="wd-box-content wd-width-100" id="tr_albums_per_page">
|
1781 |
-
<div class="wd-group">
|
1782 |
-
<label class="wd-label" for="albums_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
1783 |
-
<div class="bwg-flex">
|
1784 |
-
<input type="number" name="albums_per_page" id="albums_per_page" value="<?php echo $row->albums_per_page; ?>" min="0" />
|
1785 |
-
</div>
|
1786 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1787 |
-
</div>
|
1788 |
-
</div>
|
1789 |
-
<div class="wd-box-content wd-width-100" id="tr_album_images_per_page">
|
1790 |
-
<div class="wd-group">
|
1791 |
-
<label class="wd-label" for="album_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1792 |
-
<div class="bwg-flex">
|
1793 |
-
<input type="number" name="album_images_per_page" id="album_images_per_page" value="<?php echo $row->album_images_per_page; ?>" min="0" />
|
1794 |
-
</div>
|
1795 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1796 |
-
</div>
|
1797 |
-
</div>
|
1798 |
-
</div>
|
1799 |
-
<div class="wd-box-content wd-width-33">
|
1800 |
-
<div class="wd-box-content wd-width-100">
|
1801 |
-
<div class="wd-group">
|
1802 |
-
<label class="wd-label" for="album_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1803 |
-
<select name="album_sort_by" id="album_sort_by">
|
1804 |
-
<option value="order" <?php if ($row->album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1805 |
-
<option value="alt" <?php if ($row->album_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1806 |
-
<option value="date" <?php if ($row->album_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1807 |
-
<option value="filename" <?php if ($row->album_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1808 |
-
<option value="size" <?php if ($row->album_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1809 |
-
<option value="filetype" <?php if ($row->album_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1810 |
-
<option value="resolution" <?php if ($row->album_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1811 |
-
<option value="random" <?php if ($row->album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1812 |
-
</select>
|
1813 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1814 |
-
</div>
|
1815 |
-
</div>
|
1816 |
-
<div class="wd-box-content wd-width-100">
|
1817 |
-
<div class="wd-group">
|
1818 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1819 |
-
<input type="radio" name="album_order_by" id="album_order_by_1" value="asc" <?php if ($row->album_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1820 |
-
<input type="radio" name="album_order_by" id="album_order_by_0" value="desc" <?php if ($row->album_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1821 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1822 |
-
</div>
|
1823 |
-
</div>
|
1824 |
-
<div class="wd-box-content wd-width-100">
|
1825 |
-
<div class="wd-group">
|
1826 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1827 |
-
<div class="bwg-flex">
|
1828 |
-
<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', BWG()->prefix); ?></label>
|
1829 |
-
<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', BWG()->prefix); ?></label>
|
1830 |
-
</div>
|
1831 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1832 |
-
</div>
|
1833 |
-
</div>
|
1834 |
-
<div class="wd-box-content wd-width-100" id="tr_album_search_box_placeholder">
|
1835 |
-
<div class="wd-group">
|
1836 |
-
<label class="wd-label" for="album_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1837 |
-
<div class="bwg-flex">
|
1838 |
-
<input type="text" name="album_placeholder" id="album_placeholder" value="<?php echo $row->album_placeholder; ?>" />
|
1839 |
-
</div>
|
1840 |
-
</div>
|
1841 |
-
</div>
|
1842 |
-
<div class="wd-box-content wd-width-100" id="tr_album_search_box_width">
|
1843 |
-
<div class="wd-group">
|
1844 |
-
<label class="wd-label" for="album_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1845 |
-
<div class="bwg-flex">
|
1846 |
-
<input type="number" name="album_search_box_width" id="album_search_box_width" value="<?php echo $row->album_search_box_width; ?>" min="0" /><span>px</span>
|
1847 |
-
</div>
|
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 "Order by" dropdown list', BWG()->prefix); ?></label>
|
1853 |
-
<div class="bwg-flex">
|
1854 |
-
<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', BWG()->prefix); ?></label>
|
1855 |
-
<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', BWG()->prefix); ?></label>
|
1856 |
-
</div>
|
1857 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1858 |
-
</div>
|
1859 |
-
</div>
|
1860 |
-
<div class="wd-box-content wd-width-100">
|
1861 |
-
<div class="wd-group">
|
1862 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1863 |
-
<div class="bwg-flex">
|
1864 |
-
<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', BWG()->prefix); ?></label>
|
1865 |
-
<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', BWG()->prefix); ?></label>
|
1866 |
-
</div>
|
1867 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1868 |
-
</div>
|
1869 |
-
</div>
|
1870 |
-
</div>
|
1871 |
-
<div class="wd-box-content wd-width-33">
|
1872 |
-
<div class="wd-box-content wd-width-100">
|
1873 |
-
<div class="wd-group">
|
1874 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
1875 |
-
<div class="bwg-flex">
|
1876 |
-
<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', BWG()->prefix); ?></label>
|
1877 |
-
<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', BWG()->prefix); ?></label>
|
1878 |
-
</div>
|
1879 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
1880 |
-
</div>
|
1881 |
-
</div>
|
1882 |
-
<div class="wd-box-content wd-width-100">
|
1883 |
-
<div class="wd-group">
|
1884 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
1885 |
-
<div class="bwg-flex">
|
1886 |
-
<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', BWG()->prefix); ?></label>
|
1887 |
-
<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', BWG()->prefix); ?></label>
|
1888 |
-
</div>
|
1889 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
1890 |
-
</div>
|
1891 |
-
</div>
|
1892 |
-
<div class="wd-box-content wd-width-100">
|
1893 |
-
<div class="wd-group">
|
1894 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1895 |
-
<div class="bwg-flex">
|
1896 |
-
<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', BWG()->prefix); ?></label>
|
1897 |
-
<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', BWG()->prefix); ?></label>
|
1898 |
-
<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", BWG()->prefix); ?></label>
|
1899 |
-
</div>
|
1900 |
-
<p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.', BWG()->prefix); ?></p>
|
1901 |
-
</div>
|
1902 |
-
</div>
|
1903 |
-
<div class="wd-box-content wd-width-100">
|
1904 |
-
<div class="wd-group">
|
1905 |
-
<label class="wd-label"><?php _e('Gallery view type', BWG()->prefix); ?></label>
|
1906 |
-
<div class="bwg-flex">
|
1907 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_1" value="thumbnail" <?php if ($row->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_mosaic', 'album_view_type_1'); bwg_enable_disable('none', 'tr_album_resizable_mosaic', 'album_view_type_1'); bwg_enable_disable('none', 'tr_album_mosaic_total_width', 'album_view_type_1');" /><label for="album_view_type_1" class="wd-radio-label"><?php _e('Thumbnail', BWG()->prefix); ?></label>
|
1908 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_0" value="masonry" <?php if ($row->album_view_type == "masonry") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_mosaic', 'album_view_type_0'); bwg_enable_disable('none', 'tr_album_resizable_mosaic', 'album_view_type_0'); bwg_enable_disable('none', 'tr_album_mosaic_total_width', 'album_view_type_0');" /><label for="album_view_type_0" class="wd-radio-label"><?php _e('Masonry', BWG()->prefix); ?></label>
|
1909 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_2" value="mosaic" <?php if ($row->album_view_type == "mosaic") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_mosaic', 'album_view_type_2'); bwg_enable_disable('', 'tr_album_resizable_mosaic', 'album_view_type_2'); bwg_enable_disable('', 'tr_album_mosaic_total_width', 'album_view_type_2');" /><label for="album_view_type_2" class="wd-radio-label"><?php _e('Mosaic', BWG()->prefix); ?></label>
|
1910 |
-
</div>
|
1911 |
-
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry or Mosaic.', BWG()->prefix); ?></p>
|
1912 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1913 |
-
</div>
|
1914 |
-
</div>
|
1915 |
-
<div class="wd-box-content wd-width-100" id="tr_album_mosaic">
|
1916 |
-
<div class="wd-group">
|
1917 |
-
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
1918 |
-
<div class="bwg-flex">
|
1919 |
-
<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', BWG()->prefix); ?></label>
|
1920 |
-
<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', BWG()->prefix); ?></label>
|
1921 |
-
</div>
|
1922 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
1923 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1924 |
-
</div>
|
1925 |
-
</div>
|
1926 |
-
<div class="wd-box-content wd-width-100" id="tr_album_resizable_mosaic">
|
1927 |
-
<div class="wd-group">
|
1928 |
-
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
1929 |
-
<div class="bwg-flex">
|
1930 |
-
<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', BWG()->prefix); ?></label>
|
1931 |
-
<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', BWG()->prefix); ?></label>
|
1932 |
-
</div>
|
1933 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
1934 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1935 |
-
</div>
|
1936 |
-
</div>
|
1937 |
-
<div class="wd-box-content wd-width-100" id="tr_album_mosaic_total_width">
|
1938 |
-
<div class="wd-group">
|
1939 |
-
<label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
1940 |
-
<div class="bwg-flex">
|
1941 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_mosaic_total_width" id="album_mosaic_total_width" value="<?php echo $row->album_mosaic_total_width; ?>" min="0" /><span>%</span>
|
1942 |
-
</div>
|
1943 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
1944 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1945 |
-
</div>
|
1946 |
-
</div>
|
1947 |
-
<div class="wd-box-content wd-width-100">
|
1948 |
-
<div class="wd-group">
|
1949 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1950 |
-
<div class="bwg-flex">
|
1951 |
-
<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', BWG()->prefix); ?></label>
|
1952 |
-
<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 for="album_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
1953 |
-
<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", BWG()->prefix); ?></label>
|
1954 |
-
</div>
|
1955 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
1956 |
-
</div>
|
1957 |
-
</div>
|
1958 |
-
<div class="wd-box-content wd-width-100">
|
1959 |
-
<div class="wd-group">
|
1960 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
1961 |
-
<div class="bwg-flex">
|
1962 |
-
<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', BWG()->prefix); ?></label>
|
1963 |
-
<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', BWG()->prefix); ?></label>
|
1964 |
-
</div>
|
1965 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
1966 |
-
</div>
|
1967 |
-
</div>
|
1968 |
-
<div class="wd-box-content wd-width-100">
|
1969 |
-
<div class="wd-group">
|
1970 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1971 |
-
<div class="bwg-flex">
|
1972 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1973 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
1974 |
-
</div>
|
1975 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1976 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1977 |
-
</div>
|
1978 |
-
</div>
|
1979 |
-
<?php
|
1980 |
-
if (function_exists('BWGEC')) {
|
1981 |
-
?>
|
1982 |
-
<div class="wd-box-content wd-width-100">
|
1983 |
-
<div class="wd-group">
|
1984 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
1985 |
-
<div class="bwg-flex">
|
1986 |
-
<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"'; ?> /><label for="album_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
1987 |
-
<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"'; ?> /><label for="album_ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
1988 |
-
<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"'; ?> /><label for="album_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
1989 |
-
</div>
|
1990 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
1991 |
-
</div>
|
1992 |
-
</div>
|
1993 |
-
<?php
|
1994 |
-
}
|
1995 |
-
?>
|
1996 |
-
</div>
|
1997 |
-
</div>
|
1998 |
-
<div id="album_masonry_preview_options" class="bwg-pro-views album_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1999 |
-
<div class="wd-box-content wd-width-33">
|
2000 |
-
<div class="wd-box-content wd-width-100">
|
2001 |
-
<div class="wd-group">
|
2002 |
-
<label class="wd-label" for="album_masonry_column_number"><?php _e('Number of gallery group columns', BWG()->prefix); ?></label>
|
2003 |
-
<div class="bwg-flex">
|
2004 |
-
<input type="number" name="album_masonry_column_number" id="album_masonry_column_number" value="<?php echo $row->album_masonry_column_number; ?>" min="0" />
|
2005 |
-
</div>
|
2006 |
-
<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.', BWG()->prefix); ?></p>
|
2007 |
-
</div>
|
2008 |
-
</div>
|
2009 |
-
<div class="wd-box-content wd-width-100">
|
2010 |
-
<div class="wd-group">
|
2011 |
-
<label class="wd-label" for="album_masonry_thumb_width"><?php _e('Gallery group thumbnail width', BWG()->prefix); ?></label>
|
2012 |
-
<div class="bwg-flex">
|
2013 |
-
<input type="number" name="album_masonry_thumb_width" id="album_masonry_thumb_width" value="<?php echo $row->album_masonry_thumb_width; ?>" min="0" /><span>px</span>
|
2014 |
-
</div>
|
2015 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
2016 |
-
</div>
|
2017 |
-
</div>
|
2018 |
-
<div class="wd-box-content wd-width-100">
|
2019 |
-
<div class="wd-group">
|
2020 |
-
<label class="wd-label" for="album_masonry_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
2021 |
-
<div class="bwg-flex">
|
2022 |
-
<input type="number" name="album_masonry_image_column_number" id="album_masonry_image_column_number" value="<?php echo $row->album_masonry_image_column_number; ?>" min="0" />
|
2023 |
-
</div>
|
2024 |
-
<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.', BWG()->prefix); ?></p>
|
2025 |
-
</div>
|
2026 |
-
</div>
|
2027 |
-
<div class="wd-box-content wd-width-100">
|
2028 |
-
<div class="wd-group">
|
2029 |
-
<label class="wd-label" for="album_masonry_image_thumb_width"><?php _e('Thumbnail width', BWG()->prefix); ?></label>
|
2030 |
-
<div class="bwg-flex">
|
2031 |
-
<input type="number" name="album_masonry_image_thumb_width" id="album_masonry_image_thumb_width" value="<?php echo $row->album_masonry_image_thumb_width; ?>" min="0" /><span>px</span>
|
2032 |
-
</div>
|
2033 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
2034 |
-
</div>
|
2035 |
-
</div>
|
2036 |
-
<div class="wd-box-content wd-width-100">
|
2037 |
-
<div class="wd-group">
|
2038 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2039 |
-
<div class="bwg-flex">
|
2040 |
-
<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', BWG()->prefix); ?></label>
|
2041 |
-
<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', BWG()->prefix); ?></label>
|
2042 |
-
<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', BWG()->prefix); ?></label>
|
2043 |
-
<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', BWG()->prefix); ?></label>
|
2044 |
-
</div>
|
2045 |
-
<p class="description" id="album_masonry_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2046 |
-
<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.', BWG()->prefix); ?></p>
|
2047 |
-
<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.', BWG()->prefix); ?></p>
|
2048 |
-
<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.', BWG()->prefix); ?></p>
|
2049 |
-
</div>
|
2050 |
-
</div>
|
2051 |
-
<div class="wd-box-content wd-width-100" id="tr_albums_masonry_per_page">
|
2052 |
-
<div class="wd-group">
|
2053 |
-
<label class="wd-label" for="albums_masonry_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
2054 |
-
<div class="bwg-flex">
|
2055 |
-
<input type="number" name="albums_masonry_per_page" id="albums_masonry_per_page" value="<?php echo $row->albums_masonry_per_page; ?>" min="0" />
|
2056 |
-
</div>
|
2057 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2058 |
-
</div>
|
2059 |
-
</div>
|
2060 |
-
<div class="wd-box-content wd-width-100" id="tr_album_masonry_images_per_page">
|
2061 |
-
<div class="wd-group">
|
2062 |
-
<label class="wd-label" for="album_masonry_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2063 |
-
<div class="bwg-flex">
|
2064 |
-
<input type="number" name="album_masonry_images_per_page" id="album_masonry_images_per_page" value="<?php echo $row->album_masonry_images_per_page; ?>" min="0" />
|
2065 |
-
</div>
|
2066 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2067 |
-
</div>
|
2068 |
-
</div>
|
2069 |
-
</div>
|
2070 |
-
<div class="wd-box-content wd-width-33">
|
2071 |
-
<div class="wd-box-content wd-width-100">
|
2072 |
-
<div class="wd-group">
|
2073 |
-
<label class="wd-label" for="album_masonry_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2074 |
-
<select name="album_masonry_sort_by" id="album_masonry_sort_by">
|
2075 |
-
<option value="order" <?php if ($row->album_masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2076 |
-
<option value="alt" <?php if ($row->album_masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2077 |
-
<option value="date" <?php if ($row->album_masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2078 |
-
<option value="filename" <?php if ($row->album_masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2079 |
-
<option value="size" <?php if ($row->album_masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2080 |
-
<option value="filetype" <?php if ($row->album_masonry_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2081 |
-
<option value="resolution" <?php if ($row->album_masonry_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2082 |
-
<option value="random" <?php if ($row->album_masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2083 |
-
</select>
|
2084 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2085 |
-
</div>
|
2086 |
-
</div>
|
2087 |
-
<div class="wd-box-content wd-width-100">
|
2088 |
-
<div class="wd-group">
|
2089 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2090 |
-
<input type="radio" name="album_masonry_order_by" id="album_masonry_order_by_1" value="asc" <?php if ($row->album_masonry_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_masonry_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2091 |
-
<input type="radio" name="album_masonry_order_by" id="album_masonry_order_by_0" value="desc" <?php if ($row->album_masonry_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_masonry_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2092 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2093 |
-
</div>
|
2094 |
-
</div>
|
2095 |
-
<div class="wd-box-content wd-width-100">
|
2096 |
-
<div class="wd-group">
|
2097 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2098 |
-
<div class="bwg-flex">
|
2099 |
-
<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', BWG()->prefix); ?></label>
|
2100 |
-
<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', BWG()->prefix); ?></label>
|
2101 |
-
</div>
|
2102 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2103 |
-
</div>
|
2104 |
-
</div>
|
2105 |
-
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_placeholder">
|
2106 |
-
<div class="wd-group">
|
2107 |
-
<label class="wd-label" for="album_masonry_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2108 |
-
<div class="bwg-flex">
|
2109 |
-
<input type="text" name="album_masonry_placeholder" id="album_masonry_placeholder" value="<?php echo $row->album_masonry_placeholder; ?>" />
|
2110 |
-
</div>
|
2111 |
-
</div>
|
2112 |
-
</div>
|
2113 |
-
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_width">
|
2114 |
-
<div class="wd-group">
|
2115 |
-
<label class="wd-label" for="album_masonry_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2116 |
-
<div class="bwg-flex">
|
2117 |
-
<input type="number" name="album_masonry_search_box_width" id="album_masonry_search_box_width" value="<?php echo $row->album_masonry_search_box_width; ?>" min="0" /><span>px</span>
|
2118 |
-
</div>
|
2119 |
-
</div>
|
2120 |
-
</div>
|
2121 |
-
<div class="wd-box-content wd-width-100">
|
2122 |
-
<div class="wd-group">
|
2123 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2124 |
-
<div class="bwg-flex">
|
2125 |
-
<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', BWG()->prefix); ?></label>
|
2126 |
-
<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', BWG()->prefix); ?></label>
|
2127 |
-
</div>
|
2128 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2129 |
-
</div>
|
2130 |
-
</div>
|
2131 |
-
<div class="wd-box-content wd-width-100">
|
2132 |
-
<div class="wd-group">
|
2133 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2134 |
-
<div class="bwg-flex">
|
2135 |
-
<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', BWG()->prefix); ?></label>
|
2136 |
-
<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', BWG()->prefix); ?></label>
|
2137 |
-
</div>
|
2138 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2139 |
-
</div>
|
2140 |
-
</div>
|
2141 |
-
</div>
|
2142 |
-
<div class="wd-box-content wd-width-33">
|
2143 |
-
<div class="wd-box-content wd-width-100">
|
2144 |
-
<div class="wd-group">
|
2145 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2146 |
-
<div class="bwg-flex">
|
2147 |
-
<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', BWG()->prefix); ?></label>
|
2148 |
-
<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', BWG()->prefix); ?></label>
|
2149 |
-
</div>
|
2150 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2151 |
-
</div>
|
2152 |
-
</div>
|
2153 |
-
<div class="wd-box-content wd-width-100">
|
2154 |
-
<div class="wd-group">
|
2155 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2156 |
-
<div class="bwg-flex">
|
2157 |
-
<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', BWG()->prefix); ?></label>
|
2158 |
-
<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', BWG()->prefix); ?></label>
|
2159 |
-
</div>
|
2160 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2161 |
-
</div>
|
2162 |
-
</div>
|
2163 |
-
<div class="wd-box-content wd-width-100">
|
2164 |
-
<div class="wd-group">
|
2165 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2166 |
-
<div class="bwg-flex">
|
2167 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
2168 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
2169 |
-
</div>
|
2170 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2171 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2172 |
-
</div>
|
2173 |
-
</div>
|
2174 |
-
<?php
|
2175 |
-
if (function_exists('BWGEC')) {
|
2176 |
-
?>
|
2177 |
-
<div class="wd-box-content wd-width-100">
|
2178 |
-
<div class="wd-group">
|
2179 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
2180 |
-
<div class="bwg-flex">
|
2181 |
-
<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', BWG()->prefix); ?></label>
|
2182 |
-
<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", BWG()->prefix); ?></label>
|
2183 |
-
</div>
|
2184 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
2185 |
-
</div>
|
2186 |
-
</div>
|
2187 |
-
<?php
|
2188 |
-
}
|
2189 |
-
?>
|
2190 |
</div>
|
2191 |
</div>
|
2192 |
-
<div
|
2193 |
-
<
|
2194 |
-
<div class="wd-box-content wd-width-100">
|
2195 |
-
<div class="wd-group">
|
2196 |
-
<label class="wd-label" for="extended_album_height"><?php _e('Extended gallery group height', BWG()->prefix); ?></label>
|
2197 |
-
<div class="bwg-flex">
|
2198 |
-
<input type="number" name="extended_album_height" id="extended_album_height" value="<?php echo $row->extended_album_height; ?>" min="0" /><span>px</span>
|
2199 |
-
</div>
|
2200 |
-
<p class="description"><?php _e('Set the height of blocks in Extended gallery groups.', BWG()->prefix); ?></p>
|
2201 |
-
</div>
|
2202 |
-
</div>
|
2203 |
-
<div class="wd-box-content wd-width-100">
|
2204 |
-
<div class="wd-group">
|
2205 |
-
<label class="wd-label" for="album_extended_thumb_width"><?php _e('Gallery group thumbnail dimensions', BWG()->prefix); ?></label>
|
2206 |
-
<div class="bwg-flex">
|
2207 |
-
<input type="number" name="album_extended_thumb_width" id="album_extended_thumb_width" value="<?php echo $row->album_extended_thumb_width; ?>" min="0" /><span>x</span>
|
2208 |
-
<input type="number" name="album_extended_thumb_height" id="album_extended_thumb_height" value="<?php echo $row->album_extended_thumb_height; ?>" min="0" /><span>px</span>
|
2209 |
-
</div>
|
2210 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
2211 |
-
</div>
|
2212 |
-
</div>
|
2213 |
-
<div class="wd-box-content wd-width-100">
|
2214 |
-
<div class="wd-group">
|
2215 |
-
<label class="wd-label" for="album_extended_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
2216 |
-
<div class="bwg-flex">
|
2217 |
-
<input type="number" name="album_extended_image_column_number" id="album_extended_image_column_number" value="<?php echo $row->album_extended_image_column_number; ?>" min="0" />
|
2218 |
-
</div>
|
2219 |
-
<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.', BWG()->prefix); ?></p>
|
2220 |
-
</div>
|
2221 |
-
</div>
|
2222 |
-
<div class="wd-box-content wd-width-100">
|
2223 |
-
<div class="wd-group">
|
2224 |
-
<label class="wd-label" for="album_extended_image_thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
2225 |
-
<div class="bwg-flex">
|
2226 |
-
<input type="number" name="album_extended_image_thumb_width" id="album_extended_image_thumb_width" value="<?php echo $row->album_extended_image_thumb_width; ?>" min="0" /><span>x</span>
|
2227 |
-
<input type="number" name="album_extended_image_thumb_height" id="album_extended_image_thumb_height" value="<?php echo $row->album_extended_image_thumb_height; ?>" min="0" /><span>px</span>
|
2228 |
-
</div>
|
2229 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
2230 |
-
</div>
|
2231 |
-
</div>
|
2232 |
-
<div class="wd-box-content wd-width-100">
|
2233 |
-
<div class="wd-group">
|
2234 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2235 |
-
<div class="bwg-flex">
|
2236 |
-
<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', BWG()->prefix); ?></label>
|
2237 |
-
<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', BWG()->prefix); ?></label>
|
2238 |
-
<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', BWG()->prefix); ?></label>
|
2239 |
-
<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', BWG()->prefix); ?></label>
|
2240 |
-
</div>
|
2241 |
-
<p class="description" id="album_extended_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2242 |
-
<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.', BWG()->prefix); ?></p>
|
2243 |
-
<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.', BWG()->prefix); ?></p>
|
2244 |
-
<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.', BWG()->prefix); ?></p>
|
2245 |
-
</div>
|
2246 |
-
</div>
|
2247 |
-
<div class="wd-box-content wd-width-100" id="tr_albums_extended_per_page">
|
2248 |
-
<div class="wd-group">
|
2249 |
-
<label class="wd-label" for="albums_extended_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
2250 |
-
<div class="bwg-flex">
|
2251 |
-
<input type="number" name="albums_extended_per_page" id="albums_extended_per_page" value="<?php echo $row->albums_extended_per_page; ?>" min="0" />
|
2252 |
-
</div>
|
2253 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2254 |
-
</div>
|
2255 |
-
</div>
|
2256 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_images_per_page">
|
2257 |
-
<div class="wd-group">
|
2258 |
-
<label class="wd-label" for="album_extended_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2259 |
-
<div class="bwg-flex">
|
2260 |
-
<input type="number" name="album_extended_images_per_page" id="album_extended_images_per_page" value="<?php echo $row->album_extended_images_per_page; ?>" min="0" />
|
2261 |
-
</div>
|
2262 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2263 |
-
</div>
|
2264 |
-
</div>
|
2265 |
-
</div>
|
2266 |
-
<div class="wd-box-content wd-width-33">
|
2267 |
-
<div class="wd-box-content wd-width-100">
|
2268 |
-
<div class="wd-group">
|
2269 |
-
<label class="wd-label" for="album_extended_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2270 |
-
<select name="album_extended_sort_by" id="album_extended_sort_by">
|
2271 |
-
<option value="order" <?php if ($row->album_extended_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2272 |
-
<option value="alt" <?php if ($row->album_extended_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2273 |
-
<option value="date" <?php if ($row->album_extended_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2274 |
-
<option value="filename" <?php if ($row->album_extended_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2275 |
-
<option value="size" <?php if ($row->album_extended_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2276 |
-
<option value="filetype" <?php if ($row->album_extended_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2277 |
-
<option value="resolution" <?php if ($row->album_extended_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2278 |
-
<option value="random" <?php if ($row->album_extended_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2279 |
-
</select>
|
2280 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2281 |
-
</div>
|
2282 |
-
</div>
|
2283 |
-
<div class="wd-box-content wd-width-100">
|
2284 |
-
<div class="wd-group">
|
2285 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2286 |
-
<input type="radio" name="album_extended_order_by" id="album_extended_order_by_1" value="asc" <?php if ($row->album_extended_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_extended_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2287 |
-
<input type="radio" name="album_extended_order_by" id="album_extended_order_by_0" value="desc" <?php if ($row->album_extended_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_extended_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2288 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2289 |
-
</div>
|
2290 |
-
</div>
|
2291 |
-
<div class="wd-box-content wd-width-100">
|
2292 |
-
<div class="wd-group">
|
2293 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2294 |
-
<div class="bwg-flex">
|
2295 |
-
<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', BWG()->prefix); ?></label>
|
2296 |
-
<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', BWG()->prefix); ?></label>
|
2297 |
-
</div>
|
2298 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2299 |
-
</div>
|
2300 |
-
</div>
|
2301 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_placeholder">
|
2302 |
-
<div class="wd-group">
|
2303 |
-
<label class="wd-label" for="album_extended_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2304 |
-
<div class="bwg-flex">
|
2305 |
-
<input type="text" name="album_extended_placeholder" id="album_extended_placeholder" value="<?php echo $row->album_extended_placeholder; ?>" />
|
2306 |
-
</div>
|
2307 |
-
</div>
|
2308 |
-
</div>
|
2309 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_width">
|
2310 |
-
<div class="wd-group">
|
2311 |
-
<label class="wd-label" for="album_extended_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2312 |
-
<div class="bwg-flex">
|
2313 |
-
<input type="number" name="album_extended_search_box_width" id="album_extended_search_box_width" value="<?php echo $row->album_extended_search_box_width; ?>" min="0" /><span>px</span>
|
2314 |
-
</div>
|
2315 |
-
</div>
|
2316 |
-
</div>
|
2317 |
-
<div class="wd-box-content wd-width-100">
|
2318 |
-
<div class="wd-group">
|
2319 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2320 |
-
<div class="bwg-flex">
|
2321 |
-
<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', BWG()->prefix); ?></label>
|
2322 |
-
<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', BWG()->prefix); ?></label>
|
2323 |
-
</div>
|
2324 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2325 |
-
</div>
|
2326 |
-
</div>
|
2327 |
-
<div class="wd-box-content wd-width-100">
|
2328 |
-
<div class="wd-group">
|
2329 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2330 |
-
<div class="bwg-flex">
|
2331 |
-
<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', BWG()->prefix); ?></label>
|
2332 |
-
<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', BWG()->prefix); ?></label>
|
2333 |
-
</div>
|
2334 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2335 |
-
</div>
|
2336 |
-
</div>
|
2337 |
-
</div>
|
2338 |
-
<div class="wd-box-content wd-width-33">
|
2339 |
-
<div class="wd-box-content wd-width-100">
|
2340 |
-
<div class="wd-group">
|
2341 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2342 |
-
<div class="bwg-flex">
|
2343 |
-
<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', BWG()->prefix); ?></label>
|
2344 |
-
<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', BWG()->prefix); ?></label>
|
2345 |
-
</div>
|
2346 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2347 |
-
</div>
|
2348 |
-
</div>
|
2349 |
-
<div class="wd-box-content wd-width-100">
|
2350 |
-
<div class="wd-group">
|
2351 |
-
<label class="wd-label"><?php _e('Show extended gallery group description', BWG()->prefix); ?></label>
|
2352 |
-
<div class="bwg-flex">
|
2353 |
-
<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', BWG()->prefix); ?></label>
|
2354 |
-
<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', BWG()->prefix); ?></label>
|
2355 |
-
</div>
|
2356 |
-
<p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.', BWG()->prefix); ?></p>
|
2357 |
-
</div>
|
2358 |
-
</div>
|
2359 |
-
<div class="wd-box-content wd-width-100">
|
2360 |
-
<div class="wd-group">
|
2361 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2362 |
-
<div class="bwg-flex">
|
2363 |
-
<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', BWG()->prefix); ?></label>
|
2364 |
-
<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', BWG()->prefix); ?></label>
|
2365 |
-
</div>
|
2366 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2367 |
-
</div>
|
2368 |
-
</div>
|
2369 |
-
<div class="wd-box-content wd-width-100">
|
2370 |
-
<div class="wd-group">
|
2371 |
-
<label class="wd-label"><?php _e('Gallery view type', BWG()->prefix); ?></label>
|
2372 |
-
<div class="bwg-flex">
|
2373 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_1" value="thumbnail" <?php if ($row->album_extended_view_type == "thumbnail") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_mosaic', 'album_extended_view_type_1'); bwg_enable_disable('none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_1'); bwg_enable_disable('none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_1');" /><label for="album_extended_view_type_1" class="wd-radio-label"><?php _e('Thumbnail', BWG()->prefix); ?></label>
|
2374 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_0" value="masonry" <?php if ($row->album_extended_view_type == "masonry") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_mosaic', 'album_extended_view_type_0'); bwg_enable_disable('none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_0'); bwg_enable_disable('none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_0');" /><label for="album_extended_view_type_0" class="wd-radio-label"><?php _e('Masonry', BWG()->prefix); ?></label>
|
2375 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_2" value="mosaic" <?php if ($row->album_extended_view_type == "mosaic") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_extended_mosaic', 'album_extended_view_type_2'); bwg_enable_disable('', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_2'); bwg_enable_disable('', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_2');" /><label for="album_extended_view_type_2" class="wd-radio-label"><?php _e('Mosaic', BWG()->prefix); ?></label>
|
2376 |
-
</div>
|
2377 |
-
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry or Mosaic.', BWG()->prefix); ?></p>
|
2378 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2379 |
-
</div>
|
2380 |
-
</div>
|
2381 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic">
|
2382 |
-
<div class="wd-group">
|
2383 |
-
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
2384 |
-
<div class="bwg-flex">
|
2385 |
-
<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', BWG()->prefix); ?></label>
|
2386 |
-
<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', BWG()->prefix); ?></label>
|
2387 |
-
</div>
|
2388 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
2389 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2390 |
-
</div>
|
2391 |
-
</div>
|
2392 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_resizable_mosaic">
|
2393 |
-
<div class="wd-group">
|
2394 |
-
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
2395 |
-
<div class="bwg-flex">
|
2396 |
-
<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', BWG()->prefix); ?></label>
|
2397 |
-
<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', BWG()->prefix); ?></label>
|
2398 |
-
</div>
|
2399 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
2400 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2401 |
-
</div>
|
2402 |
-
</div>
|
2403 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic_total_width">
|
2404 |
-
<div class="wd-group">
|
2405 |
-
<label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
2406 |
-
<div class="bwg-flex">
|
2407 |
-
<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 $row->album_extended_mosaic_total_width; ?>" min="0" /><span>%</span>
|
2408 |
-
</div>
|
2409 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
2410 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2411 |
-
</div>
|
2412 |
-
</div>
|
2413 |
-
<div class="wd-box-content wd-width-100">
|
2414 |
-
<div class="wd-group">
|
2415 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
2416 |
-
<div class="bwg-flex">
|
2417 |
-
<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', BWG()->prefix); ?></label>
|
2418 |
-
<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 for="album_extended_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
2419 |
-
<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", BWG()->prefix); ?></label>
|
2420 |
-
</div>
|
2421 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
2422 |
-
</div>
|
2423 |
-
</div>
|
2424 |
-
<div class="wd-box-content wd-width-100">
|
2425 |
-
<div class="wd-group">
|
2426 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
2427 |
-
<div class="bwg-flex">
|
2428 |
-
<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', BWG()->prefix); ?></label>
|
2429 |
-
<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', BWG()->prefix); ?></label>
|
2430 |
-
</div>
|
2431 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
2432 |
-
</div>
|
2433 |
-
</div>
|
2434 |
-
<div class="wd-box-content wd-width-100">
|
2435 |
-
<div class="wd-group">
|
2436 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2437 |
-
<div class="bwg-flex">
|
2438 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
2439 |
-
<input <?php echo 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', BWG()->prefix); ?></label>
|
2440 |
-
</div>
|
2441 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2442 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2443 |
-
</div>
|
2444 |
-
</div>
|
2445 |
-
<?php
|
2446 |
-
if (function_exists('BWGEC')) {
|
2447 |
-
?>
|
2448 |
-
<div class="wd-box-content wd-width-100">
|
2449 |
-
<div class="wd-group">
|
2450 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
2451 |
-
<div class="bwg-flex">
|
2452 |
-
<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"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
2453 |
-
<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"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
2454 |
-
<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"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
2455 |
-
</div>
|
2456 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
2457 |
-
</div>
|
2458 |
-
</div>
|
2459 |
-
<?php
|
2460 |
-
}
|
2461 |
-
?>
|
2462 |
-
</div>
|
2463 |
</div>
|
2464 |
</div>
|
2465 |
</div>
|
2466 |
-
</div>
|
2467 |
-
|
2468 |
-
|
2469 |
-
|
2470 |
-
|
2471 |
-
|
2472 |
-
|
2473 |
-
|
2474 |
-
|
2475 |
-
|
2476 |
-
|
2477 |
-
|
2478 |
-
|
2479 |
-
|
2480 |
-
|
2481 |
-
|
2482 |
-
|
2483 |
-
|
2484 |
-
|
2485 |
-
|
2486 |
-
|
2487 |
-
|
2488 |
-
|
2489 |
-
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
2493 |
-
|
2494 |
-
|
2495 |
-
|
2496 |
-
|
2497 |
-
|
2498 |
-
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
2508 |
-
|
2509 |
-
|
2510 |
-
|
2511 |
-
|
2512 |
-
|
2513 |
-
|
2514 |
-
|
2515 |
-
|
2516 |
-
|
2517 |
-
|
2518 |
-
|
2519 |
-
|
2520 |
-
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
|
2532 |
-
|
2533 |
-
|
2534 |
-
|
2535 |
-
|
2536 |
-
|
2537 |
-
|
2538 |
-
|
2539 |
-
|
2540 |
-
|
2541 |
-
|
2542 |
-
|
2543 |
-
|
2544 |
-
|
2545 |
-
|
2546 |
-
|
2547 |
-
|
2548 |
-
|
2549 |
-
|
2550 |
-
|
2551 |
-
|
2552 |
-
|
2553 |
-
|
2554 |
-
|
2555 |
-
|
2556 |
-
|
2557 |
-
|
2558 |
-
|
2559 |
-
|
2560 |
-
|
2561 |
-
|
2562 |
-
|
2563 |
-
|
2564 |
-
|
2565 |
-
|
2566 |
-
|
2567 |
-
|
2568 |
-
|
2569 |
-
|
2570 |
-
|
2571 |
-
|
2572 |
-
|
2573 |
-
|
2574 |
-
|
2575 |
-
|
2576 |
-
|
2577 |
-
|
2578 |
-
|
2579 |
-
|
2580 |
-
|
2581 |
-
|
2582 |
-
|
2583 |
-
|
2584 |
-
|
2585 |
-
|
2586 |
-
|
2587 |
-
|
2588 |
-
|
2589 |
-
|
2590 |
-
|
2591 |
-
|
2592 |
-
|
2593 |
-
|
2594 |
-
|
2595 |
-
|
2596 |
-
|
2597 |
-
bwg_enable_disable('', 'tr_popup_info', 'popup_enable_ctrl_btn_1');
|
2598 |
-
bwg_enable_disable('', 'tr_popup_comment', 'popup_enable_ctrl_btn_1');
|
2599 |
-
bwg_enable_disable('', 'tr_popup_facebook', 'popup_enable_ctrl_btn_1');
|
2600 |
-
bwg_enable_disable('', 'tr_popup_twitter', 'popup_enable_ctrl_btn_1');
|
2601 |
-
bwg_enable_disable('', 'tr_popup_google', 'popup_enable_ctrl_btn_1');
|
2602 |
-
bwg_enable_disable('', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_1');
|
2603 |
-
bwg_enable_disable('', 'tr_popup_tumblr', 'popup_enable_ctrl_btn_1');
|
2604 |
-
bwg_enable_disable('', 'tr_comment_moderation', 'comment_moderation_1');
|
2605 |
-
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_ctrl_btn_1');
|
2606 |
-
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_ctrl_btn_1');
|
2607 |
-
bwg_enable_disable('', 'tr_popup_download', 'popup_enable_ctrl_btn_1');
|
2608 |
-
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', BWG()->prefix); ?></label>
|
2609 |
-
<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"'; ?>
|
2610 |
-
onClick="bwg_enable_disable('none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0');
|
2611 |
-
bwg_enable_disable('none', 'tr_popup_info', 'popup_enable_ctrl_btn_0');
|
2612 |
-
bwg_enable_disable('none', 'tr_popup_comment', 'popup_enable_ctrl_btn_0');
|
2613 |
-
bwg_enable_disable('none', 'tr_popup_facebook', 'popup_enable_ctrl_btn_0');
|
2614 |
-
bwg_enable_disable('none', 'tr_popup_twitter', 'popup_enable_ctrl_btn_0');
|
2615 |
-
bwg_enable_disable('none', 'tr_popup_google', 'popup_enable_ctrl_btn_0');
|
2616 |
-
bwg_enable_disable('none', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_0');
|
2617 |
-
bwg_enable_disable('none', 'tr_popup_tumblr', 'popup_enable_ctrl_btn_0');
|
2618 |
-
bwg_enable_disable('none', 'tr_comment_moderation', 'comment_moderation_0');
|
2619 |
-
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_ctrl_btn_0');
|
2620 |
-
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_ctrl_btn_0');
|
2621 |
-
bwg_enable_disable('none', 'tr_popup_download', 'popup_enable_ctrl_btn_0');
|
2622 |
-
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', BWG()->prefix); ?></label>
|
2623 |
-
</div>
|
2624 |
-
<p class="description"><?php _e('Enable this option to show control buttons on Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
2625 |
-
</div>
|
2626 |
-
</div>
|
2627 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_fullscreen">
|
2628 |
-
<div class="wd-group">
|
2629 |
-
<label class="wd-label"><?php _e('Enable fullscreen button', BWG()->prefix); ?></label>
|
2630 |
-
<div class="bwg-flex">
|
2631 |
-
<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', BWG()->prefix); ?></label>
|
2632 |
-
<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', BWG()->prefix); ?></label>
|
2633 |
-
</div>
|
2634 |
-
<p class="description"><?php _e('Activate this setting to add Fullscreen button to lightbox control buttons.', BWG()->prefix) ?></p>
|
2635 |
-
</div>
|
2636 |
</div>
|
2637 |
-
<
|
2638 |
-
|
2639 |
-
|
2640 |
-
|
2641 |
-
|
2642 |
-
|
2643 |
-
|
2644 |
-
|
2645 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2646 |
</div>
|
2647 |
-
<
|
2648 |
-
|
2649 |
-
|
2650 |
-
|
2651 |
-
|
2652 |
-
|
2653 |
-
|
2654 |
-
|
2655 |
-
</div>
|
2656 |
</div>
|
2657 |
-
<
|
2658 |
-
|
2659 |
-
|
2660 |
-
|
2661 |
-
|
2662 |
-
|
2663 |
-
|
2664 |
-
|
2665 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2666 |
</div>
|
2667 |
</div>
|
2668 |
-
|
2669 |
-
|
2670 |
-
|
2671 |
-
|
2672 |
-
|
2673 |
-
|
2674 |
-
<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', BWG()->prefix); ?></label>
|
2675 |
-
</div>
|
2676 |
-
<p class="description"><?php _e('Choose to display Next/Previous buttons of Photo Gallery lightbox on hover or always.', BWG()->prefix) ?></p>
|
2677 |
-
</div>
|
2678 |
</div>
|
2679 |
-
|
2680 |
-
|
2681 |
-
|
2682 |
-
|
2683 |
-
|
2684 |
-
|
2685 |
-
|
2686 |
-
|
2687 |
-
|
2688 |
-
|
2689 |
-
|
2690 |
-
|
2691 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2692 |
</div>
|
|
|
2693 |
</div>
|
2694 |
-
|
2695 |
-
|
2696 |
-
|
2697 |
-
|
2698 |
-
|
2699 |
-
|
2700 |
-
|
2701 |
-
|
2702 |
-
|
2703 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2704 |
</div>
|
2705 |
-
<
|
2706 |
-
|
2707 |
-
|
2708 |
-
|
2709 |
-
|
2710 |
-
|
2711 |
-
|
2712 |
-
|
2713 |
-
|
2714 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2715 |
</div>
|
2716 |
-
<
|
2717 |
-
|
2718 |
-
|
2719 |
-
|
2720 |
-
|
2721 |
-
|
2722 |
-
|
2723 |
-
|
2724 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2725 |
-
</div>
|
2726 |
</div>
|
2727 |
-
<
|
2728 |
-
|
2729 |
-
|
2730 |
-
|
2731 |
-
|
2732 |
-
|
2733 |
-
|
2734 |
-
|
2735 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2736 |
</div>
|
2737 |
-
|
2738 |
-
|
2739 |
-
|
2740 |
-
|
2741 |
-
|
2742 |
-
|
2743 |
-
|
2744 |
-
<p class="description"><?php _e('This option will allow users to download gallery images while viewing them in lightbox.', BWG()->prefix) ?></p>
|
2745 |
-
</div>
|
2746 |
</div>
|
2747 |
-
|
2748 |
-
|
2749 |
-
|
2750 |
-
|
2751 |
-
|
2752 |
-
|
2753 |
-
|
2754 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2755 |
</div>
|
|
|
2756 |
</div>
|
2757 |
-
|
2758 |
-
|
2759 |
-
|
2760 |
-
|
2761 |
-
|
2762 |
-
|
2763 |
-
|
2764 |
-
|
2765 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2766 |
</div>
|
2767 |
-
<
|
2768 |
-
|
2769 |
-
|
2770 |
-
|
2771 |
-
|
2772 |
-
|
2773 |
-
|
2774 |
-
|
2775 |
-
|
2776 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2777 |
</div>
|
2778 |
-
<
|
2779 |
-
|
2780 |
-
|
2781 |
-
|
2782 |
-
|
2783 |
-
|
2784 |
-
|
2785 |
-
|
2786 |
-
</div>
|
2787 |
</div>
|
2788 |
-
<
|
2789 |
-
|
2790 |
-
|
2791 |
-
|
2792 |
-
|
2793 |
-
|
2794 |
-
|
2795 |
-
|
2796 |
-
|
2797 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2798 |
</div>
|
2799 |
-
|
2800 |
-
|
2801 |
-
|
2802 |
-
|
2803 |
-
|
2804 |
-
|
2805 |
-
|
2806 |
-
<p class="description"><?php _e('Enabling this setting will add Facebook sharing button to Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
2807 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2808 |
-
</div>
|
2809 |
</div>
|
2810 |
-
|
2811 |
-
|
2812 |
-
|
2813 |
-
|
2814 |
-
|
2815 |
-
|
2816 |
-
|
2817 |
-
|
2818 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2819 |
</div>
|
|
|
2820 |
</div>
|
2821 |
-
|
2822 |
-
|
2823 |
-
|
2824 |
-
|
2825 |
-
|
2826 |
-
|
2827 |
-
|
2828 |
-
|
2829 |
-
|
2830 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2831 |
</div>
|
2832 |
-
<
|
2833 |
-
|
2834 |
-
|
2835 |
-
|
2836 |
-
|
2837 |
-
|
2838 |
-
|
2839 |
-
|
2840 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2841 |
-
</div>
|
2842 |
</div>
|
2843 |
-
<
|
2844 |
-
|
2845 |
-
|
2846 |
-
|
2847 |
-
|
2848 |
-
|
2849 |
-
|
2850 |
-
|
2851 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2852 |
-
</div>
|
2853 |
</div>
|
2854 |
-
|
2855 |
-
|
2856 |
-
|
2857 |
-
|
2858 |
-
|
2859 |
-
|
2860 |
-
|
2861 |
-
|
2862 |
-
|
2863 |
-
|
2864 |
-
|
2865 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2866 |
</div>
|
2867 |
-
|
2868 |
-
|
2869 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2870 |
</div>
|
2871 |
</div>
|
2872 |
</div>
|
2873 |
</div>
|
2874 |
-
<div id="
|
2875 |
-
<div class="
|
2876 |
-
<div class="wd-box-content wd-width-100
|
2877 |
-
<div class="
|
2878 |
-
<
|
2879 |
-
|
2880 |
-
<
|
2881 |
-
</
|
2882 |
-
<
|
2883 |
-
|
2884 |
-
|
2885 |
-
|
2886 |
-
|
2887 |
-
|
2888 |
-
|
2889 |
-
|
2890 |
-
|
2891 |
-
<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); ?>" />
|
2892 |
-
<span><?php _e('hour', BWG()->prefix); ?></span>
|
2893 |
-
<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); ?>" />
|
2894 |
-
<span><?php _e('min', BWG()->prefix); ?></span>
|
2895 |
-
</div>
|
2896 |
-
<p class="description"><?php _e('Set the interval when Instagram or Facebook galleries will be updated, and will display new posts of your Instagram or Facebook account.', BWG()->prefix) ?></p>
|
2897 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2898 |
-
</div>
|
2899 |
-
</div>
|
2900 |
-
<div class="wd-box-content wd-width-50">
|
2901 |
-
<div class="wd-box-title">
|
2902 |
-
<strong><?php _e('Instagram', BWG()->prefix); ?></strong>
|
2903 |
-
</div>
|
2904 |
-
<div class="wd-box-content wd-width-100">
|
2905 |
-
<div class="wd-group" id="login_with_instagram">
|
2906 |
-
<input id="instagram_access_token" name="instagram_access_token" type="hidden" size="30" value="<?php echo $row->instagram_access_token; ?>" readonly />
|
2907 |
-
<?php if ( empty($row->instagram_access_token) ) {
|
2908 |
-
$instagram_description = __('Press this button to sign in to your Instagram account. In this case, access token will be added automatically.', BWG()->prefix);
|
2909 |
-
?>
|
2910 |
-
<a <?php echo BWG()->is_pro ? 'href="' . $instagram_return_url . '"' : 'disabled="disabled"'; ?>>
|
2911 |
-
<img src="<?php echo BWG()->plugin_url . '/images/logos/instagram.png'; ?>">
|
2912 |
-
<span class="bwg-instagram-sign-in"><?php _e('Sign in with Instagram', BWG()->prefix) ?></span>
|
2913 |
-
</a>
|
2914 |
-
<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.', BWG()->prefix) ?></p>
|
2915 |
-
<?php }
|
2916 |
-
else {
|
2917 |
-
$instagram_description = __('Press this button to sign out from your Instagram account. The access token will reset.', BWG()->prefix);
|
2918 |
-
?>
|
2919 |
-
<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', BWG()->prefix)) . '\')){ return true; } else { return false; }"' : 'disabled="disabled"'; ?>>
|
2920 |
-
<img src="<?php echo BWG()->plugin_url . '/images/logos/instagram.png'; ?>">
|
2921 |
-
<span class="bwg-instagram-sign-out"><?php _e('Sign out from Instagram', BWG()->prefix) ?></span>
|
2922 |
-
</a>
|
2923 |
-
<p class="bwg-clear description"><?php _e('Press this button to sign out from your Instagram account.', BWG()->prefix) ?></p>
|
2924 |
-
<?php } ?>
|
2925 |
-
</div>
|
2926 |
-
</div>
|
2927 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2928 |
-
</div>
|
2929 |
-
<div class="wd-box-content wd-width-50">
|
2930 |
-
<div class="wd-box-title">
|
2931 |
-
<strong><?php _e('Facebook', BWG()->prefix); ?></strong>
|
2932 |
-
</div>
|
2933 |
-
<?php
|
2934 |
-
if ( has_action('init_display_facebook_options_bwg') ) {
|
2935 |
-
do_action('init_display_facebook_options_bwg', $row );
|
2936 |
-
}
|
2937 |
-
else {
|
2938 |
-
$link = '<a href="https://web-dorado.com/products/wordpress-photo-gallery-plugin/add-ons/facebook.html" target="_blank">' . __('Photo Gallery Facebook Integration', BWG()->prefix) . '</a>';
|
2939 |
-
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", BWG()->prefix), $link) . '</p></div>';
|
2940 |
-
}
|
2941 |
-
?>
|
2942 |
-
</div>
|
2943 |
-
</div>
|
2944 |
</div>
|
2945 |
</div>
|
2946 |
</div>
|
2947 |
-
<div class="wd-box-content wd-width-100
|
2948 |
-
<div class="
|
2949 |
-
<
|
2950 |
-
|
2951 |
-
<
|
2952 |
-
|
2953 |
-
|
2954 |
-
|
2955 |
-
|
2956 |
-
|
2957 |
-
|
2958 |
-
|
2959 |
-
|
2960 |
-
|
2961 |
-
|
2962 |
-
|
2963 |
-
|
2964 |
-
|
2965 |
-
|
2966 |
-
|
2967 |
-
|
2968 |
-
|
2969 |
-
|
2970 |
-
|
2971 |
-
|
2972 |
-
|
2973 |
-
|
2974 |
-
|
2975 |
-
|
2976 |
-
|
2977 |
-
|
2978 |
-
|
2979 |
-
|
2980 |
-
|
2981 |
-
|
2982 |
-
|
2983 |
-
|
2984 |
-
|
2985 |
-
|
2986 |
-
|
2987 |
-
|
2988 |
-
|
2989 |
-
|
2990 |
-
|
2991 |
-
|
2992 |
-
|
2993 |
-
|
2994 |
-
|
2995 |
-
|
2996 |
-
|
2997 |
-
|
2998 |
-
</div>
|
2999 |
-
</div>
|
3000 |
-
<div class="wd-box-content wd-width-100 bwg_roles">
|
3001 |
-
<div class="wd-group">
|
3002 |
-
<label class="wd-label"><?php _e('Image role restrictions', BWG()->prefix); ?></label>
|
3003 |
-
<div class="bwg-flex">
|
3004 |
-
<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', BWG()->prefix); ?></label>
|
3005 |
-
<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', BWG()->prefix); ?></label>
|
3006 |
-
</div>
|
3007 |
-
<p class="description"><?php _e('Enable this setting to restrict authors from modifying galleries added by other users.', BWG()->prefix); ?></p>
|
3008 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3009 |
-
</div>
|
3010 |
-
</div>
|
3011 |
-
</div>
|
3012 |
</div>
|
3013 |
</div>
|
3014 |
</div>
|
3015 |
-
<div class="wd-box-content wd-width-100
|
3016 |
-
<div class="
|
3017 |
-
<
|
3018 |
-
|
3019 |
-
<
|
3020 |
-
</
|
3021 |
-
|
3022 |
-
|
3023 |
-
|
3024 |
-
|
3025 |
-
|
3026 |
-
|
3027 |
-
|
3028 |
-
|
3029 |
-
|
3030 |
-
|
3031 |
-
|
3032 |
-
|
3033 |
-
|
3034 |
-
|
3035 |
-
|
3036 |
-
|
3037 |
-
|
3038 |
-
|
3039 |
-
|
3040 |
-
|
3041 |
-
|
3042 |
-
|
3043 |
-
|
3044 |
-
|
3045 |
-
|
3046 |
-
|
3047 |
-
|
3048 |
-
|
3049 |
-
|
3050 |
-
|
3051 |
-
|
3052 |
-
|
3053 |
-
|
3054 |
-
|
3055 |
-
|
3056 |
-
|
3057 |
-
|
3058 |
-
|
3059 |
-
|
3060 |
-
|
3061 |
-
|
3062 |
-
|
3063 |
-
|
3064 |
-
|
3065 |
-
|
3066 |
-
|
3067 |
-
|
3068 |
-
|
3069 |
-
|
3070 |
-
|
3071 |
-
|
3072 |
-
|
3073 |
-
|
3074 |
-
|
3075 |
-
|
3076 |
-
|
3077 |
-
|
3078 |
-
|
3079 |
-
|
3080 |
-
|
3081 |
-
|
3082 |
-
|
3083 |
-
|
3084 |
-
|
3085 |
-
|
3086 |
-
|
3087 |
-
|
3088 |
-
|
3089 |
-
|
3090 |
-
|
3091 |
-
|
3092 |
-
|
3093 |
-
|
3094 |
-
|
3095 |
-
|
3096 |
-
|
3097 |
-
|
3098 |
-
|
3099 |
-
|
3100 |
-
|
3101 |
-
|
3102 |
-
|
3103 |
-
|
3104 |
-
|
3105 |
-
|
3106 |
-
|
3107 |
-
|
3108 |
-
|
3109 |
-
|
3110 |
-
|
3111 |
-
|
3112 |
-
|
3113 |
-
|
3114 |
-
|
3115 |
-
|
3116 |
-
|
3117 |
-
|
3118 |
-
|
3119 |
-
|
3120 |
-
|
3121 |
-
|
3122 |
-
|
3123 |
-
|
3124 |
-
|
3125 |
-
|
3126 |
-
|
3127 |
-
|
3128 |
-
|
3129 |
-
|
3130 |
-
|
3131 |
-
|
3132 |
-
|
3133 |
-
|
3134 |
-
|
3135 |
-
|
3136 |
-
|
3137 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3138 |
</div>
|
3139 |
-
<
|
3140 |
-
|
3141 |
-
|
3142 |
-
|
3143 |
-
|
3144 |
-
|
3145 |
-
|
3146 |
-
|
3147 |
-
|
3148 |
-
|
3149 |
-
</tr>
|
3150 |
-
<tr>
|
3151 |
-
<td><input type="radio" value="middle-left" name="watermark_position" <?php if ($row->watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
3152 |
-
<td><input type="radio" value="middle-center" name="watermark_position" <?php if ($row->watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
3153 |
-
<td><input type="radio" value="middle-right" name="watermark_position" <?php if ($row->watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
3154 |
-
</tr>
|
3155 |
-
<tr>
|
3156 |
-
<td><input type="radio" value="bottom-left" name="watermark_position" <?php if ($row->watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
3157 |
-
<td><input type="radio" value="bottom-center" name="watermark_position" <?php if ($row->watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
3158 |
-
<td><input type="radio" value="bottom-right" name="watermark_position" <?php if ($row->watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
3159 |
-
</tr>
|
3160 |
-
</tbody>
|
3161 |
-
</table>
|
3162 |
-
</div>
|
3163 |
-
</div>
|
3164 |
-
<p class="description"><?php _e('Mark the position where the advertisement should appear on images.', BWG()->prefix) ?></p>
|
3165 |
</div>
|
|
|
|
|
3166 |
</div>
|
3167 |
-
|
3168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3169 |
</div>
|
3170 |
</div>
|
3171 |
-
|
3172 |
-
</div>
|
3173 |
-
</div>
|
3174 |
-
</div>
|
3175 |
-
<div id="bwg_tab_watermark_content" class="bwg-section wd-box-content">
|
3176 |
-
<div class="bwg-section bwg-flex-wrap">
|
3177 |
-
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
3178 |
-
<div class="wd-box-content wd-width-50">
|
3179 |
-
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_type">
|
3180 |
<div class="wd-group">
|
3181 |
-
<label class="wd-label"><?php _e('
|
3182 |
<div class="bwg-flex">
|
3183 |
-
<input type="
|
3184 |
-
<label for="built_in_watermark_type_none" class="wd-radio-label"><?php _e('None', BWG()->prefix); ?></label>
|
3185 |
-
<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()" />
|
3186 |
-
<label for="built_in_watermark_type_text" class="wd-radio-label"><?php _e('Text', BWG()->prefix); ?></label>
|
3187 |
-
<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()" />
|
3188 |
-
<label for="built_in_watermark_type_image" class="wd-radio-label"><?php _e('Image', BWG()->prefix); ?></label>
|
3189 |
</div>
|
3190 |
-
<p class="description"><?php _e('
|
|
|
3191 |
</div>
|
3192 |
</div>
|
3193 |
-
|
|
|
|
|
3194 |
<div class="wd-group">
|
3195 |
-
<label class="wd-label" for="
|
3196 |
-
<
|
3197 |
-
<?php
|
3198 |
-
|
3199 |
-
|
3200 |
-
|
3201 |
-
|
3202 |
-
<
|
3203 |
-
|
3204 |
-
|
3205 |
-
|
3206 |
-
|
3207 |
-
|
3208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3209 |
</div>
|
3210 |
-
<p class="description"><?php _e('
|
|
|
3211 |
</div>
|
3212 |
</div>
|
3213 |
-
<div class="wd-box-content wd-width-100"
|
3214 |
<div class="wd-group">
|
3215 |
-
<label class="wd-label" for="
|
3216 |
<div class="bwg-flex">
|
3217 |
-
<input
|
3218 |
</div>
|
3219 |
-
<p class="description"><?php _e('
|
|
|
3220 |
</div>
|
3221 |
</div>
|
3222 |
-
|
|
|
|
|
3223 |
<div class="wd-group">
|
3224 |
-
<label class="wd-label"
|
3225 |
<div class="bwg-flex">
|
3226 |
-
<input type="
|
|
|
3227 |
</div>
|
3228 |
-
<p class="description"><?php _e('
|
|
|
3229 |
</div>
|
3230 |
</div>
|
3231 |
-
<div class="wd-box-content wd-width-100"
|
3232 |
<div class="wd-group">
|
3233 |
-
<label class="wd-label"
|
3234 |
<div class="bwg-flex">
|
3235 |
-
<input type="
|
|
|
3236 |
</div>
|
3237 |
-
<p class="description"><?php _e('
|
|
|
3238 |
</div>
|
3239 |
</div>
|
3240 |
-
<div class="wd-box-content wd-width-100"
|
3241 |
<div class="wd-group">
|
3242 |
-
<label class="wd-label"
|
3243 |
<div class="bwg-flex">
|
3244 |
-
<
|
3245 |
-
|
3246 |
-
foreach ($built_in_watermark_fonts as $watermark_font) {
|
3247 |
-
?>
|
3248 |
-
<option value="<?php echo $watermark_font; ?>" <?php if ($row->built_in_watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
|
3249 |
-
<?php
|
3250 |
-
}
|
3251 |
-
?>
|
3252 |
-
</select>
|
3253 |
-
<?php
|
3254 |
-
foreach ($built_in_watermark_fonts as $watermark_font) {
|
3255 |
-
?>
|
3256 |
-
<style>
|
3257 |
-
@font-face {
|
3258 |
-
font-family: <?php echo 'bwg_' . str_replace('.ttf', '', $watermark_font); ?>;
|
3259 |
-
src: url("<?php echo BWG()->plugin_url . '/fonts/' . $watermark_font; ?>");
|
3260 |
-
}
|
3261 |
-
</style>
|
3262 |
-
<?php
|
3263 |
-
}
|
3264 |
-
?>
|
3265 |
</div>
|
3266 |
-
<p class="description"><?php _e('
|
|
|
3267 |
</div>
|
3268 |
</div>
|
3269 |
-
<div class="wd-box-content wd-width-100"
|
3270 |
<div class="wd-group">
|
3271 |
-
<label class="wd-label"
|
3272 |
<div class="bwg-flex">
|
3273 |
-
<input type="
|
|
|
3274 |
</div>
|
3275 |
-
<p class="description"><?php _e('
|
|
|
3276 |
</div>
|
3277 |
</div>
|
3278 |
-
<div class="wd-box-content wd-width-100"
|
3279 |
<div class="wd-group">
|
3280 |
-
<label class="wd-label"
|
3281 |
<div class="bwg-flex">
|
3282 |
-
<input type="
|
|
|
3283 |
</div>
|
3284 |
-
<p class="description"><?php _e('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3285 |
</div>
|
|
|
|
|
3286 |
</div>
|
3287 |
-
|
|
|
|
|
|
|
|
|
3288 |
<div class="wd-group">
|
3289 |
-
<label class="wd-label"><?php _e('
|
3290 |
-
<div class="">
|
3291 |
-
<
|
3292 |
-
|
3293 |
-
|
3294 |
-
<td><input type="radio" value="top-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3295 |
-
<td><input type="radio" value="top-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3296 |
-
<td><input type="radio" value="top-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3297 |
-
</tr>
|
3298 |
-
<tr>
|
3299 |
-
<td><input type="radio" value="middle-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3300 |
-
<td><input type="radio" value="middle-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3301 |
-
<td><input type="radio" value="middle-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3302 |
-
</tr>
|
3303 |
-
<tr>
|
3304 |
-
<td><input type="radio" value="bottom-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3305 |
-
<td><input type="radio" value="bottom-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3306 |
-
<td><input type="radio" value="bottom-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
3307 |
-
</tr>
|
3308 |
-
</tbody>
|
3309 |
-
</table>
|
3310 |
-
<input type="submit" class="button-primary" title="<?php _e('Set watermark', BWG()->prefix); ?>" style="margin-top: 5px;"
|
3311 |
-
onclick="spider_set_input_value('task', 'save'); spider_set_input_value('watermark', 'image_set_watermark');"
|
3312 |
-
value="<?php _e('Set Watermark', BWG()->prefix); ?>"/>
|
3313 |
-
<input type="submit" class="button" title="<?php _e('Reset watermark', BWG()->prefix); ?>" style="margin-top: 5px;"
|
3314 |
-
onclick="spider_set_input_value('task', 'image_recover_all');"
|
3315 |
-
value="<?php echo __('Reset Watermark', BWG()->prefix); ?>"/>
|
3316 |
</div>
|
3317 |
-
<p class="description"><?php _e('
|
3318 |
</div>
|
3319 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3320 |
</div>
|
3321 |
-
|
3322 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3323 |
</div>
|
|
|
|
|
3324 |
</div>
|
3325 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3326 |
</div>
|
3327 |
</div>
|
3328 |
-
<div id="loading_div" class="bwg_show"></div>
|
3329 |
-
<input id="recreate" name="recreate" type="hidden" value="" />
|
3330 |
-
<input id="watermark" name="watermark" type="hidden" value="" />
|
3331 |
-
<input id="active_tab" name="active_tab" type="hidden" value="<?php echo $params['active_tab']; ?>" />
|
3332 |
-
<input id="gallery_type" name="gallery_type" type="hidden" value="<?php echo $params['gallery_type']; ?>" />
|
3333 |
-
<input id="album_type" name="album_type" type="hidden" value="<?php echo $params['album_type']; ?>" />
|
3334 |
-
<script>
|
3335 |
-
function bwg_add_built_in_watermark_image(files) {
|
3336 |
-
document.getElementById("built_in_watermark_url").value = '<?php echo site_url() . '/' . BWG()->upload_dir; ?>' + files[0]['url'];
|
3337 |
-
preview_built_in_watermark();
|
3338 |
-
}
|
3339 |
-
function bwg_add_watermark_image(files) {
|
3340 |
-
document.getElementById("watermark_url").value = '<?php echo site_url() . '/' . BWG()->upload_dir; ?>' + files[0]['url'];
|
3341 |
-
preview_watermark();
|
3342 |
-
}
|
3343 |
-
jQuery(document).ready(function() {
|
3344 |
-
bwg_inputs();
|
3345 |
-
bwg_watermark('watermark_type_<?php echo $row->watermark_type ?>');
|
3346 |
-
bwg_built_in_watermark('watermark_type_<?php echo $row->built_in_watermark_type ?>');
|
3347 |
-
bwg_popup_fullscreen(<?php echo $row->popup_fullscreen; ?>);
|
3348 |
-
bwg_enable_disable(<?php echo $row->show_search_box ? "'', 'tr_search_box_width', 'show_search_box_1'" : "'none', 'tr_search_box_width', 'show_search_box_0'" ?>);
|
3349 |
-
bwg_enable_disable(<?php echo $row->show_search_box ? "'', 'tr_search_box_placeholder', 'show_search_box_1'" : "'none', 'tr_search_box_placeholder', 'show_search_box_0'" ?>);
|
3350 |
-
bwg_enable_disable(<?php echo $row->masonry_show_search_box ? "'', 'tr_masonry_search_box_width', 'masonry_show_search_box_1'" : "'none', 'tr_masonry_search_box_width', 'masonry_show_search_box_0'" ?>);
|
3351 |
-
bwg_enable_disable(<?php echo $row->masonry_show_search_box ? "'', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_1'" : "'none', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_0'" ?>);
|
3352 |
-
bwg_enable_disable(<?php echo $row->mosaic_show_search_box ? "'', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_1'" : "'none', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_0'" ?>);
|
3353 |
-
bwg_enable_disable(<?php echo $row->mosaic_show_search_box ? "'', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_1'" : "'none', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_0'" ?>);
|
3354 |
-
bwg_enable_disable(<?php echo $row->image_browser_show_search_box ? "'', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_1'" : "'none', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_0'" ?>);
|
3355 |
-
bwg_enable_disable(<?php echo $row->image_browser_show_search_box ? "'', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_1'" : "'none', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_0'" ?>);
|
3356 |
-
bwg_enable_disable(<?php echo $row->blog_style_show_search_box ? "'', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_1'" : "'none', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_0'" ?>);
|
3357 |
-
bwg_enable_disable(<?php echo $row->blog_style_show_search_box ? "'', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_1'" : "'none', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_0'" ?>);
|
3358 |
-
bwg_enable_disable(<?php echo $row->album_show_search_box ? "'', 'tr_album_search_box_width', 'album_show_search_box_1'" : "'none', 'tr_album_search_box_width', 'album_show_search_box_0'" ?>);
|
3359 |
-
bwg_enable_disable(<?php echo $row->album_show_search_box ? "'', 'tr_album_search_box_placeholder', 'album_show_search_box_1'" : "'none', 'tr_album_search_box_placeholder', 'album_show_search_box_0'" ?>);
|
3360 |
-
bwg_enable_disable(<?php echo $row->album_masonry_show_search_box ? "'', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_1'" : "'none', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_0'" ?>);
|
3361 |
-
bwg_enable_disable(<?php echo $row->album_masonry_show_search_box ? "'', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_1'" : "'none', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_0'" ?>);
|
3362 |
-
bwg_enable_disable(<?php echo $row->album_extended_show_search_box ? "'', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_1'" : "'none', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_0'" ?>);
|
3363 |
-
bwg_enable_disable(<?php echo $row->album_extended_show_search_box ? "'', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_1'" : "'none', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_0'" ?>);
|
3364 |
-
bwg_enable_disable(<?php echo $row->preload_images ? "'', 'tr_preload_images_count', 'preload_images_1'" : "'none', 'tr_preload_images_count', 'preload_images_0'" ?>);
|
3365 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0'" ?>);
|
3366 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_info', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_info', 'popup_enable_ctrl_btn_0'" ?>);
|
3367 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_download', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_download', 'popup_enable_ctrl_btn_0'" ?>);
|
3368 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_0'" ?>);
|
3369 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_comment', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_comment', 'popup_enable_ctrl_btn_0'" ?>);
|
3370 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_comment_moderation', 'popup_enable_comment_1'" : "'none', 'tr_comment_moderation', 'popup_enable_comment_0'") : "'none', 'tr_comment_moderation', 'popup_enable_comment_0'" ?>);
|
3371 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_popup_email', 'popup_enable_comment_1'" : "'none', 'tr_popup_email', 'popup_enable_comment_0'") : "'none', 'tr_popup_email', 'popup_enable_comment_0'" ?>);
|
3372 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_popup_captcha', 'popup_enable_comment_1'" : "'none', 'tr_popup_captcha', 'popup_enable_comment_0'") : "'none', 'tr_popup_captcha', 'popup_enable_comment_0'" ?>);
|
3373 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_facebook', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_facebook', 'popup_enable_ctrl_btn_0'" ?>);
|
3374 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_twitter', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_twitter', 'popup_enable_ctrl_btn_0'" ?>);
|
3375 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_google', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_google', 'popup_enable_ctrl_btn_0'" ?>);
|
3376 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_0'" ?>);
|
3377 |
-
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_thumblr', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_thumblr', 'popup_enable_ctrl_btn_0'" ?>);
|
3378 |
-
bwg_enable_disable(<?php echo $row->popup_enable_filmstrip ? "'', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_1'" : "'none', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_0'" ?>);
|
3379 |
-
bwg_enable_disable(<?php echo $row->slideshow_enable_filmstrip ? "'', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes'" : "'none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no'" ?>);
|
3380 |
-
bwg_enable_disable(<?php echo $row->slideshow_enable_title ? "'', 'tr_slideshow_title_position', 'slideshow_enable_title_yes'" : "'none', 'tr_slideshow_title_position', 'slideshow_enable_title_no'" ?>);
|
3381 |
-
bwg_enable_disable(<?php echo $row->slideshow_enable_description ? "'', 'tr_slideshow_description_position', 'slideshow_enable_description_yes'" : "'none', 'tr_slideshow_description_position', 'slideshow_enable_description_no'" ?>);
|
3382 |
-
bwg_enable_disable(<?php echo $row->slideshow_enable_music ? "'', 'tr_slideshow_music_url', 'slideshow_enable_music_yes'" : "'none', 'tr_slideshow_music_url', 'slideshow_enable_music_no'" ?>);
|
3383 |
-
bwg_enable_disable(<?php echo $row->slideshow_enable_ctrl ? "'', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_yes'" : "'none', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_no'" ?>);
|
3384 |
-
bwg_enable_disable(<?php echo $row->enable_addthis ? "'', 'tr_addthis_profile_id', 'enable_addthis_yes'" : "'none', 'tr_addthis_profile_id', 'enable_addthis_no'" ?>);
|
3385 |
-
bwg_enable_disable(<?php echo $row->thumb_click_action == 'redirect_to_url' ? "'', 'tr_thumb_link_target', 'thumb_click_action_2'" : "'none', 'tr_thumb_link_target', 'thumb_click_action_" . ($row->thumb_click_action == 'open_lightbox' ? 1 : 3) . "'"; ?>);
|
3386 |
-
bwg_enable_disable(<?php echo $row->image_enable_page == '2' ? "'', 'tr_load_more_image_count', 'image_enable_page_loadmore'" : "'none', 'tr_load_more_image_count', 'image_enable_page_" . ($row->image_enable_page == '0' ? 'no' : ($row->image_enable_page == '1' ? 'yes' : 'scroll_load')) . "'"; ?>);
|
3387 |
-
bwg_enable_disable(<?php echo $row->masonry_image_enable_page == '2' ? "'', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_loadmore'" : "'none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_" . ($row->masonry_image_enable_page == '0' ? 'no' : ($row->masonry_image_enable_page == '1' ? 'yes' : 'scroll_load')) . "'"; ?>);
|
3388 |
-
bwg_enable_disable(<?php echo $row->mosaic_image_enable_page == '2' ? "'', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_loadmore'" : "'none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_" . ($row->mosaic_image_enable_page == '0' ? 'no' : ($row->mosaic_image_enable_page == '1' ? 'yes' : 'scroll_load')) . "'"; ?>);
|
3389 |
-
bwg_enable_disable(<?php echo $row->blog_style_enable_page == '2' ? "'', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_2'" : "'none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_" . $row->blog_style_enable_page . "'"; ?>);
|
3390 |
-
bwg_enable_disable(<?php echo $row->album_view_type == 'mosaic' ? "'', 'tr_album_mosaic', 'album_view_type_2'" : "'none', 'tr_album_mosaic', 'album_view_type_" . $row->album_view_type . "'"; ?>);
|
3391 |
-
bwg_enable_disable(<?php echo $row->album_view_type == 'mosaic' ? "'', 'tr_album_resizable_mosaic', 'album_view_type_2'" : "'none', 'tr_album_resizable_mosaic', 'album_view_type_" . $row->album_view_type . "'"; ?>);
|
3392 |
-
bwg_enable_disable(<?php echo $row->album_view_type == 'mosaic' ? "'', 'tr_album_mosaic_total_width', 'album_view_type_2'" : "'none', 'tr_album_mosaic_total_width', 'album_view_type_" . $row->album_view_type . "'"; ?>);
|
3393 |
-
bwg_enable_disable(<?php echo $row->album_extended_view_type == 'mosaic' ? "'', 'tr_album_extended_mosaic', 'album_extended_view_type_2'" : "'none', 'tr_album_extended_mosaic', 'album_extended_view_type_" . $row->album_extended_view_type . "'"; ?>);
|
3394 |
-
bwg_enable_disable(<?php echo $row->album_extended_view_type == 'mosaic' ? "'', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_2'" : "'none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_" . $row->album_extended_view_type . "'"; ?>);
|
3395 |
-
bwg_enable_disable(<?php echo $row->album_extended_view_type == 'mosaic' ? "'', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_2'" : "'none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_" . $row->album_extended_view_type . "'"; ?>);
|
3396 |
-
bwg_enable_disable(<?php echo $row->masonry == 'horizontal' ? "'none', 'tr_show_masonry_thumb_description', 'masonry_1'" : "'', 'tr_show_masonry_thumb_description', 'masonry_0'"; ?>);
|
3397 |
-
preview_watermark();
|
3398 |
-
preview_built_in_watermark();
|
3399 |
-
bwg_show_hide_roles();
|
3400 |
-
bwg_pagination_description(jQuery('#image_enable_page_<?php echo $row->image_enable_page; ?>'));
|
3401 |
-
bwg_pagination_description(jQuery('#masonry_image_enable_page_<?php echo $row->masonry_image_enable_page; ?>'));
|
3402 |
-
bwg_pagination_description(jQuery('#mosaic_image_enable_page_<?php echo $row->mosaic_image_enable_page; ?>'));
|
3403 |
-
bwg_pagination_description(jQuery('#blog_style_enable_page_<?php echo $row->blog_style_enable_page; ?>'));
|
3404 |
-
bwg_pagination_description(jQuery('#album_enable_page_<?php echo $row->album_enable_page; ?>'));
|
3405 |
-
bwg_pagination_description(jQuery('#album_masonry_enable_page_<?php echo $row->album_masonry_enable_page; ?>'));
|
3406 |
-
bwg_pagination_description(jQuery('#album_extended_enable_page_<?php echo $row->album_extended_enable_page; ?>'));
|
3407 |
-
});
|
3408 |
-
jQuery(window).load(function() {
|
3409 |
-
<?php if ( WDWLibrary::get('instagram_token') || WDWLibrary::get('code') ) { ?>
|
3410 |
-
var advanced_tab_index = 4;
|
3411 |
-
jQuery( ".bwg_tabs" ).tabs({ active: advanced_tab_index });
|
3412 |
-
<?php } ?>
|
3413 |
-
});
|
3414 |
-
</script>
|
3415 |
<?php
|
3416 |
}
|
3417 |
}
|
27 |
|
28 |
public function body($params) {
|
29 |
$row = $params['row'];
|
30 |
+
$instagram_return_url = $params['instagram_return_url'];
|
31 |
$instagram_reset_href = $params['instagram_reset_href'];
|
32 |
if (!$row) {
|
33 |
echo WDWLibrary::message_id(2);
|
37 |
|
38 |
$built_in_watermark_fonts = $params['built_in_watermark_fonts'];
|
39 |
$watermark_fonts = $params['watermark_fonts'];
|
|
|
40 |
$gallery_types_name = $params['gallery_types_name'];
|
41 |
$album_types_name = $params['album_types_name'];
|
42 |
$buttons = array(
|
116 |
<div class="bwg-flex">
|
117 |
<input type="number" name="upload_thumb_width" id="upload_thumb_width" value="<?php echo $row->upload_thumb_width; ?>" min="0" /><span>x</span>
|
118 |
<input type="number" name="upload_thumb_height" id="upload_thumb_height" value="<?php echo $row->upload_thumb_height; ?>" min="0" /><span>px</span>
|
119 |
+
<input type="submit" class="button-primary" onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\'); return false;' : 'spider_set_input_value(\'task\', \'save\'); spider_set_input_value(\'recreate\', \'resize_image_thumb\');'); ?>" value="<?php _e('Recreate', BWG()->prefix); ?>" />
|
120 |
</div>
|
121 |
<p class="description"><?php _e('Specify the maximum dimensions of generated thumbnails. They must be larger than frontend thumbnail dimensions.', BWG()->prefix); ?></p>
|
122 |
</div>
|
242 |
<p class="description"><?php _e('Generate or edit a shortcode.', BWG()->prefix); ?></p>
|
243 |
</div>
|
244 |
</div>
|
245 |
+
<?php
|
246 |
+
if ( !BWG()->is_demo ) {
|
247 |
+
?>
|
248 |
<div class="wd-box-content wd-width-100">
|
249 |
<div class="wd-group">
|
250 |
<label class="wd-label"><?php echo sprintf(__('Uninstall %s', BWG()->prefix), BWG()->nicename); ?></label>
|
256 |
<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.', BWG()->prefix); ?></p>
|
257 |
</div>
|
258 |
</div>
|
259 |
+
<?php
|
260 |
+
}
|
261 |
+
?>
|
262 |
</div>
|
263 |
</div>
|
264 |
</div>
|
265 |
</div>
|
266 |
<div id="bwg_tab_gallery_content" class="bwg-section wd-box-content">
|
267 |
+
<div class="bwg-section bwg-flex-wrap">
|
268 |
+
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
269 |
+
<div id="bwg_tab_galleries_content" class="wd-width-100">
|
270 |
+
<div class="bwg_change_gallery_type">
|
271 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails')">
|
272 |
+
<div><label for="thumbnails"><img id="display_thumb" src="<?php echo BWG()->plugin_url . '/images/thumbnails.jpg'; ?>" /></label></div>
|
273 |
+
<div class="gallery_type_div">
|
274 |
+
<input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails" /><label class="gallery_type_label" for="thumbnails"><?php echo __('Thumbnails', BWG()->prefix); ?></label>
|
275 |
+
</div>
|
276 |
+
</span>
|
277 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails_masonry')">
|
278 |
+
<div>
|
279 |
+
<label for="thumbnails_masonry"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label>
|
280 |
+
</div>
|
281 |
+
<div class="gallery_type_div">
|
282 |
+
<input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" /><label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry', BWG()->prefix); ?></label>
|
283 |
+
<?php if ( !BWG()->is_pro ) { ?>
|
284 |
+
<span class="pro_btn">Paid</span>
|
285 |
+
<?php } ?>
|
286 |
+
</div>
|
287 |
+
</span>
|
288 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails_mosaic')">
|
289 |
+
<div><label for="thumbnails_mosaic"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.jpg'; ?>" /></label></div>
|
290 |
+
<div class="gallery_type_div">
|
291 |
+
<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', BWG()->prefix); ?></label>
|
292 |
+
<?php if ( !BWG()->is_pro ) { ?>
|
293 |
+
<span class="pro_btn">Paid</span>
|
294 |
+
<?php } ?>
|
295 |
+
</div>
|
296 |
+
</span>
|
297 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('slideshow')">
|
298 |
+
<div><label for="slideshow"><img src="<?php echo BWG()->plugin_url . '/images/slideshow.jpg'; ?>" /></label></div>
|
299 |
+
<div class="gallery_type_div">
|
300 |
+
<input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" /><label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow', BWG()->prefix); ?></label>
|
301 |
+
</div>
|
302 |
+
</span>
|
303 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('image_browser')">
|
304 |
+
<div><label for="image_browser"><img src="<?php echo BWG()->plugin_url . '/images/image_browser.jpg'; ?>" /></label></div>
|
305 |
+
<div class="gallery_type_div">
|
306 |
+
<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', BWG()->prefix); ?></label>
|
307 |
+
</div>
|
308 |
+
</span>
|
309 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('blog_style')">
|
310 |
+
<div><label for="blog_style"><img src="<?php echo BWG()->plugin_url . '/images/blog_style.jpg'; ?>" /></label></div>
|
311 |
+
<div class="gallery_type_div">
|
312 |
+
<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', BWG()->prefix); ?></label>
|
313 |
+
<?php if ( !BWG()->is_pro ) { ?>
|
314 |
+
<span class="pro_btn">Paid</span>
|
315 |
+
<?php } ?>
|
316 |
+
</div>
|
317 |
+
</span>
|
318 |
+
<span class="gallery_type" onClick="bwg_gallery_type_options('carousel')">
|
319 |
+
<div><label for="carousel"><img src="<?php echo BWG()->plugin_url . '/images/Carousel.png'; ?>" /></label></div>
|
320 |
+
<div class="gallery_type_div">
|
321 |
+
<input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" /><label class="gallery_type_label" for="carousel"><?php echo __('Carousel', BWG()->prefix); ?></label>
|
322 |
+
<?php if ( !BWG()->is_pro ) { ?>
|
323 |
+
<span class="pro_btn">Paid</span>
|
324 |
+
<?php } ?>
|
325 |
+
</div>
|
326 |
+
</span>
|
327 |
+
</div>
|
328 |
+
<div class="bwg_select_gallery_type">
|
329 |
+
<label class="wd-label" for="gallery_types_name"><?php _e('View type', BWG()->prefix); ?></label>
|
330 |
+
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type_options(jQuery(this).val());">
|
331 |
+
<?php
|
332 |
+
foreach ($gallery_types_name as $key=>$album_type_name) {
|
333 |
+
?>
|
334 |
+
<option <?php echo selected($album_type_name,true); ?> value="<?php echo $key; ?>"><?php echo $album_type_name; ?></option>
|
335 |
+
<?php
|
336 |
+
}
|
337 |
+
?>
|
338 |
+
</select>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
<?php
|
342 |
+
if ( !BWG()->is_pro ) {
|
343 |
+
?>
|
344 |
+
<div class="wd-box-content wd-width-100 wd-free-msg">
|
345 |
+
<?php
|
346 |
+
echo WDWLibrary::message_id(0, __('This view is not available in free version.', BWG()->prefix), 'error');
|
347 |
+
?>
|
348 |
+
</div>
|
349 |
+
<?php
|
350 |
+
}
|
351 |
+
?>
|
352 |
+
<?php
|
353 |
+
self::gallery_options($row);
|
354 |
+
?>
|
355 |
+
</div>
|
356 |
+
</div>
|
357 |
+
</div>
|
358 |
+
<div id="bwg_tab_gallery_group_content" class="bwg-section wd-box-content">
|
359 |
<div class="bwg-section bwg-flex-wrap">
|
360 |
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
361 |
+
<div id="bwg_tab_albums_content" class="wd-width-100">
|
362 |
<div class="bwg_change_gallery_type">
|
363 |
+
<span class="gallery_type" onClick="bwg_album_type_options('album_compact_preview')">
|
364 |
+
<div><label for="album_compact_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.jpg'; ?>" /></label></div>
|
365 |
+
<div class="album_type_div">
|
366 |
+
<input type="radio" class="album_type_radio" id="album_compact_preview" name="album_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', BWG()->prefix); ?></label>
|
367 |
+
</div>
|
368 |
+
</span>
|
369 |
+
<span class="gallery_type" onClick="bwg_album_type_options('album_masonry_preview')">
|
370 |
+
<div><label for="album_masonry_preview"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label></div>
|
371 |
+
<div class="album_type_div">
|
372 |
+
<input type="radio" class="album_type_radio" id="album_masonry_preview" name="album_type" value="album_masonry_preview" /><label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', BWG()->prefix); ?></label>
|
373 |
+
<?php if ( !BWG()->is_pro ) { ?>
|
374 |
+
<span class="pro_btn">Paid</span>
|
375 |
+
<?php } ?>
|
376 |
+
</div>
|
377 |
+
</span>
|
378 |
+
<span class="gallery_type" onClick="bwg_album_type_options('album_extended_preview')">
|
379 |
+
<div><label for="album_extended_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.jpg'; ?>" /></label></div>
|
380 |
+
<div class="album_type_div">
|
381 |
+
<input type="radio" class="album_type_radio" id="album_extended_preview" name="album_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', BWG()->prefix); ?></label>
|
382 |
+
</div>
|
383 |
+
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
</div>
|
385 |
<div class="bwg_select_gallery_type">
|
386 |
<label class="wd-label" for="gallery_types_name"><?php _e('View type', BWG()->prefix); ?></label>
|
387 |
+
<select name="gallery_types_name" id="gallery_types_name" onchange="bwg_album_type_options(jQuery(this).val());">
|
388 |
<?php
|
389 |
+
foreach ($album_types_name as $key=>$album_type_name) {
|
390 |
?>
|
391 |
<option <?php echo selected($album_type_name,true); ?> value="<?php echo $key; ?>"><?php echo $album_type_name; ?></option>
|
392 |
<?php
|
406 |
<?php
|
407 |
}
|
408 |
?>
|
409 |
+
<?php
|
410 |
+
self::gallery_group_options($row);
|
411 |
+
?>
|
412 |
+
</div>
|
413 |
+
</div>
|
414 |
+
</div>
|
415 |
+
<div id="bwg_tab_lightbox_content" class="bwg-section wd-box-content">
|
416 |
+
<div class="bwg-section bwg-flex-wrap">
|
417 |
+
<?php
|
418 |
+
self::lightbox_options($row);
|
419 |
+
?>
|
420 |
+
</div>
|
421 |
+
</div>
|
422 |
+
<div id="bwg_tab_advanced_content" class="bwg-section wd-box-content">
|
423 |
+
<div class="bwg-section bwg-flex-wrap">
|
424 |
+
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
425 |
+
<div class="postbox">
|
426 |
+
<button class="button-link handlediv" type="button" aria-expanded="true">
|
427 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', BWG()->prefix); ?></span>
|
428 |
+
<span class="toggle-indicator" aria-hidden="false"></span>
|
429 |
+
</button>
|
430 |
+
<h2 class="hndle">
|
431 |
+
<span><?php _e('Social', BWG()->prefix); ?></span>
|
432 |
+
</h2>
|
433 |
+
<div class="inside bwg-flex-wrap">
|
434 |
+
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
435 |
+
<div class="wd-box-content wd-width-100">
|
436 |
+
<div class="wd-group wd-width-50">
|
437 |
+
<label class="wd-label" for="autoupdate_interval_hour"><?php _e('Gallery autoupdate interval', BWG()->prefix); ?></label>
|
438 |
+
<div class="bwg-flex">
|
439 |
+
<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); ?>" />
|
440 |
+
<span><?php _e('hour', BWG()->prefix); ?></span>
|
441 |
+
<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); ?>" />
|
442 |
+
<span><?php _e('min', BWG()->prefix); ?></span>
|
443 |
+
</div>
|
444 |
+
<p class="description"><?php _e('Set the interval when Instagram or Facebook galleries will be updated, and will display new posts of your Instagram or Facebook account.', BWG()->prefix) ?></p>
|
445 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
446 |
</div>
|
|
|
447 |
</div>
|
448 |
+
<div class="wd-box-content wd-width-50">
|
449 |
+
<div class="wd-box-title">
|
450 |
+
<strong><?php _e('Instagram', BWG()->prefix); ?></strong>
|
|
|
|
|
|
|
|
|
|
|
|
|
451 |
</div>
|
452 |
+
<div class="wd-box-content wd-width-100">
|
453 |
+
<div class="wd-group" id="login_with_instagram">
|
454 |
+
<input id="instagram_access_token" name="instagram_access_token" type="hidden" size="30" value="<?php echo $row->instagram_access_token; ?>" readonly />
|
455 |
+
<?php if ( empty($row->instagram_access_token) ) {
|
456 |
+
$instagram_description = __('Press this button to sign in to your Instagram account. In this case, access token will be added automatically.', BWG()->prefix);
|
457 |
+
?>
|
458 |
+
<a <?php echo BWG()->is_pro ? 'href="' . $instagram_return_url . '"' : 'disabled="disabled"'; ?>>
|
459 |
+
<img src="<?php echo BWG()->plugin_url . '/images/logos/instagram.png'; ?>">
|
460 |
+
<span class="bwg-instagram-sign-in"><?php _e('Sign in with Instagram', BWG()->prefix) ?></span>
|
461 |
+
</a>
|
462 |
+
<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.', BWG()->prefix) ?></p>
|
463 |
+
<?php }
|
464 |
+
else {
|
465 |
+
$instagram_description = __('Press this button to sign out from your Instagram account. The access token will reset.', BWG()->prefix);
|
466 |
+
?>
|
467 |
+
<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', BWG()->prefix)) . '\')){ return true; } else { return false; }"' : 'disabled="disabled"'; ?>>
|
468 |
+
<img src="<?php echo BWG()->plugin_url . '/images/logos/instagram.png'; ?>">
|
469 |
+
<span class="bwg-instagram-sign-out"><?php _e('Sign out from Instagram', BWG()->prefix) ?></span>
|
470 |
+
</a>
|
471 |
+
<p class="bwg-clear description"><?php _e('Press this button to sign out from your Instagram account.', BWG()->prefix) ?></p>
|
472 |
+
<?php } ?>
|
473 |
+
</div>
|
474 |
</div>
|
475 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
476 |
</div>
|
477 |
+
<div class="wd-box-content wd-width-50">
|
478 |
+
<div class="wd-box-title">
|
479 |
+
<strong><?php _e('Facebook', BWG()->prefix); ?></strong>
|
|
|
|
|
|
|
480 |
</div>
|
481 |
+
<?php
|
482 |
+
if ( has_action('init_display_facebook_options_bwg') ) {
|
483 |
+
do_action('init_display_facebook_options_bwg', $row );
|
484 |
+
}
|
485 |
+
else {
|
486 |
+
$link = '<a href="https://web-dorado.com/products/wordpress-photo-gallery-plugin/add-ons/facebook.html" target="_blank">' . __('Photo Gallery Facebook Integration', BWG()->prefix) . '</a>';
|
487 |
+
echo '<div class="error inline"><p>' . sprintf(__("Please install %s add-on to use this feature.", BWG()->prefix), $link) . '</p></div>';
|
488 |
+
}
|
489 |
+
?>
|
490 |
</div>
|
491 |
</div>
|
492 |
</div>
|
493 |
+
</div>
|
494 |
+
</div>
|
495 |
+
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
496 |
+
<div class="postbox closed">
|
497 |
+
<button class="button-link handlediv" type="button" aria-expanded="true">
|
498 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', BWG()->prefix); ?></span>
|
499 |
+
<span class="toggle-indicator" aria-hidden="false"></span>
|
500 |
+
</button>
|
501 |
+
<h2 class="hndle">
|
502 |
+
<span><?php _e('Roles', BWG()->prefix); ?></span>
|
503 |
+
</h2>
|
504 |
+
<div class="inside bwg-flex-wrap">
|
505 |
+
<div class="wd-box-content wd-width-50">
|
506 |
+
<div class="wd-box-content wd-width-100">
|
507 |
+
<div class="wd-group">
|
508 |
+
<label class="wd-label" for="permissions"><?php _e('Roles', BWG()->prefix); ?></label>
|
509 |
+
<div class="bwg-flex">
|
510 |
+
<select <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> id="permissions" name="permissions" onchange="bwg_show_hide_roles();">
|
511 |
+
<?php
|
512 |
+
foreach ($permissions as $key => $permission) {
|
513 |
+
?>
|
514 |
+
<option value="<?php echo $key; ?>" <?php if ($row->permissions == $key) echo 'selected="selected"'; ?>><?php echo $permission; ?></option>
|
515 |
+
<?php
|
516 |
+
}
|
517 |
+
?>
|
518 |
+
</select>
|
519 |
+
</div>
|
520 |
+
<p class="description"><?php _e('Choose a WordPress user role which can add and edit galleries, images, gallery groups and tags.', BWG()->prefix); ?></p>
|
521 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
|
|
|
|
522 |
</div>
|
|
|
523 |
</div>
|
524 |
</div>
|
525 |
+
<div class="wd-box-content wd-width-50">
|
526 |
+
<div class="wd-box-content wd-width-100 bwg_roles">
|
527 |
+
<div class="wd-group">
|
528 |
+
<label class="wd-label"><?php _e('Gallery role restrictions', BWG()->prefix); ?></label>
|
529 |
+
<div class="bwg-flex">
|
530 |
+
<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', BWG()->prefix); ?></label>
|
531 |
+
<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', BWG()->prefix); ?></label>
|
532 |
+
</div>
|
533 |
+
<p class="description"><?php _e('Enable this setting to restrict authors from modifying galleries created by other users.', BWG()->prefix); ?></p>
|
534 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
535 |
</div>
|
536 |
</div>
|
537 |
+
<div class="wd-box-content wd-width-100 bwg_roles">
|
538 |
+
<div class="wd-group">
|
539 |
+
<label class="wd-label"><?php _e('Gallery group restrictions', BWG()->prefix); ?></label>
|
540 |
+
<div class="bwg-flex">
|
541 |
+
<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', BWG()->prefix); ?></label>
|
542 |
+
<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', BWG()->prefix); ?></label>
|
543 |
+
</div>
|
544 |
+
<p class="description"><?php _e('Enabling this option will restrict authors from modifying galleries created by other users.', BWG()->prefix); ?></p>
|
545 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
546 |
</div>
|
547 |
</div>
|
548 |
+
<div class="wd-box-content wd-width-100 bwg_roles">
|
549 |
+
<div class="wd-group">
|
550 |
+
<label class="wd-label"><?php _e('Image role restrictions', BWG()->prefix); ?></label>
|
551 |
+
<div class="bwg-flex">
|
552 |
+
<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', BWG()->prefix); ?></label>
|
553 |
+
<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', BWG()->prefix); ?></label>
|
554 |
+
</div>
|
555 |
+
<p class="description"><?php _e('Enable this setting to restrict authors from modifying galleries added by other users.', BWG()->prefix); ?></p>
|
556 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
557 |
</div>
|
|
|
558 |
</div>
|
559 |
</div>
|
560 |
+
</div>
|
561 |
+
</div>
|
562 |
+
</div>
|
563 |
+
<div class="wd-box-content wd-width-100 meta-box-sortables">
|
564 |
+
<div class="postbox closed">
|
565 |
+
<button class="button-link handlediv" type="button" aria-expanded="true">
|
566 |
+
<span class="screen-reader-text"><?php _e('Toggle panel:', BWG()->prefix); ?></span>
|
567 |
+
<span class="toggle-indicator" aria-hidden="false"></span>
|
568 |
+
</button>
|
569 |
+
<h2 class="hndle">
|
570 |
+
<span><?php _e('Advertisement', BWG()->prefix); ?></span>
|
571 |
+
</h2>
|
572 |
+
<div class="inside bwg-flex-wrap">
|
573 |
+
<div class="wd-box-content wd-width-50">
|
574 |
+
<div class="wd-box-content wd-width-100">
|
575 |
+
<div class="wd-group">
|
576 |
+
<label class="wd-label"><?php _e('Advertisement type', BWG()->prefix); ?></label>
|
577 |
+
<div class="bwg-flex">
|
578 |
+
<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')" />
|
579 |
+
<label for="watermark_type_none" class="wd-radio-label"><?php _e('None', BWG()->prefix); ?></label>
|
580 |
+
<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()" />
|
581 |
+
<label for="watermark_type_text" class="wd-radio-label"><?php _e('Text', BWG()->prefix); ?></label>
|
582 |
+
<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()" />
|
583 |
+
<label for="watermark_type_image" class="wd-radio-label"><?php _e('Image', BWG()->prefix); ?></label>
|
584 |
+
</div>
|
585 |
+
<p class="description"><?php _e('Add Text or Image advertisement to your images with this option.', BWG()->prefix) ?></p>
|
586 |
</div>
|
|
|
587 |
</div>
|
588 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_url">
|
589 |
+
<div class="wd-group">
|
590 |
+
<label class="wd-label" for="watermark_url"><?php _e('Advertisement URL', BWG()->prefix); ?></label>
|
591 |
+
<div>
|
592 |
+
<?php
|
593 |
+
$query_url = add_query_arg(array('action' => 'addImages', 'width' => '800', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_watermark_image'), admin_url('admin-ajax.php'));
|
594 |
+
$query_url = wp_nonce_url( $query_url, 'addImages', 'bwg_nonce' );
|
595 |
+
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url );
|
596 |
+
?>
|
597 |
+
<a href="<?php echo $query_url; ?>" id="button_add_watermark_image" class="button-primary thickbox thickbox-preview"
|
598 |
+
title="<?php _e('Select Image', BWG()->prefix); ?>"
|
599 |
+
onclick="return false;">
|
600 |
+
<?php _e('Select Image', BWG()->prefix); ?>
|
601 |
+
</a>
|
602 |
+
<br /><?php _e('or', BWG()->prefix); ?><br />
|
603 |
+
<input type="text" id="watermark_url" name="watermark_url" value="<?php echo $row->watermark_url; ?>" onchange="preview_watermark()" placeholder="e.g. https://example.com/uploads/watermark.png" />
|
604 |
+
</div>
|
605 |
+
<p class="description"><?php _e('Provide the absolute URL of the image you would like to use as advertisement.', BWG()->prefix) ?></p>
|
606 |
</div>
|
|
|
607 |
</div>
|
608 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_text">
|
609 |
+
<div class="wd-group">
|
610 |
+
<label class="wd-label" for="watermark_text"><?php _e('Advertisement text', BWG()->prefix); ?></label>
|
611 |
+
<div class="bwg-flex">
|
612 |
+
<input type="text" name="watermark_text" id="watermark_text" style="width: 100%;" value="<?php echo $row->watermark_text; ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
|
613 |
+
</div>
|
614 |
+
<p class="description"><?php _e('Write the text to add to images as advertisement.', BWG()->prefix) ?></p>
|
615 |
</div>
|
|
|
616 |
</div>
|
617 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_link">
|
618 |
+
<div class="wd-group">
|
619 |
+
<label class="wd-label" for="watermark_link"><?php _e('Advertisement link', BWG()->prefix); ?></label>
|
620 |
+
<div class="bwg-flex">
|
621 |
+
<input type="text" name="watermark_link" id="watermark_link" style="width: 100%;" value="<?php echo $row->watermark_link; ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
|
622 |
+
</div>
|
623 |
+
<p class="description"><?php _e('Provide the link to be added to advertisement on images.', BWG()->prefix) ?></p>
|
|
|
624 |
</div>
|
|
|
625 |
</div>
|
626 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_width_height">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
<div class="wd-group">
|
628 |
+
<label class="wd-label" for="watermark_width"><?php _e('Advertisement dimensions', BWG()->prefix); ?></label>
|
629 |
<div class="bwg-flex">
|
630 |
+
<input type="number" name="watermark_width" id="watermark_width" value="<?php echo $row->watermark_width; ?>" min="0" onchange="preview_watermark()" /><span>x</span>
|
631 |
+
<input type="number" name="watermark_height" id="watermark_height" value="<?php echo $row->watermark_height; ?>" min="0" onchange="preview_watermark()" /><span>px</span>
|
|
|
632 |
</div>
|
633 |
+
<p class="description"><?php _e('Select the dimensions of the advertisement image.', BWG()->prefix) ?></p>
|
634 |
</div>
|
635 |
</div>
|
636 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_font_size">
|
637 |
+
<div class="wd-group">
|
638 |
+
<label class="wd-label" for="watermark_font_size"><?php _e('Advertisement font size', BWG()->prefix); ?></label>
|
639 |
+
<div class="bwg-flex">
|
640 |
+
<input type="number" name="watermark_font_size" id="watermark_font_size" value="<?php echo $row->watermark_font_size; ?>" min="0" onchange="preview_watermark()" /><span>px</span>
|
641 |
+
</div>
|
642 |
+
<p class="description"><?php _e('Specify the font size of the advertisement text.', BWG()->prefix) ?></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
643 |
</div>
|
|
|
|
|
644 |
</div>
|
645 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_font">
|
646 |
+
<div class="wd-group">
|
647 |
+
<label class="wd-label" for="watermark_font"><?php _e('Advertisement font style', BWG()->prefix); ?></label>
|
648 |
+
<div>
|
649 |
+
<select name="watermark_font" id="watermark_font" onchange="preview_watermark()">
|
650 |
+
<?php
|
651 |
+
$google_fonts = WDWLibrary::get_google_fonts();
|
652 |
+
$is_google_fonts = (in_array($row->watermark_font, $google_fonts) ) ? true : false;
|
653 |
+
$watermark_font_families = ($is_google_fonts == true) ? $google_fonts : $watermark_fonts;
|
654 |
+
foreach ($watermark_font_families as $watermark_font) {
|
655 |
+
?>
|
656 |
+
<option value="<?php echo $watermark_font; ?>" <?php if ($row->watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
|
657 |
+
<?php
|
658 |
+
}
|
659 |
+
?>
|
660 |
+
</select>
|
661 |
+
<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"'; ?> />
|
662 |
+
<label for="watermark_google_fonts1" id="watermark_google_fonts1_lbl" class="wd-radio-label"><?php _e('Google fonts', BWG()->prefix); ?></label>
|
663 |
+
<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"'; ?> />
|
664 |
+
<label for="watermark_google_fonts0" id="watermark_google_fonts0_lbl" class="wd-radio-label"><?php _e('Default', BWG()->prefix); ?></label>
|
665 |
+
</div>
|
666 |
+
<p class="description"><?php _e('Select the font family of the advertisement text.', BWG()->prefix) ?></p>
|
667 |
</div>
|
|
|
668 |
</div>
|
669 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_color">
|
670 |
+
<div class="wd-group">
|
671 |
+
<label class="wd-label" for="watermark_color"><?php _e('Advertisement color', BWG()->prefix); ?></label>
|
672 |
+
<div class="bwg-flex">
|
673 |
+
<input type="text" name="watermark_color" id="watermark_color" value="<?php echo $row->watermark_color; ?>" class="color" onchange="preview_watermark()" />
|
674 |
+
</div>
|
675 |
+
<p class="description"><?php _e('Choose the color for the advertisement text on images.', BWG()->prefix) ?></p>
|
676 |
</div>
|
|
|
677 |
</div>
|
678 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_opacity">
|
679 |
+
<div class="wd-group">
|
680 |
+
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement opacity', BWG()->prefix); ?></label>
|
681 |
+
<div class="bwg-flex">
|
682 |
+
<input type="number" name="watermark_opacity" id="watermark_opacity" value="<?php echo $row->watermark_opacity; ?>" min="0" max="100" onchange="preview_watermark()" /><span>%</span>
|
683 |
+
</div>
|
684 |
+
<p class="description"><?php _e('Specify the opacity of the advertisement. The value must be between 0 to 100.', BWG()->prefix) ?></p>
|
|
|
|
|
685 |
</div>
|
|
|
|
|
|
|
|
|
686 |
</div>
|
687 |
+
<div class="wd-box-content wd-width-100" id="tr_watermark_position">
|
688 |
+
<div class="wd-group">
|
689 |
+
<label class="wd-label" for="watermark_opacity"><?php _e('Advertisement position', BWG()->prefix); ?></label>
|
690 |
+
<div class="bwg-flex">
|
691 |
+
<table class="bwg_position_table">
|
692 |
+
<tbody>
|
693 |
+
<tr>
|
694 |
+
<td><input type="radio" value="top-left" name="watermark_position" <?php if ($row->watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
695 |
+
<td><input type="radio" value="top-center" name="watermark_position" <?php if ($row->watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
696 |
+
<td><input type="radio" value="top-right" name="watermark_position" <?php if ($row->watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
697 |
+
</tr>
|
698 |
+
<tr>
|
699 |
+
<td><input type="radio" value="middle-left" name="watermark_position" <?php if ($row->watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
700 |
+
<td><input type="radio" value="middle-center" name="watermark_position" <?php if ($row->watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
701 |
+
<td><input type="radio" value="middle-right" name="watermark_position" <?php if ($row->watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
702 |
+
</tr>
|
703 |
+
<tr>
|
704 |
+
<td><input type="radio" value="bottom-left" name="watermark_position" <?php if ($row->watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
705 |
+
<td><input type="radio" value="bottom-center" name="watermark_position" <?php if ($row->watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
706 |
+
<td><input type="radio" value="bottom-right" name="watermark_position" <?php if ($row->watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
|
707 |
+
</tr>
|
708 |
+
</tbody>
|
709 |
+
</table>
|
710 |
+
</div>
|
711 |
</div>
|
712 |
+
<p class="description"><?php _e('Mark the position where the advertisement should appear on images.', BWG()->prefix) ?></p>
|
713 |
</div>
|
714 |
</div>
|
715 |
+
<div class="wd-box-content wd-width-50">
|
716 |
+
<span id="preview_watermark" style="display:table-cell; background-image:url('<?php echo BWG()->plugin_url . '/images/watermark_preview.jpg'?>');background-size:100% 100%;width:400px;height:400px;padding-top: 4px; position:relative;">
|
|
|
|
|
|
|
|
|
|
|
|
|
717 |
</div>
|
718 |
</div>
|
719 |
+
</div>
|
720 |
+
</div>
|
721 |
+
</div>
|
722 |
+
</div>
|
723 |
+
<div id="bwg_tab_watermark_content" class="bwg-section wd-box-content">
|
724 |
+
<div class="bwg-section bwg-flex-wrap">
|
725 |
+
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
726 |
+
<div class="wd-box-content wd-width-50">
|
727 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_type">
|
728 |
+
<div class="wd-group">
|
729 |
+
<label class="wd-label"><?php _e('Watermark type', BWG()->prefix); ?></label>
|
730 |
+
<div class="bwg-flex">
|
731 |
+
<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')" />
|
732 |
+
<label for="built_in_watermark_type_none" class="wd-radio-label"><?php _e('None', BWG()->prefix); ?></label>
|
733 |
+
<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()" />
|
734 |
+
<label for="built_in_watermark_type_text" class="wd-radio-label"><?php _e('Text', BWG()->prefix); ?></label>
|
735 |
+
<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()" />
|
736 |
+
<label for="built_in_watermark_type_image" class="wd-radio-label"><?php _e('Image', BWG()->prefix); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
737 |
</div>
|
738 |
+
<p class="description"><?php _e('Add Text or Image watermark to your images with this option.', BWG()->prefix) ?></p>
|
739 |
</div>
|
740 |
+
</div>
|
741 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_url">
|
742 |
+
<div class="wd-group">
|
743 |
+
<label class="wd-label" for="built_in_watermark_url"><?php _e('Watermark URL', BWG()->prefix); ?></label>
|
744 |
+
<div>
|
745 |
+
<?php
|
746 |
+
$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'));
|
747 |
+
$query_url = wp_nonce_url( $query_url, 'addImages', 'bwg_nonce' );
|
748 |
+
$query_url = add_query_arg(array('TB_iframe' => '1'), $query_url );
|
749 |
+
?>
|
750 |
+
<a href="<?php echo $query_url; ?>" id="button_add_built_in_watermark_image" class="button-primary thickbox thickbox-preview"
|
751 |
+
title="<?php _e('Select Image', BWG()->prefix); ?>"
|
752 |
+
onclick="return false;">
|
753 |
+
<?php _e('Select Image', BWG()->prefix); ?>
|
754 |
+
</a>
|
755 |
+
<br /><?php _e('or', BWG()->prefix); ?><br />
|
756 |
+
<input type="text" id="built_in_watermark_url" name="built_in_watermark_url" value="<?php echo $row->built_in_watermark_url; ?>" onchange="preview_built_in_watermark()" placeholder="e.g. https://example.com/uploads/watermark.png" />
|
757 |
</div>
|
758 |
+
<p class="description"><?php _e('Provide the absolute URL of the image you would like to use as watermark.', BWG()->prefix); ?><br><?php _e('Only .png format is supported.', BWG()->prefix) ?></p>
|
759 |
</div>
|
760 |
+
</div>
|
761 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_text">
|
762 |
+
<div class="wd-group">
|
763 |
+
<label class="wd-label" for="built_in_watermark_text"><?php _e('Watermark text', BWG()->prefix); ?></label>
|
764 |
+
<div class="bwg-flex">
|
765 |
+
<input type="text" name="built_in_watermark_text" id="built_in_watermark_text" style="width: 100%;" value="<?php echo $row->built_in_watermark_text; ?>" onchange="preview_built_in_watermark()" onkeypress="preview_built_in_watermark()" />
|
766 |
</div>
|
767 |
+
<p class="description"><?php _e('Provide the text to add to images as watermark.', BWG()->prefix) ?></p>
|
768 |
</div>
|
769 |
+
</div>
|
770 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_size">
|
771 |
+
<div class="wd-group">
|
772 |
+
<label class="wd-label" for="built_in_watermark_size"><?php _e('Watermark size', BWG()->prefix); ?></label>
|
773 |
+
<div class="bwg-flex">
|
774 |
+
<input type="number" name="built_in_watermark_size" id="built_in_watermark_size" value="<?php echo $row->built_in_watermark_size; ?>" min="0" max="100" onchange="preview_built_in_watermark()" /><span>%</span>
|
|
|
|
|
775 |
</div>
|
776 |
+
<p class="description"><?php _e('Specify the size of watermark on images in percent.', BWG()->prefix) ?></p>
|
777 |
</div>
|
778 |
+
</div>
|
779 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_font_size">
|
780 |
+
<div class="wd-group">
|
781 |
+
<label class="wd-label" for="built_in_watermark_font_size"><?php _e('Watermark font size', BWG()->prefix); ?></label>
|
782 |
+
<div class="bwg-flex">
|
783 |
+
<input type="number" name="built_in_watermark_font_size" id="built_in_watermark_font_size" value="<?php echo $row->built_in_watermark_font_size; ?>" min="0" onchange="preview_built_in_watermark()" />
|
|
|
|
|
784 |
</div>
|
785 |
+
<p class="description"><?php _e('Specify the font size of the watermark text.', BWG()->prefix) ?></p>
|
786 |
</div>
|
787 |
</div>
|
788 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_font">
|
789 |
+
<div class="wd-group">
|
790 |
+
<label class="wd-label" for="built_in_watermark_font"><?php _e('Watermark font style', BWG()->prefix); ?></label>
|
791 |
+
<div class="bwg-flex">
|
792 |
+
<select name="built_in_watermark_font" id="built_in_watermark_font" onchange="preview_built_in_watermark()">
|
793 |
+
<?php
|
794 |
+
foreach ($built_in_watermark_fonts as $watermark_font) {
|
795 |
+
?>
|
796 |
+
<option value="<?php echo $watermark_font; ?>" <?php if ($row->built_in_watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
|
797 |
+
<?php
|
798 |
+
}
|
799 |
+
?>
|
800 |
+
</select>
|
801 |
+
<?php
|
802 |
+
foreach ($built_in_watermark_fonts as $watermark_font) {
|
803 |
+
?>
|
804 |
+
<style>
|
805 |
+
@font-face {
|
806 |
+
font-family: <?php echo 'bwg_' . str_replace('.ttf', '', $watermark_font); ?>;
|
807 |
+
src: url("<?php echo BWG()->plugin_url . '/fonts/' . $watermark_font; ?>");
|
808 |
+
}
|
809 |
+
</style>
|
810 |
+
<?php
|
811 |
+
}
|
812 |
+
?>
|
813 |
</div>
|
814 |
+
<p class="description"><?php _e('Select the font family of the watermark text.', BWG()->prefix) ?></p>
|
815 |
</div>
|
816 |
+
</div>
|
817 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_color">
|
818 |
+
<div class="wd-group">
|
819 |
+
<label class="wd-label" for="built_in_watermark_color"><?php _e('Watermark color', BWG()->prefix); ?></label>
|
820 |
+
<div class="bwg-flex">
|
821 |
+
<input type="text" name="built_in_watermark_color" id="built_in_watermark_color" value="<?php echo $row->built_in_watermark_color; ?>" class="color" onchange="preview_built_in_watermark()" />
|
|
|
|
|
822 |
</div>
|
823 |
+
<p class="description"><?php _e('Choose the color for the watermark text on images.', BWG()->prefix) ?></p>
|
824 |
</div>
|
825 |
+
</div>
|
826 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_opacity">
|
827 |
+
<div class="wd-group">
|
828 |
+
<label class="wd-label" for="built_in_watermark_opacity"><?php _e('Watermark opacity', BWG()->prefix); ?></label>
|
829 |
+
<div class="bwg-flex">
|
830 |
+
<input type="number" name="built_in_watermark_opacity" id="built_in_watermark_opacity" value="<?php echo $row->built_in_watermark_opacity; ?>" min="0" max="100" onchange="preview_built_in_watermark()" /><span>%</span>
|
|
|
|
|
|
|
831 |
</div>
|
832 |
+
<p class="description"><?php _e('Specify the opacity of the watermark. The value must be between 0 to 100.', BWG()->prefix) ?></p>
|
833 |
</div>
|
834 |
+
</div>
|
835 |
+
<div class="wd-box-content wd-width-100" id="tr_built_in_watermark_position">
|
836 |
+
<div class="wd-group">
|
837 |
+
<label class="wd-label"><?php _e('Watermark position', BWG()->prefix); ?></label>
|
838 |
+
<div class="">
|
839 |
+
<table class="bwg_position_table">
|
840 |
+
<tbody>
|
841 |
+
<tr>
|
842 |
+
<td><input type="radio" value="top-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
843 |
+
<td><input type="radio" value="top-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
844 |
+
<td><input type="radio" value="top-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
845 |
+
</tr>
|
846 |
+
<tr>
|
847 |
+
<td><input type="radio" value="middle-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
848 |
+
<td><input type="radio" value="middle-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
849 |
+
<td><input type="radio" value="middle-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
850 |
+
</tr>
|
851 |
+
<tr>
|
852 |
+
<td><input type="radio" value="bottom-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
853 |
+
<td><input type="radio" value="bottom-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
854 |
+
<td><input type="radio" value="bottom-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
|
855 |
+
</tr>
|
856 |
+
</tbody>
|
857 |
+
</table>
|
858 |
+
<input type="submit" class="button-primary" title="<?php _e('Set watermark', BWG()->prefix); ?>" style="margin-top: 5px;"
|
859 |
+
onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\'); return false;' : 'spider_set_input_value(\'task\', \'save\'); spider_set_input_value(\'watermark\', \'image_set_watermark\');'); ?>"
|
860 |
+
value="<?php _e('Set Watermark', BWG()->prefix); ?>"/>
|
861 |
+
<input type="submit" class="button" title="<?php _e('Reset watermark', BWG()->prefix); ?>" style="margin-top: 5px;"
|
862 |
+
onclick="<?php echo (BWG()->is_demo ? 'alert(\'' . addslashes(__('This option is disabled in demo.', BWG()->prefix)) . '\'); return false;' : 'spider_set_input_value(\'task\', \'image_recover_all\');'); ?>"
|
863 |
+
value="<?php _e('Reset Watermark', BWG()->prefix); ?>"/>
|
864 |
</div>
|
865 |
+
<p class="description"><?php _e('Mark the position where the watermark should appear on images.', BWG()->prefix) ?></p>
|
866 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
867 |
</div>
|
868 |
</div>
|
869 |
+
<div class="wd-box-content wd-width-50">
|
870 |
+
<span id="preview_built_in_watermark" style="display:table-cell; background-image:url('<?php echo BWG()->plugin_url . '/images/watermark_preview.jpg'?>');background-size:100% 100%;width:400px;height:400px;padding-top: 4px; position:relative;"></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
871 |
</div>
|
872 |
</div>
|
873 |
</div>
|
874 |
+
</div>
|
875 |
+
</div>
|
876 |
+
<div id="loading_div" class="bwg_show"></div>
|
877 |
+
<input id="recreate" name="recreate" type="hidden" value="" />
|
878 |
+
<input id="watermark" name="watermark" type="hidden" value="" />
|
879 |
+
<input id="active_tab" name="active_tab" type="hidden" value="<?php echo $params['active_tab']; ?>" />
|
880 |
+
<input id="gallery_type" name="gallery_type" type="hidden" value="<?php echo $params['gallery_type']; ?>" />
|
881 |
+
<input id="album_type" name="album_type" type="hidden" value="<?php echo $params['album_type']; ?>" />
|
882 |
+
<script>
|
883 |
+
function bwg_add_built_in_watermark_image(files) {
|
884 |
+
document.getElementById("built_in_watermark_url").value = '<?php echo site_url() . '/' . BWG()->upload_dir; ?>' + files[0]['url'];
|
885 |
+
}
|
886 |
+
function bwg_add_watermark_image(files) {
|
887 |
+
document.getElementById("watermark_url").value = '<?php echo site_url() . '/' . BWG()->upload_dir; ?>' + files[0]['url'];
|
888 |
+
}
|
889 |
+
jQuery(document).ready(function() {
|
890 |
+
bwg_inputs();
|
891 |
+
bwg_watermark('watermark_type_<?php echo $row->watermark_type ?>');
|
892 |
+
bwg_built_in_watermark('watermark_type_<?php echo $row->built_in_watermark_type ?>');
|
893 |
+
bwg_enable_disable(<?php echo $row->popup_fullscreen? "'none', 'tr_popup_dimensions', 'show_search_box_1'" : "'', 'tr_popup_dimensions', 'popup_fullscreen_0'" ?>);
|
894 |
+
bwg_enable_disable(<?php echo $row->show_search_box ? "'', 'tr_search_box_width', 'show_search_box_1'" : "'none', 'tr_search_box_width', 'show_search_box_0'" ?>);
|
895 |
+
bwg_enable_disable(<?php echo $row->show_search_box ? "'', 'tr_search_box_placeholder', 'show_search_box_1'" : "'none', 'tr_search_box_placeholder', 'show_search_box_0'" ?>);
|
896 |
+
bwg_enable_disable(<?php echo $row->masonry_show_search_box ? "'', 'tr_masonry_search_box_width', 'masonry_show_search_box_1'" : "'none', 'tr_masonry_search_box_width', 'masonry_show_search_box_0'" ?>);
|
897 |
+
bwg_enable_disable(<?php echo $row->masonry_show_search_box ? "'', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_1'" : "'none', 'tr_masonry_search_box_placeholder', 'masonry_show_search_box_0'" ?>);
|
898 |
+
bwg_enable_disable(<?php echo $row->mosaic_show_search_box ? "'', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_1'" : "'none', 'tr_mosaic_search_box_width', 'mosaic_show_search_box_0'" ?>);
|
899 |
+
bwg_enable_disable(<?php echo $row->mosaic_show_search_box ? "'', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_1'" : "'none', 'tr_mosaic_search_box_placeholder', 'mosaic_show_search_box_0'" ?>);
|
900 |
+
bwg_enable_disable(<?php echo $row->image_browser_show_search_box ? "'', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_1'" : "'none', 'tr_image_browser_search_box_width', 'image_browser_show_search_box_0'" ?>);
|
901 |
+
bwg_enable_disable(<?php echo $row->image_browser_show_search_box ? "'', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_1'" : "'none', 'tr_image_browser_search_box_placeholder', 'image_browser_show_search_box_0'" ?>);
|
902 |
+
bwg_enable_disable(<?php echo $row->blog_style_show_search_box ? "'', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_1'" : "'none', 'tr_blog_style_search_box_width', 'blog_style_show_search_box_0'" ?>);
|
903 |
+
bwg_enable_disable(<?php echo $row->blog_style_show_search_box ? "'', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_1'" : "'none', 'tr_blog_style_search_box_placeholder', 'blog_style_show_search_box_0'" ?>);
|
904 |
+
bwg_enable_disable(<?php echo $row->album_show_search_box ? "'', 'tr_album_search_box_width', 'album_show_search_box_1'" : "'none', 'tr_album_search_box_width', 'album_show_search_box_0'" ?>);
|
905 |
+
bwg_enable_disable(<?php echo $row->album_show_search_box ? "'', 'tr_album_search_box_placeholder', 'album_show_search_box_1'" : "'none', 'tr_album_search_box_placeholder', 'album_show_search_box_0'" ?>);
|
906 |
+
bwg_enable_disable(<?php echo $row->album_masonry_show_search_box ? "'', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_1'" : "'none', 'tr_album_masonry_search_box_width', 'album_masonry_show_search_box_0'" ?>);
|
907 |
+
bwg_enable_disable(<?php echo $row->album_masonry_show_search_box ? "'', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_1'" : "'none', 'tr_album_masonry_search_box_placeholder', 'album_masonry_show_search_box_0'" ?>);
|
908 |
+
bwg_enable_disable(<?php echo $row->album_extended_show_search_box ? "'', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_1'" : "'none', 'tr_album_extended_search_box_width', 'album_extended_show_search_box_0'" ?>);
|
909 |
+
bwg_enable_disable(<?php echo $row->album_extended_show_search_box ? "'', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_1'" : "'none', 'tr_album_extended_search_box_placeholder', 'album_extended_show_search_box_0'" ?>);
|
910 |
+
bwg_enable_disable(<?php echo $row->preload_images ? "'', 'tr_preload_images_count', 'preload_images_1'" : "'none', 'tr_preload_images_count', 'preload_images_0'" ?>);
|
911 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0'" ?>);
|
912 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_info', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_info', 'popup_enable_ctrl_btn_0'" ?>);
|
913 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_download', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_download', 'popup_enable_ctrl_btn_0'" ?>);
|
914 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_0'" ?>);
|
915 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_comment', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_comment', 'popup_enable_ctrl_btn_0'" ?>);
|
916 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_comment_moderation', 'popup_enable_comment_1'" : "'none', 'tr_comment_moderation', 'popup_enable_comment_0'") : "'none', 'tr_comment_moderation', 'popup_enable_comment_0'" ?>);
|
917 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_popup_email', 'popup_enable_comment_1'" : "'none', 'tr_popup_email', 'popup_enable_comment_0'") : "'none', 'tr_popup_email', 'popup_enable_comment_0'" ?>);
|
918 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_popup_captcha', 'popup_enable_comment_1'" : "'none', 'tr_popup_captcha', 'popup_enable_comment_0'") : "'none', 'tr_popup_captcha', 'popup_enable_comment_0'" ?>);
|
919 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_facebook', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_facebook', 'popup_enable_ctrl_btn_0'" ?>);
|
920 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_twitter', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_twitter', 'popup_enable_ctrl_btn_0'" ?>);
|
921 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_google', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_google', 'popup_enable_ctrl_btn_0'" ?>);
|
922 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_0'" ?>);
|
923 |
+
bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_thumblr', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_thumblr', 'popup_enable_ctrl_btn_0'" ?>);
|
924 |
+
bwg_enable_disable(<?php echo $row->popup_enable_filmstrip ? "'', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_1'" : "'none', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_0'" ?>);
|
925 |
+
bwg_enable_disable(<?php echo $row->slideshow_enable_filmstrip ? "'', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes'" : "'none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no'" ?>);
|
926 |
+
bwg_enable_disable(<?php echo $row->slideshow_enable_title ? "'', 'tr_slideshow_title_position', 'slideshow_enable_title_yes'" : "'none', 'tr_slideshow_title_position', 'slideshow_enable_title_no'" ?>);
|
927 |
+
bwg_enable_disable(<?php echo $row->slideshow_enable_description ? "'', 'tr_slideshow_description_position', 'slideshow_enable_description_yes'" : "'none', 'tr_slideshow_description_position', 'slideshow_enable_description_no'" ?>);
|
928 |
+
bwg_enable_disable(<?php echo $row->slideshow_enable_music ? "'', 'tr_slideshow_music_url', 'slideshow_enable_music_yes'" : "'none', 'tr_slideshow_music_url', 'slideshow_enable_music_no'" ?>);
|
929 |
+
bwg_enable_disable(<?php echo $row->slideshow_enable_ctrl ? "'', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_yes'" : "'none', 'tr_autohide_slideshow_navigation', 'slideshow_enable_ctrl_no'" ?>);
|
930 |
+
bwg_enable_disable(<?php echo $row->enable_addthis ? "'', 'tr_addthis_profile_id', 'enable_addthis_yes'" : "'none', 'tr_addthis_profile_id', 'enable_addthis_no'" ?>);
|
931 |
+
bwg_enable_disable(<?php echo $row->thumb_click_action == 'redirect_to_url' ? "'', 'tr_thumb_link_target', 'thumb_click_action_2'" : "'none', 'tr_thumb_link_target', 'thumb_click_action_" . ($row->thumb_click_action == 'open_lightbox' ? 1 : 3) . "'"; ?>);
|
932 |
+
bwg_enable_disable(<?php echo $row->image_enable_page == '2' ? "'', 'tr_load_more_image_count', 'image_enable_page_loadmore'" : "'none', 'tr_load_more_image_count', 'image_enable_page_" . ($row->image_enable_page == '0' ? 'no' : ($row->image_enable_page == '1' ? 'yes' : 'scroll_load')) . "'"; ?>);
|
933 |
+
bwg_enable_disable(<?php echo $row->masonry_image_enable_page == '2' ? "'', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_loadmore'" : "'none', 'tr_masonry_load_more_image_count', 'masonry_image_enable_page_" . ($row->masonry_image_enable_page == '0' ? 'no' : ($row->masonry_image_enable_page == '1' ? 'yes' : 'scroll_load')) . "'"; ?>);
|
934 |
+
bwg_enable_disable(<?php echo $row->mosaic_image_enable_page == '2' ? "'', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_loadmore'" : "'none', 'tr_mosaic_load_more_image_count', 'mosaic_image_enable_page_" . ($row->mosaic_image_enable_page == '0' ? 'no' : ($row->mosaic_image_enable_page == '1' ? 'yes' : 'scroll_load')) . "'"; ?>);
|
935 |
+
bwg_enable_disable(<?php echo $row->blog_style_enable_page == '2' ? "'', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_2'" : "'none', 'tr_blog_style_load_more_image_count', 'blog_style_enable_page_" . $row->blog_style_enable_page . "'"; ?>);
|
936 |
+
bwg_enable_disable(<?php echo $row->album_view_type == 'mosaic' ? "'', 'tr_album_mosaic', 'album_view_type_2'" : "'none', 'tr_album_mosaic', 'album_view_type_" . $row->album_view_type . "'"; ?>);
|
937 |
+
bwg_enable_disable(<?php echo $row->album_view_type == 'mosaic' ? "'', 'tr_album_resizable_mosaic', 'album_view_type_2'" : "'none', 'tr_album_resizable_mosaic', 'album_view_type_" . $row->album_view_type . "'"; ?>);
|
938 |
+
bwg_enable_disable(<?php echo $row->album_view_type == 'mosaic' ? "'', 'tr_album_mosaic_total_width', 'album_view_type_2'" : "'none', 'tr_album_mosaic_total_width', 'album_view_type_" . $row->album_view_type . "'"; ?>);
|
939 |
+
bwg_enable_disable(<?php echo $row->album_extended_view_type == 'mosaic' ? "'', 'tr_album_extended_mosaic', 'album_extended_view_type_2'" : "'none', 'tr_album_extended_mosaic', 'album_extended_view_type_" . $row->album_extended_view_type . "'"; ?>);
|
940 |
+
bwg_enable_disable(<?php echo $row->album_extended_view_type == 'mosaic' ? "'', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_2'" : "'none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_" . $row->album_extended_view_type . "'"; ?>);
|
941 |
+
bwg_enable_disable(<?php echo $row->album_extended_view_type == 'mosaic' ? "'', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_2'" : "'none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_" . $row->album_extended_view_type . "'"; ?>);
|
942 |
+
bwg_enable_disable(<?php echo $row->masonry == 'horizontal' ? "'none', 'tr_show_masonry_thumb_description', 'masonry_1'" : "'', 'tr_show_masonry_thumb_description', 'masonry_0'"; ?>);
|
943 |
+
preview_watermark();
|
944 |
+
preview_built_in_watermark();
|
945 |
+
bwg_show_hide_roles();
|
946 |
+
bwg_pagination_description(jQuery('#image_enable_page_<?php echo $row->image_enable_page; ?>'));
|
947 |
+
bwg_pagination_description(jQuery('#masonry_image_enable_page_<?php echo $row->masonry_image_enable_page; ?>'));
|
948 |
+
bwg_pagination_description(jQuery('#mosaic_image_enable_page_<?php echo $row->mosaic_image_enable_page; ?>'));
|
949 |
+
bwg_pagination_description(jQuery('#blog_style_enable_page_<?php echo $row->blog_style_enable_page; ?>'));
|
950 |
+
bwg_pagination_description(jQuery('#album_enable_page_<?php echo $row->album_enable_page; ?>'));
|
951 |
+
bwg_pagination_description(jQuery('#album_masonry_enable_page_<?php echo $row->album_masonry_enable_page; ?>'));
|
952 |
+
bwg_pagination_description(jQuery('#album_extended_enable_page_<?php echo $row->album_extended_enable_page; ?>'));
|
953 |
+
});
|
954 |
+
<?php if ( WDWLibrary::get('instagram_token') || WDWLibrary::get('code') ) { ?>
|
955 |
+
jQuery(window).load(function() {
|
956 |
+
var advanced_tab_index = 4;
|
957 |
+
jQuery( ".bwg_tabs" ).tabs({ active: advanced_tab_index });
|
958 |
+
});
|
959 |
+
<?php } ?>
|
960 |
+
</script>
|
961 |
+
<?php
|
962 |
+
}
|
963 |
+
|
964 |
+
private static function get_effects() {
|
965 |
+
return array(
|
966 |
+
'none' => __('None',BWG()->prefix),
|
967 |
+
'cubeH' => __('Cube Horizontal',BWG()->prefix),
|
968 |
+
'cubeV' => __('Cube Vertical',BWG()->prefix),
|
969 |
+
'fade' => __('Fade',BWG()->prefix),
|
970 |
+
'sliceH' => __('Slice Horizontal',BWG()->prefix),
|
971 |
+
'sliceV' => __('Slice Vertical',BWG()->prefix),
|
972 |
+
'slideH' => __('Slide Horizontal',BWG()->prefix),
|
973 |
+
'slideV' => __('Slide Vertical',BWG()->prefix),
|
974 |
+
'scaleOut' => __('Scale Out',BWG()->prefix),
|
975 |
+
'scaleIn' => __('Scale In',BWG()->prefix),
|
976 |
+
'blockScale' => __('Block Scale',BWG()->prefix),
|
977 |
+
'kaleidoscope' => __('Kaleidoscope',BWG()->prefix),
|
978 |
+
'fan' => __('Fan',BWG()->prefix),
|
979 |
+
'blindH' => __('Blind Horizontal',BWG()->prefix),
|
980 |
+
'blindV' => __('Blind Vertical',BWG()->prefix),
|
981 |
+
'random' => __('Random',BWG()->prefix),
|
982 |
+
);
|
983 |
+
}
|
984 |
+
|
985 |
+
public static function gallery_options($row) {
|
986 |
+
$effects = self::get_effects();
|
987 |
+
?>
|
988 |
+
<div id="thumbnails_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
989 |
+
<div class="wd-box-content wd-width-33">
|
990 |
+
<div class="wd-box-content wd-width-100">
|
991 |
+
<div class="wd-group">
|
992 |
+
<label class="wd-label" for="thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
993 |
+
<div class="bwg-flex">
|
994 |
+
<input type="number" name="thumb_width" id="thumb_width" value="<?php echo $row->thumb_width; ?>" min="0" /><span>x</span>
|
995 |
+
<input type="number" name="thumb_height" id="thumb_height" value="<?php echo $row->thumb_height; ?>" min="0" /><span>px</span>
|
996 |
+
</div>
|
997 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
998 |
+
</div>
|
999 |
+
</div>
|
1000 |
+
<div class="wd-box-content wd-width-100">
|
1001 |
+
<div class="wd-group">
|
1002 |
+
<label class="wd-label" for="image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
1003 |
+
<div class="bwg-flex">
|
1004 |
+
<input type="number" name="image_column_number" id="image_column_number" value="<?php echo $row->image_column_number; ?>" min="0" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1005 |
</div>
|
1006 |
+
<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.', BWG()->prefix); ?></p>
|
1007 |
+
</div>
|
1008 |
+
</div>
|
1009 |
+
<div class="wd-box-content wd-width-100">
|
1010 |
+
<div class="wd-group">
|
1011 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1012 |
+
<div class="bwg-flex">
|
1013 |
+
<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', BWG()->prefix); ?></label>
|
1014 |
+
<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', BWG()->prefix); ?></label>
|
1015 |
+
<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', BWG()->prefix); ?></label>
|
1016 |
+
<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', BWG()->prefix); ?></label>
|
1017 |
+
</div>
|
1018 |
+
<p class="description" id="image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1019 |
+
<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.', BWG()->prefix); ?></p>
|
1020 |
+
<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.', BWG()->prefix); ?></p>
|
1021 |
+
<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.', BWG()->prefix); ?></p>
|
1022 |
+
</div>
|
1023 |
+
</div>
|
1024 |
+
<div class="wd-box-content wd-width-100" id="tr_images_per_page">
|
1025 |
+
<div class="wd-group">
|
1026 |
+
<label class="wd-label" for="images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1027 |
+
<div class="bwg-flex">
|
1028 |
+
<input type="number" name="images_per_page" id="images_per_page" value="<?php echo $row->images_per_page; ?>" min="0" />
|
1029 |
</div>
|
1030 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1031 |
+
</div>
|
1032 |
+
</div>
|
1033 |
+
<div class="wd-box-content wd-width-100" id="tr_load_more_image_count">
|
1034 |
+
<div class="wd-group">
|
1035 |
+
<label class="wd-label" for="load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
1036 |
+
<div class="bwg-flex">
|
1037 |
+
<input type="number" name="load_more_image_count" id="load_more_image_count" value="<?php echo $row->load_more_image_count; ?>" min="0" />
|
|
|
1038 |
</div>
|
1039 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
1040 |
+
</div>
|
1041 |
+
</div>
|
1042 |
+
</div>
|
1043 |
+
<div class="wd-box-content wd-width-33">
|
1044 |
+
<div class="wd-box-content wd-width-100">
|
1045 |
+
<div class="wd-group">
|
1046 |
+
<label class="wd-label" for="sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1047 |
+
<select name="sort_by" id="sort_by">
|
1048 |
+
<option value="order" <?php if ($row->sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1049 |
+
<option value="alt" <?php if ($row->sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1050 |
+
<option value="date" <?php if ($row->sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1051 |
+
<option value="filename" <?php if ($row->sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1052 |
+
<option value="size" <?php if ($row->sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1053 |
+
<option value="filetype" <?php if ($row->sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1054 |
+
<option value="resolution" <?php if ($row->sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1055 |
+
<option value="random" <?php if ($row->sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1056 |
+
</select>
|
1057 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1058 |
+
</div>
|
1059 |
+
</div>
|
1060 |
+
<div class="wd-box-content wd-width-100">
|
1061 |
+
<div class="wd-group">
|
1062 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1063 |
+
<input type="radio" name="order_by" id="order_by_1" value="asc" <?php if ($row->order_by == 'asc') echo 'checked="checked"'; ?> /><label for="order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1064 |
+
<input type="radio" name="order_by" id="order_by_0" value="desc" <?php if ($row->order_by == 'desc') echo 'checked="checked"'; ?> /><label for="order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1065 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1066 |
+
</div>
|
1067 |
+
</div>
|
1068 |
+
<div class="wd-box-content wd-width-100">
|
1069 |
+
<div class="wd-group">
|
1070 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1071 |
+
<div class="bwg-flex">
|
1072 |
+
<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', BWG()->prefix); ?></label>
|
1073 |
+
<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', BWG()->prefix); ?></label>
|
1074 |
+
</div>
|
1075 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1076 |
+
</div>
|
1077 |
+
</div>
|
1078 |
+
<div class="wd-box-content wd-width-100" id="tr_search_box_placeholder">
|
1079 |
+
<div class="wd-group">
|
1080 |
+
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1081 |
+
<div class="bwg-flex">
|
1082 |
+
<input type="text" name="placeholder" id="placeholder" value="<?php echo $row->placeholder; ?>" />
|
1083 |
</div>
|
1084 |
</div>
|
1085 |
+
</div>
|
1086 |
+
<div class="wd-box-content wd-width-100" id="tr_search_box_width">
|
1087 |
+
<div class="wd-group">
|
1088 |
+
<label class="wd-label" for="search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1089 |
+
<div class="bwg-flex">
|
1090 |
+
<input type="number" name="search_box_width" id="search_box_width" value="<?php echo $row->search_box_width; ?>" min="0" /><span>px</span>
|
|
|
|
|
|
|
|
|
1091 |
</div>
|
1092 |
+
</div>
|
1093 |
+
</div>
|
1094 |
+
<div class="wd-box-content wd-width-100">
|
1095 |
+
<div class="wd-group">
|
1096 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1097 |
+
<div class="bwg-flex">
|
1098 |
+
<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', BWG()->prefix); ?></label>
|
1099 |
+
<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', BWG()->prefix); ?></label>
|
1100 |
+
</div>
|
1101 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1102 |
+
</div>
|
1103 |
+
</div>
|
1104 |
+
<div class="wd-box-content wd-width-100">
|
1105 |
+
<div class="wd-group">
|
1106 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1107 |
+
<div class="bwg-flex">
|
1108 |
+
<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', BWG()->prefix); ?></label>
|
1109 |
+
<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', BWG()->prefix); ?></label>
|
1110 |
+
</div>
|
1111 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1112 |
+
</div>
|
1113 |
+
</div>
|
1114 |
+
</div>
|
1115 |
+
<div class="wd-box-content wd-width-33">
|
1116 |
+
<div class="wd-box-content wd-width-100">
|
1117 |
+
<div class="wd-group">
|
1118 |
+
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1119 |
+
<div class="bwg-flex">
|
1120 |
+
<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', BWG()->prefix); ?></label>
|
1121 |
+
<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', BWG()->prefix); ?></label>
|
1122 |
+
</div>
|
1123 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1124 |
+
</div>
|
1125 |
+
</div>
|
1126 |
+
<div class="wd-box-content wd-width-100">
|
1127 |
+
<div class="wd-group">
|
1128 |
+
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1129 |
+
<div class="bwg-flex">
|
1130 |
+
<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', BWG()->prefix); ?></label>
|
1131 |
+
<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', BWG()->prefix); ?></label>
|
1132 |
+
</div>
|
1133 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1134 |
+
</div>
|
1135 |
+
</div>
|
1136 |
+
<div class="wd-box-content wd-width-100">
|
1137 |
+
<div class="wd-group">
|
1138 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1139 |
+
<div class="bwg-flex">
|
1140 |
+
<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', BWG()->prefix); ?></label>
|
1141 |
+
<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', BWG()->prefix); ?></label>
|
1142 |
+
<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", BWG()->prefix); ?></label>
|
1143 |
+
</div>
|
1144 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
1145 |
+
</div>
|
1146 |
+
</div>
|
1147 |
+
<div class="wd-box-content wd-width-100">
|
1148 |
+
<div class="wd-group">
|
1149 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
1150 |
+
<div class="bwg-flex">
|
1151 |
+
<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', BWG()->prefix); ?></label>
|
1152 |
+
<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', BWG()->prefix); ?></label>
|
1153 |
+
</div>
|
1154 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
1155 |
+
</div>
|
1156 |
+
</div>
|
1157 |
+
<div class="wd-box-content wd-width-100">
|
1158 |
+
<div class="wd-group">
|
1159 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1160 |
+
<div class="bwg-flex">
|
1161 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1162 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1163 |
+
</div>
|
1164 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1165 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1166 |
+
</div>
|
1167 |
+
</div>
|
1168 |
+
<?php
|
1169 |
+
if (function_exists('BWGEC')) {
|
1170 |
+
?>
|
1171 |
+
<div class="wd-box-content wd-width-100">
|
1172 |
+
<div class="wd-group">
|
1173 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
1174 |
+
<div class="bwg-flex">
|
1175 |
+
<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', BWG()->prefix); ?></label>
|
1176 |
+
<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', BWG()->prefix); ?></label>
|
1177 |
+
<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", BWG()->prefix); ?></label>
|
1178 |
</div>
|
1179 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
1180 |
</div>
|
1181 |
+
</div>
|
1182 |
+
<?php
|
1183 |
+
}
|
1184 |
+
?>
|
1185 |
+
</div>
|
1186 |
+
</div>
|
1187 |
+
<div id="thumbnails_masonry_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1188 |
+
<div class="wd-box-content wd-width-33">
|
1189 |
+
<div class="wd-box-content wd-width-100">
|
1190 |
+
<div class="wd-group">
|
1191 |
+
<label class="wd-label"><?php _e('Masonry type', BWG()->prefix); ?></label>
|
1192 |
+
<div class="bwg-flex">
|
1193 |
+
<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('', 'tr_show_masonry_thumb_description', 'masonry_0');" /><label for="masonry_0" class="wd-radio-label"><?php _e('Vertical', BWG()->prefix); ?></label>
|
1194 |
+
<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', 'tr_show_masonry_thumb_description', 'masonry_1');" /><label for="masonry_1" class="wd-radio-label"><?php _e('Horizontal', BWG()->prefix); ?></label>
|
1195 |
+
</div>
|
1196 |
+
<p class="description"><?php _e('Select the type of Masonry galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
1197 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1198 |
+
</div>
|
1199 |
+
</div>
|
1200 |
+
<div class="wd-box-content wd-width-100">
|
1201 |
+
<div class="wd-group">
|
1202 |
+
<label class="wd-label" for="masonry_thumb_size"><?php _e('Thumbnail size', BWG()->prefix); ?></label>
|
1203 |
+
<div class="bwg-flex">
|
1204 |
+
<input type="number" name="masonry_thumb_size" id="masonry_thumb_size" value="<?php echo $row->masonry_thumb_size; ?>" min="0" /><span>px</span>
|
1205 |
</div>
|
1206 |
+
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
1207 |
+
</div>
|
1208 |
+
</div>
|
1209 |
+
<div class="wd-box-content wd-width-100">
|
1210 |
+
<div class="wd-group">
|
1211 |
+
<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', BWG()->prefix); ?></label>
|
1212 |
+
<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', BWG()->prefix); ?></label>
|
1213 |
+
<div class="bwg-flex">
|
1214 |
+
<input type="number" name="masonry_image_column_number" id="masonry_image_column_number" value="<?php echo $row->masonry_image_column_number; ?>" min="0" />
|
1215 |
+
</div>
|
1216 |
+
<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.', BWG()->prefix); ?></p>
|
1217 |
+
</div>
|
1218 |
+
</div>
|
1219 |
+
<div class="wd-box-content wd-width-100">
|
1220 |
+
<div class="wd-group">
|
1221 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1222 |
+
<div class="bwg-flex">
|
1223 |
+
<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', BWG()->prefix); ?></label>
|
1224 |
+
<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', BWG()->prefix); ?></label>
|
1225 |
+
<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', BWG()->prefix); ?></label>
|
1226 |
+
<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', BWG()->prefix); ?></label>
|
1227 |
+
</div>
|
1228 |
+
<p class="description" id="masonry_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1229 |
+
<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.', BWG()->prefix); ?></p>
|
1230 |
+
<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.', BWG()->prefix); ?></p>
|
1231 |
+
<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.', BWG()->prefix); ?></p>
|
1232 |
+
</div>
|
1233 |
+
</div>
|
1234 |
+
<div class="wd-box-content wd-width-100" id="tr_masonry_images_per_page">
|
1235 |
+
<div class="wd-group">
|
1236 |
+
<label class="wd-label" for="masonry_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1237 |
+
<div class="bwg-flex">
|
1238 |
+
<input type="number" name="masonry_images_per_page" id="masonry_images_per_page" value="<?php echo $row->masonry_images_per_page; ?>" min="0" />
|
1239 |
</div>
|
1240 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1241 |
+
</div>
|
1242 |
+
</div>
|
1243 |
+
<div class="wd-box-content wd-width-100" id="tr_masonry_load_more_image_count">
|
1244 |
+
<div class="wd-group">
|
1245 |
+
<label class="wd-label" for="masonry_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
1246 |
+
<div class="bwg-flex">
|
1247 |
+
<input type="number" name="masonry_load_more_image_count" id="masonry_load_more_image_count" value="<?php echo $row->masonry_load_more_image_count; ?>" min="0" />
|
|
|
|
|
1248 |
</div>
|
1249 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
1250 |
+
</div>
|
1251 |
+
</div>
|
1252 |
+
</div>
|
1253 |
+
<div class="wd-box-content wd-width-33">
|
1254 |
+
<div class="wd-box-content wd-width-100">
|
1255 |
+
<div class="wd-group">
|
1256 |
+
<label class="wd-label" for="masonry_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1257 |
+
<select name="masonry_sort_by" id="masonry_sort_by">
|
1258 |
+
<option value="order" <?php if ($row->masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1259 |
+
<option value="alt" <?php if ($row->masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1260 |
+
<option value="date" <?php if ($row->masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1261 |
+
<option value="filename" <?php if ($row->masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1262 |
+
<option value="size" <?php if ($row->masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1263 |
+
<option value="filetype" <?php if ($row->masonry_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1264 |
+
<option value="resolution" <?php if ($row->masonry_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1265 |
+
<option value="random" <?php if ($row->masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1266 |
+
</select>
|
1267 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1268 |
+
</div>
|
1269 |
+
</div>
|
1270 |
+
<div class="wd-box-content wd-width-100">
|
1271 |
+
<div class="wd-group">
|
1272 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1273 |
+
<input type="radio" name="masonry_order_by" id="masonry_order_by_1" value="asc" <?php if ($row->masonry_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="masonry_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1274 |
+
<input type="radio" name="masonry_order_by" id="masonry_order_by_0" value="desc" <?php if ($row->masonry_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="masonry_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1275 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1276 |
+
</div>
|
1277 |
+
</div>
|
1278 |
+
<div class="wd-box-content wd-width-100">
|
1279 |
+
<div class="wd-group">
|
1280 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1281 |
+
<div class="bwg-flex">
|
1282 |
+
<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', BWG()->prefix); ?></label>
|
1283 |
+
<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', BWG()->prefix); ?></label>
|
1284 |
+
</div>
|
1285 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1286 |
+
</div>
|
1287 |
+
</div>
|
1288 |
+
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_placeholder">
|
1289 |
+
<div class="wd-group">
|
1290 |
+
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1291 |
+
<div class="bwg-flex">
|
1292 |
+
<input type="text" name="masonry_placeholder" id="masonry_placeholder" value="<?php echo $row->masonry_placeholder; ?>" />
|
1293 |
</div>
|
1294 |
+
</div>
|
1295 |
+
</div>
|
1296 |
+
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_width">
|
1297 |
+
<div class="wd-group">
|
1298 |
+
<label class="wd-label" for="masonry_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1299 |
+
<div class="bwg-flex">
|
1300 |
+
<input type="number" name="masonry_search_box_width" id="masonry_search_box_width" value="<?php echo $row->masonry_search_box_width; ?>" min="0" /><span>px</span>
|
|
|
|
|
1301 |
</div>
|
1302 |
+
</div>
|
1303 |
+
</div>
|
1304 |
+
<div class="wd-box-content wd-width-100">
|
1305 |
+
<div class="wd-group">
|
1306 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1307 |
+
<div class="bwg-flex">
|
1308 |
+
<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', BWG()->prefix); ?></label>
|
1309 |
+
<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', BWG()->prefix); ?></label>
|
1310 |
+
</div>
|
1311 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1312 |
+
</div>
|
1313 |
+
</div>
|
1314 |
+
<div class="wd-box-content wd-width-100">
|
1315 |
+
<div class="wd-group">
|
1316 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1317 |
+
<div class="bwg-flex">
|
1318 |
+
<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', BWG()->prefix); ?></label>
|
1319 |
+
<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', BWG()->prefix); ?></label>
|
1320 |
+
</div>
|
1321 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1322 |
+
</div>
|
1323 |
+
</div>
|
1324 |
+
</div>
|
1325 |
+
<div class="wd-box-content wd-width-33">
|
1326 |
+
<div class="wd-box-content wd-width-100">
|
1327 |
+
<div class="wd-group">
|
1328 |
+
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1329 |
+
<div class="bwg-flex">
|
1330 |
+
<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', BWG()->prefix); ?></label>
|
1331 |
+
<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', BWG()->prefix); ?></label>
|
1332 |
+
</div>
|
1333 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1334 |
+
</div>
|
1335 |
+
</div>
|
1336 |
+
<div class="wd-box-content wd-width-100">
|
1337 |
+
<div class="wd-group">
|
1338 |
+
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1339 |
+
<div class="bwg-flex">
|
1340 |
+
<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', BWG()->prefix); ?></label>
|
1341 |
+
<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', BWG()->prefix); ?></label>
|
1342 |
+
</div>
|
1343 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1344 |
+
</div>
|
1345 |
+
</div>
|
1346 |
+
<div class="wd-box-content wd-width-100" id="tr_show_masonry_thumb_description">
|
1347 |
+
<div class="wd-group">
|
1348 |
+
<label class="wd-label"><?php _e('Show image descriptions in Vertical Masonry', BWG()->prefix); ?></label>
|
1349 |
+
<div class="bwg-flex">
|
1350 |
+
<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', BWG()->prefix); ?></label>
|
1351 |
+
<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', BWG()->prefix); ?></label>
|
1352 |
+
</div>
|
1353 |
+
<p class="description"><?php _e('Enable this setting to display descriptions under images in Vertical Masonry view.', BWG()->prefix); ?></p>
|
1354 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1355 |
+
</div>
|
1356 |
+
</div>
|
1357 |
+
<div class="wd-box-content wd-width-100">
|
1358 |
+
<div class="wd-group">
|
1359 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
1360 |
+
<div class="bwg-flex">
|
1361 |
+
<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', BWG()->prefix); ?></label>
|
1362 |
+
<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', BWG()->prefix); ?></label>
|
1363 |
+
</div>
|
1364 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
1365 |
+
</div>
|
1366 |
+
</div>
|
1367 |
+
<div class="wd-box-content wd-width-100">
|
1368 |
+
<div class="wd-group">
|
1369 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1370 |
+
<div class="bwg-flex">
|
1371 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1372 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1373 |
+
</div>
|
1374 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1375 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1376 |
+
</div>
|
1377 |
+
</div>
|
1378 |
+
<?php
|
1379 |
+
if (function_exists('BWGEC')) {
|
1380 |
+
?>
|
1381 |
+
<div class="wd-box-content wd-width-100">
|
1382 |
+
<div class="wd-group">
|
1383 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
1384 |
+
<div class="bwg-flex">
|
1385 |
+
<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', BWG()->prefix); ?></label>
|
1386 |
+
<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", BWG()->prefix); ?></label>
|
1387 |
</div>
|
1388 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
1389 |
</div>
|
1390 |
+
</div>
|
1391 |
+
<?php
|
1392 |
+
}
|
1393 |
+
?>
|
1394 |
+
</div>
|
1395 |
+
</div>
|
1396 |
+
<div id="thumbnails_mosaic_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1397 |
+
<div class="wd-box-content wd-width-33">
|
1398 |
+
<div class="wd-box-content wd-width-100">
|
1399 |
+
<div class="wd-group">
|
1400 |
+
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
1401 |
+
<div class="bwg-flex">
|
1402 |
+
<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', BWG()->prefix); ?></label>
|
1403 |
+
<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', BWG()->prefix); ?></label>
|
1404 |
+
</div>
|
1405 |
+
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
1406 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1407 |
+
</div>
|
1408 |
+
</div>
|
1409 |
+
<div class="wd-box-content wd-width-100">
|
1410 |
+
<div class="wd-group">
|
1411 |
+
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
1412 |
+
<div class="bwg-flex">
|
1413 |
+
<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', BWG()->prefix); ?></label>
|
1414 |
+
<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', BWG()->prefix); ?></label>
|
1415 |
+
</div>
|
1416 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
1417 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1418 |
+
</div>
|
1419 |
+
</div>
|
1420 |
+
<div class="wd-box-content wd-width-100">
|
1421 |
+
<div class="wd-group">
|
1422 |
+
<label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
1423 |
+
<div class="bwg-flex">
|
1424 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo $row->mosaic_total_width; ?>" min="0" /><span>%</span>
|
1425 |
+
</div>
|
1426 |
+
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
1427 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1428 |
+
</div>
|
1429 |
+
</div>
|
1430 |
+
<div class="wd-box-content wd-width-100">
|
1431 |
+
<div class="wd-group">
|
1432 |
+
<label class="wd-label" for="mosaic_thumb_size"><?php _e('Thumbnail size', BWG()->prefix); ?></label>
|
1433 |
+
<div class="bwg-flex">
|
1434 |
+
<input type="number" name="mosaic_thumb_size" id="mosaic_thumb_size" value="<?php echo $row->mosaic_thumb_size; ?>" min="0" /><span>px</span>
|
1435 |
</div>
|
1436 |
+
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
1437 |
+
</div>
|
1438 |
+
</div>
|
1439 |
+
<div class="wd-box-content wd-width-100">
|
1440 |
+
<div class="wd-group">
|
1441 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1442 |
+
<div class="bwg-flex">
|
1443 |
+
<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', BWG()->prefix); ?></label>
|
1444 |
+
<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', BWG()->prefix); ?></label>
|
1445 |
+
<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', BWG()->prefix); ?></label>
|
1446 |
+
<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', BWG()->prefix); ?></label>
|
1447 |
+
</div>
|
1448 |
+
<p class="description" id="mosaic_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1449 |
+
<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.', BWG()->prefix); ?></p>
|
1450 |
+
<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.', BWG()->prefix); ?></p>
|
1451 |
+
<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.', BWG()->prefix); ?></p>
|
1452 |
+
</div>
|
1453 |
+
</div>
|
1454 |
+
<div class="wd-box-content wd-width-100" id="tr_mosaic_images_per_page">
|
1455 |
+
<div class="wd-group">
|
1456 |
+
<label class="wd-label" for="mosaic_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1457 |
+
<div class="bwg-flex">
|
1458 |
+
<input type="number" name="mosaic_images_per_page" id="mosaic_images_per_page" value="<?php echo $row->mosaic_images_per_page; ?>" min="0" />
|
1459 |
</div>
|
1460 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1461 |
+
</div>
|
1462 |
+
</div>
|
1463 |
+
<div class="wd-box-content wd-width-100" id="tr_mosaic_load_more_image_count">
|
1464 |
+
<div class="wd-group">
|
1465 |
+
<label class="wd-label" for="mosaic_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
1466 |
+
<div class="bwg-flex">
|
1467 |
+
<input type="number" name="mosaic_load_more_image_count" id="mosaic_load_more_image_count" value="<?php echo $row->mosaic_load_more_image_count; ?>" min="0" />
|
|
|
1468 |
</div>
|
1469 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
1470 |
+
</div>
|
1471 |
+
</div>
|
1472 |
+
</div>
|
1473 |
+
<div class="wd-box-content wd-width-33">
|
1474 |
+
<div class="wd-box-content wd-width-100">
|
1475 |
+
<div class="wd-group">
|
1476 |
+
<label class="wd-label" for="mosaic_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1477 |
+
<select name="mosaic_sort_by" id="mosaic_sort_by">
|
1478 |
+
<option value="order" <?php if ($row->mosaic_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1479 |
+
<option value="alt" <?php if ($row->mosaic_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1480 |
+
<option value="date" <?php if ($row->mosaic_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1481 |
+
<option value="filename" <?php if ($row->mosaic_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1482 |
+
<option value="size" <?php if ($row->mosaic_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1483 |
+
<option value="filetype" <?php if ($row->mosaic_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1484 |
+
<option value="resolution" <?php if ($row->mosaic_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1485 |
+
<option value="random" <?php if ($row->mosaic_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1486 |
+
</select>
|
1487 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1488 |
+
</div>
|
1489 |
+
</div>
|
1490 |
+
<div class="wd-box-content wd-width-100">
|
1491 |
+
<div class="wd-group">
|
1492 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1493 |
+
<input type="radio" name="mosaic_order_by" id="mosaic_order_by_1" value="asc" <?php if ($row->mosaic_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="mosaic_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1494 |
+
<input type="radio" name="mosaic_order_by" id="mosaic_order_by_0" value="desc" <?php if ($row->mosaic_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="mosaic_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1495 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1496 |
+
</div>
|
1497 |
+
</div>
|
1498 |
+
<div class="wd-box-content wd-width-100">
|
1499 |
+
<div class="wd-group">
|
1500 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1501 |
+
<div class="bwg-flex">
|
1502 |
+
<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', BWG()->prefix); ?></label>
|
1503 |
+
<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', BWG()->prefix); ?></label>
|
1504 |
+
</div>
|
1505 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1506 |
+
</div>
|
1507 |
+
</div>
|
1508 |
+
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_placeholder">
|
1509 |
+
<div class="wd-group">
|
1510 |
+
<label class="wd-label" for="mosaic_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1511 |
+
<div class="bwg-flex">
|
1512 |
+
<input type="text" name="mosaic_placeholder" id="mosaic_placeholder" value="<?php echo $row->mosaic_placeholder; ?>" />
|
1513 |
</div>
|
1514 |
+
</div>
|
1515 |
+
</div>
|
1516 |
+
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_width">
|
1517 |
+
<div class="wd-group">
|
1518 |
+
<label class="wd-label" for="mosaic_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1519 |
+
<div class="bwg-flex">
|
1520 |
+
<input type="number" name="mosaic_search_box_width" id="mosaic_search_box_width" value="<?php echo $row->mosaic_search_box_width; ?>" min="0" /><span>px</span>
|
|
|
|
|
|
|
1521 |
</div>
|
1522 |
+
</div>
|
1523 |
+
</div>
|
1524 |
+
<div class="wd-box-content wd-width-100">
|
1525 |
+
<div class="wd-group">
|
1526 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1527 |
+
<div class="bwg-flex">
|
1528 |
+
<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', BWG()->prefix); ?></label>
|
1529 |
+
<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', BWG()->prefix); ?></label>
|
1530 |
+
</div>
|
1531 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1532 |
+
</div>
|
1533 |
+
</div>
|
1534 |
+
<div class="wd-box-content wd-width-100">
|
1535 |
+
<div class="wd-group">
|
1536 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1537 |
+
<div class="bwg-flex">
|
1538 |
+
<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', BWG()->prefix); ?></label>
|
1539 |
+
<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', BWG()->prefix); ?></label>
|
1540 |
+
</div>
|
1541 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1542 |
+
</div>
|
1543 |
+
</div>
|
1544 |
+
</div>
|
1545 |
+
<div class="wd-box-content wd-width-33">
|
1546 |
+
<div class="wd-box-content wd-width-100">
|
1547 |
+
<div class="wd-group">
|
1548 |
+
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1549 |
+
<div class="bwg-flex">
|
1550 |
+
<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', BWG()->prefix); ?></label>
|
1551 |
+
<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', BWG()->prefix); ?></label>
|
1552 |
+
</div>
|
1553 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1554 |
+
</div>
|
1555 |
+
</div>
|
1556 |
+
<div class="wd-box-content wd-width-100">
|
1557 |
+
<div class="wd-group">
|
1558 |
+
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1559 |
+
<div class="bwg-flex">
|
1560 |
+
<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', BWG()->prefix); ?></label>
|
1561 |
+
<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', BWG()->prefix); ?></label>
|
1562 |
+
</div>
|
1563 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1564 |
+
</div>
|
1565 |
+
</div>
|
1566 |
+
<div class="wd-box-content wd-width-100">
|
1567 |
+
<div class="wd-group">
|
1568 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1569 |
+
<div class="bwg-flex">
|
1570 |
+
<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', BWG()->prefix); ?></label>
|
1571 |
+
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_0" value="show" <?php if ($row->mosaic_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
1572 |
+
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_2" value="none" <?php if ($row->mosaic_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
1573 |
+
</div>
|
1574 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
1575 |
+
</div>
|
1576 |
+
</div>
|
1577 |
+
<div class="wd-box-content wd-width-100">
|
1578 |
+
<div class="wd-group">
|
1579 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
1580 |
+
<div class="bwg-flex">
|
1581 |
+
<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', BWG()->prefix); ?></label>
|
1582 |
+
<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', BWG()->prefix); ?></label>
|
1583 |
+
</div>
|
1584 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
1585 |
+
</div>
|
1586 |
+
</div>
|
1587 |
+
<div class="wd-box-content wd-width-100">
|
1588 |
+
<div class="wd-group">
|
1589 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1590 |
+
<div class="bwg-flex">
|
1591 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1592 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1593 |
+
</div>
|
1594 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1595 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1596 |
+
</div>
|
1597 |
+
</div>
|
1598 |
+
<?php
|
1599 |
+
if (function_exists('BWGEC')) {
|
1600 |
+
?>
|
1601 |
+
<div class="wd-box-content wd-width-100">
|
1602 |
+
<div class="wd-group">
|
1603 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
1604 |
+
<div class="bwg-flex">
|
1605 |
+
<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', BWG()->prefix); ?></label>
|
1606 |
+
<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", BWG()->prefix); ?></label>
|
1607 |
</div>
|
1608 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
1609 |
</div>
|
1610 |
+
</div>
|
1611 |
+
<?php
|
1612 |
+
}
|
1613 |
+
?>
|
1614 |
+
</div>
|
1615 |
+
</div>
|
1616 |
+
<div id="slideshow_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1617 |
+
<div class="wd-box-content wd-width-33">
|
1618 |
+
<div class="wd-box-content wd-width-100">
|
1619 |
+
<div class="wd-group">
|
1620 |
+
<label class="wd-label" for="slideshow_type"><?php _e('Slideshow effect', BWG()->prefix); ?></label>
|
1621 |
+
<div class="bwg-flex">
|
1622 |
+
<select name="slideshow_type" id="slideshow_type">
|
1623 |
+
<?php
|
1624 |
+
foreach ($effects as $key => $effect) {
|
1625 |
+
?>
|
1626 |
+
<option value="<?php echo $key; ?>"
|
1627 |
+
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.', BWG()->prefix) . '"' : ''; ?>
|
1628 |
+
<?php if ($row->slideshow_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect, BWG()->prefix); ?></option>
|
1629 |
+
<?php
|
1630 |
+
}
|
1631 |
+
?>
|
1632 |
+
</select>
|
1633 |
</div>
|
1634 |
+
<p class="description"><?php _e('Select the animation effect for your slideshow.', BWG()->prefix); ?></p>
|
1635 |
+
</div>
|
1636 |
+
</div>
|
1637 |
+
<div class="wd-box-content wd-width-100">
|
1638 |
+
<div class="wd-group">
|
1639 |
+
<label class="wd-label" for="slideshow_effect_duration"><?php _e('Effect duration', BWG()->prefix); ?></label>
|
1640 |
+
<div class="bwg-flex">
|
1641 |
+
<input type="number" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo $row->slideshow_effect_duration; ?>" min="0" step="0.1" /><span>sec.</span>
|
|
|
|
|
1642 |
</div>
|
1643 |
+
<p class="description"><?php _e('Set the duration of your slideshow animation effect.', BWG()->prefix); ?></p>
|
1644 |
+
</div>
|
1645 |
+
</div>
|
1646 |
+
<div class="wd-box-content wd-width-100">
|
1647 |
+
<div class="wd-group">
|
1648 |
+
<label class="wd-label" for="slideshow_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
1649 |
+
<div class="bwg-flex">
|
1650 |
+
<input type="number" name="slideshow_interval" id="slideshow_interval" value="<?php echo $row->slideshow_interval; ?>" min="0" /><span>sec.</span>
|
|
|
|
|
1651 |
</div>
|
1652 |
+
<p class="description"><?php _e('Specify the time interval between slides in Photo Gallery\'s Slideshow view.', BWG()->prefix); ?></p>
|
1653 |
+
</div>
|
1654 |
+
</div>
|
1655 |
+
<div class="wd-box-content wd-width-100">
|
1656 |
+
<div class="wd-group">
|
1657 |
+
<label class="wd-label" for="slideshow_width"><?php _e('Slideshow dimensions', BWG()->prefix); ?></label>
|
1658 |
+
<div class="bwg-flex">
|
1659 |
+
<input type="number" name="slideshow_width" id="slideshow_width" value="<?php echo $row->slideshow_width; ?>" min="0" /><span>px</span>
|
1660 |
+
<input type="number" name="slideshow_height" id="slideshow_height" value="<?php echo $row->slideshow_height; ?>" min="0" /><span>px</span>
|
1661 |
+
</div>
|
1662 |
+
<p class="description"><?php _e('Set the default dimensions of your slideshow galleries.', BWG()->prefix); ?></p>
|
1663 |
+
</div>
|
1664 |
+
</div>
|
1665 |
+
</div>
|
1666 |
+
<div class="wd-box-content wd-width-33">
|
1667 |
+
<div class="wd-box-content wd-width-100">
|
1668 |
+
<div class="wd-group">
|
1669 |
+
<label class="wd-label" for="slideshow_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1670 |
+
<select name="slideshow_sort_by" id="slideshow_sort_by">
|
1671 |
+
<option value="order" <?php if ($row->slideshow_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1672 |
+
<option value="alt" <?php if ($row->slideshow_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1673 |
+
<option value="date" <?php if ($row->slideshow_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1674 |
+
<option value="filename" <?php if ($row->slideshow_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1675 |
+
<option value="size" <?php if ($row->slideshow_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1676 |
+
<option value="filetype" <?php if ($row->slideshow_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1677 |
+
<option value="resolution" <?php if ($row->slideshow_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1678 |
+
<option value="random" <?php if ($row->slideshow_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1679 |
+
</select>
|
1680 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1681 |
+
</div>
|
1682 |
+
</div>
|
1683 |
+
<div class="wd-box-content wd-width-100">
|
1684 |
+
<div class="wd-group">
|
1685 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1686 |
+
<input type="radio" name="slideshow_order_by" id="slideshow_order_by_1" value="asc" <?php if ($row->slideshow_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="slideshow_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1687 |
+
<input type="radio" name="slideshow_order_by" id="slideshow_order_by_0" value="desc" <?php if ($row->slideshow_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="slideshow_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1688 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1689 |
+
</div>
|
1690 |
+
</div>
|
1691 |
+
<div class="wd-box-content wd-width-100">
|
1692 |
+
<div class="wd-group">
|
1693 |
+
<label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
|
1694 |
+
<div class="bwg-flex">
|
1695 |
+
<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', BWG()->prefix); ?></label>
|
1696 |
+
<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', BWG()->prefix); ?></label>
|
1697 |
+
</div>
|
1698 |
+
<p class="description"><?php _e('Activate this option to autoplay slideshow galleries.', BWG()->prefix); ?></p>
|
1699 |
+
</div>
|
1700 |
+
</div>
|
1701 |
+
<div class="wd-box-content wd-width-100">
|
1702 |
+
<div class="wd-group">
|
1703 |
+
<label class="wd-label"><?php _e('Enable shuffle', BWG()->prefix); ?></label>
|
1704 |
+
<div class="bwg-flex">
|
1705 |
+
<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', BWG()->prefix); ?></label>
|
1706 |
+
<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', BWG()->prefix); ?></label>
|
1707 |
+
</div>
|
1708 |
+
<p class="description"><?php _e('The slideshow images will be shuffled in case this setting is enabled.', BWG()->prefix); ?></p>
|
1709 |
+
</div>
|
1710 |
+
</div>
|
1711 |
+
<div class="wd-box-content wd-width-100">
|
1712 |
+
<div class="wd-group">
|
1713 |
+
<label class="wd-label"><?php _e('Enable control buttons', BWG()->prefix); ?></label>
|
1714 |
+
<div class="bwg-flex">
|
1715 |
+
<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', BWG()->prefix); ?></label>
|
1716 |
+
<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', BWG()->prefix); ?></label>
|
1717 |
+
</div>
|
1718 |
+
<p class="description"><?php _e('Enable this option to show control buttons on your slideshow galleries.', BWG()->prefix); ?></p>
|
1719 |
+
</div>
|
1720 |
+
</div>
|
1721 |
+
<div class="wd-box-content wd-width-100" id="tr_autohide_slideshow_navigation">
|
1722 |
+
<div class="wd-group">
|
1723 |
+
<label class="wd-label"><?php _e('Show Next / Previous buttons', BWG()->prefix); ?></label>
|
1724 |
+
<div class="bwg-flex">
|
1725 |
+
<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', BWG()->prefix); ?></label>
|
1726 |
+
<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', BWG()->prefix); ?></label>
|
1727 |
+
</div>
|
1728 |
+
<p class="description"><?php _e('Display Next/Previous buttons on your slideshow galleries activating this setting.', BWG()->prefix); ?></p>
|
1729 |
+
</div>
|
1730 |
+
</div>
|
1731 |
+
</div>
|
1732 |
+
<div class="wd-box-content wd-width-33">
|
1733 |
+
<div class="wd-box-content wd-width-100">
|
1734 |
+
<div class="wd-group">
|
1735 |
+
<label class="wd-label"><?php _e('Enable slideshow filmstrip', BWG()->prefix); ?></label>
|
1736 |
+
<div class="bwg-flex">
|
1737 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_yes" value="1" <?php if ($row->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes')" /><label for="slideshow_enable_filmstrip_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1738 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_no" value="0" <?php if (!$row->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no')" /><label for="slideshow_enable_filmstrip_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1739 |
+
</div>
|
1740 |
+
<p class="description"><?php _e('Add a filmstrip with image thumbnails to your slideshow galleries by enabling this option.', BWG()->prefix); ?></p>
|
1741 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1742 |
+
</div>
|
1743 |
+
</div>
|
1744 |
+
<div class="wd-box-content wd-width-100" id="tr_slideshow_filmstrip_height">
|
1745 |
+
<div class="wd-group">
|
1746 |
+
<label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size', BWG()->prefix); ?></label>
|
1747 |
+
<div class="bwg-flex">
|
1748 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo $row->slideshow_filmstrip_height; ?>" min="0" /><span>px</span>
|
1749 |
+
</div>
|
1750 |
+
<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.', BWG()->prefix); ?></p>
|
1751 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1752 |
+
</div>
|
1753 |
+
</div>
|
1754 |
+
<div class="wd-box-content wd-width-100">
|
1755 |
+
<div class="wd-group">
|
1756 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1757 |
+
<div class="bwg-flex">
|
1758 |
+
<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', BWG()->prefix); ?></label>
|
1759 |
+
<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', BWG()->prefix); ?></label>
|
1760 |
+
</div>
|
1761 |
+
<p class="description"><?php _e('Enable this setting to display titles of images in Slideshow view.', BWG()->prefix); ?></p>
|
1762 |
+
</div>
|
1763 |
+
</div>
|
1764 |
+
<div class="wd-box-content wd-width-100" id="tr_slideshow_title_position">
|
1765 |
+
<div class="wd-group">
|
1766 |
+
<label class="wd-label"><?php _e('Title position', BWG()->prefix); ?></label>
|
1767 |
+
<div class="bwg-flex">
|
1768 |
+
<table class="bwg_position_table">
|
1769 |
+
<tbody>
|
1770 |
+
<tr>
|
1771 |
+
<td><input type="radio" value="top-left" id="slideshow_title_topLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-left") echo 'checked="checked"'; ?>></td>
|
1772 |
+
<td><input type="radio" value="top-center" id="slideshow_title_topCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-center") echo 'checked="checked"'; ?>></td>
|
1773 |
+
<td><input type="radio" value="top-right" id="slideshow_title_topRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-right") echo 'checked="checked"'; ?>></td>
|
1774 |
+
</tr>
|
1775 |
+
<tr>
|
1776 |
+
<td><input type="radio" value="middle-left" id="slideshow_title_midLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-left") echo 'checked="checked"'; ?>></td>
|
1777 |
+
<td><input type="radio" value="middle-center" id="slideshow_title_midCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-center") echo 'checked="checked"'; ?>></td>
|
1778 |
+
<td><input type="radio" value="middle-right" id="slideshow_title_midRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-right") echo 'checked="checked"'; ?>></td>
|
1779 |
+
</tr>
|
1780 |
+
<tr>
|
1781 |
+
<td><input type="radio" value="bottom-left" id="slideshow_title_botLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-left") echo 'checked="checked"'; ?>></td>
|
1782 |
+
<td><input type="radio" value="bottom-center" id="slideshow_title_botCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-center") echo 'checked="checked"'; ?>></td>
|
1783 |
+
<td><input type="radio" value="bottom-right" id="slideshow_title_botRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-right") echo 'checked="checked"'; ?>></td>
|
1784 |
+
</tr>
|
1785 |
+
</tbody>
|
1786 |
+
</table>
|
1787 |
+
</div>
|
1788 |
+
<p class="description"><?php _e('Set the position of image titles in Slideshow view.', BWG()->prefix); ?></p>
|
1789 |
+
</div>
|
1790 |
+
</div>
|
1791 |
+
<div class="wd-box-content wd-width-100" id="tr_slideshow_full_width_title">
|
1792 |
+
<div class="wd-group">
|
1793 |
+
<label class="wd-label"><?php _e('Full width title', BWG()->prefix); ?></label>
|
1794 |
+
<div class="bwg-flex">
|
1795 |
+
<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', BWG()->prefix); ?></label>
|
1796 |
+
<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', BWG()->prefix); ?></label>
|
1797 |
+
</div>
|
1798 |
+
<p class="description"><?php _e('Display image title based on the slideshow dimensions.', BWG()->prefix); ?></p>
|
1799 |
+
</div>
|
1800 |
+
</div>
|
1801 |
+
<div class="wd-box-content wd-width-100">
|
1802 |
+
<div class="wd-group">
|
1803 |
+
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1804 |
+
<div class="bwg-flex">
|
1805 |
+
<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', BWG()->prefix); ?></label>
|
1806 |
+
<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', BWG()->prefix); ?></label>
|
1807 |
+
</div>
|
1808 |
+
<p class="description"><?php _e('Enable this setting to show descriptions of images in Slideshow view.', BWG()->prefix); ?></p>
|
1809 |
+
</div>
|
1810 |
+
</div>
|
1811 |
+
<div class="wd-box-content wd-width-100" id="tr_slideshow_description_position">
|
1812 |
+
<div class="wd-group">
|
1813 |
+
<label class="wd-label"><?php _e('Description position', BWG()->prefix); ?></label>
|
1814 |
+
<div class="bwg-flex">
|
1815 |
+
<table class="bwg_position_table">
|
1816 |
+
<tbody>
|
1817 |
+
<tr>
|
1818 |
+
<td><input type="radio" value="top-left" id="slideshow_description_topLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-left") echo 'checked="checked"'; ?>></td>
|
1819 |
+
<td><input type="radio" value="top-center" id="slideshow_description_topCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-center") echo 'checked="checked"'; ?>></td>
|
1820 |
+
<td><input type="radio" value="top-right" id="slideshow_description_topRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-right") echo 'checked="checked"'; ?>></td>
|
1821 |
+
</tr>
|
1822 |
+
<tr>
|
1823 |
+
<td><input type="radio" value="middle-left" id="slideshow_description_midLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-left") echo 'checked="checked"'; ?>></td>
|
1824 |
+
<td><input type="radio" value="middle-center" id="slideshow_description_midCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-center") echo 'checked="checked"'; ?>></td>
|
1825 |
+
<td><input type="radio" value="middle-right" id="slideshow_description_midRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-right") echo 'checked="checked"'; ?>></td>
|
1826 |
+
</tr>
|
1827 |
+
<tr>
|
1828 |
+
<td><input type="radio" value="bottom-left" id="slideshow_description_botLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-left") echo 'checked="checked"'; ?>></td>
|
1829 |
+
<td><input type="radio" value="bottom-center" id="slideshow_description_botCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-center") echo 'checked="checked"'; ?>></td>
|
1830 |
+
<td><input type="radio" value="bottom-right" id="slideshow_description_botRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-right") echo 'checked="checked"'; ?>></td>
|
1831 |
+
</tr>
|
1832 |
+
</tbody>
|
1833 |
+
</table>
|
1834 |
+
</div>
|
1835 |
+
<p class="description"><?php _e('Set the position of image descriptions in Slideshow view.', BWG()->prefix); ?></p>
|
1836 |
+
</div>
|
1837 |
+
</div>
|
1838 |
+
<div class="wd-box-content wd-width-100">
|
1839 |
+
<div class="wd-group">
|
1840 |
+
<label class="wd-label"><?php _e('Enable slideshow Music', BWG()->prefix); ?></label>
|
1841 |
+
<div class="bwg-flex">
|
1842 |
+
<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', BWG()->prefix); ?></label>
|
1843 |
+
<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', BWG()->prefix); ?></label>
|
1844 |
+
</div>
|
1845 |
+
<p class="description"><?php _e('Enabling this option, you can have music playing along with your slideshow.', BWG()->prefix); ?></p>
|
1846 |
+
</div>
|
1847 |
+
</div>
|
1848 |
+
<div class="wd-box-content wd-width-100" id="tr_slideshow_music_url">
|
1849 |
+
<div class="wd-group">
|
1850 |
+
<label class="wd-label" for="slideshow_audio_url"><?php _e('Audio URL', BWG()->prefix); ?></label>
|
1851 |
+
<div class="bwg-flex">
|
1852 |
+
<input type="text" id="slideshow_audio_url" name="slideshow_audio_url" value="<?php echo $row->slideshow_audio_url; ?>" />
|
1853 |
</div>
|
1854 |
+
<p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.', BWG()->prefix); ?></p>
|
1855 |
+
</div>
|
1856 |
+
</div>
|
1857 |
+
<div class="wd-box-content wd-width-100">
|
1858 |
+
<div class="wd-group">
|
1859 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1860 |
+
<div class="bwg-flex">
|
1861 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1862 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1863 |
+
</div>
|
1864 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1865 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1866 |
</div>
|
1867 |
</div>
|
1868 |
</div>
|
1869 |
</div>
|
1870 |
+
<div id="image_browser_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1871 |
+
<div class="wd-box-content wd-width-33">
|
1872 |
+
<div class="wd-box-content wd-width-100">
|
1873 |
+
<div class="wd-group">
|
1874 |
+
<label class="wd-label" for="image_browser_width"><?php _e('Image width', BWG()->prefix); ?></label>
|
1875 |
+
<div class="bwg-flex">
|
1876 |
+
<input type="number" name="image_browser_width" id="image_browser_width" value="<?php echo $row->image_browser_width; ?>" min="0" /><span>px</span>
|
1877 |
+
</div>
|
1878 |
+
<p class="description"><?php _e('Specify the default width of images in Image Browser view.', BWG()->prefix); ?></p>
|
1879 |
+
</div>
|
1880 |
+
</div>
|
1881 |
+
<div class="wd-box-content wd-width-100">
|
1882 |
+
<div class="wd-group">
|
1883 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1884 |
+
<div class="bwg-flex">
|
1885 |
+
<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', BWG()->prefix); ?></label>
|
1886 |
+
<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', BWG()->prefix); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1887 |
</div>
|
1888 |
</div>
|
1889 |
</div>
|
1890 |
+
<div class="wd-box-content wd-width-100">
|
1891 |
+
<div class="wd-group">
|
1892 |
+
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1893 |
+
<div class="bwg-flex">
|
1894 |
+
<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', BWG()->prefix); ?></label>
|
1895 |
+
<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', BWG()->prefix); ?></label>
|
1896 |
+
</div>
|
1897 |
+
<p class="description"><?php _e('Enable this setting to display titles of images in Image Browser view.', BWG()->prefix); ?></p>
|
1898 |
+
</div>
|
1899 |
+
</div>
|
1900 |
+
</div>
|
1901 |
+
<div class="wd-box-content wd-width-33">
|
1902 |
+
<div class="wd-box-content wd-width-100">
|
1903 |
+
<div class="wd-group">
|
1904 |
+
<label class="wd-label" for="image_browser_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1905 |
+
<select name="image_browser_sort_by" id="image_browser_sort_by">
|
1906 |
+
<option value="order" <?php if ($row->image_browser_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1907 |
+
<option value="alt" <?php if ($row->image_browser_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1908 |
+
<option value="date" <?php if ($row->image_browser_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1909 |
+
<option value="filename" <?php if ($row->image_browser_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1910 |
+
<option value="size" <?php if ($row->image_browser_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1911 |
+
<option value="filetype" <?php if ($row->image_browser_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1912 |
+
<option value="resolution" <?php if ($row->image_browser_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1913 |
+
<option value="random" <?php if ($row->image_browser_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1914 |
+
</select>
|
1915 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></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('Order direction', BWG()->prefix); ?></label>
|
1921 |
+
<input type="radio" name="image_browser_order_by" id="image_browser_order_by_1" value="asc" <?php if ($row->image_browser_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="image_browser_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1922 |
+
<input type="radio" name="image_browser_order_by" id="image_browser_order_by_0" value="desc" <?php if ($row->image_browser_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="image_browser_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1923 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1924 |
+
</div>
|
1925 |
+
</div>
|
1926 |
+
<div class="wd-box-content wd-width-100">
|
1927 |
+
<div class="wd-group">
|
1928 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1929 |
+
<div class="bwg-flex">
|
1930 |
+
<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', BWG()->prefix); ?></label>
|
1931 |
+
<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', BWG()->prefix); ?></label>
|
1932 |
+
</div>
|
1933 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1934 |
+
</div>
|
1935 |
+
</div>
|
1936 |
+
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_placeholder">
|
1937 |
+
<div class="wd-group">
|
1938 |
+
<label class="wd-label" for="image_browser_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1939 |
+
<div class="bwg-flex">
|
1940 |
+
<input type="text" name="image_browser_placeholder" id="image_browser_placeholder" value="<?php echo $row->image_browser_placeholder; ?>" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1941 |
</div>
|
1942 |
</div>
|
1943 |
</div>
|
1944 |
+
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_width">
|
1945 |
+
<div class="wd-group">
|
1946 |
+
<label class="wd-label" for="image_browser_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1947 |
+
<div class="bwg-flex">
|
1948 |
+
<input type="number" name="image_browser_search_box_width" id="image_browser_search_box_width" value="<?php echo $row->image_browser_search_box_width; ?>" min="0" /><span>px</span>
|
1949 |
+
</div>
|
1950 |
+
</div>
|
1951 |
+
</div>
|
1952 |
+
</div>
|
1953 |
+
<div class="wd-box-content wd-width-33">
|
1954 |
+
<div class="wd-box-content wd-width-100">
|
1955 |
+
<div class="wd-group">
|
1956 |
+
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1957 |
+
<div class="bwg-flex">
|
1958 |
+
<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', BWG()->prefix); ?></label>
|
1959 |
+
<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', BWG()->prefix); ?></label>
|
1960 |
+
</div>
|
1961 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1962 |
+
</div>
|
1963 |
+
</div>
|
1964 |
+
<div class="wd-box-content wd-width-100">
|
1965 |
+
<div class="wd-group">
|
1966 |
+
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1967 |
+
<div class="bwg-flex">
|
1968 |
+
<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', BWG()->prefix); ?></label>
|
1969 |
+
<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', BWG()->prefix); ?></label>
|
1970 |
+
</div>
|
1971 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1972 |
+
</div>
|
1973 |
+
</div>
|
1974 |
+
<div class="wd-box-content wd-width-100">
|
1975 |
+
<div class="wd-group">
|
1976 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1977 |
+
<div class="bwg-flex">
|
1978 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1979 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
1980 |
+
</div>
|
1981 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1982 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1983 |
+
</div>
|
1984 |
+
</div>
|
1985 |
+
</div>
|
1986 |
+
</div>
|
1987 |
+
<div id="blog_style_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1988 |
+
<div class="wd-box-content wd-width-33">
|
1989 |
+
<div class="wd-box-content wd-width-100">
|
1990 |
+
<div class="wd-group">
|
1991 |
+
<label class="wd-label" for="blog_style_width"><?php _e('Image width', BWG()->prefix); ?></label>
|
1992 |
+
<div class="bwg-flex">
|
1993 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_width" id="blog_style_width" value="<?php echo $row->blog_style_width; ?>" min="0" /><span>px</span>
|
1994 |
+
</div>
|
1995 |
+
<p class="description"><?php _e('Specify the default width of images in Blog Style view.', BWG()->prefix); ?></p>
|
1996 |
+
</div>
|
1997 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1998 |
+
</div>
|
1999 |
+
<div class="wd-box-content wd-width-100">
|
2000 |
+
<div class="wd-group">
|
2001 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2002 |
+
<div class="bwg-flex">
|
2003 |
+
<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', BWG()->prefix); ?></label>
|
2004 |
+
<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', BWG()->prefix); ?></label>
|
2005 |
+
<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', BWG()->prefix); ?></label>
|
2006 |
+
<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', BWG()->prefix); ?></label>
|
2007 |
+
</div>
|
2008 |
+
<p class="description" id="blog_style_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2009 |
+
<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.', BWG()->prefix); ?></p>
|
2010 |
+
<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.', BWG()->prefix); ?></p>
|
2011 |
+
<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.', BWG()->prefix); ?></p>
|
2012 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2013 |
+
</div>
|
2014 |
+
</div>
|
2015 |
+
<div class="wd-box-content wd-width-100" id="tr_blog_style_images_per_page">
|
2016 |
+
<div class="wd-group">
|
2017 |
+
<label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2018 |
+
<div class="bwg-flex">
|
2019 |
+
<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 $row->blog_style_images_per_page; ?>" min="0" />
|
2020 |
+
</div>
|
2021 |
+
<p class="description"><?php _e('Select the number of images displayed per page in Blog Style view.', BWG()->prefix); ?></p>
|
2022 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2023 |
+
</div>
|
2024 |
+
</div>
|
2025 |
+
<div class="wd-box-content wd-width-100" id="tr_blog_style_load_more_image_count">
|
2026 |
+
<div class="wd-group">
|
2027 |
+
<label class="wd-label" for="blog_style_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
2028 |
+
<div class="bwg-flex">
|
2029 |
+
<input type="number" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo $row->blog_style_load_more_image_count; ?>" min="0" />
|
2030 |
+
</div>
|
2031 |
+
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
2032 |
+
</div>
|
2033 |
+
</div>
|
2034 |
+
</div>
|
2035 |
+
<div class="wd-box-content wd-width-33">
|
2036 |
+
<div class="wd-box-content wd-width-100">
|
2037 |
+
<div class="wd-group">
|
2038 |
+
<label class="wd-label" for="blog_style_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2039 |
+
<select name="blog_style_sort_by" id="blog_style_sort_by">
|
2040 |
+
<option value="order" <?php if ($row->blog_style_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2041 |
+
<option value="alt" <?php if ($row->blog_style_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2042 |
+
<option value="date" <?php if ($row->blog_style_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2043 |
+
<option value="filename" <?php if ($row->blog_style_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2044 |
+
<option value="size" <?php if ($row->blog_style_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2045 |
+
<option value="filetype" <?php if ($row->blog_style_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2046 |
+
<option value="resolution" <?php if ($row->blog_style_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2047 |
+
<option value="random" <?php if ($row->blog_style_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2048 |
+
</select>
|
2049 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2050 |
+
</div>
|
2051 |
+
</div>
|
2052 |
+
<div class="wd-box-content wd-width-100">
|
2053 |
+
<div class="wd-group">
|
2054 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2055 |
+
<input type="radio" name="blog_style_order_by" id="blog_style_order_by_1" value="asc" <?php if ($row->blog_style_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="blog_style_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2056 |
+
<input type="radio" name="blog_style_order_by" id="blog_style_order_by_0" value="desc" <?php if ($row->blog_style_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="blog_style_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2057 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2058 |
+
</div>
|
2059 |
+
</div>
|
2060 |
+
<div class="wd-box-content wd-width-100">
|
2061 |
+
<div class="wd-group">
|
2062 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2063 |
+
<div class="bwg-flex">
|
2064 |
+
<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', BWG()->prefix); ?></label>
|
2065 |
+
<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', BWG()->prefix); ?></label>
|
2066 |
+
</div>
|
2067 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2068 |
+
</div>
|
2069 |
+
</div>
|
2070 |
+
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_placeholder">
|
2071 |
+
<div class="wd-group">
|
2072 |
+
<label class="wd-label" for="blog_style_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2073 |
+
<div class="bwg-flex">
|
2074 |
+
<input type="text" name="blog_style_placeholder" id="blog_style_placeholder" value="<?php echo $row->blog_style_placeholder; ?>" />
|
2075 |
+
</div>
|
2076 |
+
</div>
|
2077 |
+
</div>
|
2078 |
+
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_width">
|
2079 |
+
<div class="wd-group">
|
2080 |
+
<label class="wd-label" for="blog_style_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2081 |
+
<div class="bwg-flex">
|
2082 |
+
<input type="number" name="blog_style_search_box_width" id="blog_style_search_box_width" value="<?php echo $row->blog_style_search_box_width; ?>" min="0" /><span>px</span>
|
2083 |
+
</div>
|
2084 |
+
</div>
|
2085 |
+
</div>
|
2086 |
+
<div class="wd-box-content wd-width-100">
|
2087 |
+
<div class="wd-group">
|
2088 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2089 |
+
<div class="bwg-flex">
|
2090 |
+
<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', BWG()->prefix); ?></label>
|
2091 |
+
<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', BWG()->prefix); ?></label>
|
2092 |
+
</div>
|
2093 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2094 |
+
</div>
|
2095 |
+
</div>
|
2096 |
+
<div class="wd-box-content wd-width-100">
|
2097 |
+
<div class="wd-group">
|
2098 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2099 |
+
<div class="bwg-flex">
|
2100 |
+
<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', BWG()->prefix); ?></label>
|
2101 |
+
<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', BWG()->prefix); ?></label>
|
2102 |
+
</div>
|
2103 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2104 |
+
</div>
|
2105 |
+
</div>
|
2106 |
+
</div>
|
2107 |
+
<div class="wd-box-content wd-width-33">
|
2108 |
+
<div class="wd-box-content wd-width-100">
|
2109 |
+
<div class="wd-group">
|
2110 |
+
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
2111 |
+
<div class="bwg-flex">
|
2112 |
+
<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', BWG()->prefix); ?></label>
|
2113 |
+
<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', BWG()->prefix); ?></label>
|
2114 |
+
</div>
|
2115 |
+
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
2116 |
+
</div>
|
2117 |
+
</div>
|
2118 |
+
<div class="wd-box-content wd-width-100">
|
2119 |
+
<div class="wd-group">
|
2120 |
+
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
2121 |
+
<div class="bwg-flex">
|
2122 |
+
<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', BWG()->prefix); ?></label>
|
2123 |
+
<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', BWG()->prefix); ?></label>
|
2124 |
+
</div>
|
2125 |
+
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
2126 |
+
</div>
|
2127 |
+
</div>
|
2128 |
+
<div class="wd-box-content wd-width-100">
|
2129 |
+
<div class="wd-group">
|
2130 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
2131 |
+
<div class="bwg-flex">
|
2132 |
+
<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', BWG()->prefix); ?></label>
|
2133 |
+
<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', BWG()->prefix); ?></label>
|
2134 |
+
</div>
|
2135 |
+
<p class="description"><?php _e('Enable this setting to display titles of images in Blog Style view.', BWG()->prefix); ?></p>
|
2136 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2137 |
+
</div>
|
2138 |
+
</div>
|
2139 |
+
<div class="wd-box-content wd-width-100">
|
2140 |
+
<div class="wd-group">
|
2141 |
+
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
2142 |
+
<div class="bwg-flex">
|
2143 |
+
<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', BWG()->prefix); ?></label>
|
2144 |
+
<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', BWG()->prefix); ?></label>
|
2145 |
+
</div>
|
2146 |
+
<p class="description"><?php _e('Enable this setting to show descriptions of images in Blog Style view.', BWG()->prefix); ?></p>
|
2147 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2148 |
+
</div>
|
2149 |
+
</div>
|
2150 |
+
<div class="wd-box-content wd-width-100">
|
2151 |
+
<div class="wd-group">
|
2152 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2153 |
+
<div class="bwg-flex">
|
2154 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2155 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2156 |
+
</div>
|
2157 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2158 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2159 |
+
</div>
|
2160 |
+
</div>
|
2161 |
+
</div>
|
2162 |
+
</div>
|
2163 |
+
<div id="carousel_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
2164 |
+
<div class="wd-box-content wd-width-33">
|
2165 |
+
<div class="wd-box-content wd-width-100">
|
2166 |
+
<div class="wd-group">
|
2167 |
+
<label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images', BWG()->prefix); ?></label>
|
2168 |
+
<div class="bwg-flex">
|
2169 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_column_number" id="carousel_image_column_number" value="<?php echo $row->carousel_image_column_number; ?>" min="0" /><span>sec.</span>
|
2170 |
</div>
|
2171 |
+
<p class="description"><?php _e('Set the maximum number of images that are shown with Carousel display.', BWG()->prefix); ?></p>
|
2172 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2173 |
+
</div>
|
2174 |
+
</div>
|
2175 |
+
<div class="wd-box-content wd-width-100">
|
2176 |
+
<div class="wd-group">
|
2177 |
+
<label class="wd-label" for="carousel_width"><?php _e('Image dimensions', BWG()->prefix); ?></label>
|
2178 |
+
<div class="bwg-flex">
|
2179 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_width" id="carousel_width" value="<?php echo $row->carousel_width; ?>" min="0" /><span>x</span>
|
2180 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_height" id="carousel_height" value="<?php echo $row->carousel_height; ?>" min="0" /><span>px</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2181 |
</div>
|
2182 |
+
<p class="description"><?php _e('Specify the dimensions of carousel images in pixels.', BWG()->prefix); ?></p>
|
2183 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2184 |
</div>
|
2185 |
+
</div>
|
2186 |
+
<div class="wd-box-content wd-width-100">
|
2187 |
+
<div class="wd-group">
|
2188 |
+
<label class="wd-label" for="carousel_image_par"><?php _e('Carousel image ratio', BWG()->prefix); ?></label>
|
2189 |
+
<div class="bwg-flex">
|
2190 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_par" id="carousel_image_par" value="<?php echo $row->carousel_image_par; ?>" min="0" max="1" step="0.01" />
|
2191 |
+
</div>
|
2192 |
+
<p class="description"><?php _e('This option defines the dimensions ratio of images in Carousel view. E.g. for square images set ratio to 1.', BWG()->prefix); ?></p>
|
2193 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2194 |
</div>
|
2195 |
</div>
|
2196 |
+
<div class="wd-box-content wd-width-100">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2197 |
<div class="wd-group">
|
2198 |
+
<label class="wd-label" for="carousel_r_width"><?php _e('Fixed width', BWG()->prefix); ?></label>
|
2199 |
<div class="bwg-flex">
|
2200 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_r_width" id="carousel_r_width" value="<?php echo $row->carousel_r_width; ?>" min="0" /><span>px</span>
|
|
|
|
|
|
|
|
|
|
|
2201 |
</div>
|
2202 |
+
<p class="description"><?php _e('Specify the fixed width of Carousel gallery container.', BWG()->prefix); ?></p>
|
2203 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2204 |
</div>
|
2205 |
</div>
|
2206 |
+
</div>
|
2207 |
+
<div class="wd-box-content wd-width-33">
|
2208 |
+
<div class="wd-box-content wd-width-100">
|
2209 |
<div class="wd-group">
|
2210 |
+
<label class="wd-label" for="carousel_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2211 |
+
<select name="carousel_sort_by" id="carousel_sort_by">
|
2212 |
+
<option value="order" <?php if ($row->carousel_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2213 |
+
<option value="alt" <?php if ($row->carousel_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2214 |
+
<option value="date" <?php if ($row->carousel_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2215 |
+
<option value="filename" <?php if ($row->carousel_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2216 |
+
<option value="size" <?php if ($row->carousel_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2217 |
+
<option value="filetype" <?php if ($row->carousel_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2218 |
+
<option value="resolution" <?php if ($row->carousel_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2219 |
+
<option value="random" <?php if ($row->carousel_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2220 |
+
</select>
|
2221 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2222 |
+
</div>
|
2223 |
+
</div>
|
2224 |
+
<div class="wd-box-content wd-width-100">
|
2225 |
+
<div class="wd-group">
|
2226 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2227 |
+
<input type="radio" name="carousel_order_by" id="carousel_order_by_1" value="asc" <?php if ($row->carousel_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="carousel_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2228 |
+
<input type="radio" name="carousel_order_by" id="carousel_order_by_0" value="desc" <?php if ($row->carousel_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="carousel_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2229 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2230 |
+
</div>
|
2231 |
+
</div>
|
2232 |
+
<div class="wd-box-content wd-width-100">
|
2233 |
+
<div class="wd-group">
|
2234 |
+
<label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
|
2235 |
+
<div class="bwg-flex">
|
2236 |
+
<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', BWG()->prefix); ?></label>
|
2237 |
+
<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', BWG()->prefix); ?></label>
|
2238 |
</div>
|
2239 |
+
<p class="description"><?php _e('Activate this option to autoplay Carousel galleries.', BWG()->prefix); ?></p>
|
2240 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2241 |
</div>
|
2242 |
</div>
|
2243 |
+
<div class="wd-box-content wd-width-100">
|
2244 |
<div class="wd-group">
|
2245 |
+
<label class="wd-label" for="carousel_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
2246 |
<div class="bwg-flex">
|
2247 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_interval" id="carousel_interval" value="<?php echo $row->carousel_interval; ?>" min="0" step="0.1" /><span>sec.</span>
|
2248 |
</div>
|
2249 |
+
<p class="description"><?php _e('Specify the time interval between rotations in Photo Gallery\'s Carousel view.', BWG()->prefix); ?></p>
|
2250 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2251 |
</div>
|
2252 |
</div>
|
2253 |
+
</div>
|
2254 |
+
<div class="wd-box-content wd-width-33">
|
2255 |
+
<div class="wd-box-content wd-width-100">
|
2256 |
<div class="wd-group">
|
2257 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
2258 |
<div class="bwg-flex">
|
2259 |
+
<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', BWG()->prefix); ?></label>
|
2260 |
+
<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', BWG()->prefix); ?></label>
|
2261 |
</div>
|
2262 |
+
<p class="description"><?php _e('Display image titles in Photo Gallery Carousel view by activating this option.', BWG()->prefix); ?></p>
|
2263 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2264 |
</div>
|
2265 |
</div>
|
2266 |
+
<div class="wd-box-content wd-width-100">
|
2267 |
<div class="wd-group">
|
2268 |
+
<label class="wd-label"><?php _e('Container fit', BWG()->prefix); ?></label>
|
2269 |
<div class="bwg-flex">
|
2270 |
+
<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", BWG()->prefix); ?></label>
|
2271 |
+
<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', BWG()->prefix); ?></label>
|
2272 |
</div>
|
2273 |
+
<p class="description"><?php _e('Enabling this setting fits the images inside their container on Carousel galleries with fixed width.', BWG()->prefix); ?></p>
|
2274 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2275 |
</div>
|
2276 |
</div>
|
2277 |
+
<div class="wd-box-content wd-width-100">
|
2278 |
<div class="wd-group">
|
2279 |
+
<label class="wd-label"><?php _e('Next/Previous buttons', BWG()->prefix); ?></label>
|
2280 |
<div class="bwg-flex">
|
2281 |
+
<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", BWG()->prefix); ?></label>
|
2282 |
+
<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', BWG()->prefix); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2283 |
</div>
|
2284 |
+
<p class="description"><?php _e('Enable this setting to display Next/Previous buttons on your galleries with Carousel view.', BWG()->prefix); ?></p>
|
2285 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2286 |
</div>
|
2287 |
</div>
|
2288 |
+
<div class="wd-box-content wd-width-100">
|
2289 |
<div class="wd-group">
|
2290 |
+
<label class="wd-label"><?php _e('Play/Pause buttons', BWG()->prefix); ?></label>
|
2291 |
<div class="bwg-flex">
|
2292 |
+
<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', BWG()->prefix); ?></label>
|
2293 |
+
<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', BWG()->prefix); ?></label>
|
2294 |
</div>
|
2295 |
+
<p class="description"><?php _e('Activate this to show Play/Pause buttons on your Carousel galleries.', BWG()->prefix); ?></p>
|
2296 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2297 |
</div>
|
2298 |
</div>
|
2299 |
+
<div class="wd-box-content wd-width-100">
|
2300 |
<div class="wd-group">
|
2301 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2302 |
<div class="bwg-flex">
|
2303 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2304 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2305 |
</div>
|
2306 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2307 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2308 |
+
</div>
|
2309 |
+
</div>
|
2310 |
+
</div>
|
2311 |
+
</div>
|
2312 |
+
<?php
|
2313 |
+
}
|
2314 |
+
|
2315 |
+
public static function gallery_group_options($row) {
|
2316 |
+
?>
|
2317 |
+
<div id="album_compact_preview_options" class="album_options wd-box-content wd-width-100 bwg-flex-wrap">
|
2318 |
+
<div class="wd-box-content wd-width-33">
|
2319 |
+
<div class="wd-box-content wd-width-100">
|
2320 |
+
<div class="wd-group">
|
2321 |
+
<label class="wd-label" for="album_column_number"><?php _e('Number of gallery group columns', BWG()->prefix); ?></label>
|
2322 |
+
<div class="bwg-flex">
|
2323 |
+
<input type="number" name="album_column_number" id="album_column_number" value="<?php echo $row->album_column_number; ?>" min="0" />
|
2324 |
+
</div>
|
2325 |
+
<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.', BWG()->prefix); ?></p>
|
2326 |
+
</div>
|
2327 |
+
</div>
|
2328 |
+
<div class="wd-box-content wd-width-100">
|
2329 |
+
<div class="wd-group">
|
2330 |
+
<label class="wd-label" for="album_thumb_width"><?php _e('Gallery group thumbnail dimensions', BWG()->prefix); ?></label>
|
2331 |
+
<div class="bwg-flex">
|
2332 |
+
<input type="number" name="album_thumb_width" id="album_thumb_width" value="<?php echo $row->album_thumb_width; ?>" min="0" /><span>x</span>
|
2333 |
+
<input type="number" name="album_thumb_height" id="album_thumb_height" value="<?php echo $row->album_thumb_height; ?>" min="0" /><span>px</span>
|
2334 |
+
</div>
|
2335 |
+
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
2336 |
+
</div>
|
2337 |
+
</div>
|
2338 |
+
<div class="wd-box-content wd-width-100">
|
2339 |
+
<div class="wd-group">
|
2340 |
+
<label class="wd-label" for="album_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
2341 |
+
<div class="bwg-flex">
|
2342 |
+
<input type="number" name="album_image_column_number" id="album_image_column_number" value="<?php echo $row->album_image_column_number; ?>" min="0" />
|
2343 |
+
</div>
|
2344 |
+
<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.', BWG()->prefix); ?></p>
|
2345 |
+
</div>
|
2346 |
+
</div>
|
2347 |
+
<div class="wd-box-content wd-width-100">
|
2348 |
+
<div class="wd-group">
|
2349 |
+
<label class="wd-label" for="album_image_thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
2350 |
+
<div class="bwg-flex">
|
2351 |
+
<input type="number" name="album_image_thumb_width" id="album_image_thumb_width" value="<?php echo $row->album_image_thumb_width; ?>" min="0" /><span>x</span>
|
2352 |
+
<input type="number" name="album_image_thumb_height" id="album_image_thumb_height" value="<?php echo $row->album_image_thumb_height; ?>" min="0" /><span>px</span>
|
2353 |
+
</div>
|
2354 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
2355 |
+
</div>
|
2356 |
+
</div>
|
2357 |
+
<div class="wd-box-content wd-width-100">
|
2358 |
+
<div class="wd-group">
|
2359 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2360 |
+
<div class="bwg-flex">
|
2361 |
+
<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', BWG()->prefix); ?></label>
|
2362 |
+
<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', BWG()->prefix); ?></label>
|
2363 |
+
<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', BWG()->prefix); ?></label>
|
2364 |
+
<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', BWG()->prefix); ?></label>
|
2365 |
+
</div>
|
2366 |
+
<p class="description" id="album_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2367 |
+
<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.', BWG()->prefix); ?></p>
|
2368 |
+
<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.', BWG()->prefix); ?></p>
|
2369 |
+
<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.', BWG()->prefix); ?></p>
|
2370 |
+
</div>
|
2371 |
+
</div>
|
2372 |
+
<div class="wd-box-content wd-width-100" id="tr_albums_per_page">
|
2373 |
+
<div class="wd-group">
|
2374 |
+
<label class="wd-label" for="albums_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
2375 |
+
<div class="bwg-flex">
|
2376 |
+
<input type="number" name="albums_per_page" id="albums_per_page" value="<?php echo $row->albums_per_page; ?>" min="0" />
|
2377 |
+
</div>
|
2378 |
+
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2379 |
+
</div>
|
2380 |
+
</div>
|
2381 |
+
<div class="wd-box-content wd-width-100" id="tr_album_images_per_page">
|
2382 |
+
<div class="wd-group">
|
2383 |
+
<label class="wd-label" for="album_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2384 |
+
<div class="bwg-flex">
|
2385 |
+
<input type="number" name="album_images_per_page" id="album_images_per_page" value="<?php echo $row->album_images_per_page; ?>" min="0" />
|
2386 |
+
</div>
|
2387 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2388 |
+
</div>
|
2389 |
+
</div>
|
2390 |
+
</div>
|
2391 |
+
<div class="wd-box-content wd-width-33">
|
2392 |
+
<div class="wd-box-content wd-width-100">
|
2393 |
+
<div class="wd-group">
|
2394 |
+
<label class="wd-label" for="album_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2395 |
+
<select name="album_sort_by" id="album_sort_by">
|
2396 |
+
<option value="order" <?php if ($row->album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2397 |
+
<option value="alt" <?php if ($row->album_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2398 |
+
<option value="date" <?php if ($row->album_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2399 |
+
<option value="filename" <?php if ($row->album_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2400 |
+
<option value="size" <?php if ($row->album_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2401 |
+
<option value="filetype" <?php if ($row->album_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2402 |
+
<option value="resolution" <?php if ($row->album_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2403 |
+
<option value="random" <?php if ($row->album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2404 |
+
</select>
|
2405 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2406 |
+
</div>
|
2407 |
+
</div>
|
2408 |
+
<div class="wd-box-content wd-width-100">
|
2409 |
+
<div class="wd-group">
|
2410 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2411 |
+
<input type="radio" name="album_order_by" id="album_order_by_1" value="asc" <?php if ($row->album_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2412 |
+
<input type="radio" name="album_order_by" id="album_order_by_0" value="desc" <?php if ($row->album_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2413 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2414 |
+
</div>
|
2415 |
+
</div>
|
2416 |
+
<div class="wd-box-content wd-width-100">
|
2417 |
+
<div class="wd-group">
|
2418 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2419 |
+
<div class="bwg-flex">
|
2420 |
+
<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', BWG()->prefix); ?></label>
|
2421 |
+
<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', BWG()->prefix); ?></label>
|
2422 |
+
</div>
|
2423 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2424 |
+
</div>
|
2425 |
+
</div>
|
2426 |
+
<div class="wd-box-content wd-width-100" id="tr_album_search_box_placeholder">
|
2427 |
+
<div class="wd-group">
|
2428 |
+
<label class="wd-label" for="album_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2429 |
+
<div class="bwg-flex">
|
2430 |
+
<input type="text" name="album_placeholder" id="album_placeholder" value="<?php echo $row->album_placeholder; ?>" />
|
2431 |
+
</div>
|
2432 |
+
</div>
|
2433 |
+
</div>
|
2434 |
+
<div class="wd-box-content wd-width-100" id="tr_album_search_box_width">
|
2435 |
+
<div class="wd-group">
|
2436 |
+
<label class="wd-label" for="album_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2437 |
+
<div class="bwg-flex">
|
2438 |
+
<input type="number" name="album_search_box_width" id="album_search_box_width" value="<?php echo $row->album_search_box_width; ?>" min="0" /><span>px</span>
|
2439 |
+
</div>
|
2440 |
+
</div>
|
2441 |
+
</div>
|
2442 |
+
<div class="wd-box-content wd-width-100">
|
2443 |
+
<div class="wd-group">
|
2444 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2445 |
+
<div class="bwg-flex">
|
2446 |
+
<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', BWG()->prefix); ?></label>
|
2447 |
+
<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', BWG()->prefix); ?></label>
|
2448 |
+
</div>
|
2449 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2450 |
+
</div>
|
2451 |
+
</div>
|
2452 |
+
<div class="wd-box-content wd-width-100">
|
2453 |
+
<div class="wd-group">
|
2454 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2455 |
+
<div class="bwg-flex">
|
2456 |
+
<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', BWG()->prefix); ?></label>
|
2457 |
+
<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', BWG()->prefix); ?></label>
|
2458 |
+
</div>
|
2459 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2460 |
+
</div>
|
2461 |
+
</div>
|
2462 |
+
</div>
|
2463 |
+
<div class="wd-box-content wd-width-33">
|
2464 |
+
<div class="wd-box-content wd-width-100">
|
2465 |
+
<div class="wd-group">
|
2466 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2467 |
+
<div class="bwg-flex">
|
2468 |
+
<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', BWG()->prefix); ?></label>
|
2469 |
+
<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', BWG()->prefix); ?></label>
|
2470 |
+
</div>
|
2471 |
+
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2472 |
+
</div>
|
2473 |
+
</div>
|
2474 |
+
<div class="wd-box-content wd-width-100">
|
2475 |
+
<div class="wd-group">
|
2476 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2477 |
+
<div class="bwg-flex">
|
2478 |
+
<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', BWG()->prefix); ?></label>
|
2479 |
+
<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', BWG()->prefix); ?></label>
|
2480 |
+
</div>
|
2481 |
+
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2482 |
+
</div>
|
2483 |
+
</div>
|
2484 |
+
<div class="wd-box-content wd-width-100">
|
2485 |
+
<div class="wd-group">
|
2486 |
+
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
2487 |
+
<div class="bwg-flex">
|
2488 |
+
<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', BWG()->prefix); ?></label>
|
2489 |
+
<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', BWG()->prefix); ?></label>
|
2490 |
+
<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", BWG()->prefix); ?></label>
|
2491 |
+
</div>
|
2492 |
+
<p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.', BWG()->prefix); ?></p>
|
2493 |
+
</div>
|
2494 |
+
</div>
|
2495 |
+
<div class="wd-box-content wd-width-100">
|
2496 |
+
<div class="wd-group">
|
2497 |
+
<label class="wd-label"><?php _e('Gallery view type', BWG()->prefix); ?></label>
|
2498 |
+
<div class="bwg-flex">
|
2499 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_1" value="thumbnail" <?php if ($row->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_mosaic', 'album_view_type_1'); bwg_enable_disable('none', 'tr_album_resizable_mosaic', 'album_view_type_1'); bwg_enable_disable('none', 'tr_album_mosaic_total_width', 'album_view_type_1');" /><label for="album_view_type_1" class="wd-radio-label"><?php _e('Thumbnail', BWG()->prefix); ?></label>
|
2500 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_0" value="masonry" <?php if ($row->album_view_type == "masonry") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_mosaic', 'album_view_type_0'); bwg_enable_disable('none', 'tr_album_resizable_mosaic', 'album_view_type_0'); bwg_enable_disable('none', 'tr_album_mosaic_total_width', 'album_view_type_0');" /><label for="album_view_type_0" class="wd-radio-label"><?php _e('Masonry', BWG()->prefix); ?></label>
|
2501 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_2" value="mosaic" <?php if ($row->album_view_type == "mosaic") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_mosaic', 'album_view_type_2'); bwg_enable_disable('', 'tr_album_resizable_mosaic', 'album_view_type_2'); bwg_enable_disable('', 'tr_album_mosaic_total_width', 'album_view_type_2');" /><label for="album_view_type_2" class="wd-radio-label"><?php _e('Mosaic', BWG()->prefix); ?></label>
|
2502 |
+
</div>
|
2503 |
+
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry or Mosaic.', BWG()->prefix); ?></p>
|
2504 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2505 |
+
</div>
|
2506 |
+
</div>
|
2507 |
+
<div class="wd-box-content wd-width-100" id="tr_album_mosaic">
|
2508 |
+
<div class="wd-group">
|
2509 |
+
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
2510 |
+
<div class="bwg-flex">
|
2511 |
+
<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', BWG()->prefix); ?></label>
|
2512 |
+
<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', BWG()->prefix); ?></label>
|
2513 |
+
</div>
|
2514 |
+
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
2515 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2516 |
+
</div>
|
2517 |
+
</div>
|
2518 |
+
<div class="wd-box-content wd-width-100" id="tr_album_resizable_mosaic">
|
2519 |
+
<div class="wd-group">
|
2520 |
+
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
2521 |
+
<div class="bwg-flex">
|
2522 |
+
<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', BWG()->prefix); ?></label>
|
2523 |
+
<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', BWG()->prefix); ?></label>
|
2524 |
+
</div>
|
2525 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
2526 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2527 |
+
</div>
|
2528 |
+
</div>
|
2529 |
+
<div class="wd-box-content wd-width-100" id="tr_album_mosaic_total_width">
|
2530 |
+
<div class="wd-group">
|
2531 |
+
<label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
2532 |
+
<div class="bwg-flex">
|
2533 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_mosaic_total_width" id="album_mosaic_total_width" value="<?php echo $row->album_mosaic_total_width; ?>" min="0" /><span>%</span>
|
2534 |
+
</div>
|
2535 |
+
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
2536 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2537 |
+
</div>
|
2538 |
+
</div>
|
2539 |
+
<div class="wd-box-content wd-width-100">
|
2540 |
+
<div class="wd-group">
|
2541 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
2542 |
+
<div class="bwg-flex">
|
2543 |
+
<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', BWG()->prefix); ?></label>
|
2544 |
+
<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 for="album_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
2545 |
+
<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", BWG()->prefix); ?></label>
|
2546 |
+
</div>
|
2547 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
2548 |
+
</div>
|
2549 |
+
</div>
|
2550 |
+
<div class="wd-box-content wd-width-100">
|
2551 |
+
<div class="wd-group">
|
2552 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
2553 |
+
<div class="bwg-flex">
|
2554 |
+
<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', BWG()->prefix); ?></label>
|
2555 |
+
<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', BWG()->prefix); ?></label>
|
2556 |
+
</div>
|
2557 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
2558 |
+
</div>
|
2559 |
+
</div>
|
2560 |
+
<div class="wd-box-content wd-width-100">
|
2561 |
+
<div class="wd-group">
|
2562 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2563 |
+
<div class="bwg-flex">
|
2564 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2565 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2566 |
+
</div>
|
2567 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></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 |
+
<?php
|
2572 |
+
if (function_exists('BWGEC')) {
|
2573 |
+
?>
|
2574 |
+
<div class="wd-box-content wd-width-100">
|
2575 |
+
<div class="wd-group">
|
2576 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
2577 |
+
<div class="bwg-flex">
|
2578 |
+
<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"'; ?> /><label for="album_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
2579 |
+
<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"'; ?> /><label for="album_ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
2580 |
+
<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"'; ?> /><label for="album_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
2581 |
+
</div>
|
2582 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
2583 |
+
</div>
|
2584 |
+
</div>
|
2585 |
+
<?php
|
2586 |
+
}
|
2587 |
+
?>
|
2588 |
+
</div>
|
2589 |
+
</div>
|
2590 |
+
<div id="album_masonry_preview_options" class="bwg-pro-views album_options wd-box-content wd-width-100 bwg-flex-wrap">
|
2591 |
+
<div class="wd-box-content wd-width-33">
|
2592 |
+
<div class="wd-box-content wd-width-100">
|
2593 |
+
<div class="wd-group">
|
2594 |
+
<label class="wd-label" for="album_masonry_column_number"><?php _e('Number of gallery group columns', BWG()->prefix); ?></label>
|
2595 |
+
<div class="bwg-flex">
|
2596 |
+
<input type="number" name="album_masonry_column_number" id="album_masonry_column_number" value="<?php echo $row->album_masonry_column_number; ?>" min="0" />
|
2597 |
+
</div>
|
2598 |
+
<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.', BWG()->prefix); ?></p>
|
2599 |
+
</div>
|
2600 |
+
</div>
|
2601 |
+
<div class="wd-box-content wd-width-100">
|
2602 |
+
<div class="wd-group">
|
2603 |
+
<label class="wd-label" for="album_masonry_thumb_width"><?php _e('Gallery group thumbnail width', BWG()->prefix); ?></label>
|
2604 |
+
<div class="bwg-flex">
|
2605 |
+
<input type="number" name="album_masonry_thumb_width" id="album_masonry_thumb_width" value="<?php echo $row->album_masonry_thumb_width; ?>" min="0" /><span>px</span>
|
2606 |
+
</div>
|
2607 |
+
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
2608 |
+
</div>
|
2609 |
+
</div>
|
2610 |
+
<div class="wd-box-content wd-width-100">
|
2611 |
+
<div class="wd-group">
|
2612 |
+
<label class="wd-label" for="album_masonry_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
2613 |
+
<div class="bwg-flex">
|
2614 |
+
<input type="number" name="album_masonry_image_column_number" id="album_masonry_image_column_number" value="<?php echo $row->album_masonry_image_column_number; ?>" min="0" />
|
2615 |
+
</div>
|
2616 |
+
<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.', BWG()->prefix); ?></p>
|
2617 |
+
</div>
|
2618 |
+
</div>
|
2619 |
+
<div class="wd-box-content wd-width-100">
|
2620 |
+
<div class="wd-group">
|
2621 |
+
<label class="wd-label" for="album_masonry_image_thumb_width"><?php _e('Thumbnail width', BWG()->prefix); ?></label>
|
2622 |
+
<div class="bwg-flex">
|
2623 |
+
<input type="number" name="album_masonry_image_thumb_width" id="album_masonry_image_thumb_width" value="<?php echo $row->album_masonry_image_thumb_width; ?>" min="0" /><span>px</span>
|
2624 |
+
</div>
|
2625 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
2626 |
+
</div>
|
2627 |
+
</div>
|
2628 |
+
<div class="wd-box-content wd-width-100">
|
2629 |
+
<div class="wd-group">
|
2630 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2631 |
+
<div class="bwg-flex">
|
2632 |
+
<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', BWG()->prefix); ?></label>
|
2633 |
+
<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', BWG()->prefix); ?></label>
|
2634 |
+
<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', BWG()->prefix); ?></label>
|
2635 |
+
<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', BWG()->prefix); ?></label>
|
2636 |
+
</div>
|
2637 |
+
<p class="description" id="album_masonry_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2638 |
+
<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.', BWG()->prefix); ?></p>
|
2639 |
+
<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.', BWG()->prefix); ?></p>
|
2640 |
+
<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.', BWG()->prefix); ?></p>
|
2641 |
+
</div>
|
2642 |
+
</div>
|
2643 |
+
<div class="wd-box-content wd-width-100" id="tr_albums_masonry_per_page">
|
2644 |
+
<div class="wd-group">
|
2645 |
+
<label class="wd-label" for="albums_masonry_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
2646 |
+
<div class="bwg-flex">
|
2647 |
+
<input type="number" name="albums_masonry_per_page" id="albums_masonry_per_page" value="<?php echo $row->albums_masonry_per_page; ?>" min="0" />
|
2648 |
+
</div>
|
2649 |
+
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2650 |
+
</div>
|
2651 |
+
</div>
|
2652 |
+
<div class="wd-box-content wd-width-100" id="tr_album_masonry_images_per_page">
|
2653 |
+
<div class="wd-group">
|
2654 |
+
<label class="wd-label" for="album_masonry_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2655 |
+
<div class="bwg-flex">
|
2656 |
+
<input type="number" name="album_masonry_images_per_page" id="album_masonry_images_per_page" value="<?php echo $row->album_masonry_images_per_page; ?>" min="0" />
|
2657 |
+
</div>
|
2658 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2659 |
+
</div>
|
2660 |
+
</div>
|
2661 |
+
</div>
|
2662 |
+
<div class="wd-box-content wd-width-33">
|
2663 |
+
<div class="wd-box-content wd-width-100">
|
2664 |
+
<div class="wd-group">
|
2665 |
+
<label class="wd-label" for="album_masonry_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2666 |
+
<select name="album_masonry_sort_by" id="album_masonry_sort_by">
|
2667 |
+
<option value="order" <?php if ($row->album_masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2668 |
+
<option value="alt" <?php if ($row->album_masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2669 |
+
<option value="date" <?php if ($row->album_masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2670 |
+
<option value="filename" <?php if ($row->album_masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2671 |
+
<option value="size" <?php if ($row->album_masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2672 |
+
<option value="filetype" <?php if ($row->album_masonry_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2673 |
+
<option value="resolution" <?php if ($row->album_masonry_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2674 |
+
<option value="random" <?php if ($row->album_masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2675 |
+
</select>
|
2676 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2677 |
+
</div>
|
2678 |
+
</div>
|
2679 |
+
<div class="wd-box-content wd-width-100">
|
2680 |
+
<div class="wd-group">
|
2681 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2682 |
+
<input type="radio" name="album_masonry_order_by" id="album_masonry_order_by_1" value="asc" <?php if ($row->album_masonry_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_masonry_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2683 |
+
<input type="radio" name="album_masonry_order_by" id="album_masonry_order_by_0" value="desc" <?php if ($row->album_masonry_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_masonry_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2684 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2685 |
+
</div>
|
2686 |
+
</div>
|
2687 |
+
<div class="wd-box-content wd-width-100">
|
2688 |
+
<div class="wd-group">
|
2689 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2690 |
+
<div class="bwg-flex">
|
2691 |
+
<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', BWG()->prefix); ?></label>
|
2692 |
+
<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', BWG()->prefix); ?></label>
|
2693 |
+
</div>
|
2694 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2695 |
+
</div>
|
2696 |
+
</div>
|
2697 |
+
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_placeholder">
|
2698 |
+
<div class="wd-group">
|
2699 |
+
<label class="wd-label" for="album_masonry_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2700 |
+
<div class="bwg-flex">
|
2701 |
+
<input type="text" name="album_masonry_placeholder" id="album_masonry_placeholder" value="<?php echo $row->album_masonry_placeholder; ?>" />
|
2702 |
+
</div>
|
2703 |
+
</div>
|
2704 |
+
</div>
|
2705 |
+
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_width">
|
2706 |
+
<div class="wd-group">
|
2707 |
+
<label class="wd-label" for="album_masonry_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2708 |
+
<div class="bwg-flex">
|
2709 |
+
<input type="number" name="album_masonry_search_box_width" id="album_masonry_search_box_width" value="<?php echo $row->album_masonry_search_box_width; ?>" min="0" /><span>px</span>
|
2710 |
+
</div>
|
2711 |
+
</div>
|
2712 |
+
</div>
|
2713 |
+
<div class="wd-box-content wd-width-100">
|
2714 |
+
<div class="wd-group">
|
2715 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2716 |
+
<div class="bwg-flex">
|
2717 |
+
<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', BWG()->prefix); ?></label>
|
2718 |
+
<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', BWG()->prefix); ?></label>
|
2719 |
+
</div>
|
2720 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2721 |
+
</div>
|
2722 |
+
</div>
|
2723 |
+
<div class="wd-box-content wd-width-100">
|
2724 |
+
<div class="wd-group">
|
2725 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2726 |
+
<div class="bwg-flex">
|
2727 |
+
<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', BWG()->prefix); ?></label>
|
2728 |
+
<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', BWG()->prefix); ?></label>
|
2729 |
+
</div>
|
2730 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2731 |
+
</div>
|
2732 |
+
</div>
|
2733 |
+
</div>
|
2734 |
+
<div class="wd-box-content wd-width-33">
|
2735 |
+
<div class="wd-box-content wd-width-100">
|
2736 |
+
<div class="wd-group">
|
2737 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2738 |
+
<div class="bwg-flex">
|
2739 |
+
<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', BWG()->prefix); ?></label>
|
2740 |
+
<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', BWG()->prefix); ?></label>
|
2741 |
+
</div>
|
2742 |
+
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2743 |
+
</div>
|
2744 |
+
</div>
|
2745 |
+
<div class="wd-box-content wd-width-100">
|
2746 |
+
<div class="wd-group">
|
2747 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2748 |
+
<div class="bwg-flex">
|
2749 |
+
<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', BWG()->prefix); ?></label>
|
2750 |
+
<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', BWG()->prefix); ?></label>
|
2751 |
+
</div>
|
2752 |
+
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2753 |
+
</div>
|
2754 |
+
</div>
|
2755 |
+
<div class="wd-box-content wd-width-100">
|
2756 |
+
<div class="wd-group">
|
2757 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2758 |
+
<div class="bwg-flex">
|
2759 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2760 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
2761 |
+
</div>
|
2762 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2763 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2764 |
+
</div>
|
2765 |
+
</div>
|
2766 |
+
<?php
|
2767 |
+
if (function_exists('BWGEC')) {
|
2768 |
+
?>
|
2769 |
+
<div class="wd-box-content wd-width-100">
|
2770 |
+
<div class="wd-group">
|
2771 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
2772 |
+
<div class="bwg-flex">
|
2773 |
+
<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', BWG()->prefix); ?></label>
|
2774 |
+
<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", BWG()->prefix); ?></label>
|
2775 |
+
</div>
|
2776 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
2777 |
+
</div>
|
2778 |
+
</div>
|
2779 |
+
<?php
|
2780 |
+
}
|
2781 |
+
?>
|
2782 |
+
</div>
|
2783 |
+
</div>
|
2784 |
+
<div id="album_extended_preview_options" class="album_options wd-box-content wd-width-100 bwg-flex-wrap">
|
2785 |
+
<div class="wd-box-content wd-width-33">
|
2786 |
+
<div class="wd-box-content wd-width-100">
|
2787 |
+
<div class="wd-group">
|
2788 |
+
<label class="wd-label" for="extended_album_height"><?php _e('Extended gallery group height', BWG()->prefix); ?></label>
|
2789 |
+
<div class="bwg-flex">
|
2790 |
+
<input type="number" name="extended_album_height" id="extended_album_height" value="<?php echo $row->extended_album_height; ?>" min="0" /><span>px</span>
|
2791 |
+
</div>
|
2792 |
+
<p class="description"><?php _e('Set the height of blocks in Extended gallery groups.', BWG()->prefix); ?></p>
|
2793 |
+
</div>
|
2794 |
+
</div>
|
2795 |
+
<div class="wd-box-content wd-width-100">
|
2796 |
+
<div class="wd-group">
|
2797 |
+
<label class="wd-label" for="album_extended_thumb_width"><?php _e('Gallery group thumbnail dimensions', BWG()->prefix); ?></label>
|
2798 |
+
<div class="bwg-flex">
|
2799 |
+
<input type="number" name="album_extended_thumb_width" id="album_extended_thumb_width" value="<?php echo $row->album_extended_thumb_width; ?>" min="0" /><span>x</span>
|
2800 |
+
<input type="number" name="album_extended_thumb_height" id="album_extended_thumb_height" value="<?php echo $row->album_extended_thumb_height; ?>" min="0" /><span>px</span>
|
2801 |
+
</div>
|
2802 |
+
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
2803 |
+
</div>
|
2804 |
+
</div>
|
2805 |
+
<div class="wd-box-content wd-width-100">
|
2806 |
+
<div class="wd-group">
|
2807 |
+
<label class="wd-label" for="album_extended_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
2808 |
+
<div class="bwg-flex">
|
2809 |
+
<input type="number" name="album_extended_image_column_number" id="album_extended_image_column_number" value="<?php echo $row->album_extended_image_column_number; ?>" min="0" />
|
2810 |
+
</div>
|
2811 |
+
<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.', BWG()->prefix); ?></p>
|
2812 |
+
</div>
|
2813 |
+
</div>
|
2814 |
+
<div class="wd-box-content wd-width-100">
|
2815 |
+
<div class="wd-group">
|
2816 |
+
<label class="wd-label" for="album_extended_image_thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
2817 |
+
<div class="bwg-flex">
|
2818 |
+
<input type="number" name="album_extended_image_thumb_width" id="album_extended_image_thumb_width" value="<?php echo $row->album_extended_image_thumb_width; ?>" min="0" /><span>x</span>
|
2819 |
+
<input type="number" name="album_extended_image_thumb_height" id="album_extended_image_thumb_height" value="<?php echo $row->album_extended_image_thumb_height; ?>" min="0" /><span>px</span>
|
2820 |
+
</div>
|
2821 |
+
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
2822 |
+
</div>
|
2823 |
+
</div>
|
2824 |
+
<div class="wd-box-content wd-width-100">
|
2825 |
+
<div class="wd-group">
|
2826 |
+
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2827 |
+
<div class="bwg-flex">
|
2828 |
+
<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', BWG()->prefix); ?></label>
|
2829 |
+
<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', BWG()->prefix); ?></label>
|
2830 |
+
<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', BWG()->prefix); ?></label>
|
2831 |
+
<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', BWG()->prefix); ?></label>
|
2832 |
+
</div>
|
2833 |
+
<p class="description" id="album_extended_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2834 |
+
<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.', BWG()->prefix); ?></p>
|
2835 |
+
<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.', BWG()->prefix); ?></p>
|
2836 |
+
<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.', BWG()->prefix); ?></p>
|
2837 |
+
</div>
|
2838 |
+
</div>
|
2839 |
+
<div class="wd-box-content wd-width-100" id="tr_albums_extended_per_page">
|
2840 |
+
<div class="wd-group">
|
2841 |
+
<label class="wd-label" for="albums_extended_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
2842 |
+
<div class="bwg-flex">
|
2843 |
+
<input type="number" name="albums_extended_per_page" id="albums_extended_per_page" value="<?php echo $row->albums_extended_per_page; ?>" min="0" />
|
2844 |
+
</div>
|
2845 |
+
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2846 |
+
</div>
|
2847 |
+
</div>
|
2848 |
+
<div class="wd-box-content wd-width-100" id="tr_album_extended_images_per_page">
|
2849 |
+
<div class="wd-group">
|
2850 |
+
<label class="wd-label" for="album_extended_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2851 |
+
<div class="bwg-flex">
|
2852 |
+
<input type="number" name="album_extended_images_per_page" id="album_extended_images_per_page" value="<?php echo $row->album_extended_images_per_page; ?>" min="0" />
|
2853 |
+
</div>
|
2854 |
+
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2855 |
+
</div>
|
2856 |
+
</div>
|
2857 |
+
</div>
|
2858 |
+
<div class="wd-box-content wd-width-33">
|
2859 |
+
<div class="wd-box-content wd-width-100">
|
2860 |
+
<div class="wd-group">
|
2861 |
+
<label class="wd-label" for="album_extended_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2862 |
+
<select name="album_extended_sort_by" id="album_extended_sort_by">
|
2863 |
+
<option value="order" <?php if ($row->album_extended_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2864 |
+
<option value="alt" <?php if ($row->album_extended_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2865 |
+
<option value="date" <?php if ($row->album_extended_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2866 |
+
<option value="filename" <?php if ($row->album_extended_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2867 |
+
<option value="size" <?php if ($row->album_extended_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2868 |
+
<option value="filetype" <?php if ($row->album_extended_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2869 |
+
<option value="resolution" <?php if ($row->album_extended_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2870 |
+
<option value="random" <?php if ($row->album_extended_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2871 |
+
</select>
|
2872 |
+
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2873 |
+
</div>
|
2874 |
+
</div>
|
2875 |
+
<div class="wd-box-content wd-width-100">
|
2876 |
+
<div class="wd-group">
|
2877 |
+
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2878 |
+
<input type="radio" name="album_extended_order_by" id="album_extended_order_by_1" value="asc" <?php if ($row->album_extended_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_extended_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2879 |
+
<input type="radio" name="album_extended_order_by" id="album_extended_order_by_0" value="desc" <?php if ($row->album_extended_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_extended_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2880 |
+
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2881 |
+
</div>
|
2882 |
+
</div>
|
2883 |
+
<div class="wd-box-content wd-width-100">
|
2884 |
+
<div class="wd-group">
|
2885 |
+
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2886 |
+
<div class="bwg-flex">
|
2887 |
+
<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', BWG()->prefix); ?></label>
|
2888 |
+
<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', BWG()->prefix); ?></label>
|
2889 |
+
</div>
|
2890 |
+
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2891 |
+
</div>
|
2892 |
+
</div>
|
2893 |
+
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_placeholder">
|
2894 |
+
<div class="wd-group">
|
2895 |
+
<label class="wd-label" for="album_extended_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2896 |
+
<div class="bwg-flex">
|
2897 |
+
<input type="text" name="album_extended_placeholder" id="album_extended_placeholder" value="<?php echo $row->album_extended_placeholder; ?>" />
|
2898 |
+
</div>
|
2899 |
+
</div>
|
2900 |
+
</div>
|
2901 |
+
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_width">
|
2902 |
+
<div class="wd-group">
|
2903 |
+
<label class="wd-label" for="album_extended_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2904 |
+
<div class="bwg-flex">
|
2905 |
+
<input type="number" name="album_extended_search_box_width" id="album_extended_search_box_width" value="<?php echo $row->album_extended_search_box_width; ?>" min="0" /><span>px</span>
|
2906 |
+
</div>
|
2907 |
+
</div>
|
2908 |
+
</div>
|
2909 |
+
<div class="wd-box-content wd-width-100">
|
2910 |
+
<div class="wd-group">
|
2911 |
+
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2912 |
+
<div class="bwg-flex">
|
2913 |
+
<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', BWG()->prefix); ?></label>
|
2914 |
+
<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', BWG()->prefix); ?></label>
|
2915 |
+
</div>
|
2916 |
+
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2917 |
+
</div>
|
2918 |
+
</div>
|
2919 |
+
<div class="wd-box-content wd-width-100">
|
2920 |
+
<div class="wd-group">
|
2921 |
+
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2922 |
+
<div class="bwg-flex">
|
2923 |
+
<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', BWG()->prefix); ?></label>
|
2924 |
+
<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', BWG()->prefix); ?></label>
|
2925 |
+
</div>
|
2926 |
+
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2927 |
+
</div>
|
2928 |
+
</div>
|
2929 |
+
</div>
|
2930 |
+
<div class="wd-box-content wd-width-33">
|
2931 |
+
<div class="wd-box-content wd-width-100">
|
2932 |
+
<div class="wd-group">
|
2933 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2934 |
+
<div class="bwg-flex">
|
2935 |
+
<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', BWG()->prefix); ?></label>
|
2936 |
+
<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', BWG()->prefix); ?></label>
|
2937 |
+
</div>
|
2938 |
+
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2939 |
+
</div>
|
2940 |
+
</div>
|
2941 |
+
<div class="wd-box-content wd-width-100">
|
2942 |
+
<div class="wd-group">
|
2943 |
+
<label class="wd-label"><?php _e('Show extended gallery group description', BWG()->prefix); ?></label>
|
2944 |
+
<div class="bwg-flex">
|
2945 |
+
<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', BWG()->prefix); ?></label>
|
2946 |
+
<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', BWG()->prefix); ?></label>
|
2947 |
+
</div>
|
2948 |
+
<p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.', BWG()->prefix); ?></p>
|
2949 |
+
</div>
|
2950 |
+
</div>
|
2951 |
+
<div class="wd-box-content wd-width-100">
|
2952 |
+
<div class="wd-group">
|
2953 |
+
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2954 |
+
<div class="bwg-flex">
|
2955 |
+
<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', BWG()->prefix); ?></label>
|
2956 |
+
<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', BWG()->prefix); ?></label>
|
2957 |
+
</div>
|
2958 |
+
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2959 |
+
</div>
|
2960 |
+
</div>
|
2961 |
+
<div class="wd-box-content wd-width-100">
|
2962 |
+
<div class="wd-group">
|
2963 |
+
<label class="wd-label"><?php _e('Gallery view type', BWG()->prefix); ?></label>
|
2964 |
+
<div class="bwg-flex">
|
2965 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_1" value="thumbnail" <?php if ($row->album_extended_view_type == "thumbnail") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_mosaic', 'album_extended_view_type_1'); bwg_enable_disable('none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_1'); bwg_enable_disable('none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_1');" /><label for="album_extended_view_type_1" class="wd-radio-label"><?php _e('Thumbnail', BWG()->prefix); ?></label>
|
2966 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_0" value="masonry" <?php if ($row->album_extended_view_type == "masonry") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_mosaic', 'album_extended_view_type_0'); bwg_enable_disable('none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_0'); bwg_enable_disable('none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_0');" /><label for="album_extended_view_type_0" class="wd-radio-label"><?php _e('Masonry', BWG()->prefix); ?></label>
|
2967 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_2" value="mosaic" <?php if ($row->album_extended_view_type == "mosaic") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_extended_mosaic', 'album_extended_view_type_2'); bwg_enable_disable('', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_2'); bwg_enable_disable('', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_2');" /><label for="album_extended_view_type_2" class="wd-radio-label"><?php _e('Mosaic', BWG()->prefix); ?></label>
|
2968 |
+
</div>
|
2969 |
+
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry or Mosaic.', BWG()->prefix); ?></p>
|
2970 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2971 |
+
</div>
|
2972 |
+
</div>
|
2973 |
+
<div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic">
|
2974 |
+
<div class="wd-group">
|
2975 |
+
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
2976 |
+
<div class="bwg-flex">
|
2977 |
+
<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', BWG()->prefix); ?></label>
|
2978 |
+
<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', BWG()->prefix); ?></label>
|
2979 |
+
</div>
|
2980 |
+
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
2981 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2982 |
+
</div>
|
2983 |
+
</div>
|
2984 |
+
<div class="wd-box-content wd-width-100" id="tr_album_extended_resizable_mosaic">
|
2985 |
+
<div class="wd-group">
|
2986 |
+
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
2987 |
+
<div class="bwg-flex">
|
2988 |
+
<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', BWG()->prefix); ?></label>
|
2989 |
+
<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', BWG()->prefix); ?></label>
|
2990 |
+
</div>
|
2991 |
+
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
2992 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2993 |
+
</div>
|
2994 |
+
</div>
|
2995 |
+
<div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic_total_width">
|
2996 |
+
<div class="wd-group">
|
2997 |
+
<label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
2998 |
+
<div class="bwg-flex">
|
2999 |
+
<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 $row->album_extended_mosaic_total_width; ?>" min="0" /><span>%</span>
|
3000 |
+
</div>
|
3001 |
+
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
3002 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3003 |
+
</div>
|
3004 |
+
</div>
|
3005 |
+
<div class="wd-box-content wd-width-100">
|
3006 |
+
<div class="wd-group">
|
3007 |
+
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
3008 |
+
<div class="bwg-flex">
|
3009 |
+
<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', BWG()->prefix); ?></label>
|
3010 |
+
<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 for="album_extended_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
3011 |
+
<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", BWG()->prefix); ?></label>
|
3012 |
+
</div>
|
3013 |
+
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
3014 |
+
</div>
|
3015 |
+
</div>
|
3016 |
+
<div class="wd-box-content wd-width-100">
|
3017 |
+
<div class="wd-group">
|
3018 |
+
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
3019 |
+
<div class="bwg-flex">
|
3020 |
+
<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', BWG()->prefix); ?></label>
|
3021 |
+
<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', BWG()->prefix); ?></label>
|
3022 |
+
</div>
|
3023 |
+
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
3024 |
+
</div>
|
3025 |
+
</div>
|
3026 |
+
<div class="wd-box-content wd-width-100">
|
3027 |
+
<div class="wd-group">
|
3028 |
+
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
3029 |
+
<div class="bwg-flex">
|
3030 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
3031 |
+
<input <?php echo 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', BWG()->prefix); ?></label>
|
3032 |
</div>
|
3033 |
+
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
3034 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3035 |
</div>
|
3036 |
+
</div>
|
3037 |
+
<?php
|
3038 |
+
if (function_exists('BWGEC')) {
|
3039 |
+
?>
|
3040 |
+
<div class="wd-box-content wd-width-100">
|
3041 |
<div class="wd-group">
|
3042 |
+
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
3043 |
+
<div class="bwg-flex">
|
3044 |
+
<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"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
3045 |
+
<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"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
3046 |
+
<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"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3047 |
</div>
|
3048 |
+
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
3049 |
</div>
|
3050 |
</div>
|
3051 |
+
<?php
|
3052 |
+
}
|
3053 |
+
?>
|
3054 |
+
</div>
|
3055 |
+
</div>
|
3056 |
+
<?php
|
3057 |
+
}
|
3058 |
+
|
3059 |
+
public static function lightbox_options($row) {
|
3060 |
+
$effects = self::get_effects();
|
3061 |
+
?>
|
3062 |
+
<div class="wd-box-content wd-width-100 bwg-flex-wrap">
|
3063 |
+
<div class="wd-box-content wd-width-33">
|
3064 |
+
<div class="wd-box-content wd-width-100">
|
3065 |
+
<div class="wd-group">
|
3066 |
+
<label class="wd-label"><?php _e('Image click action', BWG()->prefix); ?></label>
|
3067 |
+
<div class="bwg-flex">
|
3068 |
+
<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', BWG()->prefix); ?></label>
|
3069 |
+
<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', BWG()->prefix); ?></label>
|
3070 |
+
<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', BWG()->prefix); ?></label>
|
3071 |
+
</div>
|
3072 |
+
<p class="description"><?php _e('Select the action which runs after clicking on gallery thumbnails.', BWG()->prefix); ?></p>
|
3073 |
+
</div>
|
3074 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-redirect" id="tr_thumb_link_target">
|
3075 |
+
<div class="wd-group">
|
3076 |
+
<label class="wd-label"><?php _e('Open in a new window', BWG()->prefix); ?></label>
|
3077 |
+
<div class="bwg-flex">
|
3078 |
+
<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', BWG()->prefix); ?></label>
|
3079 |
+
<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', BWG()->prefix); ?></label>
|
3080 |
+
</div>
|
3081 |
</div>
|
3082 |
+
</div>
|
3083 |
+
</div>
|
3084 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_full_width">
|
3085 |
+
<div class="wd-group">
|
3086 |
+
<label class="wd-label"><?php _e('Full-width lightbox', BWG()->prefix); ?></label>
|
3087 |
+
<div class="bwg-flex">
|
3088 |
+
<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', BWG()->prefix); ?></label>
|
3089 |
+
<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', BWG()->prefix); ?></label>
|
3090 |
+
</div>
|
3091 |
+
<p class="description"><?php _e('Image lightbox will appear full-width if this setting is activated.', BWG()->prefix) ?></p>
|
3092 |
+
</div>
|
3093 |
+
</div>
|
3094 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_dimensions">
|
3095 |
+
<div class="wd-group">
|
3096 |
+
<label class="wd-label" for="popup_width"><?php _e('Lightbox dimensions', BWG()->prefix); ?></label>
|
3097 |
+
<div class="bwg-flex">
|
3098 |
+
<input type="number" name="popup_width" id="popup_width" value="<?php echo $row->popup_width; ?>" min="0" /><span>x</span>
|
3099 |
+
<input type="number" name="popup_height" id="popup_height" value="<?php echo $row->popup_height; ?>" min="0" /><span>px</span>
|
3100 |
+
</div>
|
3101 |
+
<p class="description"><?php _e('Set the dimensions of image lightbox.', BWG()->prefix) ?></p>
|
3102 |
+
</div>
|
3103 |
+
</div>
|
3104 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3105 |
+
<div class="wd-group">
|
3106 |
+
<label class="wd-label" for="popup_type"><?php _e('Lightbox effect', BWG()->prefix); ?></label>
|
3107 |
+
<div class="bwg-flex">
|
3108 |
+
<select name="popup_type" id="popup_type">
|
3109 |
+
<?php
|
3110 |
+
foreach ($effects as $key => $effect) {
|
3111 |
+
?>
|
3112 |
+
<option value="<?php echo $key; ?>"
|
3113 |
+
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.', BWG()->prefix) . '"' : ''; ?>
|
3114 |
+
<?php if ($row->popup_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect, BWG()->prefix); ?></option>
|
3115 |
+
<?php
|
3116 |
+
}
|
3117 |
+
?>
|
3118 |
+
</select>
|
3119 |
+
</div>
|
3120 |
+
<p class="description"><?php _e('Select the animation effect for image lightbox.', BWG()->prefix) ?></p>
|
3121 |
+
</div>
|
3122 |
+
</div>
|
3123 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3124 |
+
<div class="wd-group">
|
3125 |
+
<label class="wd-label" for="popup_effect_duration"><?php _e('Effect duration', BWG()->prefix); ?></label>
|
3126 |
+
<div class="bwg-flex">
|
3127 |
+
<input type="number" name="popup_effect_duration" id="popup_effect_duration" value="<?php echo $row->popup_effect_duration; ?>" min="0" step="0.1" /><span>sec.</span>
|
3128 |
+
</div>
|
3129 |
+
<p class="description"><?php _e('Set the duration of lightbox animation effect.', BWG()->prefix) ?></p>
|
3130 |
+
<p class="description"><?php _e('Note, that the value of Effect Duration can not be greater than 1/4 of Time Interval.', BWG()->prefix) ?></p>
|
3131 |
+
</div>
|
3132 |
+
</div>
|
3133 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_autoplay">
|
3134 |
+
<div class="wd-group">
|
3135 |
+
<label class="wd-label"><?php _e('Lightbox autoplay', BWG()->prefix); ?></label>
|
3136 |
+
<div class="bwg-flex">
|
3137 |
+
<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', BWG()->prefix); ?></label>
|
3138 |
+
<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', BWG()->prefix); ?></label>
|
3139 |
+
</div>
|
3140 |
+
<p class="description"><?php _e('Activate this option to autoplay images in gallery lightbox.', BWG()->prefix) ?></p>
|
3141 |
+
</div>
|
3142 |
+
</div>
|
3143 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3144 |
+
<div class="wd-group">
|
3145 |
+
<label class="wd-label" for="popup_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
3146 |
+
<div class="bwg-flex">
|
3147 |
+
<input type="number" name="popup_interval" id="popup_interval" value="<?php echo $row->popup_interval; ?>" min="0" step="0.1" /><span>sec.</span>
|
3148 |
+
</div>
|
3149 |
+
<p class="description"><?php _e('Specify the time interval of autoplay in Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
3150 |
+
</div>
|
3151 |
+
</div>
|
3152 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3153 |
+
<div class="wd-group">
|
3154 |
+
<label class="wd-label"><?php _e('Enable filmstrip', BWG()->prefix); ?></label>
|
3155 |
+
<div class="bwg-flex">
|
3156 |
+
<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', BWG()->prefix); ?></label>
|
3157 |
+
<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', BWG()->prefix); ?></label>
|
3158 |
+
</div>
|
3159 |
+
<p class="description"><?php _e('Add a filmstrip with image thumbnails to the lightbox of your galleries.', BWG()->prefix) ?></p>
|
3160 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3161 |
+
</div>
|
3162 |
+
</div>
|
3163 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_filmstrip_height">
|
3164 |
+
<div class="wd-group">
|
3165 |
+
<label class="wd-label" for="popup_filmstrip_height"><?php _e('Filmstrip size', BWG()->prefix); ?></label>
|
3166 |
+
<div class="bwg-flex">
|
3167 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo $row->popup_filmstrip_height; ?>" min="0" /><span>px</span>
|
3168 |
+
</div>
|
3169 |
+
<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.', BWG()->prefix) ?></p>
|
3170 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3171 |
+
</div>
|
3172 |
+
</div>
|
3173 |
+
</div>
|
3174 |
+
<div class="wd-box-content wd-width-33">
|
3175 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3176 |
+
<div class="wd-group">
|
3177 |
+
<label class="wd-label"><?php _e('Enable control buttons', BWG()->prefix); ?></label>
|
3178 |
+
<div class="bwg-flex">
|
3179 |
+
<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"'; ?>
|
3180 |
+
onClick="bwg_enable_disable('', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1');
|
3181 |
+
bwg_enable_disable('', 'tr_popup_info', 'popup_enable_ctrl_btn_1');
|
3182 |
+
bwg_enable_disable('', 'tr_popup_comment', 'popup_enable_ctrl_btn_1');
|
3183 |
+
bwg_enable_disable('', 'tr_popup_facebook', 'popup_enable_ctrl_btn_1');
|
3184 |
+
bwg_enable_disable('', 'tr_popup_twitter', 'popup_enable_ctrl_btn_1');
|
3185 |
+
bwg_enable_disable('', 'tr_popup_google', 'popup_enable_ctrl_btn_1');
|
3186 |
+
bwg_enable_disable('', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_1');
|
3187 |
+
bwg_enable_disable('', 'tr_popup_tumblr', 'popup_enable_ctrl_btn_1');
|
3188 |
+
bwg_enable_disable('', 'tr_comment_moderation', 'comment_moderation_1');
|
3189 |
+
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_ctrl_btn_1');
|
3190 |
+
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_ctrl_btn_1');
|
3191 |
+
bwg_enable_disable('', 'tr_popup_download', 'popup_enable_ctrl_btn_1');
|
3192 |
+
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', BWG()->prefix); ?></label>
|
3193 |
+
<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"'; ?>
|
3194 |
+
onClick="bwg_enable_disable('none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0');
|
3195 |
+
bwg_enable_disable('none', 'tr_popup_info', 'popup_enable_ctrl_btn_0');
|
3196 |
+
bwg_enable_disable('none', 'tr_popup_comment', 'popup_enable_ctrl_btn_0');
|
3197 |
+
bwg_enable_disable('none', 'tr_popup_facebook', 'popup_enable_ctrl_btn_0');
|
3198 |
+
bwg_enable_disable('none', 'tr_popup_twitter', 'popup_enable_ctrl_btn_0');
|
3199 |
+
bwg_enable_disable('none', 'tr_popup_google', 'popup_enable_ctrl_btn_0');
|
3200 |
+
bwg_enable_disable('none', 'tr_popup_pinterest', 'popup_enable_ctrl_btn_0');
|
3201 |
+
bwg_enable_disable('none', 'tr_popup_tumblr', 'popup_enable_ctrl_btn_0');
|
3202 |
+
bwg_enable_disable('none', 'tr_comment_moderation', 'comment_moderation_0');
|
3203 |
+
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_ctrl_btn_0');
|
3204 |
+
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_ctrl_btn_0');
|
3205 |
+
bwg_enable_disable('none', 'tr_popup_download', 'popup_enable_ctrl_btn_0');
|
3206 |
+
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', BWG()->prefix); ?></label>
|
3207 |
+
</div>
|
3208 |
+
<p class="description"><?php _e('Enable this option to show control buttons on Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
3209 |
+
</div>
|
3210 |
+
</div>
|
3211 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_fullscreen">
|
3212 |
+
<div class="wd-group">
|
3213 |
+
<label class="wd-label"><?php _e('Enable fullscreen button', BWG()->prefix); ?></label>
|
3214 |
+
<div class="bwg-flex">
|
3215 |
+
<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', BWG()->prefix); ?></label>
|
3216 |
+
<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', BWG()->prefix); ?></label>
|
3217 |
+
</div>
|
3218 |
+
<p class="description"><?php _e('Activate this setting to add Fullscreen button to lightbox control buttons.', BWG()->prefix) ?></p>
|
3219 |
+
</div>
|
3220 |
+
</div>
|
3221 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_comment">
|
3222 |
+
<div class="wd-group">
|
3223 |
+
<label class="wd-label"><?php _e('Enable comments', BWG()->prefix); ?></label>
|
3224 |
+
<div class="bwg-flex">
|
3225 |
+
<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');
|
3226 |
+
bwg_enable_disable('', 'tr_popup_email', 'popup_enable_comment_1');
|
3227 |
+
bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_comment_1');" /><label for="popup_enable_comment_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
3228 |
+
<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');
|
3229 |
+
bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_comment_0');
|
3230 |
+
bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_comment_0');" /><label for="popup_enable_comment_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
3231 |
+
</div>
|
3232 |
+
<p class="description"><?php _e('Let users to leave comments on images by enabling comments section of lightbox.', BWG()->prefix) ?></p>
|
3233 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3234 |
+
</div>
|
3235 |
+
</div>
|
3236 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_email">
|
3237 |
+
<div class="wd-group">
|
3238 |
+
<label class="wd-label"><?php _e('Show Email for comments', BWG()->prefix); ?></label>
|
3239 |
+
<div class="bwg-flex">
|
3240 |
+
<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', BWG()->prefix); ?></label>
|
3241 |
+
<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', BWG()->prefix); ?></label>
|
3242 |
+
</div>
|
3243 |
+
<p class="description"><?php _e('Activate this option to display email address field in comments section.', BWG()->prefix) ?></p>
|
3244 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3245 |
+
</div>
|
3246 |
+
</div>
|
3247 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_captcha">
|
3248 |
+
<div class="wd-group">
|
3249 |
+
<label class="wd-label"><?php _e('Show Captcha for comments', BWG()->prefix); ?></label>
|
3250 |
+
<div class="bwg-flex">
|
3251 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_captcha" id="popup_enable_captcha_1" value="1" <?php if ($row->popup_enable_captcha) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
3252 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_captcha" id="popup_enable_captcha_0" value="0" <?php if (!$row->popup_enable_captcha) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
3253 |
+
</div>
|
3254 |
+
<p class="description"><?php _e('Enable this setting to place Captcha word verification in comments section.', BWG()->prefix) ?></p>
|
3255 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3256 |
+
</div>
|
3257 |
+
</div>
|
3258 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_comment_moderation">
|
3259 |
+
<div class="wd-group">
|
3260 |
+
<label class="wd-label"><?php _e('Enable comments moderation', BWG()->prefix); ?></label>
|
3261 |
+
<div class="bwg-flex">
|
3262 |
+
<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', BWG()->prefix); ?></label>
|
3263 |
+
<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', BWG()->prefix); ?></label>
|
3264 |
+
</div>
|
3265 |
+
<p class="description"><?php _e('Moderate each comment left on images by activating this setting.', BWG()->prefix) ?></p>
|
3266 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3267 |
+
</div>
|
3268 |
+
</div>
|
3269 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info">
|
3270 |
+
<div class="wd-group">
|
3271 |
+
<label class="wd-label"><?php _e('Show image info', BWG()->prefix); ?></label>
|
3272 |
+
<div class="bwg-flex">
|
3273 |
+
<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', BWG()->prefix); ?></label>
|
3274 |
+
<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', BWG()->prefix); ?></label>
|
3275 |
+
</div>
|
3276 |
+
<p class="description"><?php _e('Activate this setting to show Info button among lightbox control buttons.', BWG()->prefix) ?></p>
|
3277 |
+
</div>
|
3278 |
+
</div>
|
3279 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info_always_show">
|
3280 |
+
<div class="wd-group">
|
3281 |
+
<label class="wd-label"><?php _e('Display info by default', BWG()->prefix); ?></label>
|
3282 |
+
<div class="bwg-flex">
|
3283 |
+
<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', BWG()->prefix); ?></label>
|
3284 |
+
<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', BWG()->prefix); ?></label>
|
3285 |
+
</div>
|
3286 |
+
<p class="description"><?php _e('Enabling this option will let you show image title and description on lightbox by default.', BWG()->prefix) ?></p>
|
3287 |
+
</div>
|
3288 |
+
</div>
|
3289 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_info_full_width">
|
3290 |
+
<div class="wd-group">
|
3291 |
+
<label class="wd-label"><?php _e('Full width info', BWG()->prefix); ?></label>
|
3292 |
+
<div class="bwg-flex">
|
3293 |
+
<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', BWG()->prefix); ?></label>
|
3294 |
+
<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', BWG()->prefix); ?></label>
|
3295 |
+
</div>
|
3296 |
+
<p class="description"><?php _e('Display info box with the full width of the lightbox by enabling this option.', BWG()->prefix) ?></p>
|
3297 |
+
</div>
|
3298 |
+
</div>
|
3299 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3300 |
+
<div class="wd-group">
|
3301 |
+
<label class="wd-label"><?php _e('Show Next / Previous buttons', BWG()->prefix); ?></label>
|
3302 |
+
<div class="bwg-flex">
|
3303 |
+
<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', BWG()->prefix); ?></label>
|
3304 |
+
<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', BWG()->prefix); ?></label>
|
3305 |
+
</div>
|
3306 |
+
<p class="description"><?php _e('Choose to display Next/Previous buttons of Photo Gallery lightbox on hover or always.', BWG()->prefix) ?></p>
|
3307 |
+
</div>
|
3308 |
+
</div>
|
3309 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_hit_counter">
|
3310 |
+
<div class="wd-group">
|
3311 |
+
<label class="wd-label"><?php _e('Display views counter', BWG()->prefix); ?></label>
|
3312 |
+
<div class="bwg-flex">
|
3313 |
+
<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', BWG()->prefix); ?></label>
|
3314 |
+
<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', BWG()->prefix); ?></label>
|
3315 |
+
</div>
|
3316 |
+
<p class="description"><?php _e('Show the number of views, when a gallery image was opened in lightbox.', BWG()->prefix) ?></p>
|
3317 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3318 |
+
</div>
|
3319 |
+
</div>
|
3320 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_rate">
|
3321 |
+
<div class="wd-group">
|
3322 |
+
<label class="wd-label"><?php _e('Enable rating', BWG()->prefix); ?></label>
|
3323 |
+
<div class="bwg-flex">
|
3324 |
+
<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', BWG()->prefix); ?></label>
|
3325 |
+
<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', BWG()->prefix); ?></label>
|
3326 |
+
</div>
|
3327 |
+
<p class="description"><?php _e('Allow users to rate your images by adding rating feature to Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
3328 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3329 |
+
</div>
|
3330 |
+
</div>
|
3331 |
+
</div>
|
3332 |
+
<div class="wd-box-content wd-width-33">
|
3333 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_fullsize_image">
|
3334 |
+
<div class="wd-group">
|
3335 |
+
<label class="wd-label"><?php _e('Show Display Original Image button', BWG()->prefix); ?></label>
|
3336 |
+
<div class="bwg-flex">
|
3337 |
+
<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', BWG()->prefix); ?></label>
|
3338 |
+
<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', BWG()->prefix); ?></label>
|
3339 |
+
</div>
|
3340 |
+
<p class="description"><?php _e('Let users view original versions of your images by enabling this button.', BWG()->prefix) ?></p>
|
3341 |
+
</div>
|
3342 |
+
</div>
|
3343 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_download">
|
3344 |
+
<div class="wd-group">
|
3345 |
+
<label class="wd-label"><?php _e('Show download button', BWG()->prefix); ?></label>
|
3346 |
+
<div class="bwg-flex">
|
3347 |
+
<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', BWG()->prefix); ?></label>
|
3348 |
+
<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', BWG()->prefix); ?></label>
|
3349 |
+
</div>
|
3350 |
+
<p class="description"><?php _e('This option will allow users to download gallery images while viewing them in lightbox.', BWG()->prefix) ?></p>
|
3351 |
+
</div>
|
3352 |
+
</div>
|
3353 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_image_count">
|
3354 |
+
<div class="wd-group">
|
3355 |
+
<label class="wd-label"><?php _e('Show image counter', BWG()->prefix); ?></label>
|
3356 |
+
<div class="bwg-flex">
|
3357 |
+
<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', BWG()->prefix); ?></label>
|
3358 |
+
<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', BWG()->prefix); ?></label>
|
3359 |
+
</div>
|
3360 |
+
<p class="description"><?php _e('Enable this option to display image counter on Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
3361 |
+
</div>
|
3362 |
+
</div>
|
3363 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_image_cycle">
|
3364 |
+
<div class="wd-group">
|
3365 |
+
<label class="wd-label"><?php _e('Enable looping', BWG()->prefix); ?></label>
|
3366 |
+
<div class="bwg-flex">
|
3367 |
+
<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', BWG()->prefix); ?></label>
|
3368 |
+
<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', BWG()->prefix); ?></label>
|
3369 |
+
</div>
|
3370 |
+
<p class="description"><?php _e('Activate looping to start lightbox navigation from the beginning when users reach its last image.', BWG()->prefix) ?></p>
|
3371 |
+
</div>
|
3372 |
+
</div>
|
3373 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
|
3374 |
+
<div class="wd-group">
|
3375 |
+
<label class="wd-label"><?php _e('Enable', BWG()->prefix); ?> AddThis</label>
|
3376 |
+
<div class="bwg-flex">
|
3377 |
+
<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', BWG()->prefix); ?></label>
|
3378 |
+
<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', BWG()->prefix); ?></label>
|
3379 |
+
</div>
|
3380 |
+
<p class="description"><?php _e('Display AddThis on Photo Gallery lightbox by activating this option.', BWG()->prefix) ?></p>
|
3381 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3382 |
+
</div>
|
3383 |
+
</div>
|
3384 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_addthis_profile_id">
|
3385 |
+
<div class="wd-group">
|
3386 |
+
<label class="wd-label" for="addthis_profile_id">AddThis <?php _e('profile ID', BWG()->prefix); ?></label>
|
3387 |
+
<div class="bwg-flex">
|
3388 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="text" name="addthis_profile_id" id="addthis_profile_id" value="<?php echo $row->addthis_profile_id; ?>" />
|
3389 |
+
</div>
|
3390 |
+
<p class="description"><?php _e('Provide the ID of your profile to connect to AddThis.', BWG()->prefix); ?><br><?php echo sprintf(__('Create an account %s.', BWG()->prefix), '<a href="https://www.addthis.com/register" target="_blank">' . __('here', BWG()->prefix) . '</a>'); ?></p>
|
3391 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3392 |
+
</div>
|
3393 |
+
</div>
|
3394 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_facebook">
|
3395 |
+
<div class="wd-group">
|
3396 |
+
<label class="wd-label"><?php _e('Show Facebook button', BWG()->prefix); ?></label>
|
3397 |
+
<div class="bwg-flex">
|
3398 |
+
<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', BWG()->prefix); ?></label>
|
3399 |
+
<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', BWG()->prefix); ?></label>
|
3400 |
</div>
|
3401 |
+
<p class="description"><?php _e('Enabling this setting will add Facebook sharing button to Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
3402 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3403 |
</div>
|
3404 |
</div>
|
3405 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_twitter">
|
3406 |
+
<div class="wd-group">
|
3407 |
+
<label class="wd-label"><?php _e('Show Twitter button', BWG()->prefix); ?></label>
|
3408 |
+
<div class="bwg-flex">
|
3409 |
+
<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', BWG()->prefix); ?></label>
|
3410 |
+
<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', BWG()->prefix); ?></label>
|
3411 |
+
</div>
|
3412 |
+
<p class="description"><?php _e('Enable this setting to add Tweet button to Photo Gallery lightbox.', BWG()->prefix) ?></p>
|
3413 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3414 |
+
</div>
|
3415 |
+
</div>
|
3416 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_google">
|
3417 |
+
<div class="wd-group">
|
3418 |
+
<label class="wd-label"><?php _e('Show Google+ button', BWG()->prefix); ?></label>
|
3419 |
+
<div class="bwg-flex">
|
3420 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_google" id="popup_enable_google_1" value="1" <?php if ($row->popup_enable_google) echo 'checked="checked"'; ?> /><label for="popup_enable_google_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
3421 |
+
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="popup_enable_google" id="popup_enable_google_0" value="0" <?php if (!$row->popup_enable_google) echo 'checked="checked"'; ?> /><label for="popup_enable_google_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
3422 |
+
</div>
|
3423 |
+
<p class="description"><?php _e('Add Google+ sharing button to Photo Gallery lightbox by activating this option.', BWG()->prefix) ?></p>
|
3424 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3425 |
+
</div>
|
3426 |
+
</div>
|
3427 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_pinterest">
|
3428 |
+
<div class="wd-group">
|
3429 |
+
<label class="wd-label"><?php _e('Show Pinterest button', BWG()->prefix); ?></label>
|
3430 |
+
<div class="bwg-flex">
|
3431 |
+
<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', BWG()->prefix); ?></label>
|
3432 |
+
<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', BWG()->prefix); ?></label>
|
3433 |
+
</div>
|
3434 |
+
<p class="description"><?php _e('Activate Pin button of Photo Gallery lightbox by enabling this setting.', BWG()->prefix) ?></p>
|
3435 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3436 |
+
</div>
|
3437 |
+
</div>
|
3438 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_tumblr">
|
3439 |
+
<div class="wd-group">
|
3440 |
+
<label class="wd-label"><?php _e('Show Tumblr button', BWG()->prefix); ?></label>
|
3441 |
+
<div class="bwg-flex">
|
3442 |
+
<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', BWG()->prefix); ?></label>
|
3443 |
+
<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', BWG()->prefix); ?></label>
|
3444 |
+
</div>
|
3445 |
+
<p class="description"><?php _e('Allow users to share images on Tumblr from Photo Gallery lightbox by activating this setting.', BWG()->prefix) ?></p>
|
3446 |
+
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
3447 |
+
</div>
|
3448 |
+
</div>
|
3449 |
+
<?php
|
3450 |
+
if ( function_exists('BWGEC') ) {
|
3451 |
+
?>
|
3452 |
+
<div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_ecommerce">
|
3453 |
+
<div class="wd-group">
|
3454 |
+
<label class="wd-label"><?php _e('Show Ecommerce button', BWG()->prefix); ?></label>
|
3455 |
+
<div class="bwg-flex">
|
3456 |
+
<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', BWG()->prefix); ?></label>
|
3457 |
+
<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', BWG()->prefix); ?></label>
|
3458 |
+
</div>
|
3459 |
+
<p class="description"><?php _e('Enable this option to display ecommerce icon on Photo Gallery lightbox', BWG()->prefix) ?></p>
|
3460 |
+
</div>
|
3461 |
+
</div>
|
3462 |
+
<?php
|
3463 |
+
}
|
3464 |
+
?>
|
3465 |
</div>
|
3466 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3467 |
<?php
|
3468 |
}
|
3469 |
}
|
admin/views/Shortcode.php
CHANGED
@@ -18,6 +18,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
18 |
wp_enqueue_script(BWG()->prefix . '_jscolor');
|
19 |
wp_enqueue_script('jquery-ui-tabs');
|
20 |
}
|
|
|
21 |
// Close shortcode editor after insert.
|
22 |
if ( isset($_POST['tagtext']) ) {
|
23 |
echo '<script>if (top.tinyMCE.activeEditor) {top.tinyMCE.activeEditor.windowManager.close(window);}top.tb_remove();</script>';
|
@@ -45,7 +46,6 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
45 |
$theme_rows = $params['theme_rows'];
|
46 |
$from_menu = $params['from_menu'];
|
47 |
$tag_rows = $params['tag_rows'];
|
48 |
-
$effects = $params['effects'];
|
49 |
$watermark_fonts = $params['watermark_fonts'];
|
50 |
$gallery_types_name = $params['gallery_types_name'];
|
51 |
$album_types_name = $params['album_types_name'];
|
@@ -272,2069 +272,10 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
272 |
<span id="bwg_basic_metabox_title" data-title-gallery="<?php _e('Gallery', BWG()->prefix); ?>" data-title-album="<?php _e('Gallery group', BWG()->prefix); ?>"></span>
|
273 |
</h2>
|
274 |
<div class="inside bwg-flex-wrap">
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
<label class="wd-label" for="thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
280 |
-
<div class="bwg-flex">
|
281 |
-
<input type="number" name="thumb_width" id="thumb_width" value="<?php echo BWG()->options->thumb_width; ?>" min="0" /><span>x</span>
|
282 |
-
<input type="number" name="thumb_height" id="thumb_height" value="<?php echo BWG()->options->thumb_height; ?>" min="0" /><span>px</span>
|
283 |
-
</div>
|
284 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
285 |
-
</div>
|
286 |
-
</div>
|
287 |
-
<div class="wd-box-content wd-width-100">
|
288 |
-
<div class="wd-group">
|
289 |
-
<label class="wd-label" for="image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
290 |
-
<div class="bwg-flex">
|
291 |
-
<input type="number" name="image_column_number" id="image_column_number" value="<?php echo BWG()->options->image_column_number; ?>" min="0" />
|
292 |
-
</div>
|
293 |
-
<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.', BWG()->prefix); ?></p>
|
294 |
-
</div>
|
295 |
-
</div>
|
296 |
-
<div class="wd-box-content wd-width-100">
|
297 |
-
<div class="wd-group">
|
298 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
299 |
-
<div class="bwg-flex">
|
300 |
-
<input type="radio" name="image_enable_page" id="image_enable_page_0" value="0" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
301 |
-
<input type="radio" name="image_enable_page" id="image_enable_page_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
302 |
-
<input type="radio" name="image_enable_page" id="image_enable_page_2" value="2" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
303 |
-
<input type="radio" name="image_enable_page" id="image_enable_page_3" value="3" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
304 |
-
</div>
|
305 |
-
<p class="description" id="image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
306 |
-
<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.', BWG()->prefix); ?></p>
|
307 |
-
<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.', BWG()->prefix); ?></p>
|
308 |
-
<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.', BWG()->prefix); ?></p>
|
309 |
-
</div>
|
310 |
-
</div>
|
311 |
-
<div class="wd-box-content wd-width-100" id="tr_images_per_page">
|
312 |
-
<div class="wd-group">
|
313 |
-
<label class="wd-label" for="images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
314 |
-
<div class="bwg-flex">
|
315 |
-
<input type="number" name="images_per_page" id="images_per_page" value="<?php echo BWG()->options->images_per_page; ?>" min="0" />
|
316 |
-
</div>
|
317 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
318 |
-
</div>
|
319 |
-
</div>
|
320 |
-
<div class="wd-box-content wd-width-100" id="tr_load_more_image_count">
|
321 |
-
<div class="wd-group">
|
322 |
-
<label class="wd-label" for="load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
323 |
-
<div class="bwg-flex">
|
324 |
-
<input type="number" name="load_more_image_count" id="load_more_image_count" value="<?php echo BWG()->options->load_more_image_count; ?>" min="0" />
|
325 |
-
</div>
|
326 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
327 |
-
</div>
|
328 |
-
</div>
|
329 |
-
</div>
|
330 |
-
<div class="wd-box-content wd-width-33">
|
331 |
-
<div class="wd-box-content wd-width-100">
|
332 |
-
<div class="wd-group">
|
333 |
-
<label class="wd-label" for="sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
334 |
-
<select name="sort_by" id="sort_by">
|
335 |
-
<option value="order" <?php if (BWG()->options->sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
336 |
-
<option value="alt" <?php if (BWG()->options->sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
337 |
-
<option value="date" <?php if (BWG()->options->sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
338 |
-
<option value="filename" <?php if (BWG()->options->sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
339 |
-
<option value="size" <?php if (BWG()->options->sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
340 |
-
<option value="filetype" <?php if (BWG()->options->sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
341 |
-
<option value="resolution" <?php if (BWG()->options->sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
342 |
-
<option value="random" <?php if (BWG()->options->sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
343 |
-
</select>
|
344 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
345 |
-
</div>
|
346 |
-
</div>
|
347 |
-
<div class="wd-box-content wd-width-100">
|
348 |
-
<div class="wd-group">
|
349 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
350 |
-
<input type="radio" name="order_by" id="order_by_1" value="asc" <?php if (BWG()->options->order_by == 'asc') echo 'checked="checked"'; ?> /><label for="order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
351 |
-
<input type="radio" name="order_by" id="order_by_0" value="desc" <?php if (BWG()->options->order_by == 'desc') echo 'checked="checked"'; ?> /><label for="order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
352 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
353 |
-
</div>
|
354 |
-
</div>
|
355 |
-
<div class="wd-box-content wd-width-100">
|
356 |
-
<div class="wd-group">
|
357 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
358 |
-
<div class="bwg-flex">
|
359 |
-
<input type="radio" name="show_search_box" id="show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
360 |
-
<input type="radio" name="show_search_box" id="show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
361 |
-
</div>
|
362 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
363 |
-
</div>
|
364 |
-
</div>
|
365 |
-
<div class="wd-box-content wd-width-100" id="tr_search_box_placeholder">
|
366 |
-
<div class="wd-group">
|
367 |
-
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
368 |
-
<div class="bwg-flex">
|
369 |
-
<input type="text" name="placeholder" id="placeholder" value="<?php echo BWG()->options->placeholder; ?>" />
|
370 |
-
</div>
|
371 |
-
</div>
|
372 |
-
</div>
|
373 |
-
<div class="wd-box-content wd-width-100" id="tr_search_box_width">
|
374 |
-
<div class="wd-group">
|
375 |
-
<label class="wd-label" for="search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
376 |
-
<div class="bwg-flex">
|
377 |
-
<input type="number" name="search_box_width" id="search_box_width" value="<?php echo BWG()->options->search_box_width; ?>" min="0" /><span>px</span>
|
378 |
-
</div>
|
379 |
-
</div>
|
380 |
-
</div>
|
381 |
-
<div class="wd-box-content wd-width-100">
|
382 |
-
<div class="wd-group">
|
383 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
384 |
-
<div class="bwg-flex">
|
385 |
-
<input type="radio" name="show_sort_images" id="show_sort_images_1" value="1" <?php if (BWG()->options->show_sort_images) echo 'checked="checked"'; ?> /><label for="show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
386 |
-
<input type="radio" name="show_sort_images" id="show_sort_images_0" value="0" <?php if (!BWG()->options->show_sort_images) echo 'checked="checked"'; ?> /><label for="show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
387 |
-
</div>
|
388 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
389 |
-
</div>
|
390 |
-
</div>
|
391 |
-
<div class="wd-box-content wd-width-100">
|
392 |
-
<div class="wd-group">
|
393 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
394 |
-
<div class="bwg-flex">
|
395 |
-
<input type="radio" name="show_tag_box" id="show_tag_box_1" value="1" <?php if (BWG()->options->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
396 |
-
<input type="radio" name="show_tag_box" id="show_tag_box_0" value="0" <?php if (!BWG()->options->show_tag_box) echo 'checked="checked"'; ?> /><label for="show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
397 |
-
</div>
|
398 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
399 |
-
</div>
|
400 |
-
</div>
|
401 |
-
</div>
|
402 |
-
<div class="wd-box-content wd-width-33">
|
403 |
-
<div class="wd-box-content wd-width-100">
|
404 |
-
<div class="wd-group">
|
405 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
406 |
-
<div class="bwg-flex">
|
407 |
-
<input type="radio" name="showthumbs_name" id="thumb_name_yes" value="1" <?php if (BWG()->options->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
408 |
-
<input type="radio" name="showthumbs_name" id="thumb_name_no" value="0" <?php if (!BWG()->options->showthumbs_name) echo 'checked="checked"'; ?> /><label for="thumb_name_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
409 |
-
</div>
|
410 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
411 |
-
</div>
|
412 |
-
</div>
|
413 |
-
<div class="wd-box-content wd-width-100">
|
414 |
-
<div class="wd-group">
|
415 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
416 |
-
<div class="bwg-flex">
|
417 |
-
<input type="radio" name="show_gallery_description" id="show_gallery_description_1" value="1" <?php if (BWG()->options->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
418 |
-
<input type="radio" name="show_gallery_description" id="show_gallery_description_0" value="0" <?php if (!BWG()->options->show_gallery_description) echo 'checked="checked"'; ?> /><label for="show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
419 |
-
</div>
|
420 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
421 |
-
</div>
|
422 |
-
</div>
|
423 |
-
<div class="wd-box-content wd-width-100">
|
424 |
-
<div class="wd-group">
|
425 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
426 |
-
<div class="bwg-flex">
|
427 |
-
<input type="radio" name="image_title_show_hover" id="image_title_show_hover_1" value="hover" <?php if (BWG()->options->image_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
428 |
-
<input type="radio" name="image_title_show_hover" id="image_title_show_hover_0" value="show" <?php if (BWG()->options->image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
429 |
-
<input type="radio" name="image_title_show_hover" id="image_title_show_hover_2" value="none" <?php if (BWG()->options->image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
430 |
-
</div>
|
431 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
432 |
-
</div>
|
433 |
-
</div>
|
434 |
-
<div class="wd-box-content wd-width-100">
|
435 |
-
<div class="wd-group">
|
436 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
437 |
-
<div class="bwg-flex">
|
438 |
-
<input type="radio" name="play_icon" id="play_icon_yes" value="1" <?php if (BWG()->options->play_icon) echo 'checked="checked"'; ?> /><label for="play_icon_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
439 |
-
<input type="radio" name="play_icon" id="play_icon_no" value="0" <?php if (!BWG()->options->play_icon) echo 'checked="checked"'; ?> /><label for="play_icon_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
440 |
-
</div>
|
441 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
442 |
-
</div>
|
443 |
-
</div>
|
444 |
-
<div class="wd-box-content wd-width-100">
|
445 |
-
<div class="wd-group">
|
446 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
447 |
-
<div class="bwg-flex">
|
448 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="gallery_download" id="gallery_download_1" value="1" <?php if (BWG()->options->gallery_download) echo 'checked="checked"'; ?> /><label for="gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
449 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="gallery_download" id="gallery_download_0" value="0" <?php if (!BWG()->options->gallery_download) echo 'checked="checked"'; ?> /><label for="gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
450 |
-
</div>
|
451 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
452 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
453 |
-
</div>
|
454 |
-
</div>
|
455 |
-
<?php
|
456 |
-
if (function_exists('BWGEC')) {
|
457 |
-
?>
|
458 |
-
<div class="wd-box-content wd-width-100">
|
459 |
-
<div class="wd-group">
|
460 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
461 |
-
<div class="bwg-flex">
|
462 |
-
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_1" value="hover" <?php if (BWG()->options->ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
463 |
-
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_0" value="show" <?php if (BWG()->options->ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
464 |
-
<input type="radio" name="ecommerce_icon_show_hover" id="ecommerce_icon_show_hover_2" value="none" <?php if (BWG()->options->ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
465 |
-
</div>
|
466 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
467 |
-
</div>
|
468 |
-
</div>
|
469 |
-
<?php
|
470 |
-
}
|
471 |
-
?>
|
472 |
-
</div>
|
473 |
-
</div>
|
474 |
-
<div id="thumbnails_masonry_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
475 |
-
<div class="wd-box-content wd-width-33">
|
476 |
-
<div class="wd-box-content wd-width-100">
|
477 |
-
<div class="wd-group">
|
478 |
-
<label class="wd-label"><?php _e('Masonry type', BWG()->prefix); ?></label>
|
479 |
-
<div class="bwg-flex">
|
480 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry" id="masonry_0" value="vertical" <?php echo (BWG()->options->masonry == "vertical") ? 'checked="checked"' : ''; ?> onClick="bwg_enable_disable('', 'tr_show_masonry_thumb_description', 'masonry_0');" /><label for="masonry_0" class="wd-radio-label"><?php _e('Vertical', BWG()->prefix); ?></label>
|
481 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry" id="masonry_1" value="horizontal" <?php echo (BWG()->options->masonry == "horizontal") ? 'checked="checked"': ''; ?> onClick="bwg_enable_disable('none', 'tr_show_masonry_thumb_description', 'masonry_1');" /><label for="masonry_1" class="wd-radio-label"><?php _e('Horizontal', BWG()->prefix); ?></label>
|
482 |
-
</div>
|
483 |
-
<p class="description"><?php _e('Select the type of Masonry galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
484 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
485 |
-
</div>
|
486 |
-
</div>
|
487 |
-
<div class="wd-box-content wd-width-100">
|
488 |
-
<div class="wd-group">
|
489 |
-
<label class="wd-label" for="masonry_thumb_size"><?php _e('Thumbnail size', BWG()->prefix); ?></label>
|
490 |
-
<div class="bwg-flex">
|
491 |
-
<input type="number" name="masonry_thumb_size" id="masonry_thumb_size" value="<?php echo BWG()->options->masonry_thumb_size; ?>" min="0" /><span>px</span>
|
492 |
-
</div>
|
493 |
-
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
494 |
-
</div>
|
495 |
-
</div>
|
496 |
-
<div class="wd-box-content wd-width-100">
|
497 |
-
<div class="wd-group">
|
498 |
-
<label class="wd-label masonry_col_num" style="<?php echo (BWG()->options->masonry == "vertical") ? '' : 'display:none'; ?>" for="masonry_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
499 |
-
<label class="wd-label masonry_row_num" style="<?php echo (BWG()->options->masonry == "vertical") ? 'display:none' : ''; ?>" for="masonry_image_column_number"><?php _e('Number of image rows', BWG()->prefix); ?></label>
|
500 |
-
<div class="bwg-flex">
|
501 |
-
<input type="number" name="masonry_image_column_number" id="masonry_image_column_number" value="<?php echo BWG()->options->masonry_image_column_number; ?>" min="0" />
|
502 |
-
</div>
|
503 |
-
<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.', BWG()->prefix); ?></p>
|
504 |
-
</div>
|
505 |
-
</div>
|
506 |
-
<div class="wd-box-content wd-width-100">
|
507 |
-
<div class="wd-group">
|
508 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
509 |
-
<div class="bwg-flex">
|
510 |
-
<input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_0" value="0" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
511 |
-
<input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
512 |
-
<input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_2" value="2" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
513 |
-
<input type="radio" name="masonry_image_enable_page" id="masonry_image_enable_page_3" value="3" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
514 |
-
</div>
|
515 |
-
<p class="description" id="masonry_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
516 |
-
<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.', BWG()->prefix); ?></p>
|
517 |
-
<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.', BWG()->prefix); ?></p>
|
518 |
-
<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.', BWG()->prefix); ?></p>
|
519 |
-
</div>
|
520 |
-
</div>
|
521 |
-
<div class="wd-box-content wd-width-100" id="tr_masonry_images_per_page">
|
522 |
-
<div class="wd-group">
|
523 |
-
<label class="wd-label" for="masonry_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
524 |
-
<div class="bwg-flex">
|
525 |
-
<input type="number" name="masonry_images_per_page" id="masonry_images_per_page" value="<?php echo BWG()->options->masonry_images_per_page; ?>" min="0" />
|
526 |
-
</div>
|
527 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
528 |
-
</div>
|
529 |
-
</div>
|
530 |
-
<div class="wd-box-content wd-width-100" id="tr_masonry_load_more_image_count">
|
531 |
-
<div class="wd-group">
|
532 |
-
<label class="wd-label" for="masonry_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
533 |
-
<div class="bwg-flex">
|
534 |
-
<input type="number" name="masonry_load_more_image_count" id="masonry_load_more_image_count" value="<?php echo BWG()->options->masonry_load_more_image_count; ?>" min="0" />
|
535 |
-
</div>
|
536 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
537 |
-
</div>
|
538 |
-
</div>
|
539 |
-
</div>
|
540 |
-
<div class="wd-box-content wd-width-33">
|
541 |
-
<div class="wd-box-content wd-width-100">
|
542 |
-
<div class="wd-group">
|
543 |
-
<label class="wd-label" for="masonry_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
544 |
-
<select name="masonry_sort_by" id="masonry_sort_by">
|
545 |
-
<option value="order" <?php if (BWG()->options->masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
546 |
-
<option value="alt" <?php if (BWG()->options->masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
547 |
-
<option value="date" <?php if (BWG()->options->masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
548 |
-
<option value="filename" <?php if (BWG()->options->masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
549 |
-
<option value="size" <?php if (BWG()->options->masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
550 |
-
<option value="filetype" <?php if (BWG()->options->masonry_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
551 |
-
<option value="resolution" <?php if (BWG()->options->masonry_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
552 |
-
<option value="random" <?php if (BWG()->options->masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
553 |
-
</select>
|
554 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
555 |
-
</div>
|
556 |
-
</div>
|
557 |
-
<div class="wd-box-content wd-width-100">
|
558 |
-
<div class="wd-group">
|
559 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
560 |
-
<input type="radio" name="masonry_order_by" id="masonry_order_by_1" value="asc" <?php if (BWG()->options->masonry_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="masonry_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
561 |
-
<input type="radio" name="masonry_order_by" id="masonry_order_by_0" value="desc" <?php if (BWG()->options->masonry_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="masonry_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
562 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
563 |
-
</div>
|
564 |
-
</div>
|
565 |
-
<div class="wd-box-content wd-width-100">
|
566 |
-
<div class="wd-group">
|
567 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
568 |
-
<div class="bwg-flex">
|
569 |
-
<input type="radio" name="masonry_show_search_box" id="masonry_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
570 |
-
<input type="radio" name="masonry_show_search_box" id="masonry_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
571 |
-
</div>
|
572 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
573 |
-
</div>
|
574 |
-
</div>
|
575 |
-
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_placeholder">
|
576 |
-
<div class="wd-group">
|
577 |
-
<label class="wd-label" for="placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
578 |
-
<div class="bwg-flex">
|
579 |
-
<input type="text" name="masonry_placeholder" id="masonry_placeholder" value="<?php echo BWG()->options->masonry_placeholder; ?>" />
|
580 |
-
</div>
|
581 |
-
</div>
|
582 |
-
</div>
|
583 |
-
<div class="wd-box-content wd-width-100" id="tr_masonry_search_box_width">
|
584 |
-
<div class="wd-group">
|
585 |
-
<label class="wd-label" for="masonry_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
586 |
-
<div class="bwg-flex">
|
587 |
-
<input type="number" name="masonry_search_box_width" id="masonry_search_box_width" value="<?php echo BWG()->options->masonry_search_box_width; ?>" min="0" /><span>px</span>
|
588 |
-
</div>
|
589 |
-
</div>
|
590 |
-
</div>
|
591 |
-
<div class="wd-box-content wd-width-100">
|
592 |
-
<div class="wd-group">
|
593 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
594 |
-
<div class="bwg-flex">
|
595 |
-
<input type="radio" name="masonry_show_sort_images" id="masonry_show_sort_images_1" value="1" <?php if (BWG()->options->masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="masonry_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
596 |
-
<input type="radio" name="masonry_show_sort_images" id="masonry_show_sort_images_0" value="0" <?php if (!BWG()->options->masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="masonry_show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
597 |
-
</div>
|
598 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
599 |
-
</div>
|
600 |
-
</div>
|
601 |
-
<div class="wd-box-content wd-width-100">
|
602 |
-
<div class="wd-group">
|
603 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
604 |
-
<div class="bwg-flex">
|
605 |
-
<input type="radio" name="masonry_show_tag_box" id="masonry_show_tag_box_1" value="1" <?php if (BWG()->options->masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="masonry_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
606 |
-
<input type="radio" name="masonry_show_tag_box" id="masonry_show_tag_box_0" value="0" <?php if (!BWG()->options->masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="masonry_show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
607 |
-
</div>
|
608 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
609 |
-
</div>
|
610 |
-
</div>
|
611 |
-
</div>
|
612 |
-
<div class="wd-box-content wd-width-33">
|
613 |
-
<div class="wd-box-content wd-width-100">
|
614 |
-
<div class="wd-group">
|
615 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
616 |
-
<div class="bwg-flex">
|
617 |
-
<input type="radio" name="masonry_show_gallery_title" id="masonry_thumb_name_yes" value="1" <?php if (BWG()->options->masonry_show_gallery_title) echo 'checked="checked"'; ?> /><label for="masonry_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
618 |
-
<input type="radio" name="masonry_show_gallery_title" id="masonry_thumb_name_no" value="0" <?php if (!BWG()->options->masonry_show_gallery_title) echo 'checked="checked"'; ?> /><label for="masonry_thumb_name_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
619 |
-
</div>
|
620 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
621 |
-
</div>
|
622 |
-
</div>
|
623 |
-
<div class="wd-box-content wd-width-100">
|
624 |
-
<div class="wd-group">
|
625 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
626 |
-
<div class="bwg-flex">
|
627 |
-
<input type="radio" name="masonry_show_gallery_description" id="masonry_show_gallery_description_1" value="1" <?php if (BWG()->options->masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="masonry_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
628 |
-
<input type="radio" name="masonry_show_gallery_description" id="masonry_show_gallery_description_0" value="0" <?php if (!BWG()->options->masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="masonry_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
629 |
-
</div>
|
630 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
631 |
-
</div>
|
632 |
-
</div>
|
633 |
-
<div class="wd-box-content wd-width-100" id="tr_show_masonry_thumb_description">
|
634 |
-
<div class="wd-group">
|
635 |
-
<label class="wd-label"><?php _e('Show image descriptions in Vertical Masonry', BWG()->prefix); ?></label>
|
636 |
-
<div class="bwg-flex">
|
637 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_1" value="1" <?php if (BWG()->options->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
638 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="show_masonry_thumb_description" id="masonry_thumb_desc_0" value="0" <?php if (!BWG()->options->show_masonry_thumb_description) echo 'checked="checked"'; ?> /><label for="masonry_thumb_desc_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
639 |
-
</div>
|
640 |
-
<p class="description"><?php _e('Enable this setting to display descriptions under images in Vertical Masonry view.', BWG()->prefix); ?></p>
|
641 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
642 |
-
</div>
|
643 |
-
</div>
|
644 |
-
<div class="wd-box-content wd-width-100">
|
645 |
-
<div class="wd-group">
|
646 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
647 |
-
<div class="bwg-flex">
|
648 |
-
<input type="radio" name="masonry_play_icon" id="masonry_play_icon_yes" value="1" <?php if (BWG()->options->masonry_play_icon) echo 'checked="checked"'; ?> /><label for="masonry_play_icon_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
649 |
-
<input type="radio" name="masonry_play_icon" id="masonry_play_icon_no" value="0" <?php if (!BWG()->options->masonry_play_icon) echo 'checked="checked"'; ?> /><label for="masonry_play_icon_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
650 |
-
</div>
|
651 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
652 |
-
</div>
|
653 |
-
</div>
|
654 |
-
<div class="wd-box-content wd-width-100">
|
655 |
-
<div class="wd-group">
|
656 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
657 |
-
<div class="bwg-flex">
|
658 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry_gallery_download" id="masonry_gallery_download_1" value="1" <?php if (BWG()->options->masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="masonry_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
659 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="masonry_gallery_download" id="masonry_gallery_download_0" value="0" <?php if (!BWG()->options->masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="masonry_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
660 |
-
</div>
|
661 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
662 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
663 |
-
</div>
|
664 |
-
</div>
|
665 |
-
<?php
|
666 |
-
if (function_exists('BWGEC')) {
|
667 |
-
?>
|
668 |
-
<div class="wd-box-content wd-width-100">
|
669 |
-
<div class="wd-group">
|
670 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
671 |
-
<div class="bwg-flex">
|
672 |
-
<input type="radio" name="masonry_ecommerce_icon_show_hover" id="masonry_ecommerce_icon_show_hover_1" value="hover" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
673 |
-
<input type="radio" name="masonry_ecommerce_icon_show_hover" id="masonry_ecommerce_icon_show_hover_2" value="none" <?php if (BWG()->options->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", BWG()->prefix); ?></label>
|
674 |
-
</div>
|
675 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
676 |
-
</div>
|
677 |
-
</div>
|
678 |
-
<?php
|
679 |
-
}
|
680 |
-
?>
|
681 |
-
</div>
|
682 |
-
</div>
|
683 |
-
<div id="thumbnails_mosaic_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
684 |
-
<div class="wd-box-content wd-width-33">
|
685 |
-
<div class="wd-box-content wd-width-100">
|
686 |
-
<div class="wd-group">
|
687 |
-
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
688 |
-
<div class="bwg-flex">
|
689 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic" id="mosaic_0" value="vertical" <?php if (BWG()->options->mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="mosaic_0" class="wd-radio-label"><?php _e('Vertical', BWG()->prefix); ?></label>
|
690 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic" id="mosaic_1" value="horizontal" <?php if (BWG()->options->mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="mosaic_1" class="wd-radio-label"><?php _e('Horizontal', BWG()->prefix); ?></label>
|
691 |
-
</div>
|
692 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
693 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
694 |
-
</div>
|
695 |
-
</div>
|
696 |
-
<div class="wd-box-content wd-width-100">
|
697 |
-
<div class="wd-group">
|
698 |
-
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
699 |
-
<div class="bwg-flex">
|
700 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="resizable_mosaic" id="resizable_mosaic_1" value="1" <?php if (BWG()->options->resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
701 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="resizable_mosaic" id="resizable_mosaic_0" value="0" <?php if (BWG()->options->resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="resizable_mosaic_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
702 |
-
</div>
|
703 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></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-100">
|
708 |
-
<div class="wd-group">
|
709 |
-
<label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
710 |
-
<div class="bwg-flex">
|
711 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="mosaic_total_width" id="mosaic_total_width" value="<?php echo BWG()->options->mosaic_total_width; ?>" min="0" /><span>%</span>
|
712 |
-
</div>
|
713 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
714 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
715 |
-
</div>
|
716 |
-
</div>
|
717 |
-
<div class="wd-box-content wd-width-100">
|
718 |
-
<div class="wd-group">
|
719 |
-
<label class="wd-label" for="mosaic_thumb_size"><?php _e('Thumbnail size', BWG()->prefix); ?></label>
|
720 |
-
<div class="bwg-flex">
|
721 |
-
<input type="number" name="mosaic_thumb_size" id="mosaic_thumb_size" value="<?php echo BWG()->options->mosaic_thumb_size; ?>" min="0" /><span>px</span>
|
722 |
-
</div>
|
723 |
-
<p class="description"><?php _e('The default size of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
724 |
-
</div>
|
725 |
-
</div>
|
726 |
-
<div class="wd-box-content wd-width-100">
|
727 |
-
<div class="wd-group">
|
728 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
729 |
-
<div class="bwg-flex">
|
730 |
-
<input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_0" value="0" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
731 |
-
<input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
732 |
-
<input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_2" value="2" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
733 |
-
<input type="radio" name="mosaic_image_enable_page" id="mosaic_image_enable_page_3" value="3" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
734 |
-
</div>
|
735 |
-
<p class="description" id="mosaic_image_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
736 |
-
<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.', BWG()->prefix); ?></p>
|
737 |
-
<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.', BWG()->prefix); ?></p>
|
738 |
-
<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.', BWG()->prefix); ?></p>
|
739 |
-
</div>
|
740 |
-
</div>
|
741 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_images_per_page">
|
742 |
-
<div class="wd-group">
|
743 |
-
<label class="wd-label" for="mosaic_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
744 |
-
<div class="bwg-flex">
|
745 |
-
<input type="number" name="mosaic_images_per_page" id="mosaic_images_per_page" value="<?php echo BWG()->options->mosaic_images_per_page; ?>" min="0" />
|
746 |
-
</div>
|
747 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
748 |
-
</div>
|
749 |
-
</div>
|
750 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_load_more_image_count">
|
751 |
-
<div class="wd-group">
|
752 |
-
<label class="wd-label" for="mosaic_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
753 |
-
<div class="bwg-flex">
|
754 |
-
<input type="number" name="mosaic_load_more_image_count" id="mosaic_load_more_image_count" value="<?php echo BWG()->options->mosaic_load_more_image_count; ?>" min="0" />
|
755 |
-
</div>
|
756 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
757 |
-
</div>
|
758 |
-
</div>
|
759 |
-
</div>
|
760 |
-
<div class="wd-box-content wd-width-33">
|
761 |
-
<div class="wd-box-content wd-width-100">
|
762 |
-
<div class="wd-group">
|
763 |
-
<label class="wd-label" for="mosaic_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
764 |
-
<select name="mosaic_sort_by" id="mosaic_sort_by">
|
765 |
-
<option value="order" <?php if (BWG()->options->mosaic_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
766 |
-
<option value="alt" <?php if (BWG()->options->mosaic_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
767 |
-
<option value="date" <?php if (BWG()->options->mosaic_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
768 |
-
<option value="filename" <?php if (BWG()->options->mosaic_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
769 |
-
<option value="size" <?php if (BWG()->options->mosaic_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
770 |
-
<option value="filetype" <?php if (BWG()->options->mosaic_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
771 |
-
<option value="resolution" <?php if (BWG()->options->mosaic_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
772 |
-
<option value="random" <?php if (BWG()->options->mosaic_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
773 |
-
</select>
|
774 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
775 |
-
</div>
|
776 |
-
</div>
|
777 |
-
<div class="wd-box-content wd-width-100">
|
778 |
-
<div class="wd-group">
|
779 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
780 |
-
<input type="radio" name="mosaic_order_by" id="mosaic_order_by_1" value="asc" <?php if (BWG()->options->mosaic_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="mosaic_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
781 |
-
<input type="radio" name="mosaic_order_by" id="mosaic_order_by_0" value="desc" <?php if (BWG()->options->mosaic_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="mosaic_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
782 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
783 |
-
</div>
|
784 |
-
</div>
|
785 |
-
<div class="wd-box-content wd-width-100">
|
786 |
-
<div class="wd-group">
|
787 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
788 |
-
<div class="bwg-flex">
|
789 |
-
<input type="radio" name="mosaic_show_search_box" id="mosaic_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
790 |
-
<input type="radio" name="mosaic_show_search_box" id="mosaic_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
791 |
-
</div>
|
792 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
793 |
-
</div>
|
794 |
-
</div>
|
795 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_placeholder">
|
796 |
-
<div class="wd-group">
|
797 |
-
<label class="wd-label" for="mosaic_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
798 |
-
<div class="bwg-flex">
|
799 |
-
<input type="text" name="mosaic_placeholder" id="mosaic_placeholder" value="<?php echo BWG()->options->mosaic_placeholder; ?>" />
|
800 |
-
</div>
|
801 |
-
</div>
|
802 |
-
</div>
|
803 |
-
<div class="wd-box-content wd-width-100" id="tr_mosaic_search_box_width">
|
804 |
-
<div class="wd-group">
|
805 |
-
<label class="wd-label" for="mosaic_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
806 |
-
<div class="bwg-flex">
|
807 |
-
<input type="number" name="mosaic_search_box_width" id="mosaic_search_box_width" value="<?php echo BWG()->options->mosaic_search_box_width; ?>" min="0" /><span>px</span>
|
808 |
-
</div>
|
809 |
-
</div>
|
810 |
-
</div>
|
811 |
-
<div class="wd-box-content wd-width-100">
|
812 |
-
<div class="wd-group">
|
813 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
814 |
-
<div class="bwg-flex">
|
815 |
-
<input type="radio" name="mosaic_show_sort_images" id="mosaic_show_sort_images_1" value="1" <?php if (BWG()->options->mosaic_show_sort_images) echo 'checked="checked"'; ?> /><label for="mosaic_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
816 |
-
<input type="radio" name="mosaic_show_sort_images" id="mosaic_show_sort_images_0" value="0" <?php if (!BWG()->options->mosaic_show_sort_images) echo 'checked="checked"'; ?> /><label for="mosaic_show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
817 |
-
</div>
|
818 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
819 |
-
</div>
|
820 |
-
</div>
|
821 |
-
<div class="wd-box-content wd-width-100">
|
822 |
-
<div class="wd-group">
|
823 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
824 |
-
<div class="bwg-flex">
|
825 |
-
<input type="radio" name="mosaic_show_tag_box" id="mosaic_show_tag_box_1" value="1" <?php if (BWG()->options->mosaic_show_tag_box) echo 'checked="checked"'; ?> /><label for="mosaic_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
826 |
-
<input type="radio" name="mosaic_show_tag_box" id="mosaic_show_tag_box_0" value="0" <?php if (!BWG()->options->mosaic_show_tag_box) echo 'checked="checked"'; ?> /><label for="mosaic_show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
827 |
-
</div>
|
828 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
829 |
-
</div>
|
830 |
-
</div>
|
831 |
-
</div>
|
832 |
-
<div class="wd-box-content wd-width-33">
|
833 |
-
<div class="wd-box-content wd-width-100">
|
834 |
-
<div class="wd-group">
|
835 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
836 |
-
<div class="bwg-flex">
|
837 |
-
<input type="radio" name="mosaic_show_gallery_title" id="mosaic_thumb_name_yes" value="1" <?php if (BWG()->options->mosaic_show_gallery_title) echo 'checked="checked"'; ?> /><label for="mosaic_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
838 |
-
<input type="radio" name="mosaic_show_gallery_title" id="mosaic_thumb_name_no" value="0" <?php if (!BWG()->options->mosaic_show_gallery_title) echo 'checked="checked"'; ?> /><label for="mosaic_thumb_name_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
839 |
-
</div>
|
840 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
841 |
-
</div>
|
842 |
-
</div>
|
843 |
-
<div class="wd-box-content wd-width-100">
|
844 |
-
<div class="wd-group">
|
845 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
846 |
-
<div class="bwg-flex">
|
847 |
-
<input type="radio" name="mosaic_show_gallery_description" id="mosaic_show_gallery_description_1" value="1" <?php if (BWG()->options->mosaic_show_gallery_description) echo 'checked="checked"'; ?> /><label for="mosaic_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
848 |
-
<input type="radio" name="mosaic_show_gallery_description" id="mosaic_show_gallery_description_0" value="0" <?php if (!BWG()->options->mosaic_show_gallery_description) echo 'checked="checked"'; ?> /><label for="mosaic_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
849 |
-
</div>
|
850 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
851 |
-
</div>
|
852 |
-
</div>
|
853 |
-
<div class="wd-box-content wd-width-100">
|
854 |
-
<div class="wd-group">
|
855 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
856 |
-
<div class="bwg-flex">
|
857 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_1" value="hover" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
858 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_0" value="show" <?php if (BWG()->options->mosaic_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
859 |
-
<input type="radio" name="mosaic_image_title_show_hover" id="mosaic_image_title_show_hover_2" value="none" <?php if (BWG()->options->mosaic_image_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="mosaic_image_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
860 |
-
</div>
|
861 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
862 |
-
</div>
|
863 |
-
</div>
|
864 |
-
<div class="wd-box-content wd-width-100">
|
865 |
-
<div class="wd-group">
|
866 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
867 |
-
<div class="bwg-flex">
|
868 |
-
<input type="radio" name="mosaic_play_icon" id="mosaic_play_icon_yes" value="1" <?php if (BWG()->options->mosaic_play_icon) echo 'checked="checked"'; ?> /><label for="mosaic_play_icon_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
869 |
-
<input type="radio" name="mosaic_play_icon" id="mosaic_play_icon_no" value="0" <?php if (!BWG()->options->mosaic_play_icon) echo 'checked="checked"'; ?> /><label for="mosaic_play_icon_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
870 |
-
</div>
|
871 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
872 |
-
</div>
|
873 |
-
</div>
|
874 |
-
<div class="wd-box-content wd-width-100">
|
875 |
-
<div class="wd-group">
|
876 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
877 |
-
<div class="bwg-flex">
|
878 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic_gallery_download" id="mosaic_gallery_download_1" value="1" <?php if (BWG()->options->mosaic_gallery_download) echo 'checked="checked"'; ?> /><label for="mosaic_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
879 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="mosaic_gallery_download" id="mosaic_gallery_download_0" value="0" <?php if (!BWG()->options->mosaic_gallery_download) echo 'checked="checked"'; ?> /><label for="mosaic_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
880 |
-
</div>
|
881 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
882 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
883 |
-
</div>
|
884 |
-
</div>
|
885 |
-
<?php
|
886 |
-
if (function_exists('BWGEC')) {
|
887 |
-
?>
|
888 |
-
<div class="wd-box-content wd-width-100">
|
889 |
-
<div class="wd-group">
|
890 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
891 |
-
<div class="bwg-flex">
|
892 |
-
<input type="radio" name="mosaic_ecommerce_icon_show_hover" id="mosaic_ecommerce_icon_show_hover_1" value="hover" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
893 |
-
<input type="radio" name="mosaic_ecommerce_icon_show_hover" id="mosaic_ecommerce_icon_show_hover_2" value="none" <?php if (BWG()->options->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", BWG()->prefix); ?></label>
|
894 |
-
</div>
|
895 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
896 |
-
</div>
|
897 |
-
</div>
|
898 |
-
<?php
|
899 |
-
}
|
900 |
-
?>
|
901 |
-
</div>
|
902 |
-
</div>
|
903 |
-
<div id="slideshow_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
904 |
-
<div class="wd-box-content wd-width-33">
|
905 |
-
<div class="wd-box-content wd-width-100">
|
906 |
-
<div class="wd-group">
|
907 |
-
<label class="wd-label" for="slideshow_type"><?php _e('Slideshow effect', BWG()->prefix); ?></label>
|
908 |
-
<div class="bwg-flex">
|
909 |
-
<select name="slideshow_type" id="slideshow_type">
|
910 |
-
<?php
|
911 |
-
foreach ($effects as $key => $effect) {
|
912 |
-
?>
|
913 |
-
<option value="<?php echo $key; ?>"
|
914 |
-
<?php echo (!BWG()->is_pro && $key != 'none' && $key != 'fade') ? 'disabled="disabled" title="' . __('This effect is disabled in free version.', BWG()->prefix) . '"' : ''; ?>
|
915 |
-
<?php if (BWG()->options->slideshow_type == $key) echo 'selected="selected"'; ?>><?php echo __($effect, BWG()->prefix); ?></option>
|
916 |
-
<?php
|
917 |
-
}
|
918 |
-
?>
|
919 |
-
</select>
|
920 |
-
</div>
|
921 |
-
<p class="description"><?php _e('Select the animation effect for your slideshow.', BWG()->prefix); ?></p>
|
922 |
-
</div>
|
923 |
-
</div>
|
924 |
-
<div class="wd-box-content wd-width-100">
|
925 |
-
<div class="wd-group">
|
926 |
-
<label class="wd-label" for="slideshow_effect_duration"><?php _e('Effect duration', BWG()->prefix); ?></label>
|
927 |
-
<div class="bwg-flex">
|
928 |
-
<input type="number" name="slideshow_effect_duration" id="slideshow_effect_duration" value="<?php echo BWG()->options->slideshow_effect_duration; ?>" min="0" step="0.1" /><span>sec.</span>
|
929 |
-
</div>
|
930 |
-
<p class="description"><?php _e('Set the duration of your slideshow animation effect.', BWG()->prefix); ?></p>
|
931 |
-
</div>
|
932 |
-
</div>
|
933 |
-
<div class="wd-box-content wd-width-100">
|
934 |
-
<div class="wd-group">
|
935 |
-
<label class="wd-label" for="slideshow_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
936 |
-
<div class="bwg-flex">
|
937 |
-
<input type="number" name="slideshow_interval" id="slideshow_interval" value="<?php echo BWG()->options->slideshow_interval; ?>" min="0" /><span>sec.</span>
|
938 |
-
</div>
|
939 |
-
<p class="description"><?php _e('Specify the time interval between slides in Photo Gallery\'s Slideshow view.', BWG()->prefix); ?></p>
|
940 |
-
</div>
|
941 |
-
</div>
|
942 |
-
<div class="wd-box-content wd-width-100">
|
943 |
-
<div class="wd-group">
|
944 |
-
<label class="wd-label" for="slideshow_width"><?php _e('Slideshow dimensions', BWG()->prefix); ?></label>
|
945 |
-
<div class="bwg-flex">
|
946 |
-
<input type="number" name="slideshow_width" id="slideshow_width" value="<?php echo BWG()->options->slideshow_width; ?>" min="0" /><span>px</span>
|
947 |
-
<input type="number" name="slideshow_height" id="slideshow_height" value="<?php echo BWG()->options->slideshow_height; ?>" min="0" /><span>px</span>
|
948 |
-
</div>
|
949 |
-
<p class="description"><?php _e('Set the default dimensions of your slideshow galleries.', BWG()->prefix); ?></p>
|
950 |
-
</div>
|
951 |
-
</div>
|
952 |
-
</div>
|
953 |
-
<div class="wd-box-content wd-width-33">
|
954 |
-
<div class="wd-box-content wd-width-100">
|
955 |
-
<div class="wd-group">
|
956 |
-
<label class="wd-label" for="slideshow_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
957 |
-
<select name="slideshow_sort_by" id="slideshow_sort_by">
|
958 |
-
<option value="order" <?php if (BWG()->options->slideshow_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
959 |
-
<option value="alt" <?php if (BWG()->options->slideshow_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
960 |
-
<option value="date" <?php if (BWG()->options->slideshow_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
961 |
-
<option value="filename" <?php if (BWG()->options->slideshow_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
962 |
-
<option value="size" <?php if (BWG()->options->slideshow_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
963 |
-
<option value="filetype" <?php if (BWG()->options->slideshow_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
964 |
-
<option value="resolution" <?php if (BWG()->options->slideshow_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
965 |
-
<option value="random" <?php if (BWG()->options->slideshow_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
966 |
-
</select>
|
967 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
968 |
-
</div>
|
969 |
-
</div>
|
970 |
-
<div class="wd-box-content wd-width-100">
|
971 |
-
<div class="wd-group">
|
972 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
973 |
-
<input type="radio" name="slideshow_order_by" id="slideshow_order_by_1" value="asc" <?php if (BWG()->options->slideshow_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="slideshow_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
974 |
-
<input type="radio" name="slideshow_order_by" id="slideshow_order_by_0" value="desc" <?php if (BWG()->options->slideshow_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="slideshow_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
975 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
976 |
-
</div>
|
977 |
-
</div>
|
978 |
-
<div class="wd-box-content wd-width-100">
|
979 |
-
<div class="wd-group">
|
980 |
-
<label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
|
981 |
-
<div class="bwg-flex">
|
982 |
-
<input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_yes" value="1" <?php if (BWG()->options->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
983 |
-
<input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_no" value="0" <?php if (!BWG()->options->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
984 |
-
</div>
|
985 |
-
<p class="description"><?php _e('Activate this option to autoplay slideshow galleries.', BWG()->prefix); ?></p>
|
986 |
-
</div>
|
987 |
-
</div>
|
988 |
-
<div class="wd-box-content wd-width-100">
|
989 |
-
<div class="wd-group">
|
990 |
-
<label class="wd-label"><?php _e('Enable shuffle', BWG()->prefix); ?></label>
|
991 |
-
<div class="bwg-flex">
|
992 |
-
<input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_yes" value="1" <?php if (BWG()->options->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
993 |
-
<input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_no" value="0" <?php if (!BWG()->options->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
994 |
-
</div>
|
995 |
-
<p class="description"><?php _e('The slideshow images will be shuffled in case this setting is enabled.', BWG()->prefix); ?></p>
|
996 |
-
</div>
|
997 |
-
</div>
|
998 |
-
<div class="wd-box-content wd-width-100">
|
999 |
-
<div class="wd-group">
|
1000 |
-
<label class="wd-label"><?php _e('Enable control buttons', BWG()->prefix); ?></label>
|
1001 |
-
<div class="bwg-flex">
|
1002 |
-
<input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_yes" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1003 |
-
<input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_no" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1004 |
-
</div>
|
1005 |
-
<p class="description"><?php _e('Enable this option to show control buttons on your slideshow galleries.', BWG()->prefix); ?></p>
|
1006 |
-
</div>
|
1007 |
-
</div>
|
1008 |
-
<div class="wd-box-content wd-width-100" id="tr_autohide_slideshow_navigation">
|
1009 |
-
<div class="wd-group">
|
1010 |
-
<label class="wd-label"><?php _e('Show Next / Previous buttons', BWG()->prefix); ?></label>
|
1011 |
-
<div class="bwg-flex">
|
1012 |
-
<input type="radio" name="autohide_slideshow_navigation" id="autohide_slideshow_navigation_1" value="1" <?php if (BWG()->options->autohide_slideshow_navigation) echo 'checked="checked"'; ?> /><label for="autohide_slideshow_navigation_1" class="wd-radio-label"><?php _e('On hover', BWG()->prefix); ?></label>
|
1013 |
-
<input type="radio" name="autohide_slideshow_navigation" id="autohide_slideshow_navigation_0" value="0" <?php if (!BWG()->options->autohide_slideshow_navigation) echo 'checked="checked"'; ?> /><label for="autohide_slideshow_navigation_0" class="wd-radio-label"><?php _e('Always', BWG()->prefix); ?></label>
|
1014 |
-
</div>
|
1015 |
-
<p class="description"><?php _e('Display Next/Previous buttons on your slideshow galleries activating this setting.', BWG()->prefix); ?></p>
|
1016 |
-
</div>
|
1017 |
-
</div>
|
1018 |
-
</div>
|
1019 |
-
<div class="wd-box-content wd-width-33">
|
1020 |
-
<div class="wd-box-content wd-width-100">
|
1021 |
-
<div class="wd-group">
|
1022 |
-
<label class="wd-label"><?php _e('Enable slideshow filmstrip', BWG()->prefix); ?></label>
|
1023 |
-
<div class="bwg-flex">
|
1024 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_yes" value="1" <?php if (BWG()->options->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes')" /><label for="slideshow_enable_filmstrip_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1025 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_no" value="0" <?php if (!BWG()->options->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no')" /><label for="slideshow_enable_filmstrip_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1026 |
-
</div>
|
1027 |
-
<p class="description"><?php _e('Add a filmstrip with image thumbnails to your slideshow galleries by enabling this option.', BWG()->prefix); ?></p>
|
1028 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1029 |
-
</div>
|
1030 |
-
</div>
|
1031 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_filmstrip_height">
|
1032 |
-
<div class="wd-group">
|
1033 |
-
<label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size', BWG()->prefix); ?></label>
|
1034 |
-
<div class="bwg-flex">
|
1035 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo BWG()->options->slideshow_filmstrip_height; ?>" min="0" /><span>px</span>
|
1036 |
-
</div>
|
1037 |
-
<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.', BWG()->prefix); ?></p>
|
1038 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1039 |
-
</div>
|
1040 |
-
</div>
|
1041 |
-
<div class="wd-box-content wd-width-100">
|
1042 |
-
<div class="wd-group">
|
1043 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1044 |
-
<div class="bwg-flex">
|
1045 |
-
<input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_yes" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1046 |
-
<input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_no" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1047 |
-
</div>
|
1048 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Slideshow view.', BWG()->prefix); ?></p>
|
1049 |
-
</div>
|
1050 |
-
</div>
|
1051 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_title_position">
|
1052 |
-
<div class="wd-group">
|
1053 |
-
<label class="wd-label"><?php _e('Title position', BWG()->prefix); ?></label>
|
1054 |
-
<div class="bwg-flex">
|
1055 |
-
<table class="bwg_position_table">
|
1056 |
-
<tbody>
|
1057 |
-
<tr>
|
1058 |
-
<td><input type="radio" value="top-left" id="slideshow_title_topLeft" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "top-left") echo 'checked="checked"'; ?>></td>
|
1059 |
-
<td><input type="radio" value="top-center" id="slideshow_title_topCenter" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "top-center") echo 'checked="checked"'; ?>></td>
|
1060 |
-
<td><input type="radio" value="top-right" id="slideshow_title_topRight" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "top-right") echo 'checked="checked"'; ?>></td>
|
1061 |
-
</tr>
|
1062 |
-
<tr>
|
1063 |
-
<td><input type="radio" value="middle-left" id="slideshow_title_midLeft" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "middle-left") echo 'checked="checked"'; ?>></td>
|
1064 |
-
<td><input type="radio" value="middle-center" id="slideshow_title_midCenter" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "middle-center") echo 'checked="checked"'; ?>></td>
|
1065 |
-
<td><input type="radio" value="middle-right" id="slideshow_title_midRight" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "middle-right") echo 'checked="checked"'; ?>></td>
|
1066 |
-
</tr>
|
1067 |
-
<tr>
|
1068 |
-
<td><input type="radio" value="bottom-left" id="slideshow_title_botLeft" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "bottom-left") echo 'checked="checked"'; ?>></td>
|
1069 |
-
<td><input type="radio" value="bottom-center" id="slideshow_title_botCenter" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "bottom-center") echo 'checked="checked"'; ?>></td>
|
1070 |
-
<td><input type="radio" value="bottom-right" id="slideshow_title_botRight" name="slideshow_title_position" <?php if (BWG()->options->slideshow_title_position == "bottom-right") echo 'checked="checked"'; ?>></td>
|
1071 |
-
</tr>
|
1072 |
-
</tbody>
|
1073 |
-
</table>
|
1074 |
-
</div>
|
1075 |
-
<p class="description"><?php _e('Set the position of image titles in Slideshow view.', BWG()->prefix); ?></p>
|
1076 |
-
</div>
|
1077 |
-
</div>
|
1078 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_full_width_title">
|
1079 |
-
<div class="wd-group">
|
1080 |
-
<label class="wd-label"><?php _e('Full width title', BWG()->prefix); ?></label>
|
1081 |
-
<div class="bwg-flex">
|
1082 |
-
<input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_1" value="1" <?php if (BWG()->options->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1083 |
-
<input type="radio" name="slideshow_title_full_width" id="slideshow_title_full_width_0" value="0" <?php if (!BWG()->options->slideshow_title_full_width) echo 'checked="checked"'; ?> /><label for="slideshow_title_full_width_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1084 |
-
</div>
|
1085 |
-
<p class="description"><?php _e('Display image title based on the slideshow dimensions.', BWG()->prefix); ?></p>
|
1086 |
-
</div>
|
1087 |
-
</div>
|
1088 |
-
<div class="wd-box-content wd-width-100">
|
1089 |
-
<div class="wd-group">
|
1090 |
-
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1091 |
-
<div class="bwg-flex">
|
1092 |
-
<input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_yes" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1093 |
-
<input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_no" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1094 |
-
</div>
|
1095 |
-
<p class="description"><?php _e('Enable this setting to show descriptions of images in Slideshow view.', BWG()->prefix); ?></p>
|
1096 |
-
</div>
|
1097 |
-
</div>
|
1098 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_description_position">
|
1099 |
-
<div class="wd-group">
|
1100 |
-
<label class="wd-label"><?php _e('Description position', BWG()->prefix); ?></label>
|
1101 |
-
<div class="bwg-flex">
|
1102 |
-
<table class="bwg_position_table">
|
1103 |
-
<tbody>
|
1104 |
-
<tr>
|
1105 |
-
<td><input type="radio" value="top-left" id="slideshow_description_topLeft" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "top-left") echo 'checked="checked"'; ?>></td>
|
1106 |
-
<td><input type="radio" value="top-center" id="slideshow_description_topCenter" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "top-center") echo 'checked="checked"'; ?>></td>
|
1107 |
-
<td><input type="radio" value="top-right" id="slideshow_description_topRight" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "top-right") echo 'checked="checked"'; ?>></td>
|
1108 |
-
</tr>
|
1109 |
-
<tr>
|
1110 |
-
<td><input type="radio" value="middle-left" id="slideshow_description_midLeft" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "middle-left") echo 'checked="checked"'; ?>></td>
|
1111 |
-
<td><input type="radio" value="middle-center" id="slideshow_description_midCenter" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "middle-center") echo 'checked="checked"'; ?>></td>
|
1112 |
-
<td><input type="radio" value="middle-right" id="slideshow_description_midRight" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "middle-right") echo 'checked="checked"'; ?>></td>
|
1113 |
-
</tr>
|
1114 |
-
<tr>
|
1115 |
-
<td><input type="radio" value="bottom-left" id="slideshow_description_botLeft" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "bottom-left") echo 'checked="checked"'; ?>></td>
|
1116 |
-
<td><input type="radio" value="bottom-center" id="slideshow_description_botCenter" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "bottom-center") echo 'checked="checked"'; ?>></td>
|
1117 |
-
<td><input type="radio" value="bottom-right" id="slideshow_description_botRight" name="slideshow_description_position" <?php if (BWG()->options->slideshow_description_position == "bottom-right") echo 'checked="checked"'; ?>></td>
|
1118 |
-
</tr>
|
1119 |
-
</tbody>
|
1120 |
-
</table>
|
1121 |
-
</div>
|
1122 |
-
<p class="description"><?php _e('Set the position of image descriptions in Slideshow view.', BWG()->prefix); ?></p>
|
1123 |
-
</div>
|
1124 |
-
</div>
|
1125 |
-
<div class="wd-box-content wd-width-100">
|
1126 |
-
<div class="wd-group">
|
1127 |
-
<label class="wd-label"><?php _e('Enable slideshow Music', BWG()->prefix); ?></label>
|
1128 |
-
<div class="bwg-flex">
|
1129 |
-
<input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_yes" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1130 |
-
<input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_no" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1131 |
-
</div>
|
1132 |
-
<p class="description"><?php _e('Enabling this option, you can have music playing along with your slideshow.', BWG()->prefix); ?></p>
|
1133 |
-
</div>
|
1134 |
-
</div>
|
1135 |
-
<div class="wd-box-content wd-width-100" id="tr_slideshow_music_url">
|
1136 |
-
<div class="wd-group">
|
1137 |
-
<label class="wd-label" for="slideshow_audio_url"><?php _e('Audio URL', BWG()->prefix); ?></label>
|
1138 |
-
<div class="bwg-flex">
|
1139 |
-
<input type="text" id="slideshow_audio_url" name="slideshow_audio_url" value="<?php echo BWG()->options->slideshow_audio_url; ?>" />
|
1140 |
-
</div>
|
1141 |
-
<p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.', BWG()->prefix); ?></p>
|
1142 |
-
</div>
|
1143 |
-
</div>
|
1144 |
-
<div class="wd-box-content wd-width-100">
|
1145 |
-
<div class="wd-group">
|
1146 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1147 |
-
<div class="bwg-flex">
|
1148 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_gallery_download" id="slideshow_gallery_download_1" value="1" <?php if (BWG()->options->slideshow_gallery_download) echo 'checked="checked"'; ?> /><label for="slideshow_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1149 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="slideshow_gallery_download" id="slideshow_gallery_download_0" value="0" <?php if (!BWG()->options->slideshow_gallery_download) echo 'checked="checked"'; ?> /><label for="slideshow_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1150 |
-
</div>
|
1151 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1152 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1153 |
-
</div>
|
1154 |
-
</div>
|
1155 |
-
</div>
|
1156 |
-
</div>
|
1157 |
-
<div id="image_browser_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1158 |
-
<div class="wd-box-content wd-width-33">
|
1159 |
-
<div class="wd-box-content wd-width-100">
|
1160 |
-
<div class="wd-group">
|
1161 |
-
<label class="wd-label" for="image_browser_width"><?php _e('Image width', BWG()->prefix); ?></label>
|
1162 |
-
<div class="bwg-flex">
|
1163 |
-
<input type="number" name="image_browser_width" id="image_browser_width" value="<?php echo BWG()->options->image_browser_width; ?>" min="0" /><span>px</span>
|
1164 |
-
</div>
|
1165 |
-
<p class="description"><?php _e('Specify the default width of images in Image Browser view.', BWG()->prefix); ?></p>
|
1166 |
-
</div>
|
1167 |
-
</div>
|
1168 |
-
<div class="wd-box-content wd-width-100">
|
1169 |
-
<div class="wd-group">
|
1170 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1171 |
-
<div class="bwg-flex">
|
1172 |
-
<input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_1" value="1" <?php if (BWG()->options->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1173 |
-
<input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_0" value="0" <?php if (!BWG()->options->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1174 |
-
</div>
|
1175 |
-
</div>
|
1176 |
-
</div>
|
1177 |
-
<div class="wd-box-content wd-width-100">
|
1178 |
-
<div class="wd-group">
|
1179 |
-
<label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
|
1180 |
-
<div class="bwg-flex">
|
1181 |
-
<input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_1" value="1" <?php if (BWG()->options->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1182 |
-
<input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_0" value="0" <?php if (!BWG()->options->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1183 |
-
</div>
|
1184 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Image Browser view.', BWG()->prefix); ?></p>
|
1185 |
-
</div>
|
1186 |
-
</div>
|
1187 |
-
</div>
|
1188 |
-
<div class="wd-box-content wd-width-33">
|
1189 |
-
<div class="wd-box-content wd-width-100">
|
1190 |
-
<div class="wd-group">
|
1191 |
-
<label class="wd-label" for="image_browser_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1192 |
-
<select name="image_browser_sort_by" id="image_browser_sort_by">
|
1193 |
-
<option value="order" <?php if (BWG()->options->image_browser_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1194 |
-
<option value="alt" <?php if (BWG()->options->image_browser_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1195 |
-
<option value="date" <?php if (BWG()->options->image_browser_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1196 |
-
<option value="filename" <?php if (BWG()->options->image_browser_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1197 |
-
<option value="size" <?php if (BWG()->options->image_browser_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1198 |
-
<option value="filetype" <?php if (BWG()->options->image_browser_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1199 |
-
<option value="resolution" <?php if (BWG()->options->image_browser_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1200 |
-
<option value="random" <?php if (BWG()->options->image_browser_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1201 |
-
</select>
|
1202 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1203 |
-
</div>
|
1204 |
-
</div>
|
1205 |
-
<div class="wd-box-content wd-width-100">
|
1206 |
-
<div class="wd-group">
|
1207 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1208 |
-
<input type="radio" name="image_browser_order_by" id="image_browser_order_by_1" value="asc" <?php if (BWG()->options->image_browser_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="image_browser_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1209 |
-
<input type="radio" name="image_browser_order_by" id="image_browser_order_by_0" value="desc" <?php if (BWG()->options->image_browser_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="image_browser_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1210 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1211 |
-
</div>
|
1212 |
-
</div>
|
1213 |
-
<div class="wd-box-content wd-width-100">
|
1214 |
-
<div class="wd-group">
|
1215 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1216 |
-
<div class="bwg-flex">
|
1217 |
-
<input type="radio" name="image_browser_show_search_box" id="image_browser_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1218 |
-
<input type="radio" name="image_browser_show_search_box" id="image_browser_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1219 |
-
</div>
|
1220 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1221 |
-
</div>
|
1222 |
-
</div>
|
1223 |
-
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_placeholder">
|
1224 |
-
<div class="wd-group">
|
1225 |
-
<label class="wd-label" for="image_browser_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1226 |
-
<div class="bwg-flex">
|
1227 |
-
<input type="text" name="image_browser_placeholder" id="image_browser_placeholder" value="<?php echo BWG()->options->image_browser_placeholder; ?>" />
|
1228 |
-
</div>
|
1229 |
-
</div>
|
1230 |
-
</div>
|
1231 |
-
<div class="wd-box-content wd-width-100" id="tr_image_browser_search_box_width">
|
1232 |
-
<div class="wd-group">
|
1233 |
-
<label class="wd-label" for="image_browser_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1234 |
-
<div class="bwg-flex">
|
1235 |
-
<input type="number" name="image_browser_search_box_width" id="image_browser_search_box_width" value="<?php echo BWG()->options->image_browser_search_box_width; ?>" min="0" /><span>px</span>
|
1236 |
-
</div>
|
1237 |
-
</div>
|
1238 |
-
</div>
|
1239 |
-
</div>
|
1240 |
-
<div class="wd-box-content wd-width-33">
|
1241 |
-
<div class="wd-box-content wd-width-100">
|
1242 |
-
<div class="wd-group">
|
1243 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1244 |
-
<div class="bwg-flex">
|
1245 |
-
<input type="radio" name="image_browser_show_gallery_title" id="image_browser_thumb_name_yes" value="1" <?php if (BWG()->options->image_browser_show_gallery_title) echo 'checked="checked"'; ?> /><label for="image_browser_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1246 |
-
<input type="radio" name="image_browser_show_gallery_title" id="image_browser_thumb_name_no" value="0" <?php if (!BWG()->options->image_browser_show_gallery_title) echo 'checked="checked"'; ?> /><label for="image_browser_thumb_name_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1247 |
-
</div>
|
1248 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1249 |
-
</div>
|
1250 |
-
</div>
|
1251 |
-
<div class="wd-box-content wd-width-100">
|
1252 |
-
<div class="wd-group">
|
1253 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1254 |
-
<div class="bwg-flex">
|
1255 |
-
<input type="radio" name="image_browser_show_gallery_description" id="image_browser_show_gallery_description_1" value="1" <?php if (BWG()->options->image_browser_show_gallery_description) echo 'checked="checked"'; ?> /><label for="image_browser_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1256 |
-
<input type="radio" name="image_browser_show_gallery_description" id="image_browser_show_gallery_description_0" value="0" <?php if (!BWG()->options->image_browser_show_gallery_description) echo 'checked="checked"'; ?> /><label for="image_browser_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1257 |
-
</div>
|
1258 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1259 |
-
</div>
|
1260 |
-
</div>
|
1261 |
-
<div class="wd-box-content wd-width-100">
|
1262 |
-
<div class="wd-group">
|
1263 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1264 |
-
<div class="bwg-flex">
|
1265 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="image_browser_gallery_download" id="image_browser_gallery_download_1" value="1" <?php if (BWG()->options->image_browser_gallery_download) echo 'checked="checked"'; ?> /><label for="image_browser_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1266 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="image_browser_gallery_download" id="image_browser_gallery_download_0" value="0" <?php if (!BWG()->options->image_browser_gallery_download) echo 'checked="checked"'; ?> /><label for="image_browser_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1267 |
-
</div>
|
1268 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1269 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1270 |
-
</div>
|
1271 |
-
</div>
|
1272 |
-
</div>
|
1273 |
-
</div>
|
1274 |
-
<div id="blog_style_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1275 |
-
<div class="wd-box-content wd-width-33">
|
1276 |
-
<div class="wd-box-content wd-width-100">
|
1277 |
-
<div class="wd-group">
|
1278 |
-
<label class="wd-label" for="blog_style_width"><?php _e('Image width', BWG()->prefix); ?></label>
|
1279 |
-
<div class="bwg-flex">
|
1280 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="blog_style_width" id="blog_style_width" value="<?php echo BWG()->options->blog_style_width; ?>" min="0" /><span>px</span>
|
1281 |
-
</div>
|
1282 |
-
<p class="description"><?php _e('Specify the default width of images in Blog Style view.', BWG()->prefix); ?></p>
|
1283 |
-
</div>
|
1284 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1285 |
-
</div>
|
1286 |
-
<div class="wd-box-content wd-width-100">
|
1287 |
-
<div class="wd-group">
|
1288 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1289 |
-
<div class="bwg-flex">
|
1290 |
-
<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 (BWG()->options->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', BWG()->prefix); ?></label>
|
1291 |
-
<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 (BWG()->options->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', BWG()->prefix); ?></label>
|
1292 |
-
<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 (BWG()->options->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', BWG()->prefix); ?></label>
|
1293 |
-
<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 (BWG()->options->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', BWG()->prefix); ?></label>
|
1294 |
-
</div>
|
1295 |
-
<p class="description" id="blog_style_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1296 |
-
<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.', BWG()->prefix); ?></p>
|
1297 |
-
<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.', BWG()->prefix); ?></p>
|
1298 |
-
<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.', BWG()->prefix); ?></p>
|
1299 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1300 |
-
</div>
|
1301 |
-
</div>
|
1302 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_images_per_page">
|
1303 |
-
<div class="wd-group">
|
1304 |
-
<label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1305 |
-
<div class="bwg-flex">
|
1306 |
-
<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 BWG()->options->blog_style_images_per_page; ?>" min="0" />
|
1307 |
-
</div>
|
1308 |
-
<p class="description"><?php _e('Select the number of images displayed per page in Blog Style view.', BWG()->prefix); ?></p>
|
1309 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1310 |
-
</div>
|
1311 |
-
</div>
|
1312 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_load_more_image_count">
|
1313 |
-
<div class="wd-group">
|
1314 |
-
<label class="wd-label" for="blog_style_load_more_image_count"><?php _e('Images per load', BWG()->prefix); ?></label>
|
1315 |
-
<div class="bwg-flex">
|
1316 |
-
<input type="number" name="blog_style_load_more_image_count" id="blog_style_load_more_image_count" value="<?php echo BWG()->options->blog_style_load_more_image_count; ?>" min="0" />
|
1317 |
-
</div>
|
1318 |
-
<p class="description"><?php _e('Specify the number of images to display per load on galleries.', BWG()->prefix); ?></p>
|
1319 |
-
</div>
|
1320 |
-
</div>
|
1321 |
-
</div>
|
1322 |
-
<div class="wd-box-content wd-width-33">
|
1323 |
-
<div class="wd-box-content wd-width-100">
|
1324 |
-
<div class="wd-group">
|
1325 |
-
<label class="wd-label" for="blog_style_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1326 |
-
<select name="blog_style_sort_by" id="blog_style_sort_by">
|
1327 |
-
<option value="order" <?php if (BWG()->options->blog_style_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1328 |
-
<option value="alt" <?php if (BWG()->options->blog_style_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1329 |
-
<option value="date" <?php if (BWG()->options->blog_style_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1330 |
-
<option value="filename" <?php if (BWG()->options->blog_style_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1331 |
-
<option value="size" <?php if (BWG()->options->blog_style_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1332 |
-
<option value="filetype" <?php if (BWG()->options->blog_style_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1333 |
-
<option value="resolution" <?php if (BWG()->options->blog_style_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1334 |
-
<option value="random" <?php if (BWG()->options->blog_style_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1335 |
-
</select>
|
1336 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1337 |
-
</div>
|
1338 |
-
</div>
|
1339 |
-
<div class="wd-box-content wd-width-100">
|
1340 |
-
<div class="wd-group">
|
1341 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1342 |
-
<input type="radio" name="blog_style_order_by" id="blog_style_order_by_1" value="asc" <?php if (BWG()->options->blog_style_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="blog_style_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1343 |
-
<input type="radio" name="blog_style_order_by" id="blog_style_order_by_0" value="desc" <?php if (BWG()->options->blog_style_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="blog_style_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1344 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1345 |
-
</div>
|
1346 |
-
</div>
|
1347 |
-
<div class="wd-box-content wd-width-100">
|
1348 |
-
<div class="wd-group">
|
1349 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1350 |
-
<div class="bwg-flex">
|
1351 |
-
<input type="radio" name="blog_style_show_search_box" id="blog_style_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1352 |
-
<input type="radio" name="blog_style_show_search_box" id="blog_style_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1353 |
-
</div>
|
1354 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1355 |
-
</div>
|
1356 |
-
</div>
|
1357 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_placeholder">
|
1358 |
-
<div class="wd-group">
|
1359 |
-
<label class="wd-label" for="blog_style_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1360 |
-
<div class="bwg-flex">
|
1361 |
-
<input type="text" name="blog_style_placeholder" id="blog_style_placeholder" value="<?php echo BWG()->options->blog_style_placeholder; ?>" />
|
1362 |
-
</div>
|
1363 |
-
</div>
|
1364 |
-
</div>
|
1365 |
-
<div class="wd-box-content wd-width-100" id="tr_blog_style_search_box_width">
|
1366 |
-
<div class="wd-group">
|
1367 |
-
<label class="wd-label" for="blog_style_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1368 |
-
<div class="bwg-flex">
|
1369 |
-
<input type="number" name="blog_style_search_box_width" id="blog_style_search_box_width" value="<?php echo BWG()->options->blog_style_search_box_width; ?>" min="0" /><span>px</span>
|
1370 |
-
</div>
|
1371 |
-
</div>
|
1372 |
-
</div>
|
1373 |
-
<div class="wd-box-content wd-width-100">
|
1374 |
-
<div class="wd-group">
|
1375 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1376 |
-
<div class="bwg-flex">
|
1377 |
-
<input type="radio" name="blog_style_show_sort_images" id="blog_style_show_sort_images_1" value="1" <?php if (BWG()->options->blog_style_show_sort_images) echo 'checked="checked"'; ?> /><label for="blog_style_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1378 |
-
<input type="radio" name="blog_style_show_sort_images" id="blog_style_show_sort_images_0" value="0" <?php if (!BWG()->options->blog_style_show_sort_images) echo 'checked="checked"'; ?> /><label for="blog_style_show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1379 |
-
</div>
|
1380 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1381 |
-
</div>
|
1382 |
-
</div>
|
1383 |
-
<div class="wd-box-content wd-width-100">
|
1384 |
-
<div class="wd-group">
|
1385 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1386 |
-
<div class="bwg-flex">
|
1387 |
-
<input type="radio" name="blog_style_show_tag_box" id="blog_style_show_tag_box_1" value="1" <?php if (BWG()->options->blog_style_show_tag_box) echo 'checked="checked"'; ?> /><label for="blog_style_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1388 |
-
<input type="radio" name="blog_style_show_tag_box" id="blog_style_show_tag_box_0" value="0" <?php if (!BWG()->options->blog_style_show_tag_box) echo 'checked="checked"'; ?> /><label for="blog_style_show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1389 |
-
</div>
|
1390 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1391 |
-
</div>
|
1392 |
-
</div>
|
1393 |
-
</div>
|
1394 |
-
<div class="wd-box-content wd-width-33">
|
1395 |
-
<div class="wd-box-content wd-width-100">
|
1396 |
-
<div class="wd-group">
|
1397 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1398 |
-
<div class="bwg-flex">
|
1399 |
-
<input type="radio" name="blog_style_show_gallery_title" id="blog_style_thumb_name_yes" value="1" <?php if (BWG()->options->blog_style_show_gallery_title) echo 'checked="checked"'; ?> /><label for="blog_style_thumb_name_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1400 |
-
<input type="radio" name="blog_style_show_gallery_title" id="blog_style_thumb_name_no" value="0" <?php if (!BWG()->options->blog_style_show_gallery_title) echo 'checked="checked"'; ?> /><label for="blog_style_thumb_name_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1401 |
-
</div>
|
1402 |
-
<p class="description"><?php _e('Allow users to see the titles of your galleries by enabling this setting.', BWG()->prefix); ?></p>
|
1403 |
-
</div>
|
1404 |
-
</div>
|
1405 |
-
<div class="wd-box-content wd-width-100">
|
1406 |
-
<div class="wd-group">
|
1407 |
-
<label class="wd-label"><?php _e('Show gallery description', BWG()->prefix); ?></label>
|
1408 |
-
<div class="bwg-flex">
|
1409 |
-
<input type="radio" name="blog_style_show_gallery_description" id="blog_style_show_gallery_description_1" value="1" <?php if (BWG()->options->blog_style_show_gallery_description) echo 'checked="checked"'; ?> /><label for="blog_style_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1410 |
-
<input type="radio" name="blog_style_show_gallery_description" id="blog_style_show_gallery_description_0" value="0" <?php if (!BWG()->options->blog_style_show_gallery_description) echo 'checked="checked"'; ?> /><label for="blog_style_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1411 |
-
</div>
|
1412 |
-
<p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
|
1413 |
-
</div>
|
1414 |
-
</div>
|
1415 |
-
<div class="wd-box-content wd-width-100">
|
1416 |
-
<div class="wd-group">
|
1417 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1418 |
-
<div class="bwg-flex">
|
1419 |
-
<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 (BWG()->options->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1420 |
-
<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 (!BWG()->options->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1421 |
-
</div>
|
1422 |
-
<p class="description"><?php _e('Enable this setting to display titles of images in Blog Style view.', BWG()->prefix); ?></p>
|
1423 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
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 image description', BWG()->prefix); ?></label>
|
1429 |
-
<div class="bwg-flex">
|
1430 |
-
<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 (BWG()->options->blog_style_description_enable) echo 'checked="checked"'; ?> /><label for="blog_style_description_enable_1" class="wd-radio-label"><?php echo _e('Yes', BWG()->prefix); ?></label>
|
1431 |
-
<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 (!BWG()->options->blog_style_description_enable) echo 'checked="checked"'; ?> /><label for="blog_style_description_enable_0" class="wd-radio-label"><?php echo _e('No', BWG()->prefix); ?></label>
|
1432 |
-
</div>
|
1433 |
-
<p class="description"><?php _e('Enable this setting to show descriptions of images in Blog Style view.', BWG()->prefix); ?></p>
|
1434 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1435 |
-
</div>
|
1436 |
-
</div>
|
1437 |
-
<div class="wd-box-content wd-width-100">
|
1438 |
-
<div class="wd-group">
|
1439 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1440 |
-
<div class="bwg-flex">
|
1441 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_gallery_download" id="blog_style_gallery_download_1" value="1" <?php if (BWG()->options->blog_style_gallery_download) echo 'checked="checked"'; ?> /><label for="blog_style_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1442 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="blog_style_gallery_download" id="blog_style_gallery_download_0" value="0" <?php if (!BWG()->options->blog_style_gallery_download) echo 'checked="checked"'; ?> /><label for="blog_style_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1443 |
-
</div>
|
1444 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1445 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1446 |
-
</div>
|
1447 |
-
</div>
|
1448 |
-
</div>
|
1449 |
-
</div>
|
1450 |
-
<div id="carousel_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1451 |
-
<div class="wd-box-content wd-width-33">
|
1452 |
-
<div class="wd-box-content wd-width-100">
|
1453 |
-
<div class="wd-group">
|
1454 |
-
<label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images', BWG()->prefix); ?></label>
|
1455 |
-
<div class="bwg-flex">
|
1456 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_column_number" id="carousel_image_column_number" value="<?php echo BWG()->options->carousel_image_column_number; ?>" min="0" /><span>sec.</span>
|
1457 |
-
</div>
|
1458 |
-
<p class="description"><?php _e('Set the maximum number of images that are shown with Carousel display.', BWG()->prefix); ?></p>
|
1459 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1460 |
-
</div>
|
1461 |
-
</div>
|
1462 |
-
<div class="wd-box-content wd-width-100">
|
1463 |
-
<div class="wd-group">
|
1464 |
-
<label class="wd-label" for="carousel_width"><?php _e('Image dimensions', BWG()->prefix); ?></label>
|
1465 |
-
<div class="bwg-flex">
|
1466 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_width" id="carousel_width" value="<?php echo BWG()->options->carousel_width; ?>" min="0" /><span>x</span>
|
1467 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_height" id="carousel_height" value="<?php echo BWG()->options->carousel_height; ?>" min="0" /><span>px</span>
|
1468 |
-
</div>
|
1469 |
-
<p class="description"><?php _e('Specify the dimensions of carousel images in pixels.', BWG()->prefix); ?></p>
|
1470 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1471 |
-
</div>
|
1472 |
-
</div>
|
1473 |
-
<div class="wd-box-content wd-width-100">
|
1474 |
-
<div class="wd-group">
|
1475 |
-
<label class="wd-label" for="carousel_image_par"><?php _e('Carousel image ratio', BWG()->prefix); ?></label>
|
1476 |
-
<div class="bwg-flex">
|
1477 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_image_par" id="carousel_image_par" value="<?php echo BWG()->options->carousel_image_par; ?>" min="0" max="1" step="0.01" />
|
1478 |
-
</div>
|
1479 |
-
<p class="description"><?php _e('This option defines the dimensions ratio of images in Carousel view. E.g. for square images set ratio to 1.', BWG()->prefix); ?></p>
|
1480 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1481 |
-
</div>
|
1482 |
-
</div>
|
1483 |
-
<div class="wd-box-content wd-width-100">
|
1484 |
-
<div class="wd-group">
|
1485 |
-
<label class="wd-label" for="carousel_r_width"><?php _e('Fixed width', BWG()->prefix); ?></label>
|
1486 |
-
<div class="bwg-flex">
|
1487 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_r_width" id="carousel_r_width" value="<?php echo BWG()->options->carousel_r_width; ?>" min="0" /><span>px</span>
|
1488 |
-
</div>
|
1489 |
-
<p class="description"><?php _e('Specify the fixed width of Carousel gallery container.', BWG()->prefix); ?></p>
|
1490 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1491 |
-
</div>
|
1492 |
-
</div>
|
1493 |
-
</div>
|
1494 |
-
<div class="wd-box-content wd-width-33">
|
1495 |
-
<div class="wd-box-content wd-width-100">
|
1496 |
-
<div class="wd-group">
|
1497 |
-
<label class="wd-label" for="carousel_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1498 |
-
<select name="carousel_sort_by" id="carousel_sort_by">
|
1499 |
-
<option value="order" <?php if (BWG()->options->carousel_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1500 |
-
<option value="alt" <?php if (BWG()->options->carousel_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1501 |
-
<option value="date" <?php if (BWG()->options->carousel_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1502 |
-
<option value="filename" <?php if (BWG()->options->carousel_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1503 |
-
<option value="size" <?php if (BWG()->options->carousel_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1504 |
-
<option value="filetype" <?php if (BWG()->options->carousel_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1505 |
-
<option value="resolution" <?php if (BWG()->options->carousel_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1506 |
-
<option value="random" <?php if (BWG()->options->carousel_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1507 |
-
</select>
|
1508 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1509 |
-
</div>
|
1510 |
-
</div>
|
1511 |
-
<div class="wd-box-content wd-width-100">
|
1512 |
-
<div class="wd-group">
|
1513 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1514 |
-
<input type="radio" name="carousel_order_by" id="carousel_order_by_1" value="asc" <?php if (BWG()->options->carousel_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="carousel_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1515 |
-
<input type="radio" name="carousel_order_by" id="carousel_order_by_0" value="desc" <?php if (BWG()->options->carousel_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="carousel_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1516 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1517 |
-
</div>
|
1518 |
-
</div>
|
1519 |
-
<div class="wd-box-content wd-width-100">
|
1520 |
-
<div class="wd-group">
|
1521 |
-
<label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
|
1522 |
-
<div class="bwg-flex">
|
1523 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_autoplay" id="carousel_enable_autoplay_yes" value="1" <?php if (BWG()->options->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1524 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_autoplay" id="carousel_enable_autoplay_no" value="0" <?php if (!BWG()->options->carousel_enable_autoplay) echo 'checked="checked"'; ?> /><label for="carousel_enable_autoplay_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1525 |
-
</div>
|
1526 |
-
<p class="description"><?php _e('Activate this option to autoplay Carousel galleries.', BWG()->prefix); ?></p>
|
1527 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1528 |
-
</div>
|
1529 |
-
</div>
|
1530 |
-
<div class="wd-box-content wd-width-100">
|
1531 |
-
<div class="wd-group">
|
1532 |
-
<label class="wd-label" for="carousel_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
1533 |
-
<div class="bwg-flex">
|
1534 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="carousel_interval" id="carousel_interval" value="<?php echo BWG()->options->carousel_interval; ?>" min="0" step="0.1" /><span>sec.</span>
|
1535 |
-
</div>
|
1536 |
-
<p class="description"><?php _e('Specify the time interval between rotations in Photo Gallery\'s Carousel view.', BWG()->prefix); ?></p>
|
1537 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1538 |
-
</div>
|
1539 |
-
</div>
|
1540 |
-
</div>
|
1541 |
-
<div class="wd-box-content wd-width-33">
|
1542 |
-
<div class="wd-box-content wd-width-100">
|
1543 |
-
<div class="wd-group">
|
1544 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1545 |
-
<div class="bwg-flex">
|
1546 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_title" id="carousel_enable_title_yes" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1547 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_enable_title" id="carousel_enable_title_no" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1548 |
-
</div>
|
1549 |
-
<p class="description"><?php _e('Display image titles in Photo Gallery Carousel view by activating this option.', BWG()->prefix); ?></p>
|
1550 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1551 |
-
</div>
|
1552 |
-
</div>
|
1553 |
-
<div class="wd-box-content wd-width-100">
|
1554 |
-
<div class="wd-group">
|
1555 |
-
<label class="wd-label"><?php _e('Container fit', BWG()->prefix); ?></label>
|
1556 |
-
<div class="bwg-flex">
|
1557 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_yes" value="1" <?php if (BWG()->options->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_yes" class="wd-radio-label"><?php _e("Yes", BWG()->prefix); ?></label>
|
1558 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_fit_containerWidth" id="carousel_fit_containerWidth_no" value="0" <?php if (!BWG()->options->carousel_fit_containerWidth) echo 'checked="checked"'; ?> /><label for="carousel_fit_containerWidth_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1559 |
-
</div>
|
1560 |
-
<p class="description"><?php _e('Enabling this setting fits the images inside their container on Carousel galleries with fixed width.', BWG()->prefix); ?></p>
|
1561 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1562 |
-
</div>
|
1563 |
-
</div>
|
1564 |
-
<div class="wd-box-content wd-width-100">
|
1565 |
-
<div class="wd-group">
|
1566 |
-
<label class="wd-label"><?php _e('Next/Previous buttons', BWG()->prefix); ?></label>
|
1567 |
-
<div class="bwg-flex">
|
1568 |
-
<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 (BWG()->options->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_yes" class="wd-radio-label"><?php _e("Yes", BWG()->prefix); ?></label>
|
1569 |
-
<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 (!BWG()->options->carousel_prev_next_butt) echo 'checked="checked"'; ?> /><label for="carousel_prev_next_butt_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1570 |
-
</div>
|
1571 |
-
<p class="description"><?php _e('Enable this setting to display Next/Previous buttons on your galleries with Carousel view.', BWG()->prefix); ?></p>
|
1572 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1573 |
-
</div>
|
1574 |
-
</div>
|
1575 |
-
<div class="wd-box-content wd-width-100">
|
1576 |
-
<div class="wd-group">
|
1577 |
-
<label class="wd-label"><?php _e('Play/Pause buttons', BWG()->prefix); ?></label>
|
1578 |
-
<div class="bwg-flex">
|
1579 |
-
<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 (BWG()->options->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1580 |
-
<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 (!BWG()->options->carousel_play_pause_butt) echo 'checked="checked"'; ?> /><label for="carousel_play_pause_butt_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1581 |
-
</div>
|
1582 |
-
<p class="description"><?php _e('Activate this to show Play/Pause buttons on your Carousel galleries.', BWG()->prefix); ?></p>
|
1583 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1584 |
-
</div>
|
1585 |
-
</div>
|
1586 |
-
<div class="wd-box-content wd-width-100">
|
1587 |
-
<div class="wd-group">
|
1588 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1589 |
-
<div class="bwg-flex">
|
1590 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_gallery_download" id="carousel_gallery_download_1" value="1" <?php if (BWG()->options->carousel_gallery_download) echo 'checked="checked"'; ?> /><label for="carousel_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1591 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="carousel_gallery_download" id="carousel_gallery_download_0" value="0" <?php if (!BWG()->options->carousel_gallery_download) echo 'checked="checked"'; ?> /><label for="carousel_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1592 |
-
</div>
|
1593 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1594 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1595 |
-
</div>
|
1596 |
-
</div>
|
1597 |
-
</div>
|
1598 |
-
</div>
|
1599 |
-
<div id="album_compact_preview_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1600 |
-
<div class="wd-box-content wd-width-33">
|
1601 |
-
<div class="wd-box-content wd-width-100">
|
1602 |
-
<div class="wd-group">
|
1603 |
-
<label class="wd-label" for="album_column_number"><?php _e('Number of gallery group columns', BWG()->prefix); ?></label>
|
1604 |
-
<div class="bwg-flex">
|
1605 |
-
<input type="number" name="album_column_number" id="album_column_number" value="<?php echo BWG()->options->album_column_number; ?>" min="0" />
|
1606 |
-
</div>
|
1607 |
-
<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.', BWG()->prefix); ?></p>
|
1608 |
-
</div>
|
1609 |
-
</div>
|
1610 |
-
<div class="wd-box-content wd-width-100">
|
1611 |
-
<div class="wd-group">
|
1612 |
-
<label class="wd-label" for="album_thumb_width"><?php _e('Gallery group thumbnail dimensions', BWG()->prefix); ?></label>
|
1613 |
-
<div class="bwg-flex">
|
1614 |
-
<input type="number" name="album_thumb_width" id="album_thumb_width" value="<?php echo BWG()->options->album_thumb_width; ?>" min="0" /><span>x</span>
|
1615 |
-
<input type="number" name="album_thumb_height" id="album_thumb_height" value="<?php echo BWG()->options->album_thumb_height; ?>" min="0" /><span>px</span>
|
1616 |
-
</div>
|
1617 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
1618 |
-
</div>
|
1619 |
-
</div>
|
1620 |
-
<div class="wd-box-content wd-width-100">
|
1621 |
-
<div class="wd-group">
|
1622 |
-
<label class="wd-label" for="album_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
1623 |
-
<div class="bwg-flex">
|
1624 |
-
<input type="number" name="album_image_column_number" id="album_image_column_number" value="<?php echo BWG()->options->album_image_column_number; ?>" min="0" />
|
1625 |
-
</div>
|
1626 |
-
<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.', BWG()->prefix); ?></p>
|
1627 |
-
</div>
|
1628 |
-
</div>
|
1629 |
-
<div class="wd-box-content wd-width-100">
|
1630 |
-
<div class="wd-group">
|
1631 |
-
<label class="wd-label" for="album_image_thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
1632 |
-
<div class="bwg-flex">
|
1633 |
-
<input type="number" name="album_image_thumb_width" id="album_image_thumb_width" value="<?php echo BWG()->options->album_image_thumb_width; ?>" min="0" /><span>x</span>
|
1634 |
-
<input type="number" name="album_image_thumb_height" id="album_image_thumb_height" value="<?php echo BWG()->options->album_image_thumb_height; ?>" min="0" /><span>px</span>
|
1635 |
-
</div>
|
1636 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
1637 |
-
</div>
|
1638 |
-
</div>
|
1639 |
-
<div class="wd-box-content wd-width-100">
|
1640 |
-
<div class="wd-group">
|
1641 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1642 |
-
<div class="bwg-flex">
|
1643 |
-
<input type="radio" name="album_enable_page" id="album_enable_page_0" value="0" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1644 |
-
<input type="radio" name="album_enable_page" id="album_enable_page_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1645 |
-
<input type="radio" name="album_enable_page" id="album_enable_page_2" value="2" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1646 |
-
<input type="radio" name="album_enable_page" id="album_enable_page_3" value="3" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1647 |
-
</div>
|
1648 |
-
<p class="description" id="album_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1649 |
-
<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.', BWG()->prefix); ?></p>
|
1650 |
-
<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.', BWG()->prefix); ?></p>
|
1651 |
-
<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.', BWG()->prefix); ?></p>
|
1652 |
-
</div>
|
1653 |
-
</div>
|
1654 |
-
<div class="wd-box-content wd-width-100" id="tr_albums_per_page">
|
1655 |
-
<div class="wd-group">
|
1656 |
-
<label class="wd-label" for="albums_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
1657 |
-
<div class="bwg-flex">
|
1658 |
-
<input type="number" name="albums_per_page" id="albums_per_page" value="<?php echo BWG()->options->albums_per_page; ?>" min="0" />
|
1659 |
-
</div>
|
1660 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1661 |
-
</div>
|
1662 |
-
</div>
|
1663 |
-
<div class="wd-box-content wd-width-100" id="tr_album_images_per_page">
|
1664 |
-
<div class="wd-group">
|
1665 |
-
<label class="wd-label" for="album_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1666 |
-
<div class="bwg-flex">
|
1667 |
-
<input type="number" name="album_images_per_page" id="album_images_per_page" value="<?php echo BWG()->options->album_images_per_page; ?>" min="0" />
|
1668 |
-
</div>
|
1669 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1670 |
-
</div>
|
1671 |
-
</div>
|
1672 |
-
</div>
|
1673 |
-
<div class="wd-box-content wd-width-33">
|
1674 |
-
<div class="wd-box-content wd-width-100">
|
1675 |
-
<div class="wd-group">
|
1676 |
-
<label class="wd-label" for="album_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1677 |
-
<select name="album_sort_by" id="album_sort_by">
|
1678 |
-
<option value="order" <?php if (BWG()->options->album_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1679 |
-
<option value="alt" <?php if (BWG()->options->album_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1680 |
-
<option value="date" <?php if (BWG()->options->album_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1681 |
-
<option value="filename" <?php if (BWG()->options->album_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1682 |
-
<option value="size" <?php if (BWG()->options->album_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1683 |
-
<option value="filetype" <?php if (BWG()->options->album_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1684 |
-
<option value="resolution" <?php if (BWG()->options->album_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1685 |
-
<option value="random" <?php if (BWG()->options->album_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1686 |
-
</select>
|
1687 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1688 |
-
</div>
|
1689 |
-
</div>
|
1690 |
-
<div class="wd-box-content wd-width-100">
|
1691 |
-
<div class="wd-group">
|
1692 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1693 |
-
<input type="radio" name="album_order_by" id="album_order_by_1" value="asc" <?php if (BWG()->options->album_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1694 |
-
<input type="radio" name="album_order_by" id="album_order_by_0" value="desc" <?php if (BWG()->options->album_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1695 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1696 |
-
</div>
|
1697 |
-
</div>
|
1698 |
-
<div class="wd-box-content wd-width-100">
|
1699 |
-
<div class="wd-group">
|
1700 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1701 |
-
<div class="bwg-flex">
|
1702 |
-
<input type="radio" name="album_show_search_box" id="album_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1703 |
-
<input type="radio" name="album_show_search_box" id="album_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1704 |
-
</div>
|
1705 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1706 |
-
</div>
|
1707 |
-
</div>
|
1708 |
-
<div class="wd-box-content wd-width-100" id="tr_album_search_box_placeholder">
|
1709 |
-
<div class="wd-group">
|
1710 |
-
<label class="wd-label" for="album_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1711 |
-
<div class="bwg-flex">
|
1712 |
-
<input type="text" name="album_placeholder" id="album_placeholder" value="<?php echo BWG()->options->album_placeholder; ?>" />
|
1713 |
-
</div>
|
1714 |
-
</div>
|
1715 |
-
</div>
|
1716 |
-
<div class="wd-box-content wd-width-100" id="tr_album_search_box_width">
|
1717 |
-
<div class="wd-group">
|
1718 |
-
<label class="wd-label" for="album_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1719 |
-
<div class="bwg-flex">
|
1720 |
-
<input type="number" name="album_search_box_width" id="album_search_box_width" value="<?php echo BWG()->options->album_search_box_width; ?>" min="0" /><span>px</span>
|
1721 |
-
</div>
|
1722 |
-
</div>
|
1723 |
-
</div>
|
1724 |
-
<div class="wd-box-content wd-width-100">
|
1725 |
-
<div class="wd-group">
|
1726 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1727 |
-
<div class="bwg-flex">
|
1728 |
-
<input type="radio" name="album_show_sort_images" id="album_show_sort_images_1" value="1" <?php if (BWG()->options->album_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1729 |
-
<input type="radio" name="album_show_sort_images" id="album_show_sort_images_0" value="0" <?php if (!BWG()->options->album_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1730 |
-
</div>
|
1731 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
1732 |
-
</div>
|
1733 |
-
</div>
|
1734 |
-
<div class="wd-box-content wd-width-100">
|
1735 |
-
<div class="wd-group">
|
1736 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
1737 |
-
<div class="bwg-flex">
|
1738 |
-
<input type="radio" name="album_show_tag_box" id="album_show_tag_box_1" value="1" <?php if (BWG()->options->album_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1739 |
-
<input type="radio" name="album_show_tag_box" id="album_show_tag_box_0" value="0" <?php if (!BWG()->options->album_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1740 |
-
</div>
|
1741 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
1742 |
-
</div>
|
1743 |
-
</div>
|
1744 |
-
</div>
|
1745 |
-
<div class="wd-box-content wd-width-33">
|
1746 |
-
<div class="wd-box-content wd-width-100">
|
1747 |
-
<div class="wd-group">
|
1748 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
1749 |
-
<div class="bwg-flex">
|
1750 |
-
<input type="radio" name="show_album_name" id="show_album_name_enable_1" value="1" <?php if (BWG()->options->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1751 |
-
<input type="radio" name="show_album_name" id="show_album_name_enable_0" value="0" <?php if (!BWG()->options->show_album_name) echo 'checked="checked"'; ?> /><label for="show_album_name_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1752 |
-
</div>
|
1753 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
1754 |
-
</div>
|
1755 |
-
</div>
|
1756 |
-
<div class="wd-box-content wd-width-100">
|
1757 |
-
<div class="wd-group">
|
1758 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
1759 |
-
<div class="bwg-flex">
|
1760 |
-
<input type="radio" name="album_show_gallery_description" id="album_show_gallery_description_1" value="1" <?php if (BWG()->options->album_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1761 |
-
<input type="radio" name="album_show_gallery_description" id="album_show_gallery_description_0" value="0" <?php if (!BWG()->options->album_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1762 |
-
</div>
|
1763 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
1764 |
-
</div>
|
1765 |
-
</div>
|
1766 |
-
<div class="wd-box-content wd-width-100">
|
1767 |
-
<div class="wd-group">
|
1768 |
-
<label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
|
1769 |
-
<div class="bwg-flex">
|
1770 |
-
<input type="radio" name="album_title_show_hover" id="album_title_show_hover_1" value="hover" <?php if (BWG()->options->album_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
1771 |
-
<input type="radio" name="album_title_show_hover" id="album_title_show_hover_0" value="show" <?php if (BWG()->options->album_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
1772 |
-
<input type="radio" name="album_title_show_hover" id="album_title_show_hover_2" value="none" <?php if (BWG()->options->album_title_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
1773 |
-
</div>
|
1774 |
-
<p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.', BWG()->prefix); ?></p>
|
1775 |
-
</div>
|
1776 |
-
</div>
|
1777 |
-
<div class="wd-box-content wd-width-100">
|
1778 |
-
<div class="wd-group">
|
1779 |
-
<label class="wd-label"><?php _e('Gallery view type', BWG()->prefix); ?></label>
|
1780 |
-
<div class="bwg-flex">
|
1781 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_1" value="thumbnail" <?php if (BWG()->options->album_view_type == "thumbnail") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_mosaic', 'album_view_type_1'); bwg_enable_disable('none', 'tr_album_resizable_mosaic', 'album_view_type_1'); bwg_enable_disable('none', 'tr_album_mosaic_total_width', 'album_view_type_1');" /><label for="album_view_type_1" class="wd-radio-label"><?php _e('Thumbnail', BWG()->prefix); ?></label>
|
1782 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_0" value="masonry" <?php if (BWG()->options->album_view_type == "masonry") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_mosaic', 'album_view_type_0'); bwg_enable_disable('none', 'tr_album_resizable_mosaic', 'album_view_type_0'); bwg_enable_disable('none', 'tr_album_mosaic_total_width', 'album_view_type_0');" /><label for="album_view_type_0" class="wd-radio-label"><?php _e('Masonry', BWG()->prefix); ?></label>
|
1783 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_view_type" id="album_view_type_2" value="mosaic" <?php if (BWG()->options->album_view_type == "mosaic") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_mosaic', 'album_view_type_2'); bwg_enable_disable('', 'tr_album_resizable_mosaic', 'album_view_type_2'); bwg_enable_disable('', 'tr_album_mosaic_total_width', 'album_view_type_2');" /><label for="album_view_type_2" class="wd-radio-label"><?php _e('Mosaic', BWG()->prefix); ?></label>
|
1784 |
-
</div>
|
1785 |
-
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry or Mosaic.', BWG()->prefix); ?></p>
|
1786 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1787 |
-
</div>
|
1788 |
-
</div>
|
1789 |
-
<div class="wd-box-content wd-width-100" id="tr_album_mosaic">
|
1790 |
-
<div class="wd-group">
|
1791 |
-
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
1792 |
-
<div class="bwg-flex">
|
1793 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_mosaic" id="album_mosaic_0" value="vertical" <?php if (BWG()->options->album_mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="album_mosaic_0" class="wd-radio-label"><?php _e('Vertical', BWG()->prefix); ?></label>
|
1794 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_mosaic" id="album_mosaic_1" value="horizontal" <?php if (BWG()->options->album_mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="album_mosaic_1" class="wd-radio-label"><?php _e('Horizontal', BWG()->prefix); ?></label>
|
1795 |
-
</div>
|
1796 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
1797 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1798 |
-
</div>
|
1799 |
-
</div>
|
1800 |
-
<div class="wd-box-content wd-width-100" id="tr_album_resizable_mosaic">
|
1801 |
-
<div class="wd-group">
|
1802 |
-
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
1803 |
-
<div class="bwg-flex">
|
1804 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_resizable_mosaic" id="album_resizable_mosaic_1" value="1" <?php if (BWG()->options->album_resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="album_resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1805 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_resizable_mosaic" id="album_resizable_mosaic_0" value="0" <?php if (BWG()->options->album_resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="album_resizable_mosaic_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1806 |
-
</div>
|
1807 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
1808 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1809 |
-
</div>
|
1810 |
-
</div>
|
1811 |
-
<div class="wd-box-content wd-width-100" id="tr_album_mosaic_total_width">
|
1812 |
-
<div class="wd-group">
|
1813 |
-
<label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
1814 |
-
<div class="bwg-flex">
|
1815 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="number" name="album_mosaic_total_width" id="album_mosaic_total_width" value="<?php echo BWG()->options->album_mosaic_total_width; ?>" min="0" /><span>%</span>
|
1816 |
-
</div>
|
1817 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
1818 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1819 |
-
</div>
|
1820 |
-
</div>
|
1821 |
-
<div class="wd-box-content wd-width-100">
|
1822 |
-
<div class="wd-group">
|
1823 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
1824 |
-
<div class="bwg-flex">
|
1825 |
-
<input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_1" value="hover" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1826 |
-
<input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_0" value="show" <?php if (BWG()->options->album_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
1827 |
-
<input type="radio" name="album_image_title_show_hover" id="album_image_title_show_hover_2" value="none" <?php if (BWG()->options->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", BWG()->prefix); ?></label>
|
1828 |
-
</div>
|
1829 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
1830 |
-
</div>
|
1831 |
-
</div>
|
1832 |
-
<div class="wd-box-content wd-width-100">
|
1833 |
-
<div class="wd-group">
|
1834 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
1835 |
-
<div class="bwg-flex">
|
1836 |
-
<input type="radio" name="album_play_icon" id="album_play_icon_yes" value="1" <?php if (BWG()->options->album_play_icon) echo 'checked="checked"'; ?> /><label for="album_play_icon_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1837 |
-
<input type="radio" name="album_play_icon" id="album_play_icon_no" value="0" <?php if (!BWG()->options->album_play_icon) echo 'checked="checked"'; ?> /><label for="album_play_icon_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1838 |
-
</div>
|
1839 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
1840 |
-
</div>
|
1841 |
-
</div>
|
1842 |
-
<div class="wd-box-content wd-width-100">
|
1843 |
-
<div class="wd-group">
|
1844 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
1845 |
-
<div class="bwg-flex">
|
1846 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_gallery_download" id="album_gallery_download_1" value="1" <?php if (BWG()->options->album_gallery_download) echo 'checked="checked"'; ?> /><label for="album_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
1847 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_gallery_download" id="album_gallery_download_0" value="0" <?php if (!BWG()->options->album_gallery_download) echo 'checked="checked"'; ?> /><label for="album_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
1848 |
-
</div>
|
1849 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
1850 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
1851 |
-
</div>
|
1852 |
-
</div>
|
1853 |
-
<?php
|
1854 |
-
if (function_exists('BWGEC')) {
|
1855 |
-
?>
|
1856 |
-
<div class="wd-box-content wd-width-100">
|
1857 |
-
<div class="wd-group">
|
1858 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
1859 |
-
<div class="bwg-flex">
|
1860 |
-
<input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_1" value="hover" <?php if (BWG()->options->album_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
1861 |
-
<input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_0" value="show" <?php if (BWG()->options->album_ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
1862 |
-
<input type="radio" name="album_ecommerce_icon_show_hover" id="album_ecommerce_icon_show_hover_2" value="none" <?php if (BWG()->options->album_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
1863 |
-
</div>
|
1864 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
1865 |
-
</div>
|
1866 |
-
</div>
|
1867 |
-
<?php
|
1868 |
-
}
|
1869 |
-
?>
|
1870 |
-
</div>
|
1871 |
-
</div>
|
1872 |
-
<div id="album_masonry_preview_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
1873 |
-
<div class="wd-box-content wd-width-33">
|
1874 |
-
<div class="wd-box-content wd-width-100">
|
1875 |
-
<div class="wd-group">
|
1876 |
-
<label class="wd-label" for="album_masonry_column_number"><?php _e('Number of gallery group columns', BWG()->prefix); ?></label>
|
1877 |
-
<div class="bwg-flex">
|
1878 |
-
<input type="number" name="album_masonry_column_number" id="album_masonry_column_number" value="<?php echo BWG()->options->album_masonry_column_number; ?>" min="0" />
|
1879 |
-
</div>
|
1880 |
-
<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.', BWG()->prefix); ?></p>
|
1881 |
-
</div>
|
1882 |
-
</div>
|
1883 |
-
<div class="wd-box-content wd-width-100">
|
1884 |
-
<div class="wd-group">
|
1885 |
-
<label class="wd-label" for="album_masonry_thumb_width"><?php _e('Gallery group thumbnail width', BWG()->prefix); ?></label>
|
1886 |
-
<div class="bwg-flex">
|
1887 |
-
<input type="number" name="album_masonry_thumb_width" id="album_masonry_thumb_width" value="<?php echo BWG()->options->album_masonry_thumb_width; ?>" min="0" /><span>px</span>
|
1888 |
-
</div>
|
1889 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
1890 |
-
</div>
|
1891 |
-
</div>
|
1892 |
-
<div class="wd-box-content wd-width-100">
|
1893 |
-
<div class="wd-group">
|
1894 |
-
<label class="wd-label" for="album_masonry_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
1895 |
-
<div class="bwg-flex">
|
1896 |
-
<input type="number" name="album_masonry_image_column_number" id="album_masonry_image_column_number" value="<?php echo BWG()->options->album_masonry_image_column_number; ?>" min="0" />
|
1897 |
-
</div>
|
1898 |
-
<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.', BWG()->prefix); ?></p>
|
1899 |
-
</div>
|
1900 |
-
</div>
|
1901 |
-
<div class="wd-box-content wd-width-100">
|
1902 |
-
<div class="wd-group">
|
1903 |
-
<label class="wd-label" for="album_masonry_image_thumb_width"><?php _e('Thumbnail width', BWG()->prefix); ?></label>
|
1904 |
-
<div class="bwg-flex">
|
1905 |
-
<input type="number" name="album_masonry_image_thumb_width" id="album_masonry_image_thumb_width" value="<?php echo BWG()->options->album_masonry_image_thumb_width; ?>" min="0" /><span>px</span>
|
1906 |
-
</div>
|
1907 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
1908 |
-
</div>
|
1909 |
-
</div>
|
1910 |
-
<div class="wd-box-content wd-width-100">
|
1911 |
-
<div class="wd-group">
|
1912 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
1913 |
-
<div class="bwg-flex">
|
1914 |
-
<input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_0" value="0" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1915 |
-
<input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1916 |
-
<input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_2" value="2" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1917 |
-
<input type="radio" name="album_masonry_enable_page" id="album_masonry_enable_page_3" value="3" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1918 |
-
</div>
|
1919 |
-
<p class="description" id="album_masonry_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
1920 |
-
<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.', BWG()->prefix); ?></p>
|
1921 |
-
<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.', BWG()->prefix); ?></p>
|
1922 |
-
<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.', BWG()->prefix); ?></p>
|
1923 |
-
</div>
|
1924 |
-
</div>
|
1925 |
-
<div class="wd-box-content wd-width-100" id="tr_albums_masonry_per_page">
|
1926 |
-
<div class="wd-group">
|
1927 |
-
<label class="wd-label" for="albums_masonry_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
1928 |
-
<div class="bwg-flex">
|
1929 |
-
<input type="number" name="albums_masonry_per_page" id="albums_masonry_per_page" value="<?php echo BWG()->options->albums_masonry_per_page; ?>" min="0" />
|
1930 |
-
</div>
|
1931 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1932 |
-
</div>
|
1933 |
-
</div>
|
1934 |
-
<div class="wd-box-content wd-width-100" id="tr_album_masonry_images_per_page">
|
1935 |
-
<div class="wd-group">
|
1936 |
-
<label class="wd-label" for="album_masonry_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
1937 |
-
<div class="bwg-flex">
|
1938 |
-
<input type="number" name="album_masonry_images_per_page" id="album_masonry_images_per_page" value="<?php echo BWG()->options->album_masonry_images_per_page; ?>" min="0" />
|
1939 |
-
</div>
|
1940 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
1941 |
-
</div>
|
1942 |
-
</div>
|
1943 |
-
</div>
|
1944 |
-
<div class="wd-box-content wd-width-33">
|
1945 |
-
<div class="wd-box-content wd-width-100">
|
1946 |
-
<div class="wd-group">
|
1947 |
-
<label class="wd-label" for="album_masonry_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
1948 |
-
<select name="album_masonry_sort_by" id="album_masonry_sort_by">
|
1949 |
-
<option value="order" <?php if (BWG()->options->album_masonry_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
1950 |
-
<option value="alt" <?php if (BWG()->options->album_masonry_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
1951 |
-
<option value="date" <?php if (BWG()->options->album_masonry_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
1952 |
-
<option value="filename" <?php if (BWG()->options->album_masonry_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
1953 |
-
<option value="size" <?php if (BWG()->options->album_masonry_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
1954 |
-
<option value="filetype" <?php if (BWG()->options->album_masonry_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
1955 |
-
<option value="resolution" <?php if (BWG()->options->album_masonry_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
1956 |
-
<option value="random" <?php if (BWG()->options->album_masonry_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
1957 |
-
</select>
|
1958 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
1959 |
-
</div>
|
1960 |
-
</div>
|
1961 |
-
<div class="wd-box-content wd-width-100">
|
1962 |
-
<div class="wd-group">
|
1963 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
1964 |
-
<input type="radio" name="album_masonry_order_by" id="album_masonry_order_by_1" value="asc" <?php if (BWG()->options->album_masonry_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_masonry_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
1965 |
-
<input type="radio" name="album_masonry_order_by" id="album_masonry_order_by_0" value="desc" <?php if (BWG()->options->album_masonry_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_masonry_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
1966 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
1967 |
-
</div>
|
1968 |
-
</div>
|
1969 |
-
<div class="wd-box-content wd-width-100">
|
1970 |
-
<div class="wd-group">
|
1971 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
1972 |
-
<div class="bwg-flex">
|
1973 |
-
<input type="radio" name="album_masonry_show_search_box" id="album_masonry_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
1974 |
-
<input type="radio" name="album_masonry_show_search_box" id="album_masonry_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
1975 |
-
</div>
|
1976 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
1977 |
-
</div>
|
1978 |
-
</div>
|
1979 |
-
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_placeholder">
|
1980 |
-
<div class="wd-group">
|
1981 |
-
<label class="wd-label" for="album_masonry_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
1982 |
-
<div class="bwg-flex">
|
1983 |
-
<input type="text" name="album_masonry_placeholder" id="album_masonry_placeholder" value="<?php echo BWG()->options->album_masonry_placeholder; ?>" />
|
1984 |
-
</div>
|
1985 |
-
</div>
|
1986 |
-
</div>
|
1987 |
-
<div class="wd-box-content wd-width-100" id="tr_album_masonry_search_box_width">
|
1988 |
-
<div class="wd-group">
|
1989 |
-
<label class="wd-label" for="album_masonry_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
1990 |
-
<div class="bwg-flex">
|
1991 |
-
<input type="number" name="album_masonry_search_box_width" id="album_masonry_search_box_width" value="<?php echo BWG()->options->album_masonry_search_box_width; ?>" min="0" /><span>px</span>
|
1992 |
-
</div>
|
1993 |
-
</div>
|
1994 |
-
</div>
|
1995 |
-
<div class="wd-box-content wd-width-100">
|
1996 |
-
<div class="wd-group">
|
1997 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
1998 |
-
<div class="bwg-flex">
|
1999 |
-
<input type="radio" name="album_masonry_show_sort_images" id="album_masonry_show_sort_images_1" value="1" <?php if (BWG()->options->album_masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_masonry_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2000 |
-
<input type="radio" name="album_masonry_show_sort_images" id="album_masonry_show_sort_images_0" value="0" <?php if (!BWG()->options->album_masonry_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_masonry_show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2001 |
-
</div>
|
2002 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2003 |
-
</div>
|
2004 |
-
</div>
|
2005 |
-
<div class="wd-box-content wd-width-100">
|
2006 |
-
<div class="wd-group">
|
2007 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2008 |
-
<div class="bwg-flex">
|
2009 |
-
<input type="radio" name="album_masonry_show_tag_box" id="album_masonry_show_tag_box_1" value="1" <?php if (BWG()->options->album_masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_masonry_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2010 |
-
<input type="radio" name="album_masonry_show_tag_box" id="album_masonry_show_tag_box_0" value="0" <?php if (!BWG()->options->album_masonry_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_masonry_show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2011 |
-
</div>
|
2012 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2013 |
-
</div>
|
2014 |
-
</div>
|
2015 |
-
</div>
|
2016 |
-
<div class="wd-box-content wd-width-33">
|
2017 |
-
<div class="wd-box-content wd-width-100">
|
2018 |
-
<div class="wd-group">
|
2019 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2020 |
-
<div class="bwg-flex">
|
2021 |
-
<input type="radio" name="show_album_masonry_name" id="show_album_masonry_name_enable_1" value="1" <?php if (BWG()->options->show_album_masonry_name) echo 'checked="checked"'; ?> /><label for="show_album_masonry_name_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2022 |
-
<input type="radio" name="show_album_masonry_name" id="show_album_masonry_name_enable_0" value="0" <?php if (!BWG()->options->show_album_masonry_name) echo 'checked="checked"'; ?> /><label for="show_album_masonry_name_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2023 |
-
</div>
|
2024 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2025 |
-
</div>
|
2026 |
-
</div>
|
2027 |
-
<div class="wd-box-content wd-width-100">
|
2028 |
-
<div class="wd-group">
|
2029 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2030 |
-
<div class="bwg-flex">
|
2031 |
-
<input type="radio" name="album_masonry_show_gallery_description" id="album_masonry_show_gallery_description_1" value="1" <?php if (BWG()->options->album_masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_masonry_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2032 |
-
<input type="radio" name="album_masonry_show_gallery_description" id="album_masonry_show_gallery_description_0" value="0" <?php if (!BWG()->options->album_masonry_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_masonry_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2033 |
-
</div>
|
2034 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2035 |
-
</div>
|
2036 |
-
</div>
|
2037 |
-
<div class="wd-box-content wd-width-100">
|
2038 |
-
<div class="wd-group">
|
2039 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2040 |
-
<div class="bwg-flex">
|
2041 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_masonry_gallery_download" id="album_masonry_gallery_download_1" value="1" <?php if (BWG()->options->album_masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="album_masonry_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2042 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_masonry_gallery_download" id="album_masonry_gallery_download_0" value="0" <?php if (!BWG()->options->album_masonry_gallery_download) echo 'checked="checked"'; ?> /><label for="album_masonry_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2043 |
-
</div>
|
2044 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2045 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2046 |
-
</div>
|
2047 |
-
</div>
|
2048 |
-
<?php
|
2049 |
-
if (function_exists('BWGEC')) {
|
2050 |
-
?>
|
2051 |
-
<div class="wd-box-content wd-width-100">
|
2052 |
-
<div class="wd-group">
|
2053 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
2054 |
-
<div class="bwg-flex">
|
2055 |
-
<input type="radio" name="album_masonry_ecommerce_icon_show_hover" id="album_masonry_ecommerce_icon_show_hover_1" value="hover" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2056 |
-
<input type="radio" name="album_masonry_ecommerce_icon_show_hover" id="album_masonry_ecommerce_icon_show_hover_2" value="none" <?php if (BWG()->options->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", BWG()->prefix); ?></label>
|
2057 |
-
</div>
|
2058 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
2059 |
-
</div>
|
2060 |
-
</div>
|
2061 |
-
<?php
|
2062 |
-
}
|
2063 |
-
?>
|
2064 |
-
</div>
|
2065 |
-
</div>
|
2066 |
-
<div id="album_extended_preview_options" class="gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
|
2067 |
-
<div class="wd-box-content wd-width-33">
|
2068 |
-
<div class="wd-box-content wd-width-100">
|
2069 |
-
<div class="wd-group">
|
2070 |
-
<label class="wd-label" for="extended_album_height"><?php _e('Extended gallery group height', BWG()->prefix); ?></label>
|
2071 |
-
<div class="bwg-flex">
|
2072 |
-
<input type="number" name="extended_album_height" id="extended_album_height" value="<?php echo BWG()->options->extended_album_height; ?>" min="0" /><span>px</span>
|
2073 |
-
</div>
|
2074 |
-
<p class="description"><?php _e('Set the height of blocks in Extended gallery groups.', BWG()->prefix); ?></p>
|
2075 |
-
</div>
|
2076 |
-
</div>
|
2077 |
-
<div class="wd-box-content wd-width-100">
|
2078 |
-
<div class="wd-group">
|
2079 |
-
<label class="wd-label" for="album_extended_thumb_width"><?php _e('Gallery group thumbnail dimensions', BWG()->prefix); ?></label>
|
2080 |
-
<div class="bwg-flex">
|
2081 |
-
<input type="number" name="album_extended_thumb_width" id="album_extended_thumb_width" value="<?php echo BWG()->options->album_extended_thumb_width; ?>" min="0" /><span>x</span>
|
2082 |
-
<input type="number" name="album_extended_thumb_height" id="album_extended_thumb_height" value="<?php echo BWG()->options->album_extended_thumb_height; ?>" min="0" /><span>px</span>
|
2083 |
-
</div>
|
2084 |
-
<p class="description"><?php _e('Specify the dimensions of thumbnails in gallery groups.', BWG()->prefix); ?></p>
|
2085 |
-
</div>
|
2086 |
-
</div>
|
2087 |
-
<div class="wd-box-content wd-width-100">
|
2088 |
-
<div class="wd-group">
|
2089 |
-
<label class="wd-label" for="album_extended_image_column_number"><?php _e('Number of image columns', BWG()->prefix); ?></label>
|
2090 |
-
<div class="bwg-flex">
|
2091 |
-
<input type="number" name="album_extended_image_column_number" id="album_extended_image_column_number" value="<?php echo BWG()->options->album_extended_image_column_number; ?>" min="0" />
|
2092 |
-
</div>
|
2093 |
-
<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.', BWG()->prefix); ?></p>
|
2094 |
-
</div>
|
2095 |
-
</div>
|
2096 |
-
<div class="wd-box-content wd-width-100">
|
2097 |
-
<div class="wd-group">
|
2098 |
-
<label class="wd-label" for="album_extended_image_thumb_width"><?php _e('Thumbnail dimensions', BWG()->prefix); ?></label>
|
2099 |
-
<div class="bwg-flex">
|
2100 |
-
<input type="number" name="album_extended_image_thumb_width" id="album_extended_image_thumb_width" value="<?php echo BWG()->options->album_extended_image_thumb_width; ?>" min="0" /><span>x</span>
|
2101 |
-
<input type="number" name="album_extended_image_thumb_height" id="album_extended_image_thumb_height" value="<?php echo BWG()->options->album_extended_image_thumb_height; ?>" min="0" /><span>px</span>
|
2102 |
-
</div>
|
2103 |
-
<p class="description"><?php _e('The default dimensions of thumbnails which will display on published galleries.', BWG()->prefix); ?></p>
|
2104 |
-
</div>
|
2105 |
-
</div>
|
2106 |
-
<div class="wd-box-content wd-width-100">
|
2107 |
-
<div class="wd-group">
|
2108 |
-
<label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
|
2109 |
-
<div class="bwg-flex">
|
2110 |
-
<input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_0" value="0" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2111 |
-
<input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2112 |
-
<input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_2" value="2" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2113 |
-
<input type="radio" name="album_extended_enable_page" id="album_extended_enable_page_3" value="3" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2114 |
-
</div>
|
2115 |
-
<p class="description" id="album_extended_enable_page_0_description"><?php _e('This option removes all types of pagination from your galleries.', BWG()->prefix); ?></p>
|
2116 |
-
<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.', BWG()->prefix); ?></p>
|
2117 |
-
<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.', BWG()->prefix); ?></p>
|
2118 |
-
<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.', BWG()->prefix); ?></p>
|
2119 |
-
</div>
|
2120 |
-
</div>
|
2121 |
-
<div class="wd-box-content wd-width-100" id="tr_albums_extended_per_page">
|
2122 |
-
<div class="wd-group">
|
2123 |
-
<label class="wd-label" for="albums_extended_per_page"><?php _e('Gallery groups per page', BWG()->prefix); ?></label>
|
2124 |
-
<div class="bwg-flex">
|
2125 |
-
<input type="number" name="albums_extended_per_page" id="albums_extended_per_page" value="<?php echo BWG()->options->albums_extended_per_page; ?>" min="0" />
|
2126 |
-
</div>
|
2127 |
-
<p class="description"><?php _e('Specify the number of galleries/gallery groups to display per page. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2128 |
-
</div>
|
2129 |
-
</div>
|
2130 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_images_per_page">
|
2131 |
-
<div class="wd-group">
|
2132 |
-
<label class="wd-label" for="album_extended_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
|
2133 |
-
<div class="bwg-flex">
|
2134 |
-
<input type="number" name="album_extended_images_per_page" id="album_extended_images_per_page" value="<?php echo BWG()->options->album_extended_images_per_page; ?>" min="0" />
|
2135 |
-
</div>
|
2136 |
-
<p class="description"><?php _e('Specify the number of images to display per page on galleries. Setting this option to 0 shows all items.', BWG()->prefix); ?></p>
|
2137 |
-
</div>
|
2138 |
-
</div>
|
2139 |
-
</div>
|
2140 |
-
<div class="wd-box-content wd-width-33">
|
2141 |
-
<div class="wd-box-content wd-width-100">
|
2142 |
-
<div class="wd-group">
|
2143 |
-
<label class="wd-label" for="album_extended_sort_by"><?php _e('Order by', BWG()->prefix); ?></label>
|
2144 |
-
<select name="album_extended_sort_by" id="album_extended_sort_by">
|
2145 |
-
<option value="order" <?php if (BWG()->options->album_extended_sort_by == 'order') echo 'selected="selected"'; ?>><?php _e('Order', BWG()->prefix); ?></option>
|
2146 |
-
<option value="alt" <?php if (BWG()->options->album_extended_sort_by == 'alt') echo 'selected="selected"'; ?>><?php _e('Title', BWG()->prefix); ?></option>
|
2147 |
-
<option value="date" <?php if (BWG()->options->album_extended_sort_by == 'date') echo 'selected="selected"'; ?>><?php _e('Date', BWG()->prefix); ?></option>
|
2148 |
-
<option value="filename" <?php if (BWG()->options->album_extended_sort_by == 'filename') echo 'selected="selected"'; ?>><?php _e('Filename', BWG()->prefix); ?></option>
|
2149 |
-
<option value="size" <?php if (BWG()->options->album_extended_sort_by == 'size') echo 'selected="selected"'; ?>><?php _e('Size', BWG()->prefix); ?></option>
|
2150 |
-
<option value="filetype" <?php if (BWG()->options->album_extended_sort_by == 'filetype') echo 'selected="selected"'; ?>><?php _e('Type', BWG()->prefix); ?></option>
|
2151 |
-
<option value="resolution" <?php if (BWG()->options->album_extended_sort_by == 'resolution') echo 'selected="selected"'; ?>><?php _e('Resolution', BWG()->prefix); ?></option>
|
2152 |
-
<option value="random" <?php if (BWG()->options->album_extended_sort_by == 'random') echo 'selected="selected"'; ?>><?php _e('Random', BWG()->prefix); ?></option>
|
2153 |
-
</select>
|
2154 |
-
<p class="description"><?php _e("Select the parameter based on which the gallery images will sorted, e.g. Title.", BWG()->prefix); ?></p>
|
2155 |
-
</div>
|
2156 |
-
</div>
|
2157 |
-
<div class="wd-box-content wd-width-100">
|
2158 |
-
<div class="wd-group">
|
2159 |
-
<label class="wd-label"><?php _e('Order direction', BWG()->prefix); ?></label>
|
2160 |
-
<input type="radio" name="album_extended_order_by" id="album_extended_order_by_1" value="asc" <?php if (BWG()->options->album_extended_order_by == 'asc') echo 'checked="checked"'; ?> /><label for="album_extended_order_by_1" class="wd-radio-label"><?php _e('Ascending', BWG()->prefix); ?></label>
|
2161 |
-
<input type="radio" name="album_extended_order_by" id="album_extended_order_by_0" value="desc" <?php if (BWG()->options->album_extended_order_by == 'desc') echo 'checked="checked"'; ?> /><label for="album_extended_order_by_0" class="wd-radio-label"><?php _e('Descending', BWG()->prefix); ?></label>
|
2162 |
-
<p class="description"><?php _e("Set the ordering direction for gallery images, ascending or descending.", BWG()->prefix); ?></p>
|
2163 |
-
</div>
|
2164 |
-
</div>
|
2165 |
-
<div class="wd-box-content wd-width-100">
|
2166 |
-
<div class="wd-group">
|
2167 |
-
<label class="wd-label"><?php _e('Show search box', BWG()->prefix); ?></label>
|
2168 |
-
<div class="bwg-flex">
|
2169 |
-
<input type="radio" name="album_extended_show_search_box" id="album_extended_show_search_box_1" value="1" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2170 |
-
<input type="radio" name="album_extended_show_search_box" id="album_extended_show_search_box_0" value="0" <?php if (!BWG()->options->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', BWG()->prefix); ?></label>
|
2171 |
-
</div>
|
2172 |
-
<p class="description"><?php _e('Enable this option to display a search box with your gallery or gallery group.', BWG()->prefix); ?></p>
|
2173 |
-
</div>
|
2174 |
-
</div>
|
2175 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_placeholder">
|
2176 |
-
<div class="wd-group">
|
2177 |
-
<label class="wd-label" for="album_extended_placeholder"><?php _e('Add placeholder to search', BWG()->prefix); ?></label>
|
2178 |
-
<div class="bwg-flex">
|
2179 |
-
<input type="text" name="album_extended_placeholder" id="album_extended_placeholder" value="<?php echo BWG()->options->album_extended_placeholder; ?>" />
|
2180 |
-
</div>
|
2181 |
-
</div>
|
2182 |
-
</div>
|
2183 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_search_box_width">
|
2184 |
-
<div class="wd-group">
|
2185 |
-
<label class="wd-label" for="album_extended_search_box_width"><?php _e('Search box width', BWG()->prefix); ?></label>
|
2186 |
-
<div class="bwg-flex">
|
2187 |
-
<input type="number" name="album_extended_search_box_width" id="album_extended_search_box_width" value="<?php echo BWG()->options->album_extended_search_box_width; ?>" min="0" /><span>px</span>
|
2188 |
-
</div>
|
2189 |
-
</div>
|
2190 |
-
</div>
|
2191 |
-
<div class="wd-box-content wd-width-100">
|
2192 |
-
<div class="wd-group">
|
2193 |
-
<label class="wd-label"><?php _e('Show "Order by" dropdown list', BWG()->prefix); ?></label>
|
2194 |
-
<div class="bwg-flex">
|
2195 |
-
<input type="radio" name="album_extended_show_sort_images" id="album_extended_show_sort_images_1" value="1" <?php if (BWG()->options->album_extended_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_extended_show_sort_images_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2196 |
-
<input type="radio" name="album_extended_show_sort_images" id="album_extended_show_sort_images_0" value="0" <?php if (!BWG()->options->album_extended_show_sort_images) echo 'checked="checked"'; ?> /><label for="album_extended_show_sort_images_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2197 |
-
</div>
|
2198 |
-
<p class="description"><?php _e('Activate this dropdown box to let users browse your gallery images with different ordering options.', BWG()->prefix); ?></p>
|
2199 |
-
</div>
|
2200 |
-
</div>
|
2201 |
-
<div class="wd-box-content wd-width-100">
|
2202 |
-
<div class="wd-group">
|
2203 |
-
<label class="wd-label"><?php _e('Show tag box', BWG()->prefix); ?></label>
|
2204 |
-
<div class="bwg-flex">
|
2205 |
-
<input type="radio" name="album_extended_show_tag_box" id="album_extended_show_tag_box_1" value="1" <?php if (BWG()->options->album_extended_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_extended_show_tag_box_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2206 |
-
<input type="radio" name="album_extended_show_tag_box" id="album_extended_show_tag_box_0" value="0" <?php if (!BWG()->options->album_extended_show_tag_box) echo 'checked="checked"'; ?> /><label for="album_extended_show_tag_box_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2207 |
-
</div>
|
2208 |
-
<p class="description"><?php _e('Enable Tag Box to allow users to filter the gallery images by their tags.', BWG()->prefix); ?></p>
|
2209 |
-
</div>
|
2210 |
-
</div>
|
2211 |
-
</div>
|
2212 |
-
<div class="wd-box-content wd-width-33">
|
2213 |
-
<div class="wd-box-content wd-width-100">
|
2214 |
-
<div class="wd-group">
|
2215 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery title', BWG()->prefix); ?></label>
|
2216 |
-
<div class="bwg-flex">
|
2217 |
-
<input type="radio" name="show_album_extended_name" id="show_album_extended_name_enable_1" value="1" <?php if (BWG()->options->show_album_extended_name) echo 'checked="checked"'; ?> /><label for="show_album_extended_name_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2218 |
-
<input type="radio" name="show_album_extended_name" id="show_album_extended_name_enable_0" value="0" <?php if (!BWG()->options->show_album_extended_name) echo 'checked="checked"'; ?> /><label for="show_album_extended_name_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2219 |
-
</div>
|
2220 |
-
<p class="description"><?php _e('Display the title of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2221 |
-
</div>
|
2222 |
-
</div>
|
2223 |
-
<div class="wd-box-content wd-width-100">
|
2224 |
-
<div class="wd-group">
|
2225 |
-
<label class="wd-label"><?php _e('Show extended gallery group description', BWG()->prefix); ?></label>
|
2226 |
-
<div class="bwg-flex">
|
2227 |
-
<input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_1" value="1" <?php if (BWG()->options->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2228 |
-
<input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_0" value="0" <?php if (!BWG()->options->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2229 |
-
</div>
|
2230 |
-
<p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.', BWG()->prefix); ?></p>
|
2231 |
-
</div>
|
2232 |
-
</div>
|
2233 |
-
<div class="wd-box-content wd-width-100">
|
2234 |
-
<div class="wd-group">
|
2235 |
-
<label class="wd-label"><?php _e('Show gallery group or gallery description', BWG()->prefix); ?></label>
|
2236 |
-
<div class="bwg-flex">
|
2237 |
-
<input type="radio" name="album_extended_show_gallery_description" id="album_extended_show_gallery_description_1" value="1" <?php if (BWG()->options->album_extended_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_extended_show_gallery_description_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2238 |
-
<input type="radio" name="album_extended_show_gallery_description" id="album_extended_show_gallery_description_0" value="0" <?php if (!BWG()->options->album_extended_show_gallery_description) echo 'checked="checked"'; ?> /><label for="album_extended_show_gallery_description_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2239 |
-
</div>
|
2240 |
-
<p class="description"><?php _e('Display the description of displayed gallery or gallery group by enabling this setting.', BWG()->prefix); ?></p>
|
2241 |
-
</div>
|
2242 |
-
</div>
|
2243 |
-
<div class="wd-box-content wd-width-100">
|
2244 |
-
<div class="wd-group">
|
2245 |
-
<label class="wd-label"><?php _e('Gallery view type', BWG()->prefix); ?></label>
|
2246 |
-
<div class="bwg-flex">
|
2247 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_1" value="thumbnail" <?php if (BWG()->options->album_extended_view_type == "thumbnail") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_mosaic', 'album_extended_view_type_1'); bwg_enable_disable('none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_1'); bwg_enable_disable('none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_1');" /><label for="album_extended_view_type_1" class="wd-radio-label"><?php _e('Thumbnail', BWG()->prefix); ?></label>
|
2248 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_0" value="masonry" <?php if (BWG()->options->album_extended_view_type == "masonry") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_album_extended_mosaic', 'album_extended_view_type_0'); bwg_enable_disable('none', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_0'); bwg_enable_disable('none', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_0');" /><label for="album_extended_view_type_0" class="wd-radio-label"><?php _e('Masonry', BWG()->prefix); ?></label>
|
2249 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_view_type" id="album_extended_view_type_2" value="mosaic" <?php if (BWG()->options->album_extended_view_type == "mosaic") echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_album_extended_mosaic', 'album_extended_view_type_2'); bwg_enable_disable('', 'tr_album_extended_resizable_mosaic', 'album_extended_view_type_2'); bwg_enable_disable('', 'tr_album_extended_mosaic_total_width', 'album_extended_view_type_2');" /><label for="album_extended_view_type_2" class="wd-radio-label"><?php _e('Mosaic', BWG()->prefix); ?></label>
|
2250 |
-
</div>
|
2251 |
-
<p class="description"><?php _e('Choose the display type for gallery groups, Thumbnails, Masonry or Mosaic.', BWG()->prefix); ?></p>
|
2252 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2253 |
-
</div>
|
2254 |
-
</div>
|
2255 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic">
|
2256 |
-
<div class="wd-group">
|
2257 |
-
<label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
|
2258 |
-
<div class="bwg-flex">
|
2259 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_mosaic" id="album_extended_mosaic_0" value="vertical" <?php if (BWG()->options->album_extended_mosaic == "vertical") echo 'checked="checked"'; ?> /><label for="album_extended_mosaic_0" class="wd-radio-label"><?php _e('Vertical', BWG()->prefix); ?></label>
|
2260 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_mosaic" id="album_extended_mosaic_1" value="horizontal" <?php if (BWG()->options->album_extended_mosaic == "horizontal") echo 'checked="checked"'; ?> /><label for="album_extended_mosaic_1" class="wd-radio-label"><?php _e('Horizontal', BWG()->prefix); ?></label>
|
2261 |
-
</div>
|
2262 |
-
<p class="description"><?php _e('Select the type of Mosaic galleries, Vertical or Horizontal.', BWG()->prefix); ?></p>
|
2263 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2264 |
-
</div>
|
2265 |
-
</div>
|
2266 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_resizable_mosaic">
|
2267 |
-
<div class="wd-group">
|
2268 |
-
<label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
|
2269 |
-
<div class="bwg-flex">
|
2270 |
-
<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 (BWG()->options->album_extended_resizable_mosaic == "1") echo 'checked="checked"'; ?> /><label for="album_extended_resizable_mosaic_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2271 |
-
<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 (BWG()->options->album_extended_resizable_mosaic == "0") echo 'checked="checked"'; ?> /><label for="album_extended_resizable_mosaic_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2272 |
-
</div>
|
2273 |
-
<p class="description"><?php _e('If this setting is enabled, Photo Gallery resizes all thumbnail images on Mosaic galleries, without modifying their initial display.', BWG()->prefix); ?></p>
|
2274 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2275 |
-
</div>
|
2276 |
-
</div>
|
2277 |
-
<div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic_total_width">
|
2278 |
-
<div class="wd-group">
|
2279 |
-
<label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
|
2280 |
-
<div class="bwg-flex">
|
2281 |
-
<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 BWG()->options->album_extended_mosaic_total_width; ?>" min="0" /><span>%</span>
|
2282 |
-
</div>
|
2283 |
-
<p class="description"><?php _e('The total width of mosaic galleries as a percentage of container\'s width.', BWG()->prefix); ?></p>
|
2284 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2285 |
-
</div>
|
2286 |
-
</div>
|
2287 |
-
<div class="wd-box-content wd-width-100">
|
2288 |
-
<div class="wd-group">
|
2289 |
-
<label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
|
2290 |
-
<div class="bwg-flex">
|
2291 |
-
<input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_1" value="hover" <?php if (BWG()->options->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', BWG()->prefix); ?></label>
|
2292 |
-
<input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_0" value="show" <?php if (BWG()->options->album_extended_image_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_extended_image_title_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
2293 |
-
<input type="radio" name="album_extended_image_title_show_hover" id="album_extended_image_title_show_hover_2" value="none" <?php if (BWG()->options->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", BWG()->prefix); ?></label>
|
2294 |
-
</div>
|
2295 |
-
<p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
|
2296 |
-
</div>
|
2297 |
-
</div>
|
2298 |
-
<div class="wd-box-content wd-width-100">
|
2299 |
-
<div class="wd-group">
|
2300 |
-
<label class="wd-label"><?php _e('Show Play icon on video thumbnails', BWG()->prefix); ?></label>
|
2301 |
-
<div class="bwg-flex">
|
2302 |
-
<input type="radio" name="album_extended_play_icon" id="album_extended_play_icon_yes" value="1" <?php if (BWG()->options->album_extended_play_icon) echo 'checked="checked"'; ?> /><label for="album_extended_play_icon_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2303 |
-
<input type="radio" name="album_extended_play_icon" id="album_extended_play_icon_no" value="0" <?php if (!BWG()->options->album_extended_play_icon) echo 'checked="checked"'; ?> /><label for="album_extended_play_icon_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2304 |
-
</div>
|
2305 |
-
<p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
|
2306 |
-
</div>
|
2307 |
-
</div>
|
2308 |
-
<div class="wd-box-content wd-width-100">
|
2309 |
-
<div class="wd-group">
|
2310 |
-
<label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
|
2311 |
-
<div class="bwg-flex">
|
2312 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_gallery_download" id="album_extended_gallery_download_1" value="1" <?php if (BWG()->options->album_extended_gallery_download) echo 'checked="checked"'; ?> /><label for="album_extended_gallery_download_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2313 |
-
<input <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?> type="radio" name="album_extended_gallery_download" id="album_extended_gallery_download_0" value="0" <?php if (!BWG()->options->album_extended_gallery_download) echo 'checked="checked"'; ?> /><label for="album_extended_gallery_download_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2314 |
-
</div>
|
2315 |
-
<p class="description"><?php _e('Activate this setting to let users download all images of your gallery with a click.', BWG()->prefix); ?></p>
|
2316 |
-
<?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
|
2317 |
-
</div>
|
2318 |
-
</div>
|
2319 |
-
<?php
|
2320 |
-
if (function_exists('BWGEC')) {
|
2321 |
-
?>
|
2322 |
-
<div class="wd-box-content wd-width-100">
|
2323 |
-
<div class="wd-group">
|
2324 |
-
<label class="wd-label"><?php _e('Show ecommerce icon', BWG()->prefix); ?></label>
|
2325 |
-
<div class="bwg-flex">
|
2326 |
-
<input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_1" value="hover" <?php if (BWG()->options->album_extended_ecommerce_icon_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_1" class="wd-radio-label"><?php _e('Show on hover', BWG()->prefix); ?></label>
|
2327 |
-
<input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_0" value="show" <?php if (BWG()->options->album_extended_ecommerce_icon_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_0" class="wd-radio-label"><?php _e('Always show', BWG()->prefix); ?></label>
|
2328 |
-
<input type="radio" name="album_extended_ecommerce_icon_show_hover" id="album_extended_ecommerce_icon_show_hover_2" value="none" <?php if (BWG()->options->album_extended_ecommerce_icon_show_hover == "none") echo 'checked="checked"'; ?> /><label for="album_extended_ecommerce_icon_show_hover_2" class="wd-radio-label"><?php _e("Don't show", BWG()->prefix); ?></label>
|
2329 |
-
</div>
|
2330 |
-
<p class="description"><?php _e('Choose to show/hide ecommerce icon, or display them on hover.', BWG()->prefix); ?></p>
|
2331 |
-
</div>
|
2332 |
-
</div>
|
2333 |
-
<?php
|
2334 |
-
}
|
2335 |
-
?>
|
2336 |
-
</div>
|
2337 |
-
</div>
|
2338 |
</div>
|
2339 |
</div>
|
2340 |
<div class="postbox closed">
|
@@ -2346,228 +287,9 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
2346 |
<span><?php _e('Lightbox', BWG()->prefix); ?></span>
|
2347 |
</h2>
|
2348 |
<div class="inside">
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
<input type="radio" name="thumb_click_action" id="thumb_click_action_1" value="open_lightbox" <?php if (BWG()->options->thumb_click_action == 'open_lightbox') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_1" class="wd-radio-label"><?php _e('Open lightbox', BWG()->prefix); ?></label>
|
2353 |
-
<input type="radio" name="thumb_click_action" id="thumb_click_action_2" value="redirect_to_url" <?php if (BWG()->options->thumb_click_action == 'redirect_to_url') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_2" class="wd-radio-label"><?php _e('Redirect to url', BWG()->prefix); ?></label>
|
2354 |
-
<input type="radio" name="thumb_click_action" id="thumb_click_action_3" value="do_nothing" <?php if (BWG()->options->thumb_click_action == 'do_nothing') echo 'checked="checked"'; ?> onchange="bwg_thumb_click_action()" /><label for="thumb_click_action_3" class="wd-radio-label"><?php _e('Do Nothing', BWG()->prefix); ?></label>
|
2355 |
-
<p class="description">Select the action which runs after clicking on gallery thumbnails.</p> </div>
|
2356 |
-
</div>
|
2357 |
-
<div class="wd-box-content wd-width-100" id="tr_thumb_link_target">
|
2358 |
-
<div class="wd-group">
|
2359 |
-
<label class="wd-label"><?php _e('Open in new window', BWG()->prefix); ?></label>
|
2360 |
-
<input type="radio" name="thumb_link_target" id="thumb_link_target_yes" value="1" <?php if (BWG()->options->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2361 |
-
<input type="radio" name="thumb_link_target" id="thumb_link_target_no" value="0" <?php if (!BWG()->options->thumb_link_target) echo 'checked="checked"'; ?> /><label for="thumb_link_target_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2362 |
-
<p class="description"><?php _e("Open new window when redirecting.", BWG()->prefix); ?></p>
|
2363 |
-
</div>
|
2364 |
-
</div>
|
2365 |
-
<div class="wd-box-content wd-width-100 bwg-flex-wrap" id="tbody_popup">
|
2366 |
-
<div class="wd-box-content wd-width-33">
|
2367 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_fullscreen">
|
2368 |
-
<div class="wd-group">
|
2369 |
-
<label class="wd-label"><?php _e('Full-width lightbox', BWG()->prefix); ?></label>
|
2370 |
-
<input type="radio" name="popup_fullscreen" id="popup_fullscreen_1" value="1" <?php if (BWG()->options->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_popup_fullscreen()" /><label for="popup_fullscreen_1" class="wd-radio-label"><?php echo __('Yes', BWG()->prefix); ?></label>
|
2371 |
-
<input type="radio" name="popup_fullscreen" id="popup_fullscreen_0" value="0" <?php if (!BWG()->options->popup_fullscreen) echo 'checked="checked"'; ?> onchange="bwg_popup_fullscreen()" /><label for="popup_fullscreen_0" class="wd-radio-label"><?php echo __('No', BWG()->prefix); ?></label>
|
2372 |
-
<p class="description"><?php _e("Image lightbox will appear full-width if this setting is activated.", BWG()->prefix); ?></p>
|
2373 |
-
</div>
|
2374 |
-
</div>
|
2375 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_width_height">
|
2376 |
-
<div class="wd-group">
|
2377 |
-
<label class="wd-label" for="popup_width"><?php _e('Lightbox dimensions', BWG()->prefix); ?></label>
|
2378 |
-
<div class="bwg-flex">
|
2379 |
-
<input type="text" name="popup_width" id="popup_width" value="<?php echo BWG()->options->popup_width; ?>" class="spider_int_input" /><span>x</span>
|
2380 |
-
<input type="text" name="popup_height" id="popup_height" value="<?php echo BWG()->options->popup_height; ?>" class="spider_int_input" /><span>px</span>
|
2381 |
-
</div>
|
2382 |
-
<p class="description"><?php _e("Set the dimensions of image lightbox.", BWG()->prefix); ?></p>
|
2383 |
-
</div>
|
2384 |
-
</div>
|
2385 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_effect">
|
2386 |
-
<div class="wd-group">
|
2387 |
-
<label class="wd-label" for="popup_effect"><?php _e('Lightbox effect', BWG()->prefix); ?></label>
|
2388 |
-
<select name="popup_effect" id="popup_effect">
|
2389 |
-
<?php
|
2390 |
-
foreach ( $effects as $key => $effect ) {
|
2391 |
-
?>
|
2392 |
-
<option value="<?php echo $key; ?>" <?php echo (BWG()->options->popup_type == $key) ? 'selected' : ''; ?>><?php echo $effect; ?></option>
|
2393 |
-
<?php
|
2394 |
-
}
|
2395 |
-
?>
|
2396 |
-
</select>
|
2397 |
-
<p class="description"><?php _e("Select the animation effect for image lightbox.", BWG()->prefix); ?></p>
|
2398 |
-
</div>
|
2399 |
-
</div>
|
2400 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_effect_duration">
|
2401 |
-
<div class="wd-group">
|
2402 |
-
<label class="wd-label" for="popup_effect_duration"><?php _e('Effect duration', BWG()->prefix); ?></label>
|
2403 |
-
<div class="bwg-flex">
|
2404 |
-
<input type="text" name="popup_effect_duration" id="popup_effect_duration" value="<?php echo BWG()->options->popup_effect_duration; ?>" class="spider_int_input" /> sec.
|
2405 |
-
</div>
|
2406 |
-
<p class="description"><?php _e("Set the duration of lightbox animation effect.", BWG()->prefix); ?></p>
|
2407 |
-
<p class="description"><?php _e('Note, that the value of Effect Duration can not be greater than 1/4 of Time Interval.', BWG()->prefix) ?></p>
|
2408 |
-
</div>
|
2409 |
-
</div>
|
2410 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_autoplay">
|
2411 |
-
<div class="wd-group">
|
2412 |
-
<label class="wd-label"><?php _e('Lightbox autoplay', BWG()->prefix); ?></label>
|
2413 |
-
<input type="radio" name="popup_autoplay" id="popup_autoplay_1" value="1" <?php if (BWG()->options->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2414 |
-
<input type="radio" name="popup_autoplay" id="popup_autoplay_0" value="0" <?php if (!BWG()->options->popup_autoplay) echo 'checked="checked"'; ?> /><label for="popup_autoplay_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2415 |
-
<p class="description"><?php _e("Activate this option to autoplay images in gallery lightbox.", BWG()->prefix); ?></p>
|
2416 |
-
</div>
|
2417 |
-
</div>
|
2418 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_interval">
|
2419 |
-
<div class="wd-group">
|
2420 |
-
<label class="wd-label" for="popup_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
|
2421 |
-
<div class="bwg-flex">
|
2422 |
-
<input type="text" name="popup_interval" id="popup_interval" value="<?php echo BWG()->options->popup_interval; ?>" class="spider_int_input" /> sec.
|
2423 |
-
</div>
|
2424 |
-
<p class="description"><?php _e("Specify the time interval of autoplay in Photo Gallery lightbox.", BWG()->prefix); ?></p>
|
2425 |
-
</div>
|
2426 |
-
</div>
|
2427 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_filmstrip">
|
2428 |
-
<div class="wd-group">
|
2429 |
-
<label class="wd-label"><?php _e('Enable filmstrip in lightbox', BWG()->prefix); ?></label>
|
2430 |
-
<input type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_filmstrip_yes')" <?php echo (BWG()->options->popup_enable_filmstrip) ? 'checked' : ''; ?> /><label for="popup_filmstrip_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2431 |
-
<input type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_filmstrip_no')" <?php echo (BWG()->options->popup_enable_filmstrip) ? '' : 'checked'; ?> /><label for="popup_filmstrip_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2432 |
-
<p class="description"><?php _e("Add a filmstrip with image thumbnails to the lightbox of your galleries.", BWG()->prefix); ?></p>
|
2433 |
-
</div>
|
2434 |
-
</div>
|
2435 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_filmstrip_height">
|
2436 |
-
<div class="wd-group">
|
2437 |
-
<label class="wd-label" for="popup_filmstrip_height"><?php _e('Filmstrip size', BWG()->prefix); ?></label>
|
2438 |
-
<div class="bwg-flex">
|
2439 |
-
<input type="text" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo BWG()->options->popup_filmstrip_height; ?>" class="spider_int_input" /><span>px</span>
|
2440 |
-
</div>
|
2441 |
-
</div>
|
2442 |
-
</div>
|
2443 |
-
</div>
|
2444 |
-
<div class="wd-box-content wd-width-33">
|
2445 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_hit_counter">
|
2446 |
-
<div class="wd-group">
|
2447 |
-
<label class="wd-label"><?php _e('Display views counter', BWG()->prefix); ?></label>
|
2448 |
-
<input type="radio" name="popup_hit_counter" id="popup_hit_counter_yes" value="1" <?php echo (BWG()->options->popup_hit_counter) ? 'checked' : ''; ?> /><label for="popup_hit_counter_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2449 |
-
<input type="radio" name="popup_hit_counter" id="popup_hit_counter_no" value="0" <?php echo (BWG()->options->popup_hit_counter) ? '' : 'checked'; ?> /><label for="popup_hit_counter_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2450 |
-
<p class="description"><?php _e("Show the number of views, when a gallery image was opened in lightbox.", BWG()->prefix); ?></p>
|
2451 |
-
</div>
|
2452 |
-
</div>
|
2453 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_ctrl_btn">
|
2454 |
-
<div class="wd-group">
|
2455 |
-
<label class="wd-label"><?php _e('Enable control buttons', BWG()->prefix); ?></label>
|
2456 |
-
<input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_yes" value="1" onClick="bwg_enable_disable('', 'tbody_popup_ctrl_btn1', 'popup_ctrl_btn_yes');bwg_enable_disable('', 'tbody_popup_ctrl_btn2', 'popup_ctrl_btn_yes');" <?php echo (BWG()->options->popup_enable_ctrl_btn) ? 'checked' : ''; ?> /><label for="popup_ctrl_btn_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2457 |
-
<input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_no" value="0" onClick="bwg_enable_disable('none', 'tbody_popup_ctrl_btn1', 'popup_ctrl_btn_no');bwg_enable_disable('none', 'tbody_popup_ctrl_btn2', 'popup_ctrl_btn_no');" <?php echo (BWG()->options->popup_enable_ctrl_btn) ? '' : 'checked'; ?> /><label for="popup_ctrl_btn_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2458 |
-
<p class="description"><?php _e("Enable this option to show control buttons on Photo Gallery lightbox.", BWG()->prefix); ?></p>
|
2459 |
-
</div>
|
2460 |
-
</div>
|
2461 |
-
<div class="wd-box-content wd-width-100" id="tbody_popup_ctrl_btn1">
|
2462 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_fullscreen">
|
2463 |
-
<div class="wd-group">
|
2464 |
-
<label class="wd-label"><?php _e('Enable fullscreen button', BWG()->prefix); ?></label>
|
2465 |
-
<input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_yes" value="1" <?php echo (BWG()->options->popup_enable_fullscreen) ? 'checked' : ''; ?> /><label for="popup_fullscreen_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2466 |
-
<input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_no" value="0" <?php echo (BWG()->options->popup_enable_fullscreen) ? '' : 'checked'; ?> /><label for="popup_fullscreen_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2467 |
-
<p class="description"><?php _e("Activate this setting to add Fullscreen button to lightbox control buttons.", BWG()->prefix); ?></p>
|
2468 |
-
</div>
|
2469 |
-
</div>
|
2470 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_info">
|
2471 |
-
<div class="wd-group">
|
2472 |
-
<label class="wd-label"><?php _e('Show image info', BWG()->prefix); ?></label>
|
2473 |
-
<input type="radio" name="popup_enable_info" id="popup_info_yes" value="1" <?php echo (BWG()->options->popup_enable_info) ? 'checked="checked"' : ''; ?> /><label for="popup_info_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2474 |
-
<input type="radio" name="popup_enable_info" id="popup_info_no" value="0" <?php echo (BWG()->options->popup_enable_info) ? '' : 'checked="checked"'; ?> /><label for="popup_info_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2475 |
-
<p class="description"><?php _e("Activate this setting to show Info button among lightbox control buttons.", BWG()->prefix); ?></p>
|
2476 |
-
</div>
|
2477 |
-
</div>
|
2478 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_info_always_show">
|
2479 |
-
<div class="wd-group">
|
2480 |
-
<label class="wd-label"><?php _e('Display info by default', BWG()->prefix); ?></label>
|
2481 |
-
<input type="radio" name="popup_info_always_show" id="popup_info_always_show_yes" value="1" <?php echo (BWG()->options->popup_info_always_show) ? 'checked="checked"' : ''; ?> /><label for="popup_info_always_show_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2482 |
-
<input type="radio" name="popup_info_always_show" id="popup_info_always_show_no" value="0" <?php echo (BWG()->options->popup_info_always_show) ? '' : 'checked="checked"'; ?> /><label for="popup_info_always_show_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2483 |
-
<p class="description"><?php _e("Enabling this option will let you show image title and description on lightbox by default.", BWG()->prefix); ?></p>
|
2484 |
-
</div>
|
2485 |
-
</div>
|
2486 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_info_full_width">
|
2487 |
-
<div class="wd-group">
|
2488 |
-
<label class="wd-label"><?php _e('Full width info', BWG()->prefix); ?></label>
|
2489 |
-
<input type="radio" name="popup_info_full_width" id="popup_info_full_width_1" value="1" <?php if (BWG()->options->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_1" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2490 |
-
<input type="radio" name="popup_info_full_width" id="popup_info_full_width_0" value="0" <?php if (!BWG()->options->popup_info_full_width) echo 'checked="checked"'; ?> /><label for="popup_info_full_width_0" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2491 |
-
<p class="description"><?php _e("Display info box with the full width of the lightbox by enabling this option.", BWG()->prefix); ?></p>
|
2492 |
-
</div>
|
2493 |
-
</div>
|
2494 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_rate">
|
2495 |
-
<div class="wd-group">
|
2496 |
-
<label class="wd-label"><?php _e('Enable rating', BWG()->prefix); ?></label>
|
2497 |
-
<input type="radio" name="popup_enable_rate" id="popup_rate_yes" value="1" <?php echo (BWG()->options->popup_enable_rate) ? 'checked="checked"' : ''; ?> /><label for="popup_rate_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2498 |
-
<input type="radio" name="popup_enable_rate" id="popup_rate_no" value="0" <?php echo (BWG()->options->popup_enable_rate) ? '' : 'checked="checked"'; ?> /><label for="popup_rate_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2499 |
-
<p class="description"><?php _e("Allow users to rate your images by adding rating feature to Photo Gallery lightbox.", BWG()->prefix); ?></p>
|
2500 |
-
</div>
|
2501 |
-
</div>
|
2502 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_comment">
|
2503 |
-
<div class="wd-group">
|
2504 |
-
<label class="wd-label"><?php _e('Enable comments', BWG()->prefix); ?></label>
|
2505 |
-
<input type="radio" name="popup_enable_comment" id="popup_comment_yes" value="1" <?php echo (BWG()->options->popup_enable_comment) ? 'checked' : ''; ?> /><label for="popup_comment_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2506 |
-
<input type="radio" name="popup_enable_comment" id="popup_comment_no" value="0" <?php echo (BWG()->options->popup_enable_comment) ? '' : 'checked'; ?> /><label for="popup_comment_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2507 |
-
<p class="description"><?php _e("Let users to leave comments on images by enabling comments section of lightbox.", BWG()->prefix); ?></p>
|
2508 |
-
</div>
|
2509 |
-
</div>
|
2510 |
-
</div>
|
2511 |
-
</div>
|
2512 |
-
<div class="wd-box-content wd-width-33">
|
2513 |
-
<div class="wd-box-content wd-width-100" id="tbody_popup_ctrl_btn2">
|
2514 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_facebook">
|
2515 |
-
<div class="wd-group">
|
2516 |
-
<label class="wd-label"><?php _e('Show Facebook button', BWG()->prefix); ?></label>
|
2517 |
-
<input type="radio" name="popup_enable_facebook" id="popup_facebook_yes" value="1" <?php echo (BWG()->options->popup_enable_facebook) ? 'checked' : ''; ?> /><label for="popup_facebook_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2518 |
-
<input type="radio" name="popup_enable_facebook" id="popup_facebook_no" value="0" <?php echo (BWG()->options->popup_enable_facebook) ? '' : 'checked'; ?> /><label for="popup_facebook_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2519 |
-
<p class="description"><?php _e("Enabling this setting will add Facebook sharing button to Photo Gallery lightbox.", BWG()->prefix); ?></p>
|
2520 |
-
</div>
|
2521 |
-
</div>
|
2522 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_twitter">
|
2523 |
-
<div class="wd-group">
|
2524 |
-
<label class="wd-label"><?php _e('Show Twitter button', BWG()->prefix); ?></label>
|
2525 |
-
<input type="radio" name="popup_enable_twitter" id="popup_twitter_yes" value="1" <?php echo (BWG()->options->popup_enable_twitter) ? 'checked' : ''; ?> /><label for="popup_twitter_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2526 |
-
<input type="radio" name="popup_enable_twitter" id="popup_twitter_no" value="0" <?php echo (BWG()->options->popup_enable_twitter) ? '' : 'checked'; ?> /><label for="popup_twitter_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2527 |
-
<p class="description"><?php _e("Enable this setting to add Tweet button to Photo Gallery lightbox.", BWG()->prefix); ?></p>
|
2528 |
-
</div>
|
2529 |
-
</div>
|
2530 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_google">
|
2531 |
-
<div class="wd-group">
|
2532 |
-
<label class="wd-label"><?php _e('Show Google+ button', BWG()->prefix); ?></label>
|
2533 |
-
<input type="radio" name="popup_enable_google" id="popup_google_yes" value="1" <?php echo (BWG()->options->popup_enable_google) ? 'checked' : ''; ?> /><label for="popup_google_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2534 |
-
<input type="radio" name="popup_enable_google" id="popup_google_no" value="0" <?php echo (BWG()->options->popup_enable_google) ? '' : 'checked'; ?> /><label for="popup_google_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2535 |
-
<p class="description"><?php _e("Add Google+ sharing button to Photo Gallery lightbox by activating this option.", BWG()->prefix); ?></p>
|
2536 |
-
</div>
|
2537 |
-
</div>
|
2538 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_pinterest">
|
2539 |
-
<div class="wd-group">
|
2540 |
-
<label class="wd-label"><?php _e('Show Pinterest button', BWG()->prefix); ?></label>
|
2541 |
-
<input type="radio" name="popup_enable_pinterest" id="popup_pinterest_yes" value="1" <?php echo (BWG()->options->popup_enable_pinterest) ? 'checked' : ''; ?> /><label for="popup_pinterest_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2542 |
-
<input type="radio" name="popup_enable_pinterest" id="popup_pinterest_no" value="0" <?php echo (BWG()->options->popup_enable_pinterest) ? '' : 'checked'; ?> /><label for="popup_pinterest_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2543 |
-
<p class="description"><?php _e("Activate Pin button of Photo Gallery lightbox by enabling this setting.", BWG()->prefix); ?></p>
|
2544 |
-
</div>
|
2545 |
-
</div>
|
2546 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_tumblr">
|
2547 |
-
<div class="wd-group">
|
2548 |
-
<label class="wd-label"><?php _e('Show Tumblr button', BWG()->prefix); ?></label>
|
2549 |
-
<input type="radio" name="popup_enable_tumblr" id="popup_tumblr_yes" value="1" <?php echo (BWG()->options->popup_enable_tumblr) ? 'checked' : ''; ?> /><label for="popup_tumblr_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2550 |
-
<input type="radio" name="popup_enable_tumblr" id="popup_tumblr_no" value="0" <?php echo (BWG()->options->popup_enable_tumblr) ? '' : 'checked'; ?> /><label for="popup_tumblr_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2551 |
-
<p class="description"><?php _e("Allow users to share images on Tumblr from Photo Gallery lightbox by activating this setting.", BWG()->prefix); ?></p>
|
2552 |
-
</div>
|
2553 |
-
</div>
|
2554 |
-
<?php
|
2555 |
-
if ( function_exists('BWGEC') ) {
|
2556 |
-
?>
|
2557 |
-
<div class="wd-box-content wd-width-100" id="tr_popup_enable_ecommerce">
|
2558 |
-
<div class="wd-group">
|
2559 |
-
<label class="wd-label"><?php _e('Show Ecommerce button', BWG()->prefix); ?></label>
|
2560 |
-
<input type="radio" name="popup_enable_ecommerce" id="popup_ecommerce_yes" value="1" <?php echo (BWG()->options->popup_enable_ecommerce) ? 'checked' : ''; ?> /><label for="popup_ecommerce_yes" class="wd-radio-label"><?php _e('Yes', BWG()->prefix); ?></label>
|
2561 |
-
<input type="radio" name="popup_enable_ecommerce" id="popup_ecommerce_no" value="0" <?php echo (BWG()->options->popup_enable_ecommerce) ? '' : 'checked'; ?> /><label for="popup_ecommerce_no" class="wd-radio-label"><?php _e('No', BWG()->prefix); ?></label>
|
2562 |
-
<p class="description"><?php _e("Enable this option to display ecommerce icon on Photo Gallery lightbox.", BWG()->prefix); ?></p>
|
2563 |
-
</div>
|
2564 |
-
</div>
|
2565 |
-
<?php
|
2566 |
-
}
|
2567 |
-
?>
|
2568 |
-
</div>
|
2569 |
-
</div>
|
2570 |
-
</div>
|
2571 |
</div>
|
2572 |
</div>
|
2573 |
<div class="postbox closed">
|
@@ -2713,7 +435,7 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
2713 |
<?php if ( !BWG()->is_pro ) { ?>
|
2714 |
<div class="media-toolbar-primary search-form" style="float: left;">
|
2715 |
<span class="media-button button-large">
|
2716 |
-
<a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="http://wpdemo.web-dorado.com/
|
2717 |
</span>
|
2718 |
</div>
|
2719 |
<?php } ?>
|
@@ -3707,31 +1429,41 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
3707 |
}
|
3708 |
}
|
3709 |
// Lightbox.
|
3710 |
-
if (short_code['
|
3711 |
-
jQuery("#
|
3712 |
}
|
3713 |
-
if (short_code['
|
3714 |
-
jQuery("#
|
3715 |
}
|
3716 |
-
if (short_code['
|
3717 |
-
jQuery("
|
3718 |
}
|
3719 |
-
if (short_code['
|
3720 |
-
jQuery("#
|
3721 |
}
|
3722 |
-
|
3723 |
-
jQuery("#
|
3724 |
}
|
3725 |
if (short_code['popup_fullscreen'] != undefined) {
|
3726 |
if (short_code['popup_fullscreen'] == 1) {
|
3727 |
jQuery("#popup_fullscreen_1").attr('checked', 'checked');
|
3728 |
-
jQuery("#tr_popup_width_height").css('display', 'none');
|
3729 |
}
|
3730 |
else {
|
3731 |
jQuery("#popup_fullscreen_0").attr('checked', 'checked');
|
3732 |
-
jQuery("#tr_popup_width_height").css('display', '');
|
3733 |
}
|
3734 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3735 |
if (short_code['popup_autoplay'] != undefined) {
|
3736 |
if (short_code['popup_autoplay'] == 1) {
|
3737 |
jQuery("#popup_autoplay_1").attr('checked', 'checked');
|
@@ -3740,38 +1472,64 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
3740 |
jQuery("#popup_autoplay_0").attr('checked', 'checked');
|
3741 |
}
|
3742 |
}
|
|
|
|
|
|
|
3743 |
if (short_code['popup_enable_filmstrip'] != undefined) {
|
3744 |
if (short_code['popup_enable_filmstrip'] == 1) {
|
3745 |
-
jQuery("#
|
3746 |
-
jQuery("#popup_filmstrip_height").val(short_code['popup_filmstrip_height']);
|
3747 |
-
bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_filmstrip_yes');
|
3748 |
}
|
3749 |
else {
|
3750 |
-
jQuery("#
|
3751 |
}
|
|
|
3752 |
}
|
3753 |
if (short_code['popup_enable_ctrl_btn'] != undefined) {
|
3754 |
if (short_code['popup_enable_ctrl_btn'] == 1) {
|
3755 |
-
jQuery("#
|
3756 |
-
bwg_enable_disable('', 'tbody_popup_ctrl_btn1', '
|
3757 |
-
bwg_enable_disable('', 'tbody_popup_ctrl_btn2', '
|
3758 |
if (short_code['popup_enable_fullscreen'] == 1) {
|
3759 |
-
jQuery("#
|
3760 |
}
|
3761 |
else {
|
3762 |
-
jQuery("#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3763 |
}
|
3764 |
if (short_code['popup_enable_info'] == 1 || !short_code['popup_enable_info']) {
|
3765 |
-
jQuery("#
|
3766 |
}
|
3767 |
else {
|
3768 |
-
jQuery("#
|
3769 |
}
|
3770 |
-
if (short_code['
|
3771 |
-
jQuery("#
|
3772 |
}
|
3773 |
else {
|
3774 |
-
jQuery("#
|
3775 |
}
|
3776 |
if (short_code['popup_info_full_width'] == 1) {
|
3777 |
jQuery("#popup_info_full_width_1").attr('checked', 'checked');
|
@@ -3779,87 +1537,99 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
3779 |
else {
|
3780 |
jQuery("#popup_info_full_width_0").attr('checked', 'checked');
|
3781 |
}
|
3782 |
-
if (short_code['
|
3783 |
-
jQuery("#
|
|
|
|
|
|
|
|
|
|
|
|
|
3784 |
}
|
3785 |
else {
|
3786 |
-
jQuery("#
|
3787 |
}
|
3788 |
if (short_code['popup_enable_rate'] == 1 && short_code['popup_enable_rate']) {
|
3789 |
-
jQuery("#
|
3790 |
}
|
3791 |
else {
|
3792 |
-
jQuery("#
|
3793 |
}
|
3794 |
-
if (short_code['
|
3795 |
-
jQuery("#
|
3796 |
}
|
3797 |
else {
|
3798 |
-
jQuery("#
|
3799 |
}
|
3800 |
-
if (short_code['
|
3801 |
-
jQuery("#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3802 |
}
|
3803 |
else {
|
3804 |
-
jQuery("#
|
|
|
|
|
|
|
3805 |
}
|
3806 |
if (short_code['popup_enable_facebook'] == 1) {
|
3807 |
-
jQuery("#
|
3808 |
}
|
3809 |
else {
|
3810 |
-
jQuery("#
|
3811 |
}
|
3812 |
if (short_code['popup_enable_twitter'] == 1) {
|
3813 |
-
jQuery("#
|
3814 |
}
|
3815 |
else {
|
3816 |
-
jQuery("#
|
3817 |
}
|
3818 |
if (short_code['popup_enable_google'] == 1) {
|
3819 |
-
jQuery("#
|
3820 |
}
|
3821 |
else {
|
3822 |
-
jQuery("#
|
3823 |
}
|
3824 |
-
if (short_code['
|
3825 |
-
jQuery("#
|
3826 |
}
|
3827 |
else {
|
3828 |
-
jQuery("#
|
3829 |
}
|
3830 |
-
if (short_code['
|
3831 |
-
jQuery("#
|
3832 |
}
|
3833 |
else {
|
3834 |
-
jQuery("#
|
3835 |
}
|
3836 |
-
if (short_code['
|
3837 |
-
jQuery("#
|
3838 |
}
|
3839 |
else {
|
3840 |
-
jQuery("#
|
3841 |
}
|
3842 |
}
|
3843 |
else {
|
3844 |
-
jQuery("#
|
3845 |
}
|
3846 |
}
|
3847 |
-
|
3848 |
-
jQuery("#thumb_click_action_3").attr('checked', 'checked');
|
3849 |
-
}
|
3850 |
-
else if (short_code['thumb_click_action'] == 'redirect_to_url') {
|
3851 |
-
jQuery("#thumb_click_action_2").attr('checked', 'checked');
|
3852 |
-
}
|
3853 |
-
else if (short_code['thumb_click_action'] == 'open_lightbox') {
|
3854 |
-
jQuery("#thumb_click_action_1").attr('checked', 'checked');
|
3855 |
-
}
|
3856 |
-
if (short_code['thumb_link_target'] == 1 || !short_code['thumb_link_target'] || short_code['thumb_link_target'] == 'undefined') {
|
3857 |
-
jQuery("#thumb_link_target_yes").attr('checked', 'checked');
|
3858 |
-
}
|
3859 |
-
else {
|
3860 |
-
jQuery("#thumb_link_target_no").attr('checked', 'checked');
|
3861 |
-
}
|
3862 |
-
bwg_thumb_click_action();
|
3863 |
// Watermark.
|
3864 |
if (short_code['watermark_type'] == 'text') {
|
3865 |
jQuery("#watermark_type_text").attr('checked', 'checked');
|
@@ -4250,28 +2020,38 @@ class ShortcodeView_bwg extends AdminView_bwg {
|
|
4250 |
tagtext += ' thumb_click_action="' + jQuery("input[name=thumb_click_action]:checked").val() + '"';
|
4251 |
tagtext += ' thumb_link_target="' + jQuery("input[name=thumb_link_target]:checked").val() + '"';
|
4252 |
tagtext += ' popup_fullscreen="' + jQuery("input[name=popup_fullscreen]:checked").val() + '"';
|
4253 |
-
tagtext += ' popup_autoplay="' + jQuery("input[name=popup_autoplay]:checked").val() + '"';
|
4254 |
tagtext += ' popup_width="' + jQuery("#popup_width").val() + '"';
|
4255 |
tagtext += ' popup_height="' + jQuery("#popup_height").val() + '"';
|
4256 |
-
tagtext += ' popup_effect="' + jQuery("#
|
|
|
|
|
4257 |
tagtext += ' popup_interval="' + jQuery("#popup_interval").val() + '"';
|
4258 |
tagtext += ' popup_enable_filmstrip="' + jQuery("input[name=popup_enable_filmstrip]:checked").val() + '"';
|
4259 |
tagtext += ' popup_filmstrip_height="' + jQuery("#popup_filmstrip_height").val() + '"';
|
4260 |
tagtext += ' popup_enable_ctrl_btn="' + jQuery("input[name=popup_enable_ctrl_btn]:checked").val() + '"';
|
4261 |
tagtext += ' popup_enable_fullscreen="' + jQuery("input[name=popup_enable_fullscreen]:checked").val() + '"';
|
|
|
|
|
|
|
|
|
4262 |
tagtext += ' popup_enable_info="' + jQuery("input[name=popup_enable_info]:checked").val() + '"';
|
4263 |
tagtext += ' popup_info_always_show="' + jQuery("input[name=popup_info_always_show]:checked").val() + '"';
|
4264 |
tagtext += ' popup_info_full_width="' + jQuery("input[name=popup_info_full_width]:checked").val() + '"';
|
4265 |
-
tagtext += '
|
4266 |
-
tagtext += ' popup_enable_comment="' + jQuery("input[name=popup_enable_comment]:checked").val() + '"';
|
4267 |
tagtext += ' popup_hit_counter="' + jQuery("input[name=popup_hit_counter]:checked").val() + '"';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4268 |
tagtext += ' popup_enable_facebook="' + jQuery("input[name=popup_enable_facebook]:checked").val() + '"';
|
4269 |
tagtext += ' popup_enable_twitter="' + jQuery("input[name=popup_enable_twitter]:checked").val() + '"';
|
4270 |
tagtext += ' popup_enable_google="' + jQuery("input[name=popup_enable_google]:checked").val() + '"';
|
4271 |
-
tagtext += ' popup_enable_ecommerce="' + jQuery("input[name=popup_enable_ecommerce]:checked").val() + '"';
|
4272 |
tagtext += ' popup_enable_pinterest="' + jQuery("input[name=popup_enable_pinterest]:checked").val() + '"';
|
4273 |
tagtext += ' popup_enable_tumblr="' + jQuery("input[name=popup_enable_tumblr]:checked").val() + '"';
|
4274 |
-
tagtext += '
|
4275 |
// Watermark parameters.
|
4276 |
tagtext += ' watermark_type="' + jQuery("input[name=watermark_type]:checked").val() + '"';
|
4277 |
tagtext += ' watermark_link="' + (jQuery("#watermark_link").val()) + '"';
|
18 |
wp_enqueue_script(BWG()->prefix . '_jscolor');
|
19 |
wp_enqueue_script('jquery-ui-tabs');
|
20 |
}
|
21 |
+
require_once BWG()->plugin_dir . '/admin/views/Options.php';
|
22 |
// Close shortcode editor after insert.
|
23 |
if ( isset($_POST['tagtext']) ) {
|
24 |
echo '<script>if (top.tinyMCE.activeEditor) {top.tinyMCE.activeEditor.windowManager.close(window);}top.tb_remove();</script>';
|
46 |
$theme_rows = $params['theme_rows'];
|
47 |
$from_menu = $params['from_menu'];
|
48 |
$tag_rows = $params['tag_rows'];
|
|
|
49 |
$watermark_fonts = $params['watermark_fonts'];
|
50 |
$gallery_types_name = $params['gallery_types_name'];
|
51 |
$album_types_name = $params['album_types_name'];
|
272 |
<span id="bwg_basic_metabox_title" data-title-gallery="<?php _e('Gallery', BWG()->prefix); ?>" data-title-album="<?php _e('Gallery group', BWG()->prefix); ?>"></span>
|
273 |
</h2>
|
274 |
<div class="inside bwg-flex-wrap">
|
275 |
+
<?php
|
276 |
+
OptionsView_bwg::gallery_options(BWG()->options);
|
277 |
+
OptionsView_bwg::gallery_group_options(BWG()->options);
|
278 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
</div>
|
280 |
</div>
|
281 |
<div class="postbox closed">
|
287 |
<span><?php _e('Lightbox', BWG()->prefix); ?></span>
|
288 |
</h2>
|
289 |
<div class="inside">
|
290 |
+
<?php
|
291 |
+
OptionsView_bwg::lightbox_options(BWG()->options);
|
292 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
</div>
|
294 |
</div>
|
295 |
<div class="postbox closed">
|
435 |
<?php if ( !BWG()->is_pro ) { ?>
|
436 |
<div class="media-toolbar-primary search-form" style="float: left;">
|
437 |
<span class="media-button button-large">
|
438 |
+
<a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="http://wpdemo.web-dorado.com/"><?php _e('Please see ', BWG()->prefix) ?><span id="bwg_pro_version"><?php _e('Thumbnails', BWG()->prefix) ?></span> <?php _e('View in Premium version', BWG()->prefix) ?></a>
|
439 |
</span>
|
440 |
</div>
|
441 |
<?php } ?>
|
1429 |
}
|
1430 |
}
|
1431 |
// Lightbox.
|
1432 |
+
if (!short_code['thumb_click_action'] || short_code['thumb_click_action'] == 'undefined' || short_code['thumb_click_action'] == 'do_nothing') {
|
1433 |
+
jQuery("#thumb_click_action_3").attr('checked', 'checked');
|
1434 |
}
|
1435 |
+
else if (short_code['thumb_click_action'] == 'redirect_to_url') {
|
1436 |
+
jQuery("#thumb_click_action_2").attr('checked', 'checked');
|
1437 |
}
|
1438 |
+
else if (short_code['thumb_click_action'] == 'open_lightbox') {
|
1439 |
+
jQuery("#thumb_click_action_1").attr('checked', 'checked');
|
1440 |
}
|
1441 |
+
if (short_code['thumb_link_target'] == 1 || !short_code['thumb_link_target'] || short_code['thumb_link_target'] == 'undefined') {
|
1442 |
+
jQuery("#thumb_link_target_yes").attr('checked', 'checked');
|
1443 |
}
|
1444 |
+
else {
|
1445 |
+
jQuery("#thumb_link_target_no").attr('checked', 'checked');
|
1446 |
}
|
1447 |
if (short_code['popup_fullscreen'] != undefined) {
|
1448 |
if (short_code['popup_fullscreen'] == 1) {
|
1449 |
jQuery("#popup_fullscreen_1").attr('checked', 'checked');
|
|
|
1450 |
}
|
1451 |
else {
|
1452 |
jQuery("#popup_fullscreen_0").attr('checked', 'checked');
|
|
|
1453 |
}
|
1454 |
}
|
1455 |
+
if (short_code['popup_width'] != undefined) {
|
1456 |
+
jQuery("#popup_width").val(short_code['popup_width']);
|
1457 |
+
}
|
1458 |
+
if (short_code['popup_height'] != undefined) {
|
1459 |
+
jQuery("#popup_height").val(short_code['popup_height']);
|
1460 |
+
}
|
1461 |
+
if (short_code['popup_effect'] != undefined) {
|
1462 |
+
jQuery("select[id=popup_type] option[value='" + short_code['popup_effect'] + "']").attr('selected', 'selected');
|
1463 |
+
}
|
1464 |
+
if (short_code['popup_effect_duration'] != undefined) {
|
1465 |
+
jQuery("#popup_effect_duration").val(short_code['popup_effect_duration']);
|
1466 |
+
}
|
1467 |
if (short_code['popup_autoplay'] != undefined) {
|
1468 |
if (short_code['popup_autoplay'] == 1) {
|
1469 |
jQuery("#popup_autoplay_1").attr('checked', 'checked');
|
1472 |
jQuery("#popup_autoplay_0").attr('checked', 'checked');
|
1473 |
}
|
1474 |
}
|
1475 |
+
if (short_code['popup_interval'] != undefined) {
|
1476 |
+
jQuery("#popup_interval").val(short_code['popup_interval']);
|
1477 |
+
}
|
1478 |
if (short_code['popup_enable_filmstrip'] != undefined) {
|
1479 |
if (short_code['popup_enable_filmstrip'] == 1) {
|
1480 |
+
jQuery("#popup_enable_filmstrip_1").attr('checked', 'checked');
|
|
|
|
|
1481 |
}
|
1482 |
else {
|
1483 |
+
jQuery("#popup_enable_filmstrip_0").attr('checked', 'checked');
|
1484 |
}
|
1485 |
+
jQuery("#popup_filmstrip_height").val(short_code['popup_filmstrip_height']);
|
1486 |
}
|
1487 |
if (short_code['popup_enable_ctrl_btn'] != undefined) {
|
1488 |
if (short_code['popup_enable_ctrl_btn'] == 1) {
|
1489 |
+
jQuery("#popup_enable_ctrl_btn_1").attr('checked', 'checked');
|
1490 |
+
bwg_enable_disable('', 'tbody_popup_ctrl_btn1', 'popup_ctrl_btn_1');
|
1491 |
+
bwg_enable_disable('', 'tbody_popup_ctrl_btn2', 'popup_ctrl_btn_1');
|
1492 |
if (short_code['popup_enable_fullscreen'] == 1) {
|
1493 |
+
jQuery("#popup_enable_fullscreen_1").attr('checked', 'checked');
|
1494 |
}
|
1495 |
else {
|
1496 |
+
jQuery("#popup_enable_fullscreen_0").attr('checked', 'checked');
|
1497 |
+
}
|
1498 |
+
if (short_code['popup_enable_comment'] == 1) {
|
1499 |
+
jQuery("#popup_enable_comment_1").attr('checked', 'checked');
|
1500 |
+
}
|
1501 |
+
else {
|
1502 |
+
jQuery("#popup_enable_comment_0").attr('checked', 'checked');
|
1503 |
+
}
|
1504 |
+
if (short_code['popup_enable_email'] == 1) {
|
1505 |
+
jQuery("#popup_enable_email_1").attr('checked', 'checked');
|
1506 |
+
}
|
1507 |
+
else {
|
1508 |
+
jQuery("#popup_enable_email_0").attr('checked', 'checked');
|
1509 |
+
}
|
1510 |
+
if (short_code['popup_enable_captcha'] == 1) {
|
1511 |
+
jQuery("#popup_enable_captcha_1").attr('checked', 'checked');
|
1512 |
+
}
|
1513 |
+
else {
|
1514 |
+
jQuery("#popup_enable_captcha_0").attr('checked', 'checked');
|
1515 |
+
}
|
1516 |
+
if (short_code['comment_moderation'] == 1) {
|
1517 |
+
jQuery("#comment_moderation_1").attr('checked', 'checked');
|
1518 |
+
}
|
1519 |
+
else {
|
1520 |
+
jQuery("#comment_moderation_0").attr('checked', 'checked');
|
1521 |
}
|
1522 |
if (short_code['popup_enable_info'] == 1 || !short_code['popup_enable_info']) {
|
1523 |
+
jQuery("#popup_enable_info_1").attr('checked', 'checked');
|
1524 |
}
|
1525 |
else {
|
1526 |
+
jQuery("#popup_enable_info_0").attr('checked', 'checked');
|
1527 |
}
|
1528 |
+
if (short_code['popup_info_always_show'] == 1 && short_code['popup_info_always_show']) {
|
1529 |
+
jQuery("#popup_info_always_show_1").attr('checked', 'checked');
|
1530 |
}
|
1531 |
else {
|
1532 |
+
jQuery("#popup_info_always_show_0").attr('checked', 'checked');
|
1533 |
}
|
1534 |
if (short_code['popup_info_full_width'] == 1) {
|
1535 |
jQuery("#popup_info_full_width_1").attr('checked', 'checked');
|
1537 |
else {
|
1538 |
jQuery("#popup_info_full_width_0").attr('checked', 'checked');
|
1539 |
}
|
1540 |
+
if (short_code['autohide_lightbox_navigation'] == 1) {
|
1541 |
+
jQuery("#autohide_lightbox_navigation_1").attr('checked', 'checked');
|
1542 |
+
}
|
1543 |
+
else {
|
1544 |
+
jQuery("#autohide_lightbox_navigation_0").attr('checked', 'checked');
|
1545 |
+
}
|
1546 |
+
if (short_code['popup_hit_counter'] == 1 && short_code['popup_hit_counter']) {
|
1547 |
+
jQuery("#popup_hit_counter_1").attr('checked', 'checked');
|
1548 |
}
|
1549 |
else {
|
1550 |
+
jQuery("#popup_hit_counter_0").attr('checked', 'checked');
|
1551 |
}
|
1552 |
if (short_code['popup_enable_rate'] == 1 && short_code['popup_enable_rate']) {
|
1553 |
+
jQuery("#popup_enable_rate_1").attr('checked', 'checked');
|
1554 |
}
|
1555 |
else {
|
1556 |
+
jQuery("#popup_enable_rate_0").attr('checked', 'checked');
|
1557 |
}
|
1558 |
+
if (short_code['popup_enable_fullsize_image'] == 1) {
|
1559 |
+
jQuery("#popup_enable_fullsize_image_1").attr('checked', 'checked');
|
1560 |
}
|
1561 |
else {
|
1562 |
+
jQuery("#popup_enable_fullsize_image_0").attr('checked', 'checked');
|
1563 |
}
|
1564 |
+
if (short_code['popup_enable_download'] == 1) {
|
1565 |
+
jQuery("#popup_enable_download_1").attr('checked', 'checked');
|
1566 |
+
}
|
1567 |
+
else {
|
1568 |
+
jQuery("#popup_enable_download_0").attr('checked', 'checked');
|
1569 |
+
}
|
1570 |
+
if (short_code['show_image_counts'] == 1) {
|
1571 |
+
jQuery("#show_image_counts_current_image_number_1").attr('checked', 'checked');
|
1572 |
+
}
|
1573 |
+
else {
|
1574 |
+
jQuery("#show_image_counts_current_image_number_0").attr('checked', 'checked');
|
1575 |
+
}
|
1576 |
+
if (short_code['enable_loop'] == 1) {
|
1577 |
+
jQuery("#enable_loop_1").attr('checked', 'checked');
|
1578 |
+
}
|
1579 |
+
else {
|
1580 |
+
jQuery("#enable_loop_0").attr('checked', 'checked');
|
1581 |
+
}
|
1582 |
+
if (short_code['enable_addthis'] == 1) {
|
1583 |
+
jQuery("#enable_addthis_1").attr('checked', 'checked');
|
1584 |
}
|
1585 |
else {
|
1586 |
+
jQuery("#enable_addthis_0").attr('checked', 'checked');
|
1587 |
+
}
|
1588 |
+
if (short_code['addthis_profile_id'] != 'undefined') {
|
1589 |
+
jQuery("#addthis_profile_id").val(short_code['addthis_profile_id']);
|
1590 |
}
|
1591 |
if (short_code['popup_enable_facebook'] == 1) {
|
1592 |
+
jQuery("#popup_enable_facebook_1").attr('checked', 'checked');
|
1593 |
}
|
1594 |
else {
|
1595 |
+
jQuery("#popup_enable_facebook_0").attr('checked', 'checked');
|
1596 |
}
|
1597 |
if (short_code['popup_enable_twitter'] == 1) {
|
1598 |
+
jQuery("#popup_enable_twitter_1").attr('checked', 'checked');
|
1599 |
}
|
1600 |
else {
|
1601 |
+
jQuery("#popup_enable_twitter_0").attr('checked', 'checked');
|
1602 |
}
|
1603 |
if (short_code['popup_enable_google'] == 1) {
|
1604 |
+
jQuery("#popup_enable_google_1").attr('checked', 'checked');
|
1605 |
}
|
1606 |
else {
|
1607 |
+
jQuery("#popup_enable_google_0").attr('checked', 'checked');
|
1608 |
}
|
1609 |
+
if (short_code['popup_enable_pinterest'] == 1) {
|
1610 |
+
jQuery("#popup_enable_pinterest_1").attr('checked', 'checked');
|
1611 |
}
|
1612 |
else {
|
1613 |
+
jQuery("#popup_enable_pinterest_0").attr('checked', 'checked');
|
1614 |
}
|
1615 |
+
if (short_code['popup_enable_tumblr'] == 1) {
|
1616 |
+
jQuery("#popup_enable_tumblr_1").attr('checked', 'checked');
|
1617 |
}
|
1618 |
else {
|
1619 |
+
jQuery("#popup_enable_tumblr_0").attr('checked', 'checked');
|
1620 |
}
|
1621 |
+
if (short_code['popup_enable_ecommerce'] == 1) {
|
1622 |
+
jQuery("#popup_ecommerce_1").attr('checked', 'checked');
|
1623 |
}
|
1624 |
else {
|
1625 |
+
jQuery("#popup_ecommerce_0").attr('checked', 'checked');
|
1626 |
}
|
1627 |
}
|
1628 |
else {
|
1629 |
+
jQuery("#popup_enable_ctrl_btn_0").attr('checked', 'checked');
|
1630 |
}
|
1631 |
}
|
1632 |
+
bwg_lightbox_hide_show_params();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1633 |
// Watermark.
|
1634 |
if (short_code['watermark_type'] == 'text') {
|
1635 |
jQuery("#watermark_type_text").attr('checked', 'checked');
|
2020 |
tagtext += ' thumb_click_action="' + jQuery("input[name=thumb_click_action]:checked").val() + '"';
|
2021 |
tagtext += ' thumb_link_target="' + jQuery("input[name=thumb_link_target]:checked").val() + '"';
|
2022 |
tagtext += ' popup_fullscreen="' + jQuery("input[name=popup_fullscreen]:checked").val() + '"';
|
|
|
2023 |
tagtext += ' popup_width="' + jQuery("#popup_width").val() + '"';
|
2024 |
tagtext += ' popup_height="' + jQuery("#popup_height").val() + '"';
|
2025 |
+
tagtext += ' popup_effect="' + jQuery("#popup_type").val() + '"';
|
2026 |
+
tagtext += ' popup_effect_duration="' + jQuery("#popup_effect_duration").val() + '"';
|
2027 |
+
tagtext += ' popup_autoplay="' + jQuery("input[name=popup_autoplay]:checked").val() + '"';
|
2028 |
tagtext += ' popup_interval="' + jQuery("#popup_interval").val() + '"';
|
2029 |
tagtext += ' popup_enable_filmstrip="' + jQuery("input[name=popup_enable_filmstrip]:checked").val() + '"';
|
2030 |
tagtext += ' popup_filmstrip_height="' + jQuery("#popup_filmstrip_height").val() + '"';
|
2031 |
tagtext += ' popup_enable_ctrl_btn="' + jQuery("input[name=popup_enable_ctrl_btn]:checked").val() + '"';
|
2032 |
tagtext += ' popup_enable_fullscreen="' + jQuery("input[name=popup_enable_fullscreen]:checked").val() + '"';
|
2033 |
+
tagtext += ' popup_enable_comment="' + jQuery("input[name=popup_enable_comment]:checked").val() + '"';
|
2034 |
+
tagtext += ' popup_enable_email="' + jQuery("input[name=popup_enable_email]:checked").val() + '"';
|
2035 |
+
tagtext += ' popup_enable_captcha="' + jQuery("input[name=popup_enable_captcha]:checked").val() + '"';
|
2036 |
+
tagtext += ' comment_moderation="' + jQuery("input[name=comment_moderation]:checked").val() + '"';
|
2037 |
tagtext += ' popup_enable_info="' + jQuery("input[name=popup_enable_info]:checked").val() + '"';
|
2038 |
tagtext += ' popup_info_always_show="' + jQuery("input[name=popup_info_always_show]:checked").val() + '"';
|
2039 |
tagtext += ' popup_info_full_width="' + jQuery("input[name=popup_info_full_width]:checked").val() + '"';
|
2040 |
+
tagtext += ' autohide_lightbox_navigation="' + jQuery("input[name=autohide_lightbox_navigation]:checked").val() + '"';
|
|
|
2041 |
tagtext += ' popup_hit_counter="' + jQuery("input[name=popup_hit_counter]:checked").val() + '"';
|
2042 |
+
tagtext += ' popup_enable_rate="' + jQuery("input[name=popup_enable_rate]:checked").val() + '"';
|
2043 |
+
tagtext += ' popup_enable_fullsize_image="' + jQuery("input[name=popup_enable_fullsize_image]:checked").val() + '"';
|
2044 |
+
tagtext += ' popup_enable_download="' + jQuery("input[name=popup_enable_download]:checked").val() + '"';
|
2045 |
+
tagtext += ' show_image_counts="' + jQuery("input[name=show_image_counts]:checked").val() + '"';
|
2046 |
+
tagtext += ' enable_loop="' + jQuery("input[name=enable_loop]:checked").val() + '"';
|
2047 |
+
tagtext += ' enable_addthis="' + jQuery("input[name=enable_addthis]:checked").val() + '"';
|
2048 |
+
tagtext += ' addthis_profile_id="' + jQuery("#addthis_profile_id").val() + '"';
|
2049 |
tagtext += ' popup_enable_facebook="' + jQuery("input[name=popup_enable_facebook]:checked").val() + '"';
|
2050 |
tagtext += ' popup_enable_twitter="' + jQuery("input[name=popup_enable_twitter]:checked").val() + '"';
|
2051 |
tagtext += ' popup_enable_google="' + jQuery("input[name=popup_enable_google]:checked").val() + '"';
|
|
|
2052 |
tagtext += ' popup_enable_pinterest="' + jQuery("input[name=popup_enable_pinterest]:checked").val() + '"';
|
2053 |
tagtext += ' popup_enable_tumblr="' + jQuery("input[name=popup_enable_tumblr]:checked").val() + '"';
|
2054 |
+
tagtext += ' popup_enable_ecommerce="' + jQuery("input[name=popup_enable_ecommerce]:checked").val() + '"';
|
2055 |
// Watermark parameters.
|
2056 |
tagtext += ' watermark_type="' + jQuery("input[name=watermark_type]:checked").val() + '"';
|
2057 |
tagtext += ' watermark_link="' + (jQuery("#watermark_link").val()) + '"';
|
css/bwg_frontend.css
CHANGED
@@ -7,6 +7,10 @@ div[id^="bwg_container"] img {
|
|
7 |
box-shadow: none !important;
|
8 |
}
|
9 |
|
|
|
|
|
|
|
|
|
10 |
div[id^="bwg_container"] .SumoSelect > .CaptionCont,
|
11 |
div[id^="bwg_container"] .SumoSelect:focus > .CaptionCont,
|
12 |
div[id^="bwg_container"] .SumoSelect:hover > .CaptionCont,
|
@@ -412,6 +416,7 @@ div[id^="bwg_container"] .bwg-border-box * {
|
|
412 |
}
|
413 |
|
414 |
.bwg-item0:hover {
|
|
|
415 |
backface-visibility: hidden;
|
416 |
-webkit-backface-visibility: hidden;
|
417 |
-moz-backface-visibility: hidden;
|
@@ -531,6 +536,21 @@ div[id^="bwg_container"] .bwg-border-box * {
|
|
531 |
display: none;
|
532 |
}
|
533 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
534 |
#bwg_download {
|
535 |
display: inline-block;
|
536 |
}
|
7 |
box-shadow: none !important;
|
8 |
}
|
9 |
|
10 |
+
div[id^="bwg_container"] * {
|
11 |
+
margin: 0;
|
12 |
+
}
|
13 |
+
|
14 |
div[id^="bwg_container"] .SumoSelect > .CaptionCont,
|
15 |
div[id^="bwg_container"] .SumoSelect:focus > .CaptionCont,
|
16 |
div[id^="bwg_container"] .SumoSelect:hover > .CaptionCont,
|
416 |
}
|
417 |
|
418 |
.bwg-item0:hover {
|
419 |
+
background: none !important;
|
420 |
backface-visibility: hidden;
|
421 |
-webkit-backface-visibility: hidden;
|
422 |
-moz-backface-visibility: hidden;
|
536 |
display: none;
|
537 |
}
|
538 |
|
539 |
+
.bwg-loading {
|
540 |
+
width: 100%;
|
541 |
+
height: 100%;
|
542 |
+
opacity: 0.95;
|
543 |
+
position: absolute;
|
544 |
+
background-color: #FFFFFF;
|
545 |
+
background-image: url('../images/ajax_loader.png');
|
546 |
+
background-position: center;
|
547 |
+
background-repeat: no-repeat;
|
548 |
+
background-size: 50px;
|
549 |
+
z-index: 100100;
|
550 |
+
top: 0;
|
551 |
+
left: 0;
|
552 |
+
}
|
553 |
+
|
554 |
#bwg_download {
|
555 |
display: inline-block;
|
556 |
}
|
css/bwg_tables.css
CHANGED
@@ -2054,4 +2054,4 @@ li.tabs {
|
|
2054 |
position: relative;
|
2055 |
top: 0;
|
2056 |
width: 20px;
|
2057 |
-
}
|
2054 |
position: relative;
|
2055 |
top: 0;
|
2056 |
width: 20px;
|
2057 |
+
}
|
css/tw-gb/block.css
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
.tw-container {
|
2 |
position: fixed;
|
3 |
top: 0;
|
@@ -9,12 +13,25 @@
|
|
9 |
}
|
10 |
|
11 |
.tw-container .tw-container-wrap {
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
.tw-container .tw-container-wrap .media-modal-close{
|
@@ -26,4 +43,8 @@
|
|
26 |
.tw-container .tw-container-wrap iframe {
|
27 |
height: 100%;
|
28 |
width: 100%;
|
|
|
|
|
|
|
|
|
29 |
}
|
1 |
+
/**
|
2 |
+
* 10Web plugins Gutenberg integration
|
3 |
+
* version 2.0.0
|
4 |
+
*/
|
5 |
.tw-container {
|
6 |
position: fixed;
|
7 |
top: 0;
|
13 |
}
|
14 |
|
15 |
.tw-container .tw-container-wrap {
|
16 |
+
background: #fff;
|
17 |
+
height: 100%;
|
18 |
+
width: 100%;
|
19 |
+
position: absolute;
|
20 |
+
top: 0;
|
21 |
+
bottom: 0;
|
22 |
+
margin: auto;
|
23 |
+
right: 0;
|
24 |
+
left: 0;
|
25 |
+
}
|
26 |
+
|
27 |
+
.tw-container .tw-container-wrap-520-400 {
|
28 |
+
max-width: 520px;
|
29 |
+
max-height: 400px;
|
30 |
+
}
|
31 |
+
|
32 |
+
.tw-container .tw-container-wrap-420-450 {
|
33 |
+
max-width: 420px;
|
34 |
+
max-height: 450px;
|
35 |
}
|
36 |
|
37 |
.tw-container .tw-container-wrap .media-modal-close{
|
43 |
.tw-container .tw-container-wrap iframe {
|
44 |
height: 100%;
|
45 |
width: 100%;
|
46 |
+
}
|
47 |
+
.tw-gb-select {
|
48 |
+
width: 100%;
|
49 |
+
height: auto !important;
|
50 |
}
|
filemanager/UploadHandler.php
CHANGED
@@ -882,7 +882,6 @@ class bwg_UploadHandler {
|
|
882 |
public function post($print_response = true) {
|
883 |
if ( isset($_REQUEST['import']) && $_REQUEST['import'] == 1 ) {
|
884 |
$file_names = json_decode(isset($_REQUEST['file_namesML']) ? stripslashes($_REQUEST['file_namesML']) : '');
|
885 |
-
|
886 |
$files = array();
|
887 |
foreach ($file_names as $index => $value) {
|
888 |
$file_name_array = explode('/', $value);
|
882 |
public function post($print_response = true) {
|
883 |
if ( isset($_REQUEST['import']) && $_REQUEST['import'] == 1 ) {
|
884 |
$file_names = json_decode(isset($_REQUEST['file_namesML']) ? stripslashes($_REQUEST['file_namesML']) : '');
|
|
|
885 |
$files = array();
|
886 |
foreach ($file_names as $index => $value) {
|
887 |
$file_name_array = explode('/', $value);
|
filemanager/view.php
CHANGED
@@ -47,6 +47,7 @@ class FilemanagerView {
|
|
47 |
<script src="<?php echo BWG()->plugin_url; ?>/filemanager/js/jq_uploader/jquery.iframe-transport.js"></script>
|
48 |
<script src="<?php echo BWG()->plugin_url; ?>/filemanager/js/jq_uploader/jquery.fileupload.js"></script>
|
49 |
<script>
|
|
|
50 |
var ajaxurl = "<?php echo wp_nonce_url( admin_url('admin-ajax.php'), 'addImages', 'bwg_nonce' ); ?>";
|
51 |
var DS = "<?php echo addslashes('/'); ?>";
|
52 |
|
@@ -92,13 +93,13 @@ class FilemanagerView {
|
|
92 |
<div class="ctrls_bar ctrls_bar_header">
|
93 |
<div class="ctrls_left header_bar">
|
94 |
<a class="ctrl_bar_btn btn_up" onclick="onBtnUpClick(event, this);" title="<?php echo __('Up', BWG()->prefix); ?>"></a>
|
95 |
-
<a class="ctrl_bar_btn btn_make_dir" onclick="onBtnMakeDirClick(event, this);" title="<?php echo __('Make a directory', BWG()->prefix); ?>"></a>
|
96 |
-
<a class="ctrl_bar_btn btn_rename_item" onclick="onBtnRenameItemClick(event, this);" title="<?php echo __('Rename item', BWG()->prefix); ?>"></a>
|
97 |
<span class="ctrl_bar_divider"></span>
|
98 |
-
<a class="ctrl_bar_btn btn_copy" onclick="onBtnCopyClick(event, this);" title="<?php echo __('Copy', BWG()->prefix); ?>"></a>
|
99 |
-
<a class="ctrl_bar_btn btn_cut" onclick="onBtnCutClick(event, this);" title="<?php echo __('Cut', BWG()->prefix); ?>"></a>
|
100 |
-
<a class="ctrl_bar_btn btn_paste" onclick="onBtnPasteClick(event, this);" title="<?php echo __('Paste', BWG()->prefix); ?>"> </a>
|
101 |
-
<a class="ctrl_bar_btn btn_remove_items" onclick="onBtnRemoveItemsClick(event, this);" title="<?php echo __('Remove items', BWG()->prefix); ?>"></a>
|
102 |
<span class="ctrl_bar_divider divider_upload"></span>
|
103 |
</div>
|
104 |
<div class="ctrls_right">
|
@@ -107,7 +108,7 @@ class FilemanagerView {
|
|
107 |
</div>
|
108 |
<div class="ctrls_left header_bar">
|
109 |
<span class="ctrl_bar_btn">
|
110 |
-
<a id="upload_images" class="ctrl_bar_btn wd-btn wd-btn-primary wd-btn-icon wd-btn-uplaod" onclick="onBtnShowUploaderClick(event, this);"><?php echo __('Upload files', BWG()->prefix); ?></a>
|
111 |
</span>
|
112 |
<span class="ctrl_bar_divider divider_search"></span>
|
113 |
</div>
|
@@ -180,7 +181,7 @@ class FilemanagerView {
|
|
180 |
<div id="explorer_body" data-files_count="<?php echo $file_manager_data["files_count"]; ?>">
|
181 |
<?php
|
182 |
foreach ($file_manager_data['files'] as $key => $file) {
|
183 |
-
if (
|
184 |
$file[ 'name' ] = esc_html( $file[ 'name' ] );
|
185 |
$file[ 'filename' ] = esc_html( $file[ 'filename' ] );
|
186 |
$file[ 'thumb' ] = esc_html( $file[ 'thumb' ] );
|
47 |
<script src="<?php echo BWG()->plugin_url; ?>/filemanager/js/jq_uploader/jquery.iframe-transport.js"></script>
|
48 |
<script src="<?php echo BWG()->plugin_url; ?>/filemanager/js/jq_uploader/jquery.fileupload.js"></script>
|
49 |
<script>
|
50 |
+
var demo_message = "<?php echo addslashes(__('This option is disabled in demo.', BWG()->prefix)); ?>";
|
51 |
var ajaxurl = "<?php echo wp_nonce_url( admin_url('admin-ajax.php'), 'addImages', 'bwg_nonce' ); ?>";
|
52 |
var DS = "<?php echo addslashes('/'); ?>";
|
53 |
|
93 |
<div class="ctrls_bar ctrls_bar_header">
|
94 |
<div class="ctrls_left header_bar">
|
95 |
<a class="ctrl_bar_btn btn_up" onclick="onBtnUpClick(event, this);" title="<?php echo __('Up', BWG()->prefix); ?>"></a>
|
96 |
+
<a class="ctrl_bar_btn btn_make_dir" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnMakeDirClick(event, this)'); ?>" title="<?php echo __('Make a directory', BWG()->prefix); ?>"></a>
|
97 |
+
<a class="ctrl_bar_btn btn_rename_item" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnRenameItemClick(event, this)'); ?>" title="<?php echo __('Rename item', BWG()->prefix); ?>"></a>
|
98 |
<span class="ctrl_bar_divider"></span>
|
99 |
+
<a class="ctrl_bar_btn btn_copy" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnCopyClick(event, this)'); ?>" title="<?php echo __('Copy', BWG()->prefix); ?>"></a>
|
100 |
+
<a class="ctrl_bar_btn btn_cut" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnCutClick(event, this)'); ?>" title="<?php echo __('Cut', BWG()->prefix); ?>"></a>
|
101 |
+
<a class="ctrl_bar_btn btn_paste" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnPasteClick(event, this)'); ?>" title="<?php echo __('Paste', BWG()->prefix); ?>"> </a>
|
102 |
+
<a class="ctrl_bar_btn btn_remove_items" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnRemoveItemsClick(event, this)'); ?>" title="<?php echo __('Remove items', BWG()->prefix); ?>"></a>
|
103 |
<span class="ctrl_bar_divider divider_upload"></span>
|
104 |
</div>
|
105 |
<div class="ctrls_right">
|
108 |
</div>
|
109 |
<div class="ctrls_left header_bar">
|
110 |
<span class="ctrl_bar_btn">
|
111 |
+
<a id="upload_images" class="ctrl_bar_btn wd-btn wd-btn-primary wd-btn-icon wd-btn-uplaod" onclick="<?php echo (BWG()->is_demo ? 'alert(demo_message)' : 'onBtnShowUploaderClick(event, this)'); ?>"><?php echo __('Upload files', BWG()->prefix); ?></a>
|
112 |
</span>
|
113 |
<span class="ctrl_bar_divider divider_search"></span>
|
114 |
</div>
|
181 |
<div id="explorer_body" data-files_count="<?php echo $file_manager_data["files_count"]; ?>">
|
182 |
<?php
|
183 |
foreach ($file_manager_data['files'] as $key => $file) {
|
184 |
+
if ( BWG()->is_demo !== '1' || strpos( $file[ 'date_modified' ], '20 July 2014' ) === FALSE ) {
|
185 |
$file[ 'name' ] = esc_html( $file[ 'name' ] );
|
186 |
$file[ 'filename' ] = esc_html( $file[ 'filename' ] );
|
187 |
$file[ 'thumb' ] = esc_html( $file[ 'thumb' ] );
|
framework/BWGOptions.php
CHANGED
@@ -245,24 +245,24 @@ class WD_BWG_Options {
|
|
245 |
public $popup_interval = 2.5;
|
246 |
public $popup_enable_filmstrip = 1;
|
247 |
public $popup_filmstrip_height = 60;
|
248 |
-
public $popup_hit_counter = 0;
|
249 |
public $popup_enable_ctrl_btn = 1;
|
250 |
public $popup_enable_fullscreen = 1;
|
251 |
-
public $popup_enable_info = 1;
|
252 |
-
public $popup_info_always_show = 0;
|
253 |
-
public $popup_info_full_width = 1;
|
254 |
-
public $autohide_lightbox_navigation = 0;
|
255 |
public $popup_enable_comment = 1;
|
256 |
public $popup_enable_email = 1;
|
257 |
public $popup_enable_captcha = 0;
|
258 |
public $comment_moderation = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
public $popup_enable_fullsize_image = 0;
|
260 |
public $popup_enable_download = 0;
|
261 |
public $show_image_counts = 0;
|
262 |
public $enable_loop = 1;
|
263 |
public $enable_addthis = 0;
|
264 |
public $addthis_profile_id = '';
|
265 |
-
public $popup_enable_rate = 0;
|
266 |
public $popup_enable_facebook = 1;
|
267 |
public $popup_enable_twitter = 1;
|
268 |
public $popup_enable_google = 1;
|
245 |
public $popup_interval = 2.5;
|
246 |
public $popup_enable_filmstrip = 1;
|
247 |
public $popup_filmstrip_height = 60;
|
|
|
248 |
public $popup_enable_ctrl_btn = 1;
|
249 |
public $popup_enable_fullscreen = 1;
|
|
|
|
|
|
|
|
|
250 |
public $popup_enable_comment = 1;
|
251 |
public $popup_enable_email = 1;
|
252 |
public $popup_enable_captcha = 0;
|
253 |
public $comment_moderation = 0;
|
254 |
+
public $popup_enable_info = 1;
|
255 |
+
public $popup_info_always_show = 0;
|
256 |
+
public $popup_info_full_width = 1;
|
257 |
+
public $autohide_lightbox_navigation = 0;
|
258 |
+
public $popup_hit_counter = 0;
|
259 |
+
public $popup_enable_rate = 0;
|
260 |
public $popup_enable_fullsize_image = 0;
|
261 |
public $popup_enable_download = 0;
|
262 |
public $show_image_counts = 0;
|
263 |
public $enable_loop = 1;
|
264 |
public $enable_addthis = 0;
|
265 |
public $addthis_profile_id = '';
|
|
|
266 |
public $popup_enable_facebook = 1;
|
267 |
public $popup_enable_twitter = 1;
|
268 |
public $popup_enable_google = 1;
|
framework/WDWLibrary.php
CHANGED
@@ -1518,32 +1518,10 @@ class WDWLibrary {
|
|
1518 |
'album_id' => isset($params['album_id']) ? $params['album_id'] : 0,
|
1519 |
'tag' => isset($params['tag']) ? $params['tag'] : 0,
|
1520 |
'theme_id' => isset($params['theme_id']) ? $params['theme_id'] : $theme_id,
|
1521 |
-
|
1522 |
-
'
|
1523 |
-
'
|
1524 |
-
'
|
1525 |
-
'popup_enable_pinterest' => ($use_option_defaults ? BWG()->options->popup_enable_pinterest : (isset($params['popup_enable_pinterest']) ? $params['popup_enable_pinterest'] : 0)),
|
1526 |
-
'popup_enable_tumblr' => ($use_option_defaults ? BWG()->options->popup_enable_tumblr : (isset($params['popup_enable_tumblr']) ? $params['popup_enable_tumblr'] : 0)),
|
1527 |
-
'popup_enable_info' => (($from) ? BWG()->options->popup_enable_info : ($use_option_defaults ? BWG()->options->popup_enable_info : (isset($params['popup_enable_info']) ? $params['popup_enable_info'] : 1))),
|
1528 |
-
'popup_info_always_show' => (($from) ? BWG()->options->popup_info_always_show : ($use_option_defaults ? BWG()->options->popup_info_always_show : (isset($params['popup_info_always_show']) ? $params['popup_info_always_show'] : 0))),
|
1529 |
-
'popup_info_full_width' => (($from) ? BWG()->options->popup_info_full_width : ($use_option_defaults ? BWG()->options->popup_info_full_width : (isset($params['popup_info_full_width']) ? $params['popup_info_full_width'] : 0))),
|
1530 |
-
'popup_enable_rate' => (($from) ? BWG()->options->popup_enable_rate : ($use_option_defaults ? BWG()->options->popup_enable_rate : (isset($params['popup_enable_rate']) ? $params['popup_enable_rate'] : 0))),
|
1531 |
-
'popup_width' => (($from) ? BWG()->options->popup_width : ($use_option_defaults ? BWG()->options->popup_width : (isset($params['popup_width']) ? $params['popup_width'] : 800))),
|
1532 |
-
'popup_height' => (($from) ? BWG()->options->popup_height : ($use_option_defaults ? BWG()->options->popup_height : (isset($params['popup_height']) ? $params['popup_height'] : 500))),
|
1533 |
-
'popup_effect' => (($from) ? BWG()->options->popup_type : ($use_option_defaults ? BWG()->options->popup_type : (isset($params['popup_effect']) ? $params['popup_effect'] : 'none'))),
|
1534 |
-
'popup_interval' => (($from) ? BWG()->options->popup_interval : ($use_option_defaults ? BWG()->options->popup_interval : (isset($params['popup_interval']) ? $params['popup_interval'] : 5))),
|
1535 |
-
'popup_enable_filmstrip' => (($from) ? BWG()->options->popup_enable_filmstrip : ($use_option_defaults ? BWG()->options->popup_enable_filmstrip : (isset($params['popup_enable_filmstrip']) ? $params['popup_enable_filmstrip'] : 0))),
|
1536 |
-
'popup_filmstrip_height' => (($from) ? BWG()->options->popup_filmstrip_height : ($use_option_defaults ? BWG()->options->popup_filmstrip_height : (isset($params['popup_filmstrip_height']) ? $params['popup_filmstrip_height'] : 50))),
|
1537 |
-
'popup_enable_ctrl_btn' => (($from) ? BWG()->options->popup_enable_ctrl_btn : ($use_option_defaults ? BWG()->options->popup_enable_ctrl_btn : (isset($params['popup_enable_ctrl_btn']) ? $params['popup_enable_ctrl_btn'] : 1))),
|
1538 |
-
'popup_enable_fullscreen' => (($from) ? BWG()->options->popup_enable_fullscreen : ($use_option_defaults ? BWG()->options->popup_enable_fullscreen : (isset($params['popup_enable_fullscreen']) ? $params['popup_enable_fullscreen'] : 0))),
|
1539 |
-
'popup_fullscreen' => (($from) ? BWG()->options->popup_fullscreen : ($use_option_defaults ? BWG()->options->popup_fullscreen : (isset($params['popup_fullscreen']) ? $params['popup_fullscreen'] : 0))),
|
1540 |
-
'popup_enable_comment' => (($from) ? BWG()->options->popup_enable_comment : ($use_option_defaults ? BWG()->options->popup_enable_comment : (isset($params['popup_enable_comment']) ? $params['popup_enable_comment'] : 0))),
|
1541 |
-
'popup_enable_facebook' => (($from) ? BWG()->options->popup_enable_facebook : ($use_option_defaults ? BWG()->options->popup_enable_facebook : (isset($params['popup_enable_facebook']) ? $params['popup_enable_facebook'] : 0))),
|
1542 |
-
'popup_enable_twitter' => (($from) ? BWG()->options->popup_enable_twitter : ($use_option_defaults ? BWG()->options->popup_enable_twitter : (isset($params['popup_enable_twitter']) ? $params['popup_enable_twitter'] : 0))),
|
1543 |
-
'popup_enable_google' => (($from) ? BWG()->options->popup_enable_google : ($use_option_defaults ? BWG()->options->popup_enable_google : (isset($params['popup_enable_google']) ? $params['popup_enable_google'] : 0))),
|
1544 |
-
'popup_enable_ecommerce' => ($use_option_defaults ? BWG()->options->popup_enable_ecommerce : (isset($params['popup_enable_ecommerce']) ? $params['popup_enable_ecommerce'] : 0)),
|
1545 |
-
'popup_hit_counter' => (($from) ? BWG()->options->popup_hit_counter : ($use_option_defaults ? BWG()->options->popup_hit_counter : (isset($params['popup_hit_counter']) ? $params['popup_hit_counter'] : 0))),
|
1546 |
-
'popup_effect_duration' => (($from) ? BWG()->options->popup_effect_duration : ($use_option_defaults ? BWG()->options->popup_effect_duration : (isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1))),
|
1547 |
|
1548 |
'watermark_type' => (($from) ? BWG()->options->watermark_type : ($use_option_defaults ? BWG()->options->watermark_type : (isset($params['watermark_type']) ? $params['watermark_type'] : 'none'))),
|
1549 |
'watermark_text' => (($from) ? urlencode(BWG()->options->watermark_text) : ($use_option_defaults ? urlencode(BWG()->options->watermark_text) : (isset($params['watermark_text']) ? urlencode($params['watermark_text']) : ''))),
|
@@ -1557,6 +1535,43 @@ class WDWLibrary {
|
|
1557 |
'watermark_opacity' => (($from) ? BWG()->options->watermark_opacity : ($use_option_defaults ? BWG()->options->watermark_opacity : (isset($params['watermark_opacity']) ? $params['watermark_opacity'] : 30))),
|
1558 |
'watermark_position' => (($from) ? BWG()->options->watermark_position : ($use_option_defaults ? BWG()->options->watermark_position : (isset($params['watermark_position']) ? $params['watermark_position'] : 'bottom-right'))),
|
1559 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1560 |
switch ($params['gallery_type']) {
|
1561 |
case 'thumbnails':
|
1562 |
$defaults['thumb_width'] = self::get_option_value('thumb_width', 'thumb_width', 'thumb_width', $use_option_defaults, $params);
|
1518 |
'album_id' => isset($params['album_id']) ? $params['album_id'] : 0,
|
1519 |
'tag' => isset($params['tag']) ? $params['tag'] : 0,
|
1520 |
'theme_id' => isset($params['theme_id']) ? $params['theme_id'] : $theme_id,
|
1521 |
+
'image_enable_page' => 0,
|
1522 |
+
'images_per_page' => 0,
|
1523 |
+
'thumb_width' => BWG()->options->thumb_width,
|
1524 |
+
'thumb_height' => BWG()->options->thumb_height,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1525 |
|
1526 |
'watermark_type' => (($from) ? BWG()->options->watermark_type : ($use_option_defaults ? BWG()->options->watermark_type : (isset($params['watermark_type']) ? $params['watermark_type'] : 'none'))),
|
1527 |
'watermark_text' => (($from) ? urlencode(BWG()->options->watermark_text) : ($use_option_defaults ? urlencode(BWG()->options->watermark_text) : (isset($params['watermark_text']) ? urlencode($params['watermark_text']) : ''))),
|
1535 |
'watermark_opacity' => (($from) ? BWG()->options->watermark_opacity : ($use_option_defaults ? BWG()->options->watermark_opacity : (isset($params['watermark_opacity']) ? $params['watermark_opacity'] : 30))),
|
1536 |
'watermark_position' => (($from) ? BWG()->options->watermark_position : ($use_option_defaults ? BWG()->options->watermark_position : (isset($params['watermark_position']) ? $params['watermark_position'] : 'bottom-right'))),
|
1537 |
);
|
1538 |
+
|
1539 |
+
$defaults['thumb_click_action'] = self::get_option_value('thumb_click_action', 'thumb_click_action', 'thumb_click_action', $from || $use_option_defaults, $params);
|
1540 |
+
$defaults['thumb_link_target'] = self::get_option_value('thumb_link_target', 'thumb_link_target', 'thumb_link_target', $from || $use_option_defaults, $params);
|
1541 |
+
$defaults['popup_fullscreen'] = self::get_option_value('popup_fullscreen', 'popup_fullscreen', 'popup_fullscreen', $from || $use_option_defaults, $params);
|
1542 |
+
$defaults['popup_width'] = self::get_option_value('popup_width', 'popup_width', 'popup_width', $from || $use_option_defaults, $params);
|
1543 |
+
$defaults['popup_height'] = self::get_option_value('popup_height', 'popup_height', 'popup_height', $from || $use_option_defaults, $params);
|
1544 |
+
$defaults['popup_effect'] = self::get_option_value('popup_effect', 'popup_effect', 'popup_type', $from || $use_option_defaults, $params);
|
1545 |
+
$defaults['popup_effect_duration'] = self::get_option_value('popup_effect_duration', 'popup_effect_duration', 'popup_effect_duration', $from || $use_option_defaults, $params);
|
1546 |
+
$defaults['popup_autoplay'] = self::get_option_value('popup_autoplay', 'popup_autoplay', 'popup_autoplay', $from || $use_option_defaults, $params);
|
1547 |
+
$defaults['popup_interval'] = self::get_option_value('popup_interval', 'popup_interval', 'popup_interval', $from || $use_option_defaults, $params);
|
1548 |
+
$defaults['popup_enable_filmstrip'] = self::get_option_value('popup_enable_filmstrip', 'popup_enable_filmstrip', 'popup_enable_filmstrip', $from || $use_option_defaults, $params);
|
1549 |
+
$defaults['popup_filmstrip_height'] = self::get_option_value('popup_filmstrip_height', 'popup_filmstrip_height', 'popup_filmstrip_height', $from || $use_option_defaults, $params);
|
1550 |
+
$defaults['popup_enable_ctrl_btn'] = self::get_option_value('popup_enable_ctrl_btn', 'popup_enable_ctrl_btn', 'popup_enable_ctrl_btn', $from || $use_option_defaults, $params);
|
1551 |
+
$defaults['popup_enable_fullscreen'] = self::get_option_value('popup_enable_fullscreen', 'popup_enable_fullscreen', 'popup_enable_fullscreen', $from || $use_option_defaults, $params);
|
1552 |
+
$defaults['popup_enable_comment'] = self::get_option_value('popup_enable_comment', 'popup_enable_comment', 'popup_enable_comment', $from || $use_option_defaults, $params);
|
1553 |
+
$defaults['popup_enable_email'] = self::get_option_value('popup_enable_email', 'popup_enable_email', 'popup_enable_email', $from || $use_option_defaults, $params);
|
1554 |
+
$defaults['popup_enable_captcha'] = self::get_option_value('popup_enable_captcha', 'popup_enable_captcha', 'popup_enable_captcha', $from || $use_option_defaults, $params);
|
1555 |
+
$defaults['comment_moderation'] = self::get_option_value('comment_moderation', 'comment_moderation', 'comment_moderation', $from || $use_option_defaults, $params);
|
1556 |
+
$defaults['popup_enable_info'] = self::get_option_value('popup_enable_info', 'popup_enable_info', 'popup_enable_info', $from || $use_option_defaults, $params);
|
1557 |
+
$defaults['popup_info_always_show'] = self::get_option_value('popup_info_always_show', 'popup_info_always_show', 'popup_info_always_show', $from || $use_option_defaults, $params);
|
1558 |
+
$defaults['popup_info_full_width'] = self::get_option_value('popup_info_full_width', 'popup_info_full_width', 'popup_info_full_width', $from || $use_option_defaults, $params);
|
1559 |
+
$defaults['autohide_lightbox_navigation'] = self::get_option_value('autohide_lightbox_navigation', 'autohide_lightbox_navigation', 'autohide_lightbox_navigation', $from || $use_option_defaults, $params);
|
1560 |
+
$defaults['popup_hit_counter'] = self::get_option_value('popup_hit_counter', 'popup_hit_counter', 'popup_hit_counter', $from || $use_option_defaults, $params);
|
1561 |
+
$defaults['popup_enable_rate'] = self::get_option_value('popup_enable_rate', 'popup_enable_rate', 'popup_enable_rate', $from || $use_option_defaults, $params);
|
1562 |
+
$defaults['popup_enable_fullsize_image'] = self::get_option_value('popup_enable_fullsize_image', 'popup_enable_fullsize_image', 'popup_enable_fullsize_image', $from || $use_option_defaults, $params);
|
1563 |
+
$defaults['popup_enable_download'] = self::get_option_value('popup_enable_download', 'popup_enable_download', 'popup_enable_download', $from || $use_option_defaults, $params);
|
1564 |
+
$defaults['show_image_counts'] = self::get_option_value('show_image_counts', 'show_image_counts', 'show_image_counts', $from || $use_option_defaults, $params);
|
1565 |
+
$defaults['enable_loop'] = self::get_option_value('enable_loop', 'enable_loop', 'enable_loop', $from || $use_option_defaults, $params);
|
1566 |
+
$defaults['enable_addthis'] = self::get_option_value('enable_addthis', 'enable_addthis', 'enable_addthis', $from || $use_option_defaults, $params);
|
1567 |
+
$defaults['addthis_profile_id'] = self::get_option_value('addthis_profile_id', 'addthis_profile_id', 'addthis_profile_id', $from || $use_option_defaults, $params);
|
1568 |
+
$defaults['popup_enable_facebook'] = self::get_option_value('popup_enable_facebook', 'popup_enable_facebook', 'popup_enable_facebook', $from || $use_option_defaults, $params);
|
1569 |
+
$defaults['popup_enable_twitter'] = self::get_option_value('popup_enable_twitter', 'popup_enable_twitter', 'popup_enable_twitter', $from || $use_option_defaults, $params);
|
1570 |
+
$defaults['popup_enable_google'] = self::get_option_value('popup_enable_google', 'popup_enable_google', 'popup_enable_google', $from || $use_option_defaults, $params);
|
1571 |
+
$defaults['popup_enable_pinterest'] = self::get_option_value('popup_enable_pinterest', 'popup_enable_pinterest', 'popup_enable_pinterest', $from || $use_option_defaults, $params);
|
1572 |
+
$defaults['popup_enable_tumblr'] = self::get_option_value('popup_enable_tumblr', 'popup_enable_tumblr', 'popup_enable_tumblr', $from || $use_option_defaults, $params);
|
1573 |
+
$defaults['popup_enable_ecommerce'] = self::get_option_value('popup_enable_ecommerce', 'popup_enable_ecommerce', 'popup_enable_ecommerce', $from || $use_option_defaults, $params);
|
1574 |
+
|
1575 |
switch ($params['gallery_type']) {
|
1576 |
case 'thumbnails':
|
1577 |
$defaults['thumb_width'] = self::get_option_value('thumb_width', 'thumb_width', 'thumb_width', $use_option_defaults, $params);
|
frontend/controllers/BWGControllerSlideshow.php
DELETED
@@ -1,19 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class BWGControllerSlideshow {
|
3 |
-
|
4 |
-
public function __construct() {
|
5 |
-
}
|
6 |
-
|
7 |
-
public function execute($params = array(), $from_shortcode = 0, $bwg = 0) {
|
8 |
-
$this->display($params, $from_shortcode, $bwg);
|
9 |
-
}
|
10 |
-
|
11 |
-
public function display($params, $from_shortcode = 0, $bwg = 0) {
|
12 |
-
require_once BWG()->plugin_dir . "/frontend/models/BWGModelSlideshow.php";
|
13 |
-
$model = new BWGModelSlideshow();
|
14 |
-
|
15 |
-
require_once BWG()->plugin_dir . "/frontend/views/BWGViewSlideshow.php";
|
16 |
-
$view = new BWGViewSlideshow($model);
|
17 |
-
$view->display($params, $from_shortcode, $bwg);
|
18 |
-
}
|
19 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
frontend/controllers/controller.php
CHANGED
@@ -17,8 +17,9 @@ class BWGControllerSite {
|
|
17 |
public function execute($params = array(), $from_shortcode = 0, $bwg = 0) {
|
18 |
$theme_id = $params['theme_id'];
|
19 |
$theme_row = $this->model->get_theme_row_data($theme_id);
|
20 |
-
if (!$theme_row) {
|
21 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', BWG()->prefix), 'wd_error');
|
|
|
22 |
return;
|
23 |
}
|
24 |
else {
|
@@ -48,12 +49,15 @@ class BWGControllerSite {
|
|
48 |
}
|
49 |
$params['theme_row'] = $theme_row;
|
50 |
}
|
51 |
-
|
|
|
52 |
$params['type'] = '';
|
53 |
}
|
|
|
54 |
$gallery_row = $this->model->get_gallery_row_data($params['gallery_id']);
|
55 |
-
if (!$gallery_row && ($params['type'] == '') && $params["tag"] == 0) {
|
56 |
echo WDWLibrary::message(__('There is no gallery selected or the gallery was deleted.', BWG()->prefix), 'wd_error');
|
|
|
57 |
return;
|
58 |
}
|
59 |
else {
|
@@ -77,17 +81,21 @@ class BWGControllerSite {
|
|
77 |
|
78 |
$params['load_more_image_count'] = (isset($params['load_more_image_count']) && ($params['image_enable_page'] == 2)) ? $params['load_more_image_count'] : $params['images_per_page'];
|
79 |
$params['items_per_page'] = array('images_per_page' => $params['images_per_page'], 'load_more_image_count' => $params['load_more_image_count']);
|
|
|
80 |
$image_rows = $this->model->get_image_rows_data($params['gallery_id'], $bwg, $params['type'], 'bwg_tag_id_bwg_standart_thumbnails_' . $bwg, $params['tag'], $params['images_per_page'], $params['load_more_image_count'], $params['sort_by'], $params['order_by']);
|
81 |
-
$images_count = count($image_rows);
|
82 |
-
if (!$images_count) {
|
83 |
-
if ($params['tag']) {
|
84 |
echo WDWLibrary::message(__('There are no images.', BWG()->prefix), 'wd_error');
|
85 |
}
|
86 |
else {
|
87 |
echo WDWLibrary::message(__('There are no images in this gallery.', BWG()->prefix), 'wd_error');
|
88 |
}
|
|
|
|
|
89 |
}
|
90 |
$params['image_rows'] = $image_rows;
|
|
|
91 |
$params['tags_rows'] = $this->model->get_tags_rows_data($params['gallery_id']);
|
92 |
|
93 |
$params['current_url'] = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
@@ -126,7 +134,17 @@ class BWGControllerSite {
|
|
126 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
127 |
'watermark_type' => $params['watermark_type'],
|
128 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
129 |
-
'current_url' => urlencode($params['current_url'])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
);
|
131 |
if ($params['watermark_type'] != 'none') {
|
132 |
$params_array['watermark_link'] = $params['watermark_link'];
|
17 |
public function execute($params = array(), $from_shortcode = 0, $bwg = 0) {
|
18 |
$theme_id = $params['theme_id'];
|
19 |
$theme_row = $this->model->get_theme_row_data($theme_id);
|
20 |
+
if ( !$theme_row ) {
|
21 |
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', BWG()->prefix), 'wd_error');
|
22 |
+
|
23 |
return;
|
24 |
}
|
25 |
else {
|
49 |
}
|
50 |
$params['theme_row'] = $theme_row;
|
51 |
}
|
52 |
+
|
53 |
+
if ( !isset($params['type']) ) {
|
54 |
$params['type'] = '';
|
55 |
}
|
56 |
+
|
57 |
$gallery_row = $this->model->get_gallery_row_data($params['gallery_id']);
|
58 |
+
if ( !$gallery_row && ($params['type'] == '') && $params["tag"] == 0 ) {
|
59 |
echo WDWLibrary::message(__('There is no gallery selected or the gallery was deleted.', BWG()->prefix), 'wd_error');
|
60 |
+
|
61 |
return;
|
62 |
}
|
63 |
else {
|
81 |
|
82 |
$params['load_more_image_count'] = (isset($params['load_more_image_count']) && ($params['image_enable_page'] == 2)) ? $params['load_more_image_count'] : $params['images_per_page'];
|
83 |
$params['items_per_page'] = array('images_per_page' => $params['images_per_page'], 'load_more_image_count' => $params['load_more_image_count']);
|
84 |
+
|
85 |
$image_rows = $this->model->get_image_rows_data($params['gallery_id'], $bwg, $params['type'], 'bwg_tag_id_bwg_standart_thumbnails_' . $bwg, $params['tag'], $params['images_per_page'], $params['load_more_image_count'], $params['sort_by'], $params['order_by']);
|
86 |
+
$images_count = count($image_rows['images']);
|
87 |
+
if ( !$images_count ) {
|
88 |
+
if ( $params['tag'] ) {
|
89 |
echo WDWLibrary::message(__('There are no images.', BWG()->prefix), 'wd_error');
|
90 |
}
|
91 |
else {
|
92 |
echo WDWLibrary::message(__('There are no images in this gallery.', BWG()->prefix), 'wd_error');
|
93 |
}
|
94 |
+
|
95 |
+
return;
|
96 |
}
|
97 |
$params['image_rows'] = $image_rows;
|
98 |
+
|
99 |
$params['tags_rows'] = $this->model->get_tags_rows_data($params['gallery_id']);
|
100 |
|
101 |
$params['current_url'] = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
134 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
135 |
'watermark_type' => $params['watermark_type'],
|
136 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
137 |
+
'current_url' => urlencode($params['current_url']),
|
138 |
+
'popup_enable_email' => $params['popup_enable_email'],
|
139 |
+
'popup_enable_captcha' => $params['popup_enable_captcha'],
|
140 |
+
'comment_moderation' => $params['comment_moderation'],
|
141 |
+
'autohide_lightbox_navigation' => $params['autohide_lightbox_navigation'],
|
142 |
+
'popup_enable_fullsize_image' => $params['popup_enable_fullsize_image'],
|
143 |
+
'popup_enable_download' => $params['popup_enable_download'],
|
144 |
+
'show_image_counts' => $params['show_image_counts'],
|
145 |
+
'enable_loop' => $params['enable_loop'],
|
146 |
+
'enable_addthis' => $params['enable_addthis'],
|
147 |
+
'addthis_profile_id' => $params['addthis_profile_id']
|
148 |
);
|
149 |
if ($params['watermark_type'] != 'none') {
|
150 |
$params_array['watermark_link'] = $params['watermark_link'];
|
frontend/models/BWGModelGalleryBox.php
CHANGED
@@ -60,9 +60,11 @@ class BWGModelGalleryBox {
|
|
60 |
|
61 |
public function get_image_pricelists($pricelist_id) {
|
62 |
$pricelist_data = array();
|
|
|
63 |
return $pricelist_data;
|
64 |
}
|
65 |
|
66 |
public function get_image_pricelist($image_id) {
|
67 |
-
return FALSE;
|
68 |
-
}
|
|
60 |
|
61 |
public function get_image_pricelists($pricelist_id) {
|
62 |
$pricelist_data = array();
|
63 |
+
|
64 |
return $pricelist_data;
|
65 |
}
|
66 |
|
67 |
public function get_image_pricelist($image_id) {
|
68 |
+
return FALSE;
|
69 |
+
}
|
70 |
+
}
|
frontend/models/BWGModelSlideshow.php
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class BWGModelSlideshow {
|
3 |
-
}
|
|
|
|
|
|
frontend/views/BWGViewAlbum_compact_preview.php
CHANGED
@@ -152,6 +152,16 @@ class BWGViewAlbum_compact_preview {
|
|
152 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
153 |
'watermark_type' => $params['watermark_type'],
|
154 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
);
|
156 |
if ( BWG()->is_pro ) {
|
157 |
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
@@ -631,10 +641,8 @@ class BWGViewAlbum_compact_preview {
|
|
631 |
jQuery(document).ready(function () {
|
632 |
bwg_document_ready_<?php echo $bwg; ?>();
|
633 |
});
|
634 |
-
function bwg_mosaic_ajax_<?php echo $bwg; ?>(tot_cccount_mosaic_ajax) {
|
635 |
-
}
|
636 |
-
function bwg_masonry_ajax_<?php echo $bwg; ?>(tot_cccount_masonry_ajax) {
|
637 |
-
}
|
638 |
</script>
|
639 |
<?php
|
640 |
if ($from_shortcode) {
|
152 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
153 |
'watermark_type' => $params['watermark_type'],
|
154 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
155 |
+
'popup_enable_email' => $params['popup_enable_email'],
|
156 |
+
'popup_enable_captcha' => $params['popup_enable_captcha'],
|
157 |
+
'comment_moderation' => $params['comment_moderation'],
|
158 |
+
'autohide_lightbox_navigation' => $params['autohide_lightbox_navigation'],
|
159 |
+
'popup_enable_fullsize_image' => $params['popup_enable_fullsize_image'],
|
160 |
+
'popup_enable_download' => $params['popup_enable_download'],
|
161 |
+
'show_image_counts' => $params['show_image_counts'],
|
162 |
+
'enable_loop' => $params['enable_loop'],
|
163 |
+
'enable_addthis' => $params['enable_addthis'],
|
164 |
+
'addthis_profile_id' => $params['addthis_profile_id']
|
165 |
);
|
166 |
if ( BWG()->is_pro ) {
|
167 |
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
641 |
jQuery(document).ready(function () {
|
642 |
bwg_document_ready_<?php echo $bwg; ?>();
|
643 |
});
|
644 |
+
function bwg_mosaic_ajax_<?php echo $bwg; ?>(tot_cccount_mosaic_ajax) {}
|
645 |
+
function bwg_masonry_ajax_<?php echo $bwg; ?>(tot_cccount_masonry_ajax) {}
|
|
|
|
|
646 |
</script>
|
647 |
<?php
|
648 |
if ($from_shortcode) {
|
frontend/views/BWGViewAlbum_extended_preview.php
CHANGED
@@ -142,7 +142,17 @@ class BWGViewAlbum_extended_preview {
|
|
142 |
'enable_image_pinterest' => $params['popup_enable_pinterest'],
|
143 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
144 |
'watermark_type' => $params['watermark_type'],
|
145 |
-
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
);
|
147 |
if ( BWG()->is_pro ) {
|
148 |
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
@@ -1397,4 +1407,4 @@ class BWGViewAlbum_extended_preview {
|
|
1397 |
<?php
|
1398 |
return ob_get_clean();
|
1399 |
}
|
1400 |
-
}
|
142 |
'enable_image_pinterest' => $params['popup_enable_pinterest'],
|
143 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
144 |
'watermark_type' => $params['watermark_type'],
|
145 |
+
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
146 |
+
'popup_enable_email' => $params['popup_enable_email'],
|
147 |
+
'popup_enable_captcha' => $params['popup_enable_captcha'],
|
148 |
+
'comment_moderation' => $params['comment_moderation'],
|
149 |
+
'autohide_lightbox_navigation' => $params['autohide_lightbox_navigation'],
|
150 |
+
'popup_enable_fullsize_image' => $params['popup_enable_fullsize_image'],
|
151 |
+
'popup_enable_download' => $params['popup_enable_download'],
|
152 |
+
'show_image_counts' => $params['show_image_counts'],
|
153 |
+
'enable_loop' => $params['enable_loop'],
|
154 |
+
'enable_addthis' => $params['enable_addthis'],
|
155 |
+
'addthis_profile_id' => $params['addthis_profile_id']
|
156 |
);
|
157 |
if ( BWG()->is_pro ) {
|
158 |
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
1407 |
<?php
|
1408 |
return ob_get_clean();
|
1409 |
}
|
1410 |
+
}
|
frontend/views/BWGViewGalleryBox.php
CHANGED
@@ -45,6 +45,18 @@ class BWGViewGalleryBox {
|
|
45 |
$enable_image_pinterest = (BWG()->is_pro && isset($_GET['enable_image_pinterest']) ? esc_html($_GET['enable_image_pinterest']) : 0);
|
46 |
$enable_image_tumblr = (BWG()->is_pro && isset($_GET['enable_image_tumblr']) ? esc_html($_GET['enable_image_tumblr']) : 0);
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
$watermark_type = (isset($_GET['watermark_type']) ? esc_html($_GET['watermark_type']) : 'none');
|
49 |
$watermark_text = (isset($_GET['watermark_text']) ? esc_html($_GET['watermark_text']) : '');
|
50 |
$watermark_font_size = (isset($_GET['watermark_font_size']) ? (int) $_GET['watermark_font_size'] : 12);
|
@@ -58,7 +70,6 @@ class BWGViewGalleryBox {
|
|
58 |
$watermark_height = (isset($_GET['watermark_height']) ? (int) $_GET['watermark_height'] : 90);
|
59 |
|
60 |
$image_right_click = isset(BWG()->options->image_right_click) ? BWG()->options->image_right_click : 0;
|
61 |
-
$comment_moderation = isset(BWG()->options->comment_moderation) ? BWG()->options->comment_moderation : 0;
|
62 |
|
63 |
$theme_row = WDWLibrary::get_theme_row_data($theme_id);
|
64 |
$filmstrip_direction = 'horizontal';
|
@@ -185,13 +196,18 @@ class BWGViewGalleryBox {
|
|
185 |
|
186 |
$current_filename = '';
|
187 |
|
188 |
-
if (BWG()->is_pro &&
|
189 |
?>
|
190 |
-
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<?php echo
|
191 |
<?php
|
192 |
}
|
193 |
?>
|
194 |
<style>
|
|
|
|
|
|
|
|
|
|
|
195 |
.bwg_inst_play_btn_cont {
|
196 |
width: 100%;
|
197 |
height: 100%;
|
@@ -379,7 +395,7 @@ class BWGViewGalleryBox {
|
|
379 |
padding-left: <?php echo ($theme_row->lightbox_rl_btn_width - $theme_row->lightbox_rl_btn_size) / 3; ?>px;
|
380 |
}
|
381 |
<?php
|
382 |
-
if(
|
383 |
#spider_popup_left-ico{
|
384 |
left: -9999px;
|
385 |
}
|
@@ -565,7 +581,7 @@ class BWGViewGalleryBox {
|
|
565 |
background: none repeat scroll 0 0 #<?php echo $theme_row->lightbox_comment_button_bg_color; ?>;
|
566 |
border: <?php echo $theme_row->lightbox_comment_button_border_width; ?>px <?php echo $theme_row->lightbox_comment_button_border_style; ?> #<?php echo $theme_row->lightbox_comment_button_border_color; ?>;
|
567 |
border-radius: <?php echo $theme_row->lightbox_comment_button_border_radius; ?>;
|
568 |
-
color: #<?php echo $theme_row->
|
569 |
cursor: pointer;
|
570 |
font-size: 15px;
|
571 |
padding: <?php echo $theme_row->lightbox_comment_button_padding; ?>;
|
@@ -1100,8 +1116,8 @@ class BWGViewGalleryBox {
|
|
1100 |
$thumb_left = ($image_filmstrip_width - $image_thumb_width) / 2;
|
1101 |
$thumb_top = ($image_filmstrip_height - $image_thumb_height) / 2;
|
1102 |
?>
|
1103 |
-
<div id="bwg_filmstrip_thumbnail_<?php echo $key; ?>"
|
1104 |
-
<img style="width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" class="bwg_filmstrip_thumbnail_img"
|
1105 |
</div>
|
1106 |
<?php
|
1107 |
}
|
@@ -1141,13 +1157,14 @@ class BWGViewGalleryBox {
|
|
1141 |
?>
|
1142 |
<div id="bwg_image_container" class="bwg_image_container">
|
1143 |
<?php
|
|
|
1144 |
if ($enable_image_ctrl_btn) {
|
1145 |
$share_url = add_query_arg(array('curr_url' => $current_url, 'image_id' => $current_image_id), WDWLibrary::get_share_page()) . '#bwg' . $gallery_id . '/' . $current_image_id;
|
1146 |
?>
|
1147 |
<div class="bwg_btn_container">
|
1148 |
<div class="bwg_ctrl_btn_container">
|
1149 |
<?php
|
1150 |
-
if (
|
1151 |
?>
|
1152 |
<span class="bwg_image_count_container bwg_ctrl_btn">
|
1153 |
<span class="bwg_image_count"><?php echo $current_image_key + 1; ?></span> /
|
@@ -1209,14 +1226,14 @@ class BWGViewGalleryBox {
|
|
1209 |
</a>
|
1210 |
<?php
|
1211 |
}
|
1212 |
-
if (
|
1213 |
?>
|
1214 |
<a id="bwg_fullsize_image" href="<?php echo !$is_embed ? site_url() . '/' . BWG()->upload_dir . $current_image_url : $current_image_url; ?>" target="_blank">
|
1215 |
<i title="<?php echo __('Open image in original size.', BWG()->prefix); ?>" class="bwg_ctrl_btn fa fa-external-link"></i>
|
1216 |
</a>
|
1217 |
<?php
|
1218 |
}
|
1219 |
-
if (
|
1220 |
$style = 'none';
|
1221 |
$current_image_arr = explode('/', $current_image_url);
|
1222 |
if (!$is_embed) {
|
@@ -1352,7 +1369,7 @@ class BWGViewGalleryBox {
|
|
1352 |
<?php
|
1353 |
}
|
1354 |
else { /*$is_embed*/ ?>
|
1355 |
-
<span id="embed_conteiner" class="bwg_popup_embed bwg_popup_watermark" style="display:
|
1356 |
<?php echo $is_embed_instagram_video ? '<span class="bwg_inst_play_btn_cont" onclick="bwg_play_instagram_video(this)" ><span class="bwg_inst_play"></span></span>' : '';
|
1357 |
if ($is_embed_instagram_post) {
|
1358 |
$post_width = $image_width - ($filmstrip_direction == 'vertical' ? $image_filmstrip_width : 0);
|
@@ -1376,7 +1393,7 @@ class BWGViewGalleryBox {
|
|
1376 |
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class' => "bwg_embed_frame", 'data-width' => $instagram_post_width, 'data-height' => $instagram_post_height, 'frameborder' => "0", 'style' => "width:" . $post_width . "px; height:" . $post_height . "px; vertical-align:middle; display:inline-block; position:relative;"));
|
1377 |
}
|
1378 |
else{
|
1379 |
-
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame", 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle;
|
1380 |
}
|
1381 |
?>
|
1382 |
</span>
|
@@ -1397,17 +1414,633 @@ class BWGViewGalleryBox {
|
|
1397 |
</div>
|
1398 |
</div>
|
1399 |
</div>
|
1400 |
-
<a id="spider_popup_left" <?php echo (
|
1401 |
-
<a id="spider_popup_right" <?php echo (
|
1402 |
</div>
|
1403 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1404 |
<a class="spider_popup_close" onclick="spider_destroypopup(1000); return false;" ontouchend="spider_destroypopup(1000); return false;"><span><i class="bwg_close_btn fa fa-times"></i></span></a>
|
1405 |
<script language="javascript" type="text/javascript" src="<?php echo BWG()->plugin_url . '/js/bwg_embed.js?ver=' . BWG()->plugin_version; ?>"></script>
|
1406 |
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1407 |
var bwg_param = {
|
1408 |
bwg : <?php echo $bwg; ?>,
|
1409 |
bwg_current_key : '<?php echo $current_key; ?>',
|
1410 |
-
enable_loop : <?php echo
|
1411 |
ecommerceACtive : '<?php echo (function_exists('BWGEC') ) == true ? 1 : 0 ; ?>',
|
1412 |
enable_image_ecommerce : <?php echo $enable_image_ecommerce; ?>,
|
1413 |
lightbox_ctrl_btn_pos : '<?php echo $theme_row->lightbox_ctrl_btn_pos ; ?>',
|
@@ -1439,7 +2072,7 @@ class BWGViewGalleryBox {
|
|
1439 |
open_with_fullscreen : <?php echo $open_with_fullscreen; ?>,
|
1440 |
};
|
1441 |
<?php
|
1442 |
-
if (BWG()->is_pro &&
|
1443 |
?>
|
1444 |
var addthis_share = {
|
1445 |
url: "<?php echo urlencode($share_url); ?>"
|
@@ -1505,7 +2138,7 @@ class BWGViewGalleryBox {
|
|
1505 |
/* jQuery(document).ready(function () { */
|
1506 |
<?php
|
1507 |
if ( BWG()->is_pro ) {
|
1508 |
-
if (
|
1509 |
?>
|
1510 |
jQuery(".at4-share-outer").show();
|
1511 |
<?php
|
@@ -1849,7 +2482,7 @@ class BWGViewGalleryBox {
|
|
1849 |
}
|
1850 |
});
|
1851 |
/* Set window height not full screen */
|
1852 |
-
var bwg_windowheight =
|
1853 |
/* Maximize/minimize.*/
|
1854 |
jQuery(".bwg_resize-full").on(bwg_click, function () {
|
1855 |
bwg_resize_full();
|
@@ -1866,7 +2499,7 @@ class BWGViewGalleryBox {
|
|
1866 |
if (jQuery(window).width() > <?php echo $image_width; ?>) {
|
1867 |
bwg_popup_current_width = <?php echo $image_width; ?>;
|
1868 |
}
|
1869 |
-
if (
|
1870 |
bwg_popup_current_height = <?php echo $image_height; ?>;
|
1871 |
}
|
1872 |
<?php
|
@@ -1911,7 +2544,7 @@ class BWGViewGalleryBox {
|
|
1911 |
jQuery(".bwg_fullscreen").attr("class", "bwg_ctrl_btn bwg_fullscreen fa fa-fullscreen");
|
1912 |
jQuery(".bwg_fullscreen").attr("title", "<?php echo __('Fullscreen', BWG()->prefix); ?>");
|
1913 |
if (jQuery("#spider_popup_wrap").width() < jQuery(window).width()) {
|
1914 |
-
if (jQuery("#spider_popup_wrap").height() <
|
1915 |
jQuery(".spider_popup_close_fullscreen").attr("class", "spider_popup_close");
|
1916 |
}
|
1917 |
}
|
@@ -2008,6 +2641,31 @@ class BWGViewGalleryBox {
|
|
2008 |
echo "bwg_preload_images(parseInt(jQuery('#bwg_current_image_key').val()));";
|
2009 |
}
|
2010 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011 |
jQuery(".bwg_popup_image").removeAttr("width");
|
2012 |
jQuery(".bwg_popup_image").removeAttr("height");
|
2013 |
/* }); */
|
@@ -2037,4 +2695,11 @@ class BWGViewGalleryBox {
|
|
2037 |
<?php
|
2038 |
die();
|
2039 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2040 |
}
|
45 |
$enable_image_pinterest = (BWG()->is_pro && isset($_GET['enable_image_pinterest']) ? esc_html($_GET['enable_image_pinterest']) : 0);
|
46 |
$enable_image_tumblr = (BWG()->is_pro && isset($_GET['enable_image_tumblr']) ? esc_html($_GET['enable_image_tumblr']) : 0);
|
47 |
|
48 |
+
|
49 |
+
$popup_enable_email = (BWG()->is_pro && isset($_GET['popup_enable_email']) ? esc_html($_GET['popup_enable_email']) : 0);
|
50 |
+
$popup_enable_captcha = (BWG()->is_pro && isset($_GET['popup_enable_captcha']) ? esc_html($_GET['popup_enable_captcha']) : 0);
|
51 |
+
$comment_moderation = (BWG()->is_pro && isset($_GET['comment_moderation']) ? esc_html($_GET['comment_moderation']) : 0);
|
52 |
+
$autohide_lightbox_navigation = (isset($_GET['autohide_lightbox_navigation']) ? esc_html($_GET['autohide_lightbox_navigation']) : BWG()->options->autohide_lightbox_navigation);
|
53 |
+
$popup_enable_fullsize_image = (isset($_GET['popup_enable_fullsize_image']) ? esc_html($_GET['popup_enable_fullsize_image']) : BWG()->options->popup_enable_fullsize_image);
|
54 |
+
$popup_enable_download = (isset($_GET['popup_enable_download']) ? esc_html($_GET['popup_enable_download']) : BWG()->options->popup_enable_download);
|
55 |
+
$show_image_counts = (isset($_GET['show_image_counts']) ? esc_html($_GET['show_image_counts']) : BWG()->options->show_image_counts);
|
56 |
+
$enable_loop = (isset($_GET['enable_loop']) ? esc_html($_GET['enable_loop']) : BWG()->options->enable_loop);
|
57 |
+
$enable_addthis = (BWG()->is_pro && isset($_GET['enable_addthis']) ? esc_html($_GET['enable_addthis']) : 0);
|
58 |
+
$addthis_profile_id = (BWG()->is_pro && isset($_GET['addthis_profile_id']) ? esc_html($_GET['addthis_profile_id']) : '');
|
59 |
+
|
60 |
$watermark_type = (isset($_GET['watermark_type']) ? esc_html($_GET['watermark_type']) : 'none');
|
61 |
$watermark_text = (isset($_GET['watermark_text']) ? esc_html($_GET['watermark_text']) : '');
|
62 |
$watermark_font_size = (isset($_GET['watermark_font_size']) ? (int) $_GET['watermark_font_size'] : 12);
|
70 |
$watermark_height = (isset($_GET['watermark_height']) ? (int) $_GET['watermark_height'] : 90);
|
71 |
|
72 |
$image_right_click = isset(BWG()->options->image_right_click) ? BWG()->options->image_right_click : 0;
|
|
|
73 |
|
74 |
$theme_row = WDWLibrary::get_theme_row_data($theme_id);
|
75 |
$filmstrip_direction = 'horizontal';
|
196 |
|
197 |
$current_filename = '';
|
198 |
|
199 |
+
if (BWG()->is_pro && $enable_addthis && $addthis_profile_id) {
|
200 |
?>
|
201 |
+
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=<?php echo $addthis_profile_id; ?>" async="async"></script>
|
202 |
<?php
|
203 |
}
|
204 |
?>
|
205 |
<style>
|
206 |
+
.spider_popup_wrap .bwg-loading {
|
207 |
+
background-color: #<?php echo $theme_row->lightbox_overlay_bg_color; ?>;
|
208 |
+
opacity: <?php echo number_format($theme_row->lightbox_overlay_bg_transparent / 100, 2, ".", ""); ?>;
|
209 |
+
filter: Alpha(opacity=<?php echo $theme_row->lightbox_overlay_bg_transparent; ?>);
|
210 |
+
}
|
211 |
.bwg_inst_play_btn_cont {
|
212 |
width: 100%;
|
213 |
height: 100%;
|
395 |
padding-left: <?php echo ($theme_row->lightbox_rl_btn_width - $theme_row->lightbox_rl_btn_size) / 3; ?>px;
|
396 |
}
|
397 |
<?php
|
398 |
+
if($autohide_lightbox_navigation){?>
|
399 |
#spider_popup_left-ico{
|
400 |
left: -9999px;
|
401 |
}
|
581 |
background: none repeat scroll 0 0 #<?php echo $theme_row->lightbox_comment_button_bg_color; ?>;
|
582 |
border: <?php echo $theme_row->lightbox_comment_button_border_width; ?>px <?php echo $theme_row->lightbox_comment_button_border_style; ?> #<?php echo $theme_row->lightbox_comment_button_border_color; ?>;
|
583 |
border-radius: <?php echo $theme_row->lightbox_comment_button_border_radius; ?>;
|
584 |
+
color: #<?php echo $theme_row->lightbox_comment_bg_color; ?>;
|
585 |
cursor: pointer;
|
586 |
font-size: 15px;
|
587 |
padding: <?php echo $theme_row->lightbox_comment_button_padding; ?>;
|
1116 |
$thumb_left = ($image_filmstrip_width - $image_thumb_width) / 2;
|
1117 |
$thumb_top = ($image_filmstrip_height - $image_thumb_height) / 2;
|
1118 |
?>
|
1119 |
+
<div id="bwg_filmstrip_thumbnail_<?php echo $key; ?>" class="bwg_filmstrip_thumbnail <?php echo (($image_row->id == $current_image_id) ? 'bwg_thumb_active' : 'bwg_thumb_deactive'); ?>">
|
1120 |
+
<img style="width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" class="bwg_filmstrip_thumbnail_img hidden" data-url="<?php echo ($is_embed ? "" : site_url() . '/' . BWG()->upload_dir) . $image_row->thumb_url; ?>" src="" onclick="bwg_change_image(parseInt(jQuery('#bwg_current_image_key').val()), '<?php echo $key; ?>', data)" ontouchend="bwg_change_image(parseInt(jQuery('#bwg_current_image_key').val()), '<?php echo $key; ?>', data,'',<?php echo $bwg; ?>)" image_id="<?php echo $image_row->id; ?>" image_key="<?php echo $key; ?>" alt="<?php echo $image_row->alt; ?>" />
|
1121 |
</div>
|
1122 |
<?php
|
1123 |
}
|
1157 |
?>
|
1158 |
<div id="bwg_image_container" class="bwg_image_container">
|
1159 |
<?php
|
1160 |
+
echo $this->loading();
|
1161 |
if ($enable_image_ctrl_btn) {
|
1162 |
$share_url = add_query_arg(array('curr_url' => $current_url, 'image_id' => $current_image_id), WDWLibrary::get_share_page()) . '#bwg' . $gallery_id . '/' . $current_image_id;
|
1163 |
?>
|
1164 |
<div class="bwg_btn_container">
|
1165 |
<div class="bwg_ctrl_btn_container">
|
1166 |
<?php
|
1167 |
+
if ($show_image_counts) {
|
1168 |
?>
|
1169 |
<span class="bwg_image_count_container bwg_ctrl_btn">
|
1170 |
<span class="bwg_image_count"><?php echo $current_image_key + 1; ?></span> /
|
1226 |
</a>
|
1227 |
<?php
|
1228 |
}
|
1229 |
+
if ($popup_enable_fullsize_image) {
|
1230 |
?>
|
1231 |
<a id="bwg_fullsize_image" href="<?php echo !$is_embed ? site_url() . '/' . BWG()->upload_dir . $current_image_url : $current_image_url; ?>" target="_blank">
|
1232 |
<i title="<?php echo __('Open image in original size.', BWG()->prefix); ?>" class="bwg_ctrl_btn fa fa-external-link"></i>
|
1233 |
</a>
|
1234 |
<?php
|
1235 |
}
|
1236 |
+
if ($popup_enable_download) {
|
1237 |
$style = 'none';
|
1238 |
$current_image_arr = explode('/', $current_image_url);
|
1239 |
if (!$is_embed) {
|
1369 |
<?php
|
1370 |
}
|
1371 |
else { /*$is_embed*/ ?>
|
1372 |
+
<span id="embed_conteiner" class="bwg_popup_embed bwg_popup_watermark" style="display: table; table-layout: fixed; height: 100%;">
|
1373 |
<?php echo $is_embed_instagram_video ? '<span class="bwg_inst_play_btn_cont" onclick="bwg_play_instagram_video(this)" ><span class="bwg_inst_play"></span></span>' : '';
|
1374 |
if ($is_embed_instagram_post) {
|
1375 |
$post_width = $image_width - ($filmstrip_direction == 'vertical' ? $image_filmstrip_width : 0);
|
1393 |
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class' => "bwg_embed_frame", 'data-width' => $instagram_post_width, 'data-height' => $instagram_post_height, 'frameborder' => "0", 'style' => "width:" . $post_width . "px; height:" . $post_height . "px; vertical-align:middle; display:inline-block; position:relative;"));
|
1394 |
}
|
1395 |
else{
|
1396 |
+
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame", 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"display:table-cell; width:inherit; height:inherit; vertical-align:middle;"));
|
1397 |
}
|
1398 |
?>
|
1399 |
</span>
|
1414 |
</div>
|
1415 |
</div>
|
1416 |
</div>
|
1417 |
+
<a id="spider_popup_left" <?php echo ($enable_loop == 0 && $current_key == 0) ? 'style="display: none;"' : ''; ?>><span id="spider_popup_left-ico"><span><i class="bwg_prev_btn fa <?php echo $theme_row->lightbox_rl_btn_style; ?>-left"></i></span></span></a>
|
1418 |
+
<a id="spider_popup_right" <?php echo ($enable_loop == 0 && $current_key == count($image_rows) - 1) ? 'style="display: none;"' : ''; ?>><span id="spider_popup_right-ico"><span><i class="bwg_next_btn fa <?php echo $theme_row->lightbox_rl_btn_style; ?>-right"></i></span></span></a>
|
1419 |
</div>
|
1420 |
</div>
|
1421 |
+
<?php if ($enable_comment_social) { ?>
|
1422 |
+
<div class="bwg_comment_wrap bwg_popup_sidebar_wrap">
|
1423 |
+
<div class="bwg_comment_container bwg_popup_sidebar_container bwg_close">
|
1424 |
+
<div id="ajax_loading" style="position:absolute;">
|
1425 |
+
<div id="opacity_div" style="display:none; background-color:rgba(255, 255, 255, 0.2); position:absolute; z-index:10150;"></div>
|
1426 |
+
<span id="loading_div" class="bwg_spider_ajax_loading" style="display:none; text-align:center; position:relative; vertical-align:middle; z-index:10170; background-image:url(<?php echo BWG()->plugin_url . '/images/ajax_loader.png'; ?>); float: none; width:30px;height:30px;background-size:30px 30px; background-repeat: no-repeat; background-position: 50% 50%;">
|
1427 |
+
</span>
|
1428 |
+
</div>
|
1429 |
+
<div class="bwg_comments bwg_popup_sidebar">
|
1430 |
+
<?php
|
1431 |
+
$captcha_error_message = '';
|
1432 |
+
$email_error_message = '';
|
1433 |
+
$bwg_name = '';
|
1434 |
+
$bwg_comment = '';
|
1435 |
+
$bwg_email = '';
|
1436 |
+
if (isset($_POST['ajax_task']) && (esc_html(stripslashes($_POST['ajax_task'])) === 'save')) {
|
1437 |
+
if ($popup_enable_captcha) {
|
1438 |
+
$bwg_captcha_input = (isset($_POST['bwg_captcha_input']) ? esc_html(stripslashes($_POST['bwg_captcha_input'])) : '');
|
1439 |
+
WDWLibrary::bwg_session_start();
|
1440 |
+
$bwg_captcha_code = (isset($_SESSION['bwg_captcha_code']) ? esc_html(stripslashes($_SESSION['bwg_captcha_code'])) : '');
|
1441 |
+
if ($bwg_captcha_input !== $bwg_captcha_code) {
|
1442 |
+
$captcha_error_message = __('Error. Incorrect Verification Code.', BWG()->prefix);
|
1443 |
+
$bwg_name = (isset($_POST['bwg_name']) ? esc_html(stripslashes($_POST['bwg_name'])) : '');
|
1444 |
+
$bwg_comment = (isset($_POST['bwg_comment']) ? esc_html(stripslashes($_POST['bwg_comment'])) : '');
|
1445 |
+
$bwg_email = (isset($_POST['bwg_email']) ? esc_html(stripslashes($_POST['bwg_email'])) : '');
|
1446 |
+
}
|
1447 |
+
}
|
1448 |
+
if ($popup_enable_email && isset($_POST['bwg_email']) && !is_email(stripslashes($_POST['bwg_email']))) {
|
1449 |
+
$email_error_message = __( 'This is not a valid email address.', BWG()->prefix );
|
1450 |
+
$bwg_name = (isset($_POST['bwg_name']) ? esc_html(stripslashes($_POST['bwg_name'])) : '');
|
1451 |
+
$bwg_comment = (isset($_POST['bwg_comment']) ? esc_html(stripslashes($_POST['bwg_comment'])) : '');
|
1452 |
+
$bwg_email = (isset($_POST['bwg_email']) ? esc_html(stripslashes($_POST['bwg_email'])) : '');
|
1453 |
+
}
|
1454 |
+
}
|
1455 |
+
?>
|
1456 |
+
<div id="bwg_comments bwg_popup_sidebar">
|
1457 |
+
<div title="<?php echo __('Hide Comments', BWG()->prefix); ?>" class="bwg_comments_close bwg_popup_sidebar_close">
|
1458 |
+
<i class="bwg_comments_close_btn bwg_popup_sidebar_close_btn fa fa-arrow-<?php echo $theme_row->lightbox_comment_pos; ?>"></i>
|
1459 |
+
</div>
|
1460 |
+
<form id="bwg_comment_form" method="post" action="<?php echo $popup_url; ?>">
|
1461 |
+
<p><label for="bwg_name"><?php echo __('Name', BWG()->prefix); ?> </label></p>
|
1462 |
+
<p><input type="text" name="bwg_name" id="bwg_name" <?php echo ((get_current_user_id() != 0) ? 'readonly="readonly"' : ''); ?>
|
1463 |
+
value="<?php echo ((get_current_user_id() != 0) ? get_userdata(get_current_user_id())->display_name : $bwg_name); ?>" /></p>
|
1464 |
+
<?php
|
1465 |
+
if ($popup_enable_email) {
|
1466 |
+
?>
|
1467 |
+
<p><label for="bwg_email"><?php echo __('Email', BWG()->prefix); ?> </label></p>
|
1468 |
+
<p><input type="text" name="bwg_email" id="bwg_email"
|
1469 |
+
value="<?php echo ((get_current_user_id() != 0) ? get_userdata(get_current_user_id())->user_email : $bwg_email); ?>" /></p>
|
1470 |
+
<p><span class="bwg_comment_error"><?php echo $email_error_message; ?></span></p>
|
1471 |
+
<?php
|
1472 |
+
}
|
1473 |
+
?>
|
1474 |
+
<p><label for="bwg_comment"><?php echo __('Comment', BWG()->prefix); ?> </label></p>
|
1475 |
+
<p><textarea class="bwg_comment_textarea" name="bwg_comment" id="bwg_comment"><?php echo $bwg_comment; ?></textarea></p>
|
1476 |
+
<?php
|
1477 |
+
if ($popup_enable_captcha) {
|
1478 |
+
?>
|
1479 |
+
<p><label for="bwg_captcha_input"><?php echo __('Verification Code', BWG()->prefix); ?></label></p>
|
1480 |
+
<p>
|
1481 |
+
<input id="bwg_captcha_input" name="bwg_captcha_input" class="bwg_captcha_input" type="text">
|
1482 |
+
<img id="bwg_captcha_img" class="bwg_captcha_img" type="captcha" digit="6" src="<?php echo add_query_arg(array('action' => 'bwg_captcha', 'digit' => 6, 'i' => ''), admin_url('admin-ajax.php')); ?>" onclick="bwg_captcha_refresh('bwg_captcha')" ontouchend="bwg_captcha_refresh('bwg_captcha')" />
|
1483 |
+
<span id="bwg_captcha_refresh" class="bwg_captcha_refresh" onclick="bwg_captcha_refresh('bwg_captcha')" ontouchend="bwg_captcha_refresh('bwg_captcha')"></span>
|
1484 |
+
</p>
|
1485 |
+
<p><span class="bwg_comment_error"><?php echo $captcha_error_message; ?></span></p>
|
1486 |
+
<?php
|
1487 |
+
}
|
1488 |
+
?>
|
1489 |
+
<p><input onclick="if (spider_check_required('bwg_name', '<?php echo __('Name', BWG()->prefix); ?>') <?php if ($popup_enable_email) { ?> || spider_check_required('bwg_email', '<?php echo __('Email', BWG()->prefix); ?>') || spider_check_email('bwg_email') <?php } ?> || spider_check_required('bwg_comment', '<?php echo __('Comment', BWG()->prefix); ?>')) { return false;}
|
1490 |
+
var cur_image_key = parseInt(jQuery('#bwg_current_image_key').val());
|
1491 |
+
++data[cur_image_key]['comment_count'];
|
1492 |
+
spider_set_input_value('ajax_task', 'save');
|
1493 |
+
spider_set_input_value('image_id', jQuery('#bwg_popup_image').attr('image_id'));
|
1494 |
+
spider_ajax_save('bwg_comment_form');
|
1495 |
+
return false;"
|
1496 |
+
ontouchend="if (spider_check_required('bwg_name', '<?php echo __('Name', BWG()->prefix); ?>') <?php if ($popup_enable_email) { ?> || spider_check_required('bwg_email', '<?php echo __('Email', BWG()->prefix); ?>') || spider_check_email('bwg_email') <?php } ?> || spider_check_required('bwg_comment', '<?php echo __('Comment', BWG()->prefix); ?>')) {return false;}
|
1497 |
+
var cur_image_key = parseInt(jQuery('#bwg_current_image_key').val());
|
1498 |
+
++data[cur_image_key]['comment_count'];
|
1499 |
+
spider_set_input_value('ajax_task', 'save');
|
1500 |
+
spider_set_input_value('image_id', jQuery('#bwg_popup_image').attr('image_id'));
|
1501 |
+
spider_ajax_save('bwg_comment_form');
|
1502 |
+
return false;" class="bwg_submit" type="submit" name="bwg_submit" id="bwg_submit" value="<?php echo __('Submit', BWG()->prefix); ?>" /></p>
|
1503 |
+
<?php echo (!current_user_can('manage_options') && ($comment_moderation && (isset($_POST['bwg_comment']) && esc_html($_POST['bwg_comment'])))) ? __('Your comment is awaiting moderation', BWG()->prefix) : ''; ?>
|
1504 |
+
<input id="ajax_task" name="ajax_task" type="hidden" value="" />
|
1505 |
+
<input id="image_id" name="image_id" type="hidden" value="<?php echo $image_id; ?>" />
|
1506 |
+
<input id="comment_id" name="comment_id" type="hidden" value="" />
|
1507 |
+
</form>
|
1508 |
+
</div>
|
1509 |
+
<div id="bwg_added_comments">
|
1510 |
+
<?php
|
1511 |
+
foreach ($comment_rows as $comment_row) {
|
1512 |
+
?>
|
1513 |
+
<div class="bwg_single_comment">
|
1514 |
+
<p class="bwg_comment_header_p">
|
1515 |
+
<span class="bwg_comment_header"><?php echo $comment_row->name; ?></span>
|
1516 |
+
<?php
|
1517 |
+
if (current_user_can('manage_options')) {
|
1518 |
+
?>
|
1519 |
+
<i onclick="var cur_image_key = parseInt(jQuery('#bwg_current_image_key').val());
|
1520 |
+
--data[cur_image_key]['comment_count'];
|
1521 |
+
spider_set_input_value('ajax_task', 'delete');
|
1522 |
+
spider_set_input_value('image_id', jQuery('#bwg_popup_image').attr('image_id'));
|
1523 |
+
spider_set_input_value('comment_id', '<?php echo $comment_row->id; ?>');
|
1524 |
+
spider_ajax_save('bwg_comment_form');
|
1525 |
+
return false;"
|
1526 |
+
ontouchend="var cur_image_key = parseInt(jQuery('#bwg_current_image_key').val());
|
1527 |
+
--data[cur_image_key]['comment_count'];
|
1528 |
+
spider_set_input_value('ajax_task', 'delete');
|
1529 |
+
spider_set_input_value('image_id', jQuery('#bwg_popup_image').attr('image_id'));
|
1530 |
+
spider_set_input_value('comment_id', '<?php echo $comment_row->id; ?>');
|
1531 |
+
spider_ajax_save('bwg_comment_form');
|
1532 |
+
return false;" title="<?php echo __('Delete Comment', BWG()->prefix); ?>" class="bwg_comment_delete_btn fa fa-times"></i>
|
1533 |
+
<?php
|
1534 |
+
}
|
1535 |
+
?>
|
1536 |
+
<span class="bwg_comment_date"><?php echo $comment_row->date; ?></span>
|
1537 |
+
</p>
|
1538 |
+
<div class="bwg_comment_body_p">
|
1539 |
+
<span class="bwg_comment_body"><?php echo wpautop($comment_row->comment); ?></span>
|
1540 |
+
</div>
|
1541 |
+
</div>
|
1542 |
+
<?php
|
1543 |
+
}
|
1544 |
+
?>
|
1545 |
+
</div>
|
1546 |
+
</div>
|
1547 |
+
</div>
|
1548 |
+
</div>
|
1549 |
+
<?php }
|
1550 |
+
if(function_exists('BWGEC') ){
|
1551 |
+
$pricelist = $pricelist_data["pricelist"];
|
1552 |
+
$download_items = $pricelist_data["download_items"];
|
1553 |
+
$parameters = $pricelist_data["parameters"];
|
1554 |
+
$options = $pricelist_data["options"];
|
1555 |
+
$products_in_cart = $pricelist_data["products_in_cart"];
|
1556 |
+
$pricelist_sections = $pricelist->sections ? explode("," , $pricelist->sections) : array();
|
1557 |
+
|
1558 |
+
?>
|
1559 |
+
<div class="bwg_ecommerce_wrap bwg_popup_sidebar_wrap" id="bwg_ecommerce_wrap">
|
1560 |
+
<div class="bwg_ecommerce_container bwg_popup_sidebar_container bwg_close">
|
1561 |
+
<div id="ecommerce_ajax_loading" style="position:absolute;">
|
1562 |
+
<div id="ecommerce_opacity_div" style="display:none; background-color:rgba(255, 255, 255, 0.2); position:absolute; z-index:10150;"></div>
|
1563 |
+
<span id="ecommerce_loading_div" class="bwg_spider_ajax_loading" style="display:none; text-align:center; position:relative; vertical-align:middle; z-index:10170; background-image:url(<?php echo BWG()->plugin_url . '/images/ajax_loader.png'; ?>); float: none; width:30px;height:30px;background-size:30px 30px; background-repeat: no-repeat; background-position: 50% 50%;"></span>
|
1564 |
+
</div>
|
1565 |
+
<div class="bwg_ecommerce_panel bwg_popup_sidebar_panel bwg_popup_sidebar" style="text-align:left;">
|
1566 |
+
<div id="bwg_ecommerce">
|
1567 |
+
<p title="<?php echo __('Hide Ecommerce', BWG()->prefix); ?>" class="bwg_ecommerce_close bwg_popup_sidebar_close" >
|
1568 |
+
<i class="bwg_ecommerce_close_btn bwg_popup_sidebar_close_btn fa fa-arrow-<?php echo $theme_row->lightbox_comment_pos; ?>" ></i>
|
1569 |
+
</p>
|
1570 |
+
<form id="bwg_ecommerce_form" method="post" action="<?php echo $popup_url; ?>">
|
1571 |
+
<div class="pge_add_to_cart">
|
1572 |
+
<div>
|
1573 |
+
<span class="pge_add_to_cart_title"><?php echo (__('Add to cart', BWG()->prefix)); ?></span>
|
1574 |
+
</div>
|
1575 |
+
<div>
|
1576 |
+
<a href="<?php echo get_permalink($options->checkout_page);?>"><?php echo "<span class='products_in_cart'>".$products_in_cart ."</span> ". __('items', BWG()->prefix); ?></a>
|
1577 |
+
</div>
|
1578 |
+
|
1579 |
+
</div>
|
1580 |
+
<div class="bwg_ecommerce_body">
|
1581 |
+
<ul class="pge_tabs" <?php if(count($pricelist_sections)<=1) echo "style='display:none;'"; ?>>
|
1582 |
+
<li id="manual_li" <?php if(!in_array("manual",$pricelist_sections)) { echo "style='display:none;'"; } ?> class="pge_active">
|
1583 |
+
<a href= "#manual">
|
1584 |
+
<span class="manualh4" >
|
1585 |
+
<?php echo __('Prints and products', BWG()->prefix); ?>
|
1586 |
+
</span>
|
1587 |
+
</a>
|
1588 |
+
</li>
|
1589 |
+
<li id="downloads_li" <?php if(!in_array("downloads",$pricelist_sections)) echo "style='display:none;'"; ?> >
|
1590 |
+
<a href= "#downloads">
|
1591 |
+
<span class="downloadsh4" >
|
1592 |
+
<?php echo __('Downloads', BWG()->prefix); ?>
|
1593 |
+
</span>
|
1594 |
+
</a>
|
1595 |
+
</li>
|
1596 |
+
</ul>
|
1597 |
+
<div class="pge_tabs_container" >
|
1598 |
+
<!-- manual -->
|
1599 |
+
<div class="manual pge_pricelist" id="manual" <?php if( count($pricelist_sections) == 2 || (count($pricelist_sections) == 1 && end($pricelist_sections) == "manual")) echo 'style="display: block;"'; else echo 'style="display: none;"'; ?> >
|
1600 |
+
<div>
|
1601 |
+
|
1602 |
+
<div class="product_manual_price_div">
|
1603 |
+
<p><?php echo $pricelist->manual_title ? __('Name', BWG()->prefix).': '.$pricelist->manual_title : "";?></p>
|
1604 |
+
<?php if ($pricelist->price) {
|
1605 |
+
?>
|
1606 |
+
<p>
|
1607 |
+
<span><?php echo __('Price', BWG()->prefix).': '.$options->currency_sign;?></span>
|
1608 |
+
<span class="_product_manual_price"><?php echo number_format((float)$pricelist->price,2)?></span>
|
1609 |
+
</p>
|
1610 |
+
<?php
|
1611 |
+
}
|
1612 |
+
?>
|
1613 |
+
</div>
|
1614 |
+
<?php if($pricelist->manual_description){
|
1615 |
+
?>
|
1616 |
+
<div class="product_manual_desc_div">
|
1617 |
+
<p>
|
1618 |
+
<span><?php echo __('Description', BWG()->prefix);?>:</span>
|
1619 |
+
<span class="product_manual_desc"><?php echo $pricelist->manual_description;?></span>
|
1620 |
+
</p>
|
1621 |
+
</div>
|
1622 |
+
<?php
|
1623 |
+
}
|
1624 |
+
?>
|
1625 |
+
<div class="image_count_div">
|
1626 |
+
<p>
|
1627 |
+
<?php echo __('Count', BWG()->prefix).': ';?>
|
1628 |
+
<input type="number" min="1" class="image_count" value="1" onchange="changeMenualTotal(this);">
|
1629 |
+
</p>
|
1630 |
+
</div>
|
1631 |
+
<?php if(empty($parameters) == false){?>
|
1632 |
+
<div class="image_parameters">
|
1633 |
+
<p><?php //echo __('Parameters', BWG()->prefix); ?></p>
|
1634 |
+
<?php
|
1635 |
+
$i = 0;
|
1636 |
+
foreach($parameters as $parameter_id => $parameter){
|
1637 |
+
echo '<div class="parameter_row">';
|
1638 |
+
switch($parameter["type"]){
|
1639 |
+
case "1" :
|
1640 |
+
echo '<div class="image_selected_parameter" data-parameter-id="'.$parameter_id.'" data-parameter-type = "'.$parameter["type"].'">';
|
1641 |
+
echo $parameter["title"].": <span class='parameter_single'>". $parameter["values"][0]["parameter_value"]."</span>";
|
1642 |
+
echo '</div>';
|
1643 |
+
break;
|
1644 |
+
case "2" :
|
1645 |
+
echo '<div class="image_selected_parameter" data-parameter-id="'.$parameter_id.'" data-parameter-type = "'.$parameter["type"].'">';
|
1646 |
+
echo '<label for="parameter_input">'.$parameter["title"].'</label>';
|
1647 |
+
echo '<input type="text" name="parameter_input'.$parameter_id.'" id="parameter_input" value="'. $parameter["values"][0]["parameter_value"] .'">';
|
1648 |
+
echo '</div>';
|
1649 |
+
break;
|
1650 |
+
case "3" :
|
1651 |
+
echo '<div class="image_selected_parameter" data-parameter-id="'.$parameter_id.'" data-parameter-type = "'.$parameter["type"].'">';
|
1652 |
+
echo '<label for="parameter_textarea">'.$parameter["title"].'</label>';
|
1653 |
+
echo '<textarea name="parameter_textarea'.$parameter_id.'" id="parameter_textarea" >'. $parameter["values"][0]["parameter_value"] .'</textarea>';
|
1654 |
+
echo '</div>';
|
1655 |
+
break;
|
1656 |
+
case "4" :
|
1657 |
+
echo '<div class="image_selected_parameter" data-parameter-id="'.$parameter_id.'" data-parameter-type = "'.$parameter["type"].'">';
|
1658 |
+
echo '<label for="parameter_select">'.$parameter["title"].'</label>';
|
1659 |
+
echo '<select name="parameter_select'.$parameter_id.'" id="parameter_select" onchange="onSelectableParametersChange(this)">';
|
1660 |
+
echo '<option value="+*0*">-Select-</option>';
|
1661 |
+
foreach($parameter["values"] as $values){
|
1662 |
+
$price_addon = $values["parameter_value_price"] == "0" ? "" : ' ('.$values["parameter_value_price_sign"].$options->currency_sign.number_format((float)$values["parameter_value_price"],2).')';
|
1663 |
+
echo '<option value="'.$values["parameter_value_price_sign"].'*'.$values["parameter_value_price"].'*'.$values["parameter_value"].'">'.$values["parameter_value"].$price_addon.'</option>';
|
1664 |
+
}
|
1665 |
+
echo '</select>';
|
1666 |
+
echo '<input type="hidden" class="already_selected_values">';
|
1667 |
+
echo '</div>';
|
1668 |
+
break;
|
1669 |
+
case "5" :
|
1670 |
+
echo '<div class="image_selected_parameter" data-parameter-id="'.$parameter_id.'" data-parameter-type = "'.$parameter["type"].'">';
|
1671 |
+
echo '<label>'.$parameter["title"].'</label>';
|
1672 |
+
foreach($parameter["values"] as $values){
|
1673 |
+
$price_addon = $values["parameter_value_price"] == "0" ? "" : ' ('.$values["parameter_value_price_sign"].$options->currency_sign.number_format((float)$values["parameter_value_price"],2).')';
|
1674 |
+
echo '<div>';
|
1675 |
+
echo '<input type="radio" name="parameter_radio'.$parameter_id.'" id="parameter_radio'.$i.'" value="'.$values["parameter_value_price_sign"].'*'.$values["parameter_value_price"].'*'.$values["parameter_value"].'" onchange="onSelectableParametersChange(this)">';
|
1676 |
+
echo '<label for="parameter_radio'.$i.'">'.$values["parameter_value"].$price_addon.'</label>';
|
1677 |
+
echo '</div>';
|
1678 |
+
$i++;
|
1679 |
+
}
|
1680 |
+
echo '<input type="hidden" class="already_selected_values">';
|
1681 |
+
echo '</div>';
|
1682 |
+
break;
|
1683 |
+
case "6" :
|
1684 |
+
echo '<div class="image_selected_parameter" data-parameter-id="'.$parameter_id.'" data-parameter-type = "'.$parameter["type"].'">';
|
1685 |
+
echo '<label>'.$parameter["title"].'</label>';
|
1686 |
+
foreach($parameter["values"] as $values){
|
1687 |
+
$price_addon = $values["parameter_value_price"] == "0" ? "" : ' ('.$values["parameter_value_price_sign"].$options->currency_sign.number_format((float)$values["parameter_value_price"],2).')';
|
1688 |
+
echo '<div>';
|
1689 |
+
echo '<input type="checkbox" name="parameter_checkbox'.$parameter_id.'" id="parameter_checkbox'.$i.'" value="'.$values["parameter_value_price_sign"].'*'.$values["parameter_value_price"].'*'.$values["parameter_value"].'" onchange="onSelectableParametersChange(this)">';
|
1690 |
+
echo '<label for="parameter_checkbox'.$i.'">'.$values["parameter_value"].$price_addon.'</label>';
|
1691 |
+
echo '</div>';
|
1692 |
+
$i++;
|
1693 |
+
}
|
1694 |
+
echo '<input type="hidden" class="already_selected_values">';
|
1695 |
+
echo '</div>';
|
1696 |
+
break;
|
1697 |
+
default:
|
1698 |
+
break;
|
1699 |
+
}
|
1700 |
+
echo '</div>';
|
1701 |
+
}
|
1702 |
+
?>
|
1703 |
+
|
1704 |
+
</div>
|
1705 |
+
<?php } ?>
|
1706 |
+
<p>
|
1707 |
+
<span><b><?php echo __('Total', BWG()->prefix).': '.$options->currency_sign;?></b></span>
|
1708 |
+
<b><span class="product_manual_price" data-price="<?php echo $pricelist->price; ?>" data-actual-price="<?php echo $pricelist->price; ?>"><?php echo number_format((float)$pricelist->price,2)?></span></b>
|
1709 |
+
</p>
|
1710 |
+
</div>
|
1711 |
+
</div>
|
1712 |
+
<!-- downloads -->
|
1713 |
+
<div class="downloads pge_pricelist" id="downloads" <?php if( (count($pricelist_sections) == 1 && end($pricelist_sections) == "downloads")) echo 'style="display: block;"'; else echo 'style="display: none;"'; ?> >
|
1714 |
+
<table>
|
1715 |
+
<thead>
|
1716 |
+
<tr>
|
1717 |
+
<th><?php echo __('Name', BWG()->prefix); ?></th>
|
1718 |
+
<th><?php echo __('Dimensions', BWG()->prefix); ?></th>
|
1719 |
+
<th><?php echo __('Price', BWG()->prefix); ?></th>
|
1720 |
+
<th><?php echo __('Choose', BWG()->prefix); ?></th>
|
1721 |
+
</tr>
|
1722 |
+
</thead>
|
1723 |
+
<tbody>
|
1724 |
+
<?php
|
1725 |
+
if(empty($download_items) === false){
|
1726 |
+
foreach($download_items as $download_item){
|
1727 |
+
?>
|
1728 |
+
<tr data-price="<?php echo $download_item->item_price; ?>" data-id="<?php echo $download_item->id; ?>">
|
1729 |
+
<td><?php echo $download_item->item_name; ?></td>
|
1730 |
+
<td><?php echo $download_item->item_longest_dimension.'px'; ?></td>
|
1731 |
+
<td class="item_price"><?php echo $options->currency_sign. number_format((float)$download_item->item_price, 2); ?></td>
|
1732 |
+
<?php if($options->show_digital_items_count == 0){
|
1733 |
+
?>
|
1734 |
+
<td><input type="checkbox" name="selected_download_item" value="<?php echo $download_item->id; ?>" onchange="changeDownloadsTotal(this);"></td>
|
1735 |
+
<?php
|
1736 |
+
}
|
1737 |
+
else{
|
1738 |
+
?>
|
1739 |
+
<td><input type="number" min="0" class="digital_image_count" value="0" onchange="changeDownloadsTotal(this);"></td>
|
1740 |
+
<?php
|
1741 |
+
}
|
1742 |
+
?>
|
1743 |
+
</tr>
|
1744 |
+
<?php
|
1745 |
+
}
|
1746 |
+
}
|
1747 |
+
?>
|
1748 |
+
</tbody>
|
1749 |
+
</table>
|
1750 |
+
<p>
|
1751 |
+
<span><b><?php echo __('Total', BWG()->prefix).': '.$options->currency_sign;?></b></span>
|
1752 |
+
<b><span class="product_downloads_price">0</span></b>
|
1753 |
+
</p>
|
1754 |
+
</div>
|
1755 |
+
</div>
|
1756 |
+
|
1757 |
+
</div>
|
1758 |
+
|
1759 |
+
<div style="margin-top:10px;">
|
1760 |
+
<input type="button" class="bwg_submit" value="<?php echo __('Add to cart', BWG()->prefix); ?>" onclick="onBtnClickAddToCart();">
|
1761 |
+
<input type="button" class="bwg_submit" value="<?php echo __('View cart', BWG()->prefix); ?>" onclick="onBtnViewCart()">
|
1762 |
+
<span class="add_to_cart_msg"></span>
|
1763 |
+
</div>
|
1764 |
+
|
1765 |
+
<input id="ajax_task" name="ajax_task" type="hidden" value="" />
|
1766 |
+
<input id="type" name="type" type="hidden" value="<?php echo isset($pricelist_sections[0]) ? $pricelist_sections[0] : "" ?>" />
|
1767 |
+
<input id="image_id" name="image_id" type="hidden" value="<?php echo $image_id; ?>" />
|
1768 |
+
<div class="pge_options">
|
1769 |
+
<input type="hidden" name="option_checkout_page" value="<?php echo get_permalink($options->checkout_page);?>">
|
1770 |
+
<input type="hidden" name="option_show_digital_items_count" value="<?php echo $options->show_digital_items_count;?>">
|
1771 |
+
</div>
|
1772 |
+
|
1773 |
+
</form>
|
1774 |
+
</div>
|
1775 |
+
</div>
|
1776 |
+
</div>
|
1777 |
+
</div>
|
1778 |
+
<script>
|
1779 |
+
function changeDownloadsTotal(obj){
|
1780 |
+
var totalPrice = 0;
|
1781 |
+
var showdigitalItemsCount = jQuery("[name=option_show_digital_items_count]").val();
|
1782 |
+
if( showdigitalItemsCount == 0 ){
|
1783 |
+
jQuery("[name=selected_download_item]:checked").each(function(){
|
1784 |
+
totalPrice += Number(jQuery(this).closest("tr").attr("data-price"));
|
1785 |
+
|
1786 |
+
});
|
1787 |
+
}
|
1788 |
+
else{
|
1789 |
+
jQuery(".digital_image_count").each(function(){
|
1790 |
+
if(Number(jQuery(this).val()) != 0){
|
1791 |
+
totalPrice += Number(jQuery(this).closest("tr").attr("data-price")) * Number(jQuery(this).val());
|
1792 |
+
}
|
1793 |
+
});
|
1794 |
+
}
|
1795 |
+
totalPrice = totalPrice.toFixed(2).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
|
1796 |
+
jQuery(".product_downloads_price").html(totalPrice);
|
1797 |
+
|
1798 |
+
}
|
1799 |
+
|
1800 |
+
function changeMenualTotal(obj){
|
1801 |
+
if(Number(jQuery(obj).val()) <= 0){
|
1802 |
+
jQuery(obj).val("1");
|
1803 |
+
}
|
1804 |
+
var count = Number(jQuery(obj).val());
|
1805 |
+
var totalPrice = Number(jQuery(".product_manual_price").attr("data-actual-price"));
|
1806 |
+
totalPrice = count*totalPrice;
|
1807 |
+
|
1808 |
+
totalPrice = totalPrice.toFixed(2).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");
|
1809 |
+
jQuery(".product_manual_price").html(totalPrice);
|
1810 |
+
}
|
1811 |
+
|
1812 |
+
function onSelectableParametersChange(obj){
|
1813 |
+
var parametersPrise = 0;
|
1814 |
+
|
1815 |
+
var productPrice = data[jQuery('#bwg_current_image_key').val()]["pricelist_manual_price"] ? data[jQuery('#bwg_current_image_key').val()]["pricelist_manual_price"] : '0';
|
1816 |
+
productPrice = parseFloat(productPrice.replace(",",""));
|
1817 |
+
|
1818 |
+
var type = jQuery(obj).closest('.image_selected_parameter').attr("data-parameter-type");
|
1819 |
+
var priceInfo = jQuery(obj).val();
|
1820 |
+
priceInfo = priceInfo.split("*");
|
1821 |
+
var priceValue = priceInfo[1];
|
1822 |
+
var sign = priceInfo[0];
|
1823 |
+
|
1824 |
+
var alreadySelectedValues = Number(jQuery(obj).closest('.image_selected_parameter').find(".already_selected_values").val());
|
1825 |
+
|
1826 |
+
if(type == "4" || type == "5") {
|
1827 |
+
var newPriceVlaueSelectRadio = parseFloat(eval(sign + '1*' + priceValue));
|
1828 |
+
|
1829 |
+
jQuery(obj).closest('.image_selected_parameter').find(".already_selected_values").val(newPriceVlaueSelectRadio);
|
1830 |
+
}
|
1831 |
+
|
1832 |
+
else if (type == "6"){
|
1833 |
+
if(jQuery(obj).is(":checked") == false){
|
1834 |
+
var newPriceVlaueCheckbox = parseFloat(eval(alreadySelectedValues + "- " + sign + priceValue));
|
1835 |
+
}
|
1836 |
+
else{
|
1837 |
+
var newPriceVlaueCheckbox = parseFloat(eval(alreadySelectedValues + sign + priceValue));
|
1838 |
+
}
|
1839 |
+
jQuery(obj).closest('.image_selected_parameter').find(".already_selected_values").val(newPriceVlaueCheckbox);
|
1840 |
+
}
|
1841 |
+
|
1842 |
+
|
1843 |
+
jQuery(".already_selected_values").each(function(){
|
1844 |
+
parametersPrise += Number(jQuery(this).val());
|
1845 |
+
});
|
1846 |
+
|
1847 |
+
productPrice = productPrice + parametersPrise;
|
1848 |
+
jQuery(".product_manual_price").attr("data-actual-price",productPrice);
|
1849 |
+
var count = Number(jQuery(".image_count").val()) <= 0 ? 1 : Number(jQuery(".image_count").val());
|
1850 |
+
productPrice = count * productPrice;
|
1851 |
+
productPrice = productPrice.toFixed(2).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,");;
|
1852 |
+
jQuery(".product_manual_price").html(productPrice);
|
1853 |
+
|
1854 |
+
|
1855 |
+
}
|
1856 |
+
|
1857 |
+
function onBtnClickAddToCart(){
|
1858 |
+
|
1859 |
+
var type = jQuery("[name=type]").val();
|
1860 |
+
if(type != ""){
|
1861 |
+
var data = {};
|
1862 |
+
if(type == "manual"){
|
1863 |
+
var count = jQuery(".image_count").val();
|
1864 |
+
var parameters = {};
|
1865 |
+
|
1866 |
+
jQuery(".manual").find(".image_selected_parameter").each(function () {
|
1867 |
+
var parameterId = jQuery(this).attr("data-parameter-id");
|
1868 |
+
var parameterTypeId = jQuery(this).attr("data-parameter-type");
|
1869 |
+
var parameterValue = "";
|
1870 |
+
switch (parameterTypeId) {
|
1871 |
+
|
1872 |
+
// input
|
1873 |
+
case '2':
|
1874 |
+
parameterValue = jQuery(this).find("input").val();
|
1875 |
+
break;
|
1876 |
+
case '3':
|
1877 |
+
parameterValue = jQuery(this).find("textarea").val();
|
1878 |
+
break;
|
1879 |
+
// Select
|
1880 |
+
case '4':
|
1881 |
+
parameterValue = jQuery(this).find('select :selected').val();
|
1882 |
+
break;
|
1883 |
+
// Radio
|
1884 |
+
case '5':
|
1885 |
+
parameterValue = jQuery(this).find('[type=radio]:checked').val();
|
1886 |
+
break;
|
1887 |
+
// Checkbox
|
1888 |
+
case '6':
|
1889 |
+
var checkbox_parameter_values = [];;
|
1890 |
+
jQuery(this).find("[type=checkbox]:checked").each(function () {
|
1891 |
+
checkbox_parameter_values.push(jQuery(this).val());
|
1892 |
+
});
|
1893 |
+
parameterValue = checkbox_parameter_values;
|
1894 |
+
break;
|
1895 |
+
}
|
1896 |
+
|
1897 |
+
parameters[parameterId] = parameterValue;
|
1898 |
+
});
|
1899 |
+
data.count = count;
|
1900 |
+
data.parameters = parameters;
|
1901 |
+
data.price = jQuery(".product_manual_price").attr("data-price").replace(",","");
|
1902 |
+
}
|
1903 |
+
else{
|
1904 |
+
var downloadItems = [];
|
1905 |
+
var showdigitalItemsCount = jQuery("[name=option_show_digital_items_count]").val();
|
1906 |
+
if( showdigitalItemsCount == 0 ){
|
1907 |
+
if(jQuery("[name=selected_download_item]:checked").length == 0){
|
1908 |
+
jQuery(".add_to_cart_msg").html("You must select at least one item.");
|
1909 |
+
return;
|
1910 |
+
}
|
1911 |
+
jQuery("[name=selected_download_item]:checked").each(function () {
|
1912 |
+
var downloadItem = {};
|
1913 |
+
downloadItem.id = jQuery(this).val();
|
1914 |
+
downloadItem.count = 1;
|
1915 |
+
downloadItem.price = jQuery(this).closest("tr").attr("data-price");
|
1916 |
+
downloadItems.push(downloadItem);
|
1917 |
+
});
|
1918 |
+
}
|
1919 |
+
else{
|
1920 |
+
jQuery(".digital_image_count").each(function () {
|
1921 |
+
var downloadItem = {};
|
1922 |
+
if(jQuery(this).val() > 0){
|
1923 |
+
downloadItem.id = jQuery(this).closest("tr").attr("data-id");
|
1924 |
+
downloadItem.price = jQuery(this).closest("tr").attr("data-price");
|
1925 |
+
downloadItem.count = jQuery(this).val();
|
1926 |
+
downloadItems.push(downloadItem);
|
1927 |
+
}
|
1928 |
+
|
1929 |
+
});
|
1930 |
+
}
|
1931 |
+
data.downloadItems = downloadItems;
|
1932 |
+
if(downloadItems.length == 0) {
|
1933 |
+
jQuery(".add_to_cart_msg").html("<?php echo __("Please select at least one item", BWG()->prefix);?>");
|
1934 |
+
return ;
|
1935 |
+
}
|
1936 |
+
|
1937 |
+
}
|
1938 |
+
|
1939 |
+
var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>';
|
1940 |
+
var post_data = {
|
1941 |
+
'action': 'add_cart',
|
1942 |
+
'task': 'add_cart',
|
1943 |
+
'controller': 'checkout',
|
1944 |
+
"image_id": jQuery('#bwg_popup_image').attr('image_id'),
|
1945 |
+
"type": type,
|
1946 |
+
"data": JSON.stringify(data)
|
1947 |
+
};
|
1948 |
+
|
1949 |
+
jQuery.ajax({
|
1950 |
+
type: "POST",
|
1951 |
+
url: ajaxurl,
|
1952 |
+
data: post_data,
|
1953 |
+
success: function (response) {
|
1954 |
+
responseData = JSON.parse(response);
|
1955 |
+
jQuery(".add_to_cart_msg").html(responseData["msg"]);
|
1956 |
+
jQuery(".products_in_cart").html(responseData["products_in_cart"]);
|
1957 |
+
if(responseData["redirect"] == 1){
|
1958 |
+
window.location.href = "<?php echo get_permalink($options->checkout_page);?>";
|
1959 |
+
}
|
1960 |
+
},
|
1961 |
+
beforeSend: function(){
|
1962 |
+
},
|
1963 |
+
complete:function(){
|
1964 |
+
}
|
1965 |
+
});
|
1966 |
+
}
|
1967 |
+
else{
|
1968 |
+
jQuery(".add_to_cart_msg").html("<?php echo __("Please select Prints and products or Downloads", BWG()->prefix);?>");
|
1969 |
+
}
|
1970 |
+
|
1971 |
+
}
|
1972 |
+
|
1973 |
+
function onBtnViewCart(){
|
1974 |
+
var checkoutPage = jQuery("[name=option_checkout_page]").val();
|
1975 |
+
jQuery("#bwg_ecommerce_form").attr("action",checkoutPage)
|
1976 |
+
jQuery("#bwg_ecommerce_form").submit();
|
1977 |
+
}
|
1978 |
+
|
1979 |
+
</script>
|
1980 |
+
|
1981 |
+
<?php
|
1982 |
+
}
|
1983 |
+
?>
|
1984 |
<a class="spider_popup_close" onclick="spider_destroypopup(1000); return false;" ontouchend="spider_destroypopup(1000); return false;"><span><i class="bwg_close_btn fa fa-times"></i></span></a>
|
1985 |
<script language="javascript" type="text/javascript" src="<?php echo BWG()->plugin_url . '/js/bwg_embed.js?ver=' . BWG()->plugin_version; ?>"></script>
|
1986 |
<script>
|
1987 |
+
|
1988 |
+
var filmstrip_width;
|
1989 |
+
var preloadCount;
|
1990 |
+
var filmstrip_thumbnail_width = jQuery(".bwg_filmstrip_thumbnail").width();
|
1991 |
+
var filmstrip_thumbnail_height = jQuery(".bwg_filmstrip_thumbnail").height();
|
1992 |
+
|
1993 |
+
<?php if ($open_with_fullscreen) { ?>
|
1994 |
+
filmstrip_width = jQuery( window ).width();
|
1995 |
+
filmstrip_height = jQuery( window ).height();
|
1996 |
+
<?php } else { ?>
|
1997 |
+
filmstrip_width = jQuery(".bwg_filmstrip_container").width();
|
1998 |
+
filmstrip_height = jQuery(".bwg_filmstrip_container").height();
|
1999 |
+
<?php } ?>
|
2000 |
+
|
2001 |
+
<?php if ($filmstrip_direction == 'horizontal') { ?>
|
2002 |
+
preloadCount = parseInt(filmstrip_width/filmstrip_thumbnail_width) + <?php echo BWG()->options->preload_images_count; ?>;
|
2003 |
+
<?php } else { ?>
|
2004 |
+
preloadCount = parseInt(filmstrip_height/filmstrip_thumbnail_height) + <?php echo BWG()->options->preload_images_count; ?>;
|
2005 |
+
<?php } ?>
|
2006 |
+
var total_thumbnail_count = jQuery(".bwg_filmstrip_thumbnail").length;
|
2007 |
+
|
2008 |
+
var key = parseInt(jQuery("#bwg_current_image_key").val());
|
2009 |
+
var startPoint = 0;
|
2010 |
+
var endPoint = key+preloadCount;
|
2011 |
+
|
2012 |
+
|
2013 |
+
jQuery(document).ready(function () {
|
2014 |
+
wds_load_visible_images();
|
2015 |
+
|
2016 |
+
jQuery(".pge_tabs li a").on("click", function(){
|
2017 |
+
jQuery(".pge_tabs_container > div").hide();
|
2018 |
+
jQuery(".pge_tabs li").removeClass("pge_active");
|
2019 |
+
jQuery(jQuery(this).attr("href")).show();
|
2020 |
+
jQuery(this).closest("li").addClass("pge_active");
|
2021 |
+
jQuery("[name=type]").val(jQuery(this).attr("href").substr(1));
|
2022 |
+
return false;
|
2023 |
+
});
|
2024 |
+
});
|
2025 |
+
|
2026 |
+
// load visible images in filmstrip
|
2027 |
+
function wds_load_visible_images() {
|
2028 |
+
if((key - preloadCount) >= 0) {
|
2029 |
+
startPoint = key - preloadCount;
|
2030 |
+
}
|
2031 |
+
if((key + preloadCount) > total_thumbnail_count) {
|
2032 |
+
endPoint = total_thumbnail_count;
|
2033 |
+
}
|
2034 |
+
for( var i = startPoint; i <= endPoint; i++) {
|
2035 |
+
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + i + " img");
|
2036 |
+
filmstrip_image.removeClass('hidden');
|
2037 |
+
filmstrip_image.attr('src', filmstrip_image.data('url'));
|
2038 |
+
}
|
2039 |
+
}
|
2040 |
var bwg_param = {
|
2041 |
bwg : <?php echo $bwg; ?>,
|
2042 |
bwg_current_key : '<?php echo $current_key; ?>',
|
2043 |
+
enable_loop : <?php echo $enable_loop; ?>,
|
2044 |
ecommerceACtive : '<?php echo (function_exists('BWGEC') ) == true ? 1 : 0 ; ?>',
|
2045 |
enable_image_ecommerce : <?php echo $enable_image_ecommerce; ?>,
|
2046 |
lightbox_ctrl_btn_pos : '<?php echo $theme_row->lightbox_ctrl_btn_pos ; ?>',
|
2072 |
open_with_fullscreen : <?php echo $open_with_fullscreen; ?>,
|
2073 |
};
|
2074 |
<?php
|
2075 |
+
if (BWG()->is_pro && $enable_addthis && $addthis_profile_id) {
|
2076 |
?>
|
2077 |
var addthis_share = {
|
2078 |
url: "<?php echo urlencode($share_url); ?>"
|
2138 |
/* jQuery(document).ready(function () { */
|
2139 |
<?php
|
2140 |
if ( BWG()->is_pro ) {
|
2141 |
+
if ($enable_addthis && $addthis_profile_id) {
|
2142 |
?>
|
2143 |
jQuery(".at4-share-outer").show();
|
2144 |
<?php
|
2482 |
}
|
2483 |
});
|
2484 |
/* Set window height not full screen */
|
2485 |
+
var bwg_windowheight = window.innerHeight;
|
2486 |
/* Maximize/minimize.*/
|
2487 |
jQuery(".bwg_resize-full").on(bwg_click, function () {
|
2488 |
bwg_resize_full();
|
2499 |
if (jQuery(window).width() > <?php echo $image_width; ?>) {
|
2500 |
bwg_popup_current_width = <?php echo $image_width; ?>;
|
2501 |
}
|
2502 |
+
if (window.innerHeight > <?php echo $image_height; ?>) {
|
2503 |
bwg_popup_current_height = <?php echo $image_height; ?>;
|
2504 |
}
|
2505 |
<?php
|
2544 |
jQuery(".bwg_fullscreen").attr("class", "bwg_ctrl_btn bwg_fullscreen fa fa-fullscreen");
|
2545 |
jQuery(".bwg_fullscreen").attr("title", "<?php echo __('Fullscreen', BWG()->prefix); ?>");
|
2546 |
if (jQuery("#spider_popup_wrap").width() < jQuery(window).width()) {
|
2547 |
+
if (jQuery("#spider_popup_wrap").height() < window.innerHeight) {
|
2548 |
jQuery(".spider_popup_close_fullscreen").attr("class", "spider_popup_close");
|
2549 |
}
|
2550 |
}
|
2641 |
echo "bwg_preload_images(parseInt(jQuery('#bwg_current_image_key').val()));";
|
2642 |
}
|
2643 |
?>
|
2644 |
+
jQuery('#bwg_popup_image img').on('load',function() {
|
2645 |
+
bwg_load_filmstrip();
|
2646 |
+
});
|
2647 |
+
|
2648 |
+
/* load filmstrip not visible images */
|
2649 |
+
function bwg_load_filmstrip() {
|
2650 |
+
for(var i = 1; i <= total_thumbnail_count; i++) {
|
2651 |
+
leftIndex = startPoint - i;
|
2652 |
+
rightIndex = endPoint + i;
|
2653 |
+
|
2654 |
+
if ( rightIndex < total_thumbnail_count ) { /!* check if right index is greater than max index *!/
|
2655 |
+
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + rightIndex + " img");
|
2656 |
+
filmstrip_image.removeClass('hidden');
|
2657 |
+
filmstrip_image.attr('src', filmstrip_image.data('url'));
|
2658 |
+
}
|
2659 |
+
/!* Left from key indexes *!/
|
2660 |
+
if ( leftIndex >= 0 ) {
|
2661 |
+
var filmstrip_image = jQuery("#bwg_filmstrip_thumbnail_" + leftIndex + " img");
|
2662 |
+
filmstrip_image.removeClass('hidden');
|
2663 |
+
filmstrip_image.attr('src', filmstrip_image.data('url'));
|
2664 |
+
}
|
2665 |
+
|
2666 |
+
}
|
2667 |
+
|
2668 |
+
}
|
2669 |
jQuery(".bwg_popup_image").removeAttr("width");
|
2670 |
jQuery(".bwg_popup_image").removeAttr("height");
|
2671 |
/* }); */
|
2695 |
<?php
|
2696 |
die();
|
2697 |
}
|
2698 |
+
|
2699 |
+
private function loading() {
|
2700 |
+
?>
|
2701 |
+
<div class="bwg-loading hidden"></div>
|
2702 |
+
<?php
|
2703 |
+
}
|
2704 |
+
|
2705 |
}
|
frontend/views/BWGViewImage_browser.php
CHANGED
@@ -64,7 +64,17 @@ class BWGViewImage_browser {
|
|
64 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
65 |
'watermark_type' => $params['watermark_type'],
|
66 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
67 |
-
'tags' => (isset($params['tag']) ? $params['tag'] : 0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
);
|
69 |
if ( BWG()->is_pro ) {
|
70 |
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
64 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
65 |
'watermark_type' => $params['watermark_type'],
|
66 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
67 |
+
'tags' => (isset($params['tag']) ? $params['tag'] : 0),
|
68 |
+
'popup_enable_email' => $params['popup_enable_email'],
|
69 |
+
'popup_enable_captcha' => $params['popup_enable_captcha'],
|
70 |
+
'comment_moderation' => $params['comment_moderation'],
|
71 |
+
'autohide_lightbox_navigation' => $params['autohide_lightbox_navigation'],
|
72 |
+
'popup_enable_fullsize_image' => $params['popup_enable_fullsize_image'],
|
73 |
+
'popup_enable_download' => $params['popup_enable_download'],
|
74 |
+
'show_image_counts' => $params['show_image_counts'],
|
75 |
+
'enable_loop' => $params['enable_loop'],
|
76 |
+
'enable_addthis' => $params['enable_addthis'],
|
77 |
+
'addthis_profile_id' => $params['addthis_profile_id']
|
78 |
);
|
79 |
if ( BWG()->is_pro ) {
|
80 |
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
frontend/views/BWGViewSlideshow.php
CHANGED
@@ -1,28 +1,15 @@
|
|
1 |
<?php
|
2 |
-
class BWGViewSlideshow {
|
3 |
public function display($params, $from_shortcode = 0, $bwg = 0) {
|
4 |
-
|
5 |
-
|
6 |
-
$
|
7 |
-
$gallery_download = $params['gallery_download'];
|
8 |
-
|
9 |
-
$thumb_width = 0;
|
10 |
-
$thumb_height = 0;
|
11 |
-
$theme_id = $params['theme_id'];
|
12 |
-
$theme_row = WDWLibrary::get_theme_row_data($theme_id);
|
13 |
-
if (!$theme_row) {
|
14 |
-
echo WDWLibrary::message(__('There is no theme selected or the theme was deleted.', BWG()->prefix), 'wd_error');
|
15 |
-
return;
|
16 |
-
}
|
17 |
|
18 |
$filmstrip_direction = 'horizontal';
|
19 |
if ($theme_row->slideshow_filmstrip_pos == 'right' || $theme_row->slideshow_filmstrip_pos == 'left') {
|
20 |
$filmstrip_direction = 'vertical';
|
21 |
}
|
22 |
|
23 |
-
$gallery_id = $params['gallery_id'];
|
24 |
-
$sort_by = $params['sort_by'];
|
25 |
-
$order_by = $params['order_by'];
|
26 |
$slideshow_effect = $params['slideshow_effect'];
|
27 |
$enable_slideshow_autoplay = $params['enable_slideshow_autoplay'];
|
28 |
$enable_slideshow_shuffle = $params['enable_slideshow_shuffle'];
|
@@ -59,11 +46,7 @@ class BWGViewSlideshow {
|
|
59 |
}
|
60 |
$image_width = $params['slideshow_width'];
|
61 |
$image_height = $params['slideshow_height'];
|
62 |
-
$slideshow_interval = $params['slideshow_interval'];
|
63 |
-
$slideshow_effect_duration = $params['slideshow_effect_duration'];
|
64 |
|
65 |
-
$watermark_type = $params['watermark_type'];
|
66 |
-
$watermark_text = $params['watermark_text'];
|
67 |
$watermark_font_size = $params['watermark_font_size'];
|
68 |
$watermark_font = $params['watermark_font'];
|
69 |
$watermark_color = $params['watermark_color'];
|
@@ -74,27 +57,6 @@ class BWGViewSlideshow {
|
|
74 |
$watermark_width = $params['watermark_width'];
|
75 |
$watermark_height = $params['watermark_height'];
|
76 |
|
77 |
-
$gallery_row = WDWLibrary::get_gallery_row_data($gallery_id);
|
78 |
-
if (!$gallery_row && $params["tag"] == 0) {
|
79 |
-
echo WDWLibrary::message(__('There is no gallery selected or the gallery was deleted.', BWG()->prefix), 'wd_error');
|
80 |
-
return;
|
81 |
-
}
|
82 |
-
|
83 |
-
$image_rows = WDWLibrary::get_image_rows_data($gallery_id, $bwg, 'slideshow', '', $params['tag'], '', '', $sort_by, $order_by);
|
84 |
-
$image_rows = $image_rows['images'];
|
85 |
-
$images_count = count($image_rows);
|
86 |
-
|
87 |
-
if (!$images_count) {
|
88 |
-
if ($params['tag']) {
|
89 |
-
echo WDWLibrary::message(__('There are no images.', BWG()->prefix), 'wd_error');
|
90 |
-
return;
|
91 |
-
}
|
92 |
-
else {
|
93 |
-
echo WDWLibrary::message(__('There are no images in this gallery.', BWG()->prefix), 'wd_error');
|
94 |
-
return;
|
95 |
-
}
|
96 |
-
}
|
97 |
-
|
98 |
$current_image_id = ($image_rows ? $image_rows[0]->id : 0);
|
99 |
$play_pause_button_display = 'undefined';
|
100 |
$filmstrip_thumb_margin = $theme_row->slideshow_filmstrip_thumb_margin;
|
@@ -130,37 +92,21 @@ class BWGViewSlideshow {
|
|
130 |
$width_or_height = 'height';
|
131 |
$outerWidth_or_outerHeight = 'outerHeight';
|
132 |
}
|
|
|
133 |
$inline_style = $this->inline_styles($bwg, $theme_row, $params, $image_width, $image_height, $filmstrip_direction, $slideshow_filmstrip_height, BWG()->options, $left_or_top, $width_or_height, $filmstrip_thumb_margin_hor, $slideshow_filmstrip_width, $image_rows, $watermark_position, $slideshow_title_position, $slideshow_description_position, $watermark_height, $watermark_width, $watermark_opacity, $watermark_font_size, $watermark_font, $watermark_color, $enable_slideshow_filmstrip);
|
134 |
-
if (BWG()->options->use_inline_stiles_and_scripts) {
|
135 |
-
wp_enqueue_style('bwg_frontend');
|
136 |
wp_add_inline_style('bwg_frontend', $inline_style);
|
137 |
-
|
138 |
-
|
139 |
-
wp_enqueue_style('bwg_googlefonts');
|
140 |
-
if ($params['thumb_click_action'] == 'open_lightbox') {
|
141 |
-
if (!wp_script_is('bwg_mCustomScrollbar', 'done')) {
|
142 |
-
wp_print_scripts('bwg_mCustomScrollbar');
|
143 |
-
}
|
144 |
-
if (!wp_script_is('jquery-fullscreen', 'done')) {
|
145 |
-
wp_print_scripts('jquery-fullscreen');
|
146 |
-
}
|
147 |
-
if (!wp_script_is('bwg_gallery_box', 'done')) {
|
148 |
-
wp_print_scripts('bwg_gallery_box');
|
149 |
-
}
|
150 |
-
if ( BWG()->is_pro && !wp_script_is('bwg_raty', 'done')) {
|
151 |
-
wp_print_scripts('bwg_raty');
|
152 |
-
}
|
153 |
-
}
|
154 |
-
if (!wp_script_is('bwg_frontend', 'done')) {
|
155 |
-
wp_print_scripts('bwg_frontend');
|
156 |
}
|
157 |
-
if (!wp_script_is('bwg_jquery_mobile', 'done')) {
|
158 |
wp_print_scripts('bwg_jquery_mobile');
|
159 |
}
|
160 |
}
|
161 |
else {
|
162 |
echo '<style>' . $inline_style . '</style>';
|
163 |
}
|
|
|
164 |
?>
|
165 |
<script>
|
166 |
var data_<?php echo $bwg; ?> = [];
|
@@ -186,383 +132,304 @@ class BWGViewSlideshow {
|
|
186 |
data_<?php echo $bwg; ?>["<?php echo $key; ?>"]["is_embed_video"] = "<?php echo (((preg_match('/EMBED/',$image_row->filetype)==1) && (preg_match('/_VIDEO/',$image_row->filetype)==1)) ? true :false); ?>";
|
187 |
<?php
|
188 |
}
|
189 |
-
?>
|
190 |
</script>
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
$
|
215 |
-
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
}
|
219 |
else {
|
220 |
-
$play_pause_button_display = '';
|
221 |
-
}
|
222 |
-
}
|
223 |
-
if (!$is_embed) {
|
224 |
-
$thumb_path_url = htmlspecialchars_decode(ABSPATH . BWG()->upload_dir . $image_row->thumb_url, ENT_COMPAT | ENT_QUOTES);
|
225 |
-
$thumb_path_url = explode('?bwg', $thumb_path_url);
|
226 |
-
list($image_thumb_width, $image_thumb_height) = getimagesize($thumb_path_url[0]);
|
227 |
-
}
|
228 |
-
else {
|
229 |
-
/*$image_thumb_width = $slideshow_filmstrip_width;
|
230 |
-
$image_thumb_height = $slideshow_filmstrip_height;*/
|
231 |
-
if($image_row->resolution != '') {
|
232 |
-
if (!$is_embed_instagram) {
|
233 |
-
$resolution_arr = explode(" ",$image_row->resolution);
|
234 |
-
$resolution_w = intval($resolution_arr[0]);
|
235 |
-
$resolution_h = intval($resolution_arr[2]);
|
236 |
-
if($resolution_w != 0 && $resolution_h != 0){
|
237 |
-
$scale = $scale = max($slideshow_filmstrip_width / $resolution_w, $slideshow_filmstrip_height / $resolution_h);
|
238 |
-
$image_thumb_width = $resolution_w * $scale;
|
239 |
-
$image_thumb_height = $resolution_h * $scale;
|
240 |
-
}
|
241 |
-
else{
|
242 |
-
$image_thumb_width = $slideshow_filmstrip_width;
|
243 |
-
$image_thumb_height = $slideshow_filmstrip_height;
|
244 |
-
}
|
245 |
-
}
|
246 |
-
else {
|
247 |
-
// this will be ok while instagram thumbnails width and height are the same
|
248 |
-
$image_thumb_width = min($slideshow_filmstrip_width, $slideshow_filmstrip_height);
|
249 |
-
$image_thumb_height = $image_thumb_width;
|
250 |
-
}
|
251 |
-
}
|
252 |
-
else{
|
253 |
$image_thumb_width = $slideshow_filmstrip_width;
|
254 |
$image_thumb_height = $slideshow_filmstrip_height;
|
255 |
}
|
256 |
}
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
?>
|
263 |
-
<div id="bwg_filmstrip_thumbnail_<?php echo $key; ?>_<?php echo $bwg; ?>" class="bwg_slideshow_filmstrip_thumbnail_<?php echo $bwg; ?> <?php echo (($image_row->id == $current_image_id) ? 'bwg_slideshow_thumb_active_' . $bwg : 'bwg_slideshow_thumb_deactive_' . $bwg); ?>">
|
264 |
-
<img style="width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" class="bwg_filmstrip_thumbnail_img bwg_slideshow_filmstrip_thumbnail_img_<?php echo $bwg; ?>" src="<?php echo ( $is_embed ? "" : site_url() . '/' . BWG()->upload_dir) . $image_row->thumb_url; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), '<?php echo $key; ?>', data_<?php echo $bwg; ?>)" image_id="<?php echo $image_row->id; ?>" image_key="<?php echo $key; ?>" alt="<?php echo $image_row->alt; ?>"/>
|
265 |
-
</div>
|
266 |
-
<?php
|
267 |
}
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
<div class="bwg_slideshow_filmstrip_right_<?php echo $bwg; ?>"><i class="fa <?php echo ($filmstrip_direction == 'horizontal'? 'fa-angle-right' : 'fa-angle-down'); ?>"></i></div>
|
272 |
-
</div>
|
273 |
-
<?php
|
274 |
-
}
|
275 |
-
else {
|
276 |
-
?>
|
277 |
-
<div class="bwg_slideshow_dots_container_<?php echo $bwg; ?>">
|
278 |
-
<div class="bwg_slideshow_dots_thumbnails_<?php echo $bwg; ?>">
|
279 |
-
<?php
|
280 |
-
foreach ($image_rows as $key => $image_row) {
|
281 |
-
if ($image_row->id == $current_image_id) {
|
282 |
-
$current_pos = $key * ($slideshow_filmstrip_width + 2);
|
283 |
-
$current_key = $key;
|
284 |
}
|
285 |
-
?>
|
286 |
-
<span id="bwg_dots_<?php echo $key; ?>_<?php echo $bwg; ?>" class="bwg_slideshow_dots_<?php echo $bwg; ?> <?php echo (($image_row->id == $current_image_id) ? 'bwg_slideshow_dots_active_' . $bwg : 'bwg_slideshow_dots_deactive_' . $bwg); ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), '<?php echo $key; ?>', data_<?php echo $bwg; ?>)" image_id="<?php echo $image_row->id; ?>" image_key="<?php echo $key; ?>"></span>
|
287 |
-
<?php
|
288 |
}
|
289 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
</div>
|
|
|
|
|
|
|
291 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
<?php
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
}
|
318 |
-
else{
|
319 |
-
|
320 |
-
<?php echo $is_embed_instagram_video ? '<span class="bwg_inst_play_btn_cont" onclick="bwg_play_instagram_video(this)" ><span class="bwg_inst_play"></span></span>' : '';
|
321 |
-
if($is_embed_instagram_post) {
|
322 |
-
$post_width = $image_width - ($filmstrip_direction == 'vertical' ? $slideshow_filmstrip_width : 0);
|
323 |
-
$post_height = $image_height - ($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_height : 0);
|
324 |
-
if ($post_height < $post_width + 88) {
|
325 |
-
$post_width = $post_height - 88;
|
326 |
-
}
|
327 |
-
else {
|
328 |
-
$post_height = $post_width + 88;
|
329 |
-
}
|
330 |
-
|
331 |
-
$instagram_post_width = $post_width;
|
332 |
-
$instagram_post_height = $post_height;
|
333 |
-
$image_resolution = explode(' x ', $image_row->resolution);
|
334 |
-
if (is_array($image_resolution)) {
|
335 |
-
$instagram_post_width = $image_resolution[0];
|
336 |
-
$instagram_post_height = explode(' ', $image_resolution[1]);
|
337 |
-
$instagram_post_height = $instagram_post_height[0];
|
338 |
-
}
|
339 |
-
|
340 |
-
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class' => "bwg_embed_frame_" . $bwg, 'data-width' => $instagram_post_width, 'data-height' => $instagram_post_height, 'frameborder' => "0", 'style' => "width:" . $post_width . "px; height:" . $post_height . "px; vertical-align:middle; display:inline-block; position:relative;"));
|
341 |
-
}
|
342 |
-
else {
|
343 |
-
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame_".$bwg, 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle; display:table-cell;"));
|
344 |
-
}
|
345 |
-
?>
|
346 |
-
</span>
|
347 |
-
<?php
|
348 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
?>
|
350 |
</span>
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
</span>
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
}
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
$post_width = $post_height - 88;
|
380 |
-
}
|
381 |
-
else{
|
382 |
-
$post_height = $post_width + 88;
|
383 |
-
}
|
384 |
-
$instagram_post_width = $post_width;
|
385 |
-
$instagram_post_height = $post_height;
|
386 |
-
$image_resolution = explode(' x ', $image_row->resolution);
|
387 |
-
if (is_array($image_resolution)) {
|
388 |
-
$instagram_post_width = $image_resolution[0];
|
389 |
-
$instagram_post_height = explode(' ', $image_resolution[1]);
|
390 |
-
$instagram_post_height = $instagram_post_height[0];
|
391 |
-
}
|
392 |
-
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame_".$bwg, 'data-width' => $instagram_post_width, 'data-height' => $instagram_post_height, 'frameborder'=>"0", 'style'=>"width:".$post_width."px; height:".$post_height."px; vertical-align:middle; display:inline-block; position:relative;"));
|
393 |
-
}
|
394 |
-
else{
|
395 |
-
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame_".$bwg, 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle; display:table-cell;"));
|
396 |
-
}
|
397 |
-
?>
|
398 |
-
</span>
|
399 |
-
<?php
|
400 |
}
|
|
|
|
|
|
|
|
|
|
|
401 |
?>
|
402 |
</span>
|
403 |
-
|
|
|
|
|
404 |
</span>
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
?>
|
409 |
-
</div>
|
410 |
-
</div>
|
411 |
-
</div>
|
412 |
-
<?php
|
413 |
-
if ($enable_slideshow_ctrl) {
|
414 |
-
?>
|
415 |
-
<a id="spider_slideshow_left_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + data_<?php echo $bwg; ?>.length - bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_left-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_prev_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-left"></i></span></span></a>
|
416 |
-
<span id="bwg_slideshow_play_pause_<?php echo $bwg; ?>" style="display: <?php echo $play_pause_button_display; ?>;"><span><span id="bwg_slideshow_play_pause-ico_<?php echo $bwg; ?>"><i class="bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-play"></i></span></span></span>
|
417 |
-
<a id="spider_slideshow_right_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_right-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_next_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-right"></i></span></span></a>
|
418 |
-
<?php
|
419 |
}
|
|
|
420 |
?>
|
421 |
-
</div>
|
422 |
-
<?php
|
423 |
-
if ($watermark_type != 'none') {
|
424 |
-
?>
|
425 |
-
<div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
|
426 |
-
<div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
|
427 |
-
<div style="display:table; margin:0 auto;">
|
428 |
-
<span class="bwg_slideshow_watermark_spun_<?php echo $bwg; ?>" id="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
|
429 |
-
<?php
|
430 |
-
if ($watermark_type == 'image') {
|
431 |
-
?>
|
432 |
-
<a href="<?php echo urldecode($watermark_link); ?>" target="_blank">
|
433 |
-
<img class="bwg_slideshow_watermark_image_<?php echo $bwg; ?> bwg_slideshow_watermark_<?php echo $bwg; ?>" src="<?php echo urldecode($watermark_url); ?>" />
|
434 |
-
</a>
|
435 |
-
<?php
|
436 |
-
}
|
437 |
-
elseif ($watermark_type == 'text') {
|
438 |
-
?>
|
439 |
-
<a class="bwg_none_selectable_<?php echo $bwg; ?> bwg_slideshow_watermark_text_<?php echo $bwg; ?> bwg_slideshow_watermark_<?php echo $bwg; ?>" target="_blank" href="<?php echo urldecode($watermark_link); ?>"><?php echo $watermark_text; ?></a>
|
440 |
-
<?php
|
441 |
-
}
|
442 |
-
?>
|
443 |
-
</span>
|
444 |
-
</div>
|
445 |
</div>
|
446 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
447 |
<?php
|
448 |
}
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
</div>
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
</div>
|
475 |
-
</
|
476 |
</div>
|
477 |
-
<?php
|
478 |
-
}
|
479 |
-
if ($enable_slideshow_music) {
|
480 |
-
?>
|
481 |
-
<audio id="bwg_audio_<?php echo $bwg; ?>" src="<?php echo $slideshow_music_url ?>" loop volume="1.0"></audio>
|
482 |
-
<?php
|
483 |
-
}
|
484 |
-
?>
|
485 |
</div>
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
<div
|
494 |
-
<
|
495 |
-
<
|
496 |
-
|
|
|
|
|
497 |
</div>
|
498 |
-
|
499 |
-
}
|
500 |
-
?>
|
501 |
-
<div id="bwg_spider_popup_loading_<?php echo $bwg; ?>" class="bwg_spider_popup_loading"></div>
|
502 |
-
<div id="spider_popup_overlay_<?php echo $bwg; ?>" class="spider_popup_overlay" onclick="spider_destroypopup(1000)"></div>
|
503 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
</div>
|
505 |
-
<script language="javascript" type="text/javascript" src="<?php echo BWG()->plugin_url . '/js/bwg_embed.js?ver=' . BWG()->plugin_version; ?>"></script>
|
506 |
<?php
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
'gallery_id' => $params['gallery_id'],
|
511 |
-
'theme_id' => $params['theme_id'],
|
512 |
-
'open_with_fullscreen' => $params['popup_fullscreen'],
|
513 |
-
'open_with_autoplay' => $params['popup_autoplay'],
|
514 |
-
'image_width' => $params['popup_width'],
|
515 |
-
'image_height' => $params['popup_height'],
|
516 |
-
'image_effect' => $params['popup_effect'],
|
517 |
-
'wd_sor' => $sort_by,
|
518 |
-
'wd_ord' => $order_by,
|
519 |
-
'enable_image_filmstrip' => $params['popup_enable_filmstrip'],
|
520 |
-
'image_filmstrip_height' => $params['popup_filmstrip_height'],
|
521 |
-
'enable_image_ctrl_btn' => $params['popup_enable_ctrl_btn'],
|
522 |
-
'enable_image_fullscreen' => $params['popup_enable_fullscreen'],
|
523 |
-
'popup_enable_info' => $params['popup_enable_info'],
|
524 |
-
'popup_info_always_show' => $params['popup_info_always_show'],
|
525 |
-
'popup_info_full_width' => $params['popup_info_full_width'],
|
526 |
-
'popup_hit_counter' => $params['popup_hit_counter'],
|
527 |
-
'popup_enable_rate' => $params['popup_enable_rate'],
|
528 |
-
'slideshow_interval' => $params['popup_interval'],
|
529 |
-
'enable_comment_social' => $params['popup_enable_comment'],
|
530 |
-
'enable_image_facebook' => $params['popup_enable_facebook'],
|
531 |
-
'enable_image_twitter' => $params['popup_enable_twitter'],
|
532 |
-
'enable_image_google' => $params['popup_enable_google'],
|
533 |
-
'enable_image_pinterest' => $params['popup_enable_pinterest'],
|
534 |
-
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
535 |
-
'watermark_type' => $params['watermark_type'],
|
536 |
-
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
537 |
-
'tags' => (isset($params['tag']) ? $params['tag'] : 0),
|
538 |
-
'thumb_width' => $thumb_width,
|
539 |
-
'thumb_height' => $thumb_height,
|
540 |
-
);
|
541 |
-
if ( BWG()->is_pro ) {
|
542 |
-
$current_url = (is_ssl() ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
543 |
-
$params_array['current_url'] = urlencode($current_url);;
|
544 |
-
$params_array['enable_image_ecommerce'] = $params['popup_enable_ecommerce'];
|
545 |
-
}
|
546 |
-
if ( $params['watermark_type'] != 'none' ) {
|
547 |
-
$params_array['watermark_link'] = $params['watermark_link'];
|
548 |
-
$params_array['watermark_opacity'] = $params['watermark_opacity'];
|
549 |
-
$params_array['watermark_position'] = $params['watermark_position'];
|
550 |
-
}
|
551 |
-
if ( $params['watermark_type'] == 'text' ) {
|
552 |
-
$params_array['watermark_text'] = $params['watermark_text'];
|
553 |
-
$params_array['watermark_font_size'] = $params['watermark_font_size'];
|
554 |
-
$params_array['watermark_font'] = $params['watermark_font'];
|
555 |
-
$params_array['watermark_color'] = $params['watermark_color'];
|
556 |
-
}
|
557 |
-
elseif ( $params['watermark_type'] == 'image' ) {
|
558 |
-
$params_array['watermark_url'] = $params['watermark_url'];
|
559 |
-
$params_array['watermark_width'] = $params['watermark_width'];
|
560 |
-
$params_array['watermark_height'] = $params['watermark_height'];
|
561 |
-
}
|
562 |
?>
|
563 |
-
|
564 |
var bwg_trans_in_progress_<?php echo $bwg; ?> = false;
|
565 |
-
var bwg_transition_duration_<?php echo $bwg; ?> = <?php echo (($slideshow_interval < 4) && ($slideshow_interval != 0)) ? ($slideshow_interval * 1000) / 4 : ($slideshow_effect_duration * 1000); ?>;
|
566 |
var bwg_playInterval_<?php echo $bwg; ?>;
|
567 |
/* Stop autoplay.*/
|
568 |
window.clearInterval(bwg_playInterval_<?php echo $bwg; ?>);
|
@@ -712,9 +579,26 @@ class BWGViewSlideshow {
|
|
712 |
}
|
713 |
return false;
|
714 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
715 |
/* For browsers that does not support transitions.*/
|
716 |
function bwg_fallback_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
|
717 |
-
|
|
|
|
|
|
|
|
|
718 |
}
|
719 |
function bwg_none_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
|
720 |
jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
|
@@ -726,32 +610,6 @@ class BWGViewSlideshow {
|
|
726 |
jQuery(".bwg_slideshow_dots_<?php echo $bwg; ?>").removeClass("bwg_slideshow_dots_active_<?php echo $bwg; ?>").addClass("bwg_slideshow_dots_deactive_<?php echo $bwg; ?>");
|
727 |
jQuery("#bwg_dots_" + bwg_current_key_<?php echo $bwg; ?> + "_<?php echo $bwg; ?>").removeClass("bwg_slideshow_dots_deactive_<?php echo $bwg; ?>").addClass("bwg_slideshow_dots_active_<?php echo $bwg; ?>");
|
728 |
}
|
729 |
-
function bwg_fade_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
|
730 |
-
/* Set active thumbnail.*/
|
731 |
-
jQuery(".bwg_slideshow_filmstrip_thumbnail_<?php echo $bwg; ?>").removeClass("bwg_slideshow_thumb_active_<?php echo $bwg; ?>").addClass("bwg_slideshow_thumb_deactive_<?php echo $bwg; ?>");
|
732 |
-
jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_<?php echo $bwg; ?> + "_<?php echo $bwg; ?>").removeClass("bwg_slideshow_thumb_deactive_<?php echo $bwg; ?>").addClass("bwg_slideshow_thumb_active_<?php echo $bwg; ?>");
|
733 |
-
jQuery(".bwg_slideshow_dots_<?php echo $bwg; ?>").removeClass("bwg_slideshow_dots_active_<?php echo $bwg; ?>").addClass("bwg_slideshow_dots_deactive_<?php echo $bwg; ?>");
|
734 |
-
|
1 |
<?php
|
2 |
+
class BWGViewSlideshow extends BWGViewSite {
|
3 |
public function display($params, $from_shortcode = 0, $bwg = 0) {
|
4 |
+
$theme_row = $params['theme_row'];
|
5 |
+
$image_rows = $params['image_rows'];
|
6 |
+
$image_rows = $image_rows['images'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
$filmstrip_direction = 'horizontal';
|
9 |
if ($theme_row->slideshow_filmstrip_pos == 'right' || $theme_row->slideshow_filmstrip_pos == 'left') {
|
10 |
$filmstrip_direction = 'vertical';
|
11 |
}
|
12 |
|
|
|
|
|
|
|
13 |
$slideshow_effect = $params['slideshow_effect'];
|
14 |
$enable_slideshow_autoplay = $params['enable_slideshow_autoplay'];
|
15 |
$enable_slideshow_shuffle = $params['enable_slideshow_shuffle'];
|
46 |
}
|
47 |
$image_width = $params['slideshow_width'];
|
48 |
$image_height = $params['slideshow_height'];
|
|
|
|
|
49 |
|
|
|
|
|
50 |
$watermark_font_size = $params['watermark_font_size'];
|
51 |
$watermark_font = $params['watermark_font'];
|
52 |
$watermark_color = $params['watermark_color'];
|
57 |
$watermark_width = $params['watermark_width'];
|
58 |
$watermark_height = $params['watermark_height'];
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
$current_image_id = ($image_rows ? $image_rows[0]->id : 0);
|
61 |
$play_pause_button_display = 'undefined';
|
62 |
$filmstrip_thumb_margin = $theme_row->slideshow_filmstrip_thumb_margin;
|
92 |
$width_or_height = 'height';
|
93 |
$outerWidth_or_outerHeight = 'outerHeight';
|
94 |
}
|
95 |
+
|
96 |
$inline_style = $this->inline_styles($bwg, $theme_row, $params, $image_width, $image_height, $filmstrip_direction, $slideshow_filmstrip_height, BWG()->options, $left_or_top, $width_or_height, $filmstrip_thumb_margin_hor, $slideshow_filmstrip_width, $image_rows, $watermark_position, $slideshow_title_position, $slideshow_description_position, $watermark_height, $watermark_width, $watermark_opacity, $watermark_font_size, $watermark_font, $watermark_color, $enable_slideshow_filmstrip);
|
97 |
+
if ( BWG()->options->use_inline_stiles_and_scripts ) {
|
|
|
98 |
wp_add_inline_style('bwg_frontend', $inline_style);
|
99 |
+
if ( !wp_script_is('bwg_embed', 'done') ) {
|
100 |
+
wp_print_scripts('bwg_embed');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
+
if ( !wp_script_is('bwg_jquery_mobile', 'done') ) {
|
103 |
wp_print_scripts('bwg_jquery_mobile');
|
104 |
}
|
105 |
}
|
106 |
else {
|
107 |
echo '<style>' . $inline_style . '</style>';
|
108 |
}
|
109 |
+
|
110 |
?>
|
111 |
<script>
|
112 |
var data_<?php echo $bwg; ?> = [];
|
132 |
data_<?php echo $bwg; ?>["<?php echo $key; ?>"]["is_embed_video"] = "<?php echo (((preg_match('/EMBED/',$image_row->filetype)==1) && (preg_match('/_VIDEO/',$image_row->filetype)==1)) ? true :false); ?>";
|
133 |
<?php
|
134 |
}
|
135 |
+
?>
|
136 |
</script>
|
137 |
+
<?php
|
138 |
+
ob_start();
|
139 |
+
?>
|
140 |
+
<div id="gal_front_form_<?php echo $bwg; ?>" class="bwg-hidden bwg_slideshow_image_wrap_<?php echo $bwg; ?>">
|
141 |
+
<?php
|
142 |
+
$current_pos = 0;
|
143 |
+
if ($enable_slideshow_filmstrip) {
|
144 |
+
?>
|
145 |
+
<div class="bwg_slideshow_filmstrip_container_<?php echo $bwg; ?>">
|
146 |
+
<div class="bwg_slideshow_filmstrip_left_<?php echo $bwg; ?>"><i class="fa <?php echo ($filmstrip_direction == 'horizontal'? 'fa-angle-left' : 'fa-angle-up'); ?>"></i></div>
|
147 |
+
<div class="bwg_slideshow_filmstrip_<?php echo $bwg; ?>">
|
148 |
+
<div class="bwg_slideshow_filmstrip_thumbnails_<?php echo $bwg; ?>">
|
149 |
+
<?php
|
150 |
+
foreach ($image_rows as $key => $image_row) {
|
151 |
+
if ($image_row->id == $current_image_id) {
|
152 |
+
$current_pos = $key * (($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_width : $slideshow_filmstrip_height) + $filmstrip_thumb_margin_hor);
|
153 |
+
$current_key = $key;
|
154 |
+
}
|
155 |
+
$is_embed = preg_match('/EMBED/', $image_row->filetype) == 1 ? true :false;
|
156 |
+
$is_embed_video = ($is_embed && preg_match('/_VIDEO/', $image_row->filetype) == 1) ? true : false;
|
157 |
+
$is_embed_instagram = preg_match('/EMBED_OEMBED_INSTAGRAM/', $image_row->filetype) == 1 ? true : false;
|
158 |
+
if ($play_pause_button_display === 'undefined') {
|
159 |
+
if ($is_embed_video) {
|
160 |
+
$play_pause_button_display = 'none';
|
161 |
+
}
|
162 |
+
else {
|
163 |
+
$play_pause_button_display = '';
|
164 |
+
}
|
165 |
+
}
|
166 |
+
if (!$is_embed) {
|
167 |
+
$thumb_path_url = htmlspecialchars_decode(ABSPATH . BWG()->upload_dir . $image_row->thumb_url, ENT_COMPAT | ENT_QUOTES);
|
168 |
+
$thumb_path_url = explode('?bwg', $thumb_path_url);
|
169 |
+
list($image_thumb_width, $image_thumb_height) = getimagesize($thumb_path_url[0]);
|
170 |
+
}
|
171 |
+
else {
|
172 |
+
if ($image_row->resolution != '') {
|
173 |
+
if (!$is_embed_instagram) {
|
174 |
+
$resolution_arr = explode(" ",$image_row->resolution);
|
175 |
+
$resolution_w = intval($resolution_arr[0]);
|
176 |
+
$resolution_h = intval($resolution_arr[2]);
|
177 |
+
if ($resolution_w != 0 && $resolution_h != 0){
|
178 |
+
$scale = $scale = max($slideshow_filmstrip_width / $resolution_w, $slideshow_filmstrip_height / $resolution_h);
|
179 |
+
$image_thumb_width = $resolution_w * $scale;
|
180 |
+
$image_thumb_height = $resolution_h * $scale;
|
181 |
}
|
182 |
else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
$image_thumb_width = $slideshow_filmstrip_width;
|
184 |
$image_thumb_height = $slideshow_filmstrip_height;
|
185 |
}
|
186 |
}
|
187 |
+
else {
|
188 |
+
// this will be ok while instagram thumbnails width and height are the same
|
189 |
+
$image_thumb_width = min($slideshow_filmstrip_width, $slideshow_filmstrip_height);
|
190 |
+
$image_thumb_height = $image_thumb_width;
|
191 |
+
}
|
|
|
|
|
|
|
|
|
|
|
192 |
}
|
193 |
+
else {
|
194 |
+
$image_thumb_width = $slideshow_filmstrip_width;
|
195 |
+
$image_thumb_height = $slideshow_filmstrip_height;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
}
|
|
|
|
|
|
|
197 |
}
|
198 |
+
$scale = max($slideshow_filmstrip_width / $image_thumb_width, $slideshow_filmstrip_height / $image_thumb_height);
|
199 |
+
$image_thumb_width *= $scale;
|
200 |
+
$image_thumb_height *= $scale;
|
201 |
+
$thumb_left = ($slideshow_filmstrip_width - $image_thumb_width) / 2;
|
202 |
+
$thumb_top = ($slideshow_filmstrip_height - $image_thumb_height) / 2;
|
203 |
+
?>
|
204 |
+
<div id="bwg_filmstrip_thumbnail_<?php echo $key; ?>_<?php echo $bwg; ?>" class="bwg_slideshow_filmstrip_thumbnail_<?php echo $bwg; ?> <?php echo (($image_row->id == $current_image_id) ? 'bwg_slideshow_thumb_active_' . $bwg : 'bwg_slideshow_thumb_deactive_' . $bwg); ?>">
|
205 |
+
<img style="width:<?php echo $image_thumb_width; ?>px; height:<?php echo $image_thumb_height; ?>px; margin-left: <?php echo $thumb_left; ?>px; margin-top: <?php echo $thumb_top; ?>px;" class="bwg_filmstrip_thumbnail_img bwg_slideshow_filmstrip_thumbnail_img_<?php echo $bwg; ?>" src="<?php echo ( $is_embed ? "" : site_url() . '/' . BWG()->upload_dir) . $image_row->thumb_url; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), '<?php echo $key; ?>', data_<?php echo $bwg; ?>)" image_id="<?php echo $image_row->id; ?>" image_key="<?php echo $key; ?>" alt="<?php echo $image_row->alt; ?>"/>
|
206 |
</div>
|
207 |
+
<?php
|
208 |
+
}
|
209 |
+
?>
|
210 |
</div>
|
211 |
+
</div>
|
212 |
+
<div class="bwg_slideshow_filmstrip_right_<?php echo $bwg; ?>"><i class="fa <?php echo ($filmstrip_direction == 'horizontal'? 'fa-angle-right' : 'fa-angle-down'); ?>"></i></div>
|
213 |
+
</div>
|
214 |
+
<?php
|
215 |
+
}
|
216 |
+
else {
|
217 |
+
?>
|
218 |
+
<div class="bwg_slideshow_dots_container_<?php echo $bwg; ?>">
|
219 |
+
<div class="bwg_slideshow_dots_thumbnails_<?php echo $bwg; ?>">
|
220 |
<?php
|
221 |
+
foreach ($image_rows as $key => $image_row) {
|
222 |
+
if ($image_row->id == $current_image_id) {
|
223 |
+
$current_pos = $key * ($slideshow_filmstrip_width + 2);
|
224 |
+
$current_key = $key;
|
225 |
+
}
|
226 |
+
?>
|
227 |
+
<span id="bwg_dots_<?php echo $key; ?>_<?php echo $bwg; ?>" class="bwg_slideshow_dots_<?php echo $bwg; ?> <?php echo (($image_row->id == $current_image_id) ? 'bwg_slideshow_dots_active_' . $bwg : 'bwg_slideshow_dots_deactive_' . $bwg); ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), '<?php echo $key; ?>', data_<?php echo $bwg; ?>)" image_id="<?php echo $image_row->id; ?>" image_key="<?php echo $key; ?>"></span>
|
228 |
+
<?php
|
229 |
+
}
|
230 |
+
?>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
+
<?php
|
234 |
+
}
|
235 |
+
?>
|
236 |
+
<div id="bwg_slideshow_image_container_<?php echo $bwg; ?>" class="bwg_slideshow_image_container_<?php echo $bwg; ?>">
|
237 |
+
<div class="bwg_slide_container_<?php echo $bwg; ?>">
|
238 |
+
<div class="bwg_slide_bg_<?php echo $bwg; ?>">
|
239 |
+
<div class="bwg_slider_<?php echo $bwg; ?>">
|
240 |
+
<?php
|
241 |
+
foreach ($image_rows as $key => $image_row) {
|
242 |
+
$is_embed = preg_match('/EMBED/',$image_row->filetype)==1 ? true :false;
|
243 |
+
$is_embed_instagram_post = preg_match('/INSTAGRAM_POST/',$image_row->filetype)==1 ? true :false;
|
244 |
+
$is_embed_instagram_video = preg_match('/INSTAGRAM_VIDEO/', $image_row->filetype) == 1 ? true :false;
|
245 |
+
if ($image_row->id == $current_image_id) {
|
246 |
+
$current_key = $key;
|
247 |
+
?>
|
248 |
+
<span class="bwg_slideshow_image_spun_<?php echo $bwg; ?>" id="image_id_<?php echo $bwg; ?>_<?php echo $image_row->id; ?>">
|
249 |
+
<span class="bwg_slideshow_image_spun1_<?php echo $bwg; ?>">
|
250 |
+
<span class="bwg_slideshow_image_spun2_<?php echo $bwg; ?>">
|
251 |
+
<?php
|
252 |
+
if (!$is_embed) {
|
253 |
+
?>
|
254 |
+
<a <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? (' class="bwg_lightbox"' . (BWG()->options->enable_seo ? ' href="' . ($is_embed ? $image_row->thumb_url : site_url() . '/' . BWG()->upload_dir . $image_row->image_url) . '"' : '') . ' data-image-id="' . $image_row->id . '"') : ($params['thumb_click_action'] == 'redirect_to_url' && $image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
255 |
+
<img id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slide bwg_slideshow_image_<?php echo $bwg; ?>" src="<?php echo site_url() . '/' . BWG()->upload_dir . $image_row->image_url; ?>" image_id="<?php echo $image_row->id; ?>" alt="<?php echo $image_row->alt; ?>"/>
|
256 |
+
</a>
|
257 |
+
<?php
|
258 |
+
}
|
259 |
+
else{ /*$is_embed*/?>
|
260 |
+
<span id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slideshow_embed_<?php echo $bwg; ?>" image_id="<?php echo $image_row->id; ?>">
|
261 |
+
<?php echo $is_embed_instagram_video ? '<span class="bwg_inst_play_btn_cont" onclick="bwg_play_instagram_video(this)" ><span class="bwg_inst_play"></span></span>' : '';
|
262 |
+
if ($is_embed_instagram_post) {
|
263 |
+
$post_width = $image_width - ($filmstrip_direction == 'vertical' ? $slideshow_filmstrip_width : 0);
|
264 |
+
$post_height = $image_height - ($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_height : 0);
|
265 |
+
if ($post_height < $post_width + 88) {
|
266 |
+
$post_width = $post_height - 88;
|
267 |
}
|
268 |
+
else {
|
269 |
+
$post_height = $post_width + 88;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
}
|
271 |
+
$instagram_post_width = $post_width;
|
272 |
+
$instagram_post_height = $post_height;
|
273 |
+
$image_resolution = explode(' x ', $image_row->resolution);
|
274 |
+
if (is_array($image_resolution)) {
|
275 |
+
$instagram_post_width = $image_resolution[0];
|
276 |
+
$instagram_post_height = explode(' ', $image_resolution[1]);
|
277 |
+
$instagram_post_height = $instagram_post_height[0];
|
278 |
+
}
|
279 |
+
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class' => "bwg_embed_frame_" . $bwg, 'data-width' => $instagram_post_width, 'data-height' => $instagram_post_height, 'frameborder' => "0", 'style' => "width:" . $post_width . "px; height:" . $post_height . "px; vertical-align:middle; display:inline-block; position:relative;"));
|
280 |
+
}
|
281 |
+
else {
|
282 |
+
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame_".$bwg, 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle; display:table-cell;"));
|
283 |
+
}
|
284 |
?>
|
285 |
</span>
|
286 |
+
<?php
|
287 |
+
}
|
288 |
+
?>
|
289 |
</span>
|
290 |
+
</span>
|
291 |
+
</span>
|
292 |
+
<span class="bwg_slideshow_image_second_spun_<?php echo $bwg; ?>">
|
293 |
+
</span>
|
294 |
+
<input type="hidden" id="bwg_current_image_key_<?php echo $bwg; ?>" value="<?php echo $key; ?>" />
|
295 |
+
<?php
|
296 |
+
break;
|
297 |
+
}
|
298 |
+
else {
|
299 |
+
?>
|
300 |
+
<span class="bwg_slideshow_image_second_spun_<?php echo $bwg; ?>" id="image_id_<?php echo $bwg; ?>_<?php echo $image_row->id; ?>">
|
301 |
+
<span class="bwg_slideshow_image_spun1_<?php echo $bwg; ?>">
|
302 |
+
<span class="bwg_slideshow_image_spun2_<?php echo $bwg; ?>">
|
303 |
+
<?php
|
304 |
+
if (!$is_embed) {
|
305 |
+
?>
|
306 |
+
<a <?php echo ($params['thumb_click_action'] == 'open_lightbox' ? (' class="bwg_lightbox_' . $bwg . '"' . (BWG()->options->enable_seo ? ' href="' . ($is_embed ? $image_row->thumb_url : site_url() . '/' . BWG()->upload_dir . $image_row->image_url) . '"' : '') . ' data-image-id="' . $image_row->id . '"') : ($params['thumb_click_action'] == 'redirect_to_url' && $image_row->redirect_url ? 'href="' . $image_row->redirect_url . '" target="' . ($params['thumb_link_target'] ? '_blank' : '') . '"' : '')) ?>>
|
307 |
+
<img id="bwg_slideshow_image_<?php echo $bwg; ?>" class="bwg_slide bwg_slideshow_image_<?php echo $bwg; ?>" src="<?php echo site_url() . '/' . BWG()->upload_dir . $image_row->image_url; ?>" image_id="<?php echo $image_row->id; ?>" alt="<?php echo $image_row->alt; ?>"/>
|
308 |
+
</a>
|
309 |
+
<?php
|
310 |
+
}
|
311 |
+
else { /*$is_embed*/ ?>
|
312 |
+
<span class="bwg_slideshow_embed_<?php echo $bwg; ?>">
|
313 |
+
<?php
|
314 |
+
if($is_embed_instagram_post){
|
315 |
+
$post_width = $image_width - ($filmstrip_direction == 'vertical' ? $slideshow_filmstrip_width : 0);
|
316 |
+
$post_height = $image_height - ($filmstrip_direction == 'horizontal' ? $slideshow_filmstrip_height : 0);
|
317 |
+
if($post_height < $post_width + 88) {
|
318 |
+
$post_width = $post_height - 88;
|
319 |
+
}
|
320 |
+
else{
|
321 |
+
$post_height = $post_width + 88;
|
322 |
}
|
323 |
+
$instagram_post_width = $post_width;
|
324 |
+
$instagram_post_height = $post_height;
|
325 |
+
$image_resolution = explode(' x ', $image_row->resolution);
|
326 |
+
if (is_array($image_resolution)) {
|
327 |
+
$instagram_post_width = $image_resolution[0];
|
328 |
+
$instagram_post_height = explode(' ', $image_resolution[1]);
|
329 |
+
$instagram_post_height = $instagram_post_height[0];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
330 |
}
|
331 |
+
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame_".$bwg, 'data-width' => $instagram_post_width, 'data-height' => $instagram_post_height, 'frameborder'=>"0", 'style'=>"width:".$post_width."px; height:".$post_height."px; vertical-align:middle; display:inline-block; position:relative;"));
|
332 |
+
}
|
333 |
+
else{
|
334 |
+
WDWLibraryEmbed::display_embed($image_row->filetype, $image_row->image_url, $image_row->filename, array('class'=>"bwg_embed_frame_".$bwg, 'frameborder'=>"0", 'allowfullscreen'=>"allowfullscreen", 'style'=>"width:inherit; height:inherit; vertical-align:middle; display:table-cell;"));
|
335 |
+
}
|
336 |
?>
|
337 |
</span>
|
338 |
+
<?php
|
339 |
+
}
|
340 |
+
?>
|
341 |
</span>
|
342 |
+
</span>
|
343 |
+
</span>
|
344 |
+
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
}
|
346 |
+
}
|
347 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
</div>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
<?php
|
352 |
+
if ($enable_slideshow_ctrl) {
|
353 |
+
?>
|
354 |
+
<a id="spider_slideshow_left_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + data_<?php echo $bwg; ?>.length - bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_left-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_prev_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-left"></i></span></span></a>
|
355 |
+
<span id="bwg_slideshow_play_pause_<?php echo $bwg; ?>" style="display: <?php echo $play_pause_button_display; ?>;"><span><span id="bwg_slideshow_play_pause-ico_<?php echo $bwg; ?>"><i class="bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-play"></i></span></span></span>
|
356 |
+
<a id="spider_slideshow_right_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_right-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_next_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-right"></i></span></span></a>
|
357 |
<?php
|
358 |
}
|
359 |
+
?>
|
360 |
+
</div>
|
361 |
+
<?php
|
362 |
+
if ($params['watermark_type'] != 'none') {
|
363 |
+
?>
|
364 |
+
<div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
|
365 |
+
<div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
|
366 |
+
<div style="display:table; margin:0 auto;">
|
367 |
+
<span class="bwg_slideshow_watermark_spun_<?php echo $bwg; ?>" id="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
|
368 |
+
<?php
|
369 |
+
if ($params['watermark_type'] == 'image') {
|
370 |
+
?>
|
371 |
+
<a href="<?php echo urldecode($watermark_link); ?>" target="_blank">
|
372 |
+
<img class="bwg_slideshow_watermark_image_<?php echo $bwg; ?> bwg_slideshow_watermark_<?php echo $bwg; ?>" src="<?php echo urldecode($watermark_url); ?>" />
|
373 |
+
</a>
|
374 |
+
<?php
|
375 |
+
}
|
376 |
+
elseif ($params['watermark_type'] == 'text') {
|
377 |
+
?>
|
378 |
+
<a class="bwg_none_selectable_<?php echo $bwg; ?> bwg_slideshow_watermark_text_<?php echo $bwg; ?> bwg_slideshow_watermark_<?php echo $bwg; ?>" target="_blank" href="<?php echo urldecode($watermark_link); ?>"><?php echo $params['watermark_text']; ?></a>
|
379 |
+
<?php
|
380 |
+
}
|
381 |
+
?>
|
382 |
+
</span>
|
383 |
</div>
|
384 |
+
</div>
|
385 |
+
</div>
|
386 |
+
<?php
|
387 |
+
}
|
388 |
+
if ($enable_image_title) {
|
389 |
+
?>
|
390 |
+
<div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
|
391 |
+
<div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
|
392 |
+
<div style="display:table; margin:0 auto;">
|
393 |
+
<span class="bwg_slideshow_title_spun_<?php echo $bwg; ?>">
|
394 |
+
<div class="bwg_slideshow_title_text_<?php echo $bwg; ?>" style="<?php if (!$current_image_alt) echo 'display:none;'; ?>">
|
395 |
+
<?php echo html_entity_decode($current_image_alt); ?>
|
396 |
</div>
|
397 |
+
</span>
|
398 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
</div>
|
400 |
+
</div>
|
401 |
+
<?php
|
402 |
+
}
|
403 |
+
if ($enable_image_description) {
|
404 |
+
?>
|
405 |
+
<div class="bwg_slideshow_image_container_<?php echo $bwg; ?>" style="position: absolute;">
|
406 |
+
<div class="bwg_slideshow_watermark_container_<?php echo $bwg; ?>">
|
407 |
+
<div style="display:table; margin:0 auto;">
|
408 |
+
<span class="bwg_slideshow_description_spun_<?php echo $bwg; ?>">
|
409 |
+
<div class="bwg_slideshow_description_text_<?php echo $bwg; ?>" style="<?php if (!$current_image_description) echo 'display:none;'; ?>">
|
410 |
+
<?php echo html_entity_decode(str_replace("\r\n", esc_html('<br />'), $current_image_description)); ?>
|
411 |
+
</div>
|
412 |
+
</span>
|
413 |
</div>
|
414 |
+
</div>
|
|
|
|
|
|
|
|
|
415 |
</div>
|
416 |
+
<?php
|
417 |
+
}
|
418 |
+
if ($enable_slideshow_music) {
|
419 |
+
?>
|
420 |
+
<audio id="bwg_audio_<?php echo $bwg; ?>" src="<?php echo $slideshow_music_url ?>" loop volume="1.0"></audio>
|
421 |
+
<?php
|
422 |
+
}
|
423 |
+
?>
|
424 |
</div>
|
|
|
425 |
<?php
|
426 |
+
|
427 |
+
parent::display($params, $bwg, ob_get_clean());
|
428 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
?>
|
430 |
+
<script>
|
431 |
var bwg_trans_in_progress_<?php echo $bwg; ?> = false;
|
432 |
+
var bwg_transition_duration_<?php echo $bwg; ?> = <?php echo (($params['slideshow_interval'] < 4) && ($params['slideshow_interval'] != 0)) ? ($params['slideshow_interval'] * 1000) / 4 : ($params['slideshow_effect_duration'] * 1000); ?>;
|
433 |
var bwg_playInterval_<?php echo $bwg; ?>;
|
434 |
/* Stop autoplay.*/
|
435 |
window.clearInterval(bwg_playInterval_<?php echo $bwg; ?>);
|
579 |
}
|
580 |
return false;
|
581 |
}
|
582 |
+
|
583 |
+
bwg_param = {
|
584 |
+
bwg_current_key : bwg_current_key_<?php echo $bwg; ?>,
|
585 |
+
bwg_transition_duration : bwg_transition_duration_<?php echo $bwg; ?>,
|
586 |
+
bwg_trans_in_progress : false,
|
587 |
+
data : data_<?php echo $bwg; ?>,
|
588 |
+
};
|
589 |
+
|
590 |
+
if ( typeof bwg_params == "undefined" ) {
|
591 |
+
var bwg_params = [];
|
592 |
+
}
|
593 |
+
bwg_params[<?php echo $bwg; ?>] = bwg_param;
|
594 |
+
|
595 |
/* For browsers that does not support transitions.*/
|
596 |
function bwg_fallback_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
|
597 |
+
bwg_fade(current_image_class, next_image_class, direction, <?php echo $bwg; ?>);
|
598 |
+
}
|
599 |
+
/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/
|
600 |
+
function bwg_fallback3d_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
|
601 |
+
bwg_sliceV(current_image_class, next_image_class, direction, <?php echo $bwg; ?>);
|
602 |
}
|
603 |
function bwg_none_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
|
604 |
jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});
|
610 |
jQuery(".bwg_slideshow_dots_<?php echo $bwg; ?>").removeClass("bwg_slideshow_dots_active_<?php echo $bwg; ?>").addClass("bwg_slideshow_dots_deactive_<?php echo $bwg; ?>");
|
611 |
jQuery("#bwg_dots_" + bwg_current_key_<?php echo $bwg; ?> + "_<?php echo $bwg; ?>").removeClass("bwg_slideshow_dots_deactive_<?php echo $bwg; ?>").addClass("bwg_slideshow_dots_active_<?php echo $bwg; ?>");
|
612 |
}
|
|
|
|
|
|
|
|
|
|
|
|