Photo Gallery by WD – Responsive Photo Gallery - Version 1.5.58

Version Description

  • Improved: Admin pages UX/UI.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.5.58
Comparing to
See all releases

Code changes from version 1.5.54 to 1.5.58

Files changed (65) hide show
  1. admin/controllers/Options.php +1 -1
  2. admin/models/Uninstall.php +2 -0
  3. admin/views/AddTags.php +1 -0
  4. admin/views/AdminView.php +72 -50
  5. admin/views/Albums.php +15 -7
  6. admin/views/Albumsgalleries.php +1 -0
  7. admin/views/Galleries.php +23 -12
  8. admin/views/Options.php +253 -152
  9. admin/views/Shortcode.php +121 -40
  10. admin/views/Themes.php +11 -5
  11. css/bwg_shortcode.css +23 -50
  12. css/bwg_tables.css +1421 -497
  13. filemanager/view.php +3 -0
  14. framework/BWGOptions.php +1 -1
  15. framework/WDWLibrary.php +107 -7
  16. framework/howto/howto.php +1 -1
  17. frontend/models/BWGModelGalleryBox.php +2 -2
  18. frontend/models/model.php +48 -48
  19. frontend/views/BWGViewGalleryBox.php +1 -1
  20. images/album_compact_preview.jpg +0 -0
  21. images/album_compact_preview.svg +1 -0
  22. images/album_compact_preview_active.svg +1 -0
  23. images/album_extended_preview.jpg +0 -0
  24. images/album_extended_preview.svg +1 -0
  25. images/album_extended_preview_active.svg +1 -0
  26. images/album_masonry_preview.svg +1 -0
  27. images/album_masonry_preview_active.svg +1 -0
  28. images/blog_style.jpg +0 -0
  29. images/blog_style.svg +1 -0
  30. images/blog_style_active.svg +1 -0
  31. images/carousel.svg +1 -0
  32. images/carousel_active.svg +1 -0
  33. images/check-mark.svg +1 -0
  34. images/desktop.ini +2 -0
  35. images/gallery_list_img.png +0 -0
  36. images/icons/check-mark.svg +1 -0
  37. images/icons/one_arrow_next.svg +1 -0
  38. images/icons/one_arrow_prev.svg +1 -0
  39. images/icons/search_loop.svg +1 -0
  40. images/icons/two_arrow_next.svg +1 -0
  41. images/icons/two_arrow_prev.svg +1 -0
  42. images/image_browser.svg +1 -0
  43. images/image_browser_active.svg +1 -0
  44. images/question_mark.svg +1 -0
  45. images/slideshow.jpg +0 -0
  46. images/slideshow.svg +1 -0
  47. images/slideshow_active.svg +1 -0
  48. images/sorting_arrow.svg +5 -0
  49. images/thumbnails.svg +1 -0
  50. images/thumbnails_active.svg +1 -0
  51. images/thumbnails_masonry.jpg +0 -0
  52. images/thumbnails_masonry.svg +1 -0
  53. images/thumbnails_masonry_active.svg +1 -0
  54. images/thumbnails_mosaic.jpg +0 -0
  55. images/thumbnails_mosaic.svg +1 -0
  56. images/thumbnails_mosaic_active.svg +1 -0
  57. images/upgrade_to_pro_bg.png +0 -0
  58. images/upgrade_to_pro_blog_style.png +0 -0
  59. images/upgrade_to_pro_carousel.png +0 -0
  60. images/upgrade_to_pro_masonry.png +0 -0
  61. images/upgrade_to_pro_mosaic.png +0 -0
  62. js/bwg.js +84 -4
  63. js/bwg_shortcode.js +83 -30
  64. photo-gallery.php +16 -9
  65. readme.txt +12 -1
admin/controllers/Options.php CHANGED
@@ -45,7 +45,7 @@ class OptionsController_bwg {
45
  'monospace' => 'Monospace',
46
  'serif' => 'Serif',
47
  );
48
- $params['page_title'] = __('Edit options', BWG()->prefix);
49
  $params['active_tab'] = WDWLibrary::get('active_tab', 0, 'intval');
50
  $params['gallery_type'] = WDWLibrary::get('gallery_type', 'thumbnails');
51
  $params['album_type'] = WDWLibrary::get('album_type', 'album_compact_preview');
45
  'monospace' => 'Monospace',
46
  'serif' => 'Serif',
47
  );
48
+ $params['page_title'] = __('Global Settings', BWG()->prefix);
49
  $params['active_tab'] = WDWLibrary::get('active_tab', 0, 'intval');
50
  $params['gallery_type'] = WDWLibrary::get('gallery_type', 'thumbnails');
51
  $params['album_type'] = WDWLibrary::get('album_type', 'album_compact_preview');
admin/models/Uninstall.php CHANGED
@@ -67,6 +67,7 @@ class UninstallModel_bwg {
67
  $wpdb->query("DROP TABLE IF EXISTS `" . $table . "`");
68
  }
69
  delete_option("wd_bwg_version");
 
70
  delete_option("bwg_subscribe_done");
71
  delete_option("wd_bwg_options");
72
  delete_option('tenweb_notice_status');
@@ -80,5 +81,6 @@ class UninstallModel_bwg {
80
  if ( isset($_COOKIE['bwg_image_order_by']) ) {
81
  $_COOKIE['bwg_image_order_by'] = '';
82
  }
 
83
  }
84
  }
67
  $wpdb->query("DROP TABLE IF EXISTS `" . $table . "`");
68
  }
69
  delete_option("wd_bwg_version");
70
+ delete_option('wd_bwg_initial_version');
71
  delete_option("bwg_subscribe_done");
72
  delete_option("wd_bwg_options");
73
  delete_option('tenweb_notice_status');
81
  if ( isset($_COOKIE['bwg_image_order_by']) ) {
82
  $_COOKIE['bwg_image_order_by'] = '';
83
  }
84
+ do_action( 'bwg_uninstall_after' );
85
  }
86
  }
admin/views/AddTags.php CHANGED
@@ -49,6 +49,7 @@ class AddTagsView_bwg extends AdminView_bwg {
49
  'title' => $params['page_title'],
50
  'title_class' => 'wd-header',
51
  'add_new_button' => FALSE,
 
52
  )
53
  );
54
  $params['page_url'] = add_query_arg(array('image_id' => $image_id), $params['page_url']);
49
  'title' => $params['page_title'],
50
  'title_class' => 'wd-header',
51
  'add_new_button' => FALSE,
52
+ 'popup_window' => TRUE,
53
  )
54
  );
55
  $params['page_url'] = add_query_arg(array('image_id' => $image_id), $params['page_url']);
admin/views/AdminView.php CHANGED
@@ -9,6 +9,7 @@ class AdminView_bwg {
9
  public function __construct() {
10
  wp_enqueue_style(BWG()->prefix . '_tables');
11
  wp_enqueue_script(BWG()->prefix . '_admin');
 
12
  }
13
  /**
14
  * Generate form.
@@ -19,7 +20,6 @@ class AdminView_bwg {
19
  * @return string Form html.
20
  */
21
  protected function form($content = '', $attr = array()) {
22
- WDWLibrary::topbar();
23
  ob_start();
24
  // Form.
25
  $action = isset($attr['action']) ? esc_attr($attr['action']) : '';
@@ -54,6 +54,7 @@ class AdminView_bwg {
54
  <input id="current_id" name="current_id" type="hidden" value="<?php echo $current_id; ?>"/>
55
  </form>
56
  </div><?php
 
57
  return ob_get_clean();
58
  }
59
 
@@ -72,6 +73,9 @@ class AdminView_bwg {
72
  $title_value = !empty($params['title_value']) ? $params['title_value'] : '';
73
  $add_new_button = !empty($params['add_new_button']) ? $params['add_new_button'] : '';
74
  $how_to_button = !empty($params['how_to_button']) ? $params['how_to_button'] : false;
 
 
 
75
 
76
  $attributes = '';
77
  if ( !empty($add_new_button) && is_array($add_new_button) ) {
@@ -80,31 +84,47 @@ class AdminView_bwg {
80
  }
81
  }
82
  ob_start();
83
- ?><div class="wd-page-title <?php echo $title_class; ?>">
84
- <h1 class="wp-heading-inline"><?php echo $title; ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  <?php
86
- if ( $title_name || $title_id || $title_value ) {
87
- ?>
88
- <span>
89
- <input type="text" id="<?php echo $title_id; ?>" name="<?php echo $title_name; ?>" value="<?php echo $title_value; ?>" />
90
- </span>
91
- <?php
92
- }
93
- if ( $add_new_button ) {
94
- ?>
95
- <a class="page-title-action" <?php echo $attributes; ?>>
96
- <?php _e('Add New', BWG()->prefix); ?>
97
- </a>
98
- <?php
99
  }
100
  ?>
101
- </h1>
102
  <?php
103
- if ( $how_to_button ) {
104
- require BWG()->plugin_dir . '/framework/howto/howto.php';
105
- }
106
- ?>
107
- </div><?php
108
  return ob_get_clean();
109
  }
110
 
@@ -189,15 +209,16 @@ class AdminView_bwg {
189
  $search = WDWLibrary::get('s', '', 'esc_attr');
190
  ob_start();
191
  ?>
192
- <p class="search-box">
193
  <?php
194
  if (isset($params['sorting']) && $params['sorting']) {
195
  echo $this->sorting();
196
  }
197
  ?>
198
- <input name="s" value="<?php echo $search; ?>" type="search" onkeypress="return input_search(event, this)" />
199
- <input class="button" value="<?php echo __('Search', BWG()->prefix) . ' ' . ( !empty( $params['search_item_name'] ) ? $params['search_item_name'] : '' ); ?>" type="button" onclick="search(this)" />
200
- </p>
 
201
  <?php
202
  return ob_get_clean();
203
  }
@@ -242,53 +263,53 @@ class AdminView_bwg {
242
  ob_start();
243
  ?>
244
  <div class="tablenav-pages">
245
- <span class="displaying-num">
246
- <?php printf(_n('%s item', '%s items', $total, BWG()->prefix), $total); ?>
247
- </span>
248
  <?php
249
  if ( $total > $items_per_page ) {
250
  ?>
251
- <span class="pagination-links" data-pages-count="<?php echo $pages_count; ?>">
252
  <?php
253
  if ( $page_number == 1 ) {
254
  ?>
255
- <span class="tablenav-pages-navspan button disabled" aria-hidden="true">«</span>
256
- <span class="tablenav-pages-navspan button disabled" aria-hidden="true">‹</span>
257
  <?php
258
  }
259
  else {
260
  ?>
261
- <a data-paged="<?php echo 1; ?>" href="<?php echo add_query_arg(array('paged' => 1), $page_url); ?>" class="wd-page first-page button"><span class="screen-reader-text"><?php _e('First page', BWG()->prefix); ?></span><span aria-hidden="true">«</span></a>
262
- <a data-paged="<?php echo ($page_number == 1 ? 1 : ($page_number - 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number == 1 ? 1 : ($page_number - 1))), $page_url); ?>" class="wd-page previous-page button"><span class="screen-reader-text"><?php _e('Previous page', BWG()->prefix); ?></span><span aria-hidden="true">‹</span></a>
263
  <?php
264
  }
265
  ?>
266
- <span class="paging-input">
267
  <label for="current-page-selector" class="screen-reader-text"><?php _e('Current Page', BWG()->prefix); ?></label>
268
- <input type="text" class="current-page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return input_pagination(event, this)" size="1" />
269
  <span class="tablenav-paging-text">
270
  <?php _e('of', BWG()->prefix); ?>
271
  <span class="total-pages"><?php echo $pages_count; ?></span>
272
  </span>
273
- </span>
274
  <?php
275
  if ( $page_number >= $pages_count ) {
276
  ?>
277
- <span class="tablenav-pages-navspan button disabled" aria-hidden="true">›</span>
278
- <span class="tablenav-pages-navspan button disabled" aria-hidden="true">»</span>
279
  <?php
280
  }
281
  else {
282
  ?>
283
- <a data-paged="<?php echo ($page_number >= $pages_count ? $pages_count : ($page_number + 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number >= $pages_count ? $pages_count : ($page_number + 1))), $page_url); ?>" class="wd-page next-page button"><span class="screen-reader-text"><?php _e('Next page', BWG()->prefix); ?></span><span aria-hidden="true">›</span></a>
284
- <a data-paged="<?php echo $pages_count; ?>" href="<?php echo add_query_arg(array('paged' => $pages_count), $page_url); ?>" class="wd-page last-page button"><span class="screen-reader-text"><?php _e('Last page', BWG()->prefix); ?></span><span aria-hidden="true">»</span></a>
285
  <?php
286
  }
287
  ?>
288
- </span>
289
  <?php
290
  }
291
  ?>
 
 
 
292
  </div>
293
  <?php
294
 
@@ -309,14 +330,15 @@ class AdminView_bwg {
309
  ?>
310
  <div class="alignleft actions bulkactions">
311
  <?php
312
- if ( $select_all ) {
313
- ?>
314
- <span class="button wd-check-all" onclick="spider_check_all_items(event)">
315
- <input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox(event)" />
316
- <span><?php _e('Select All', BWG()->prefix); ?></span>
317
- </span>
318
- <?php
319
- }
 
320
  ?>
321
  <label for="bulk-action-selector-top" class="screen-reader-text"><?php _e('Select bulk action', BWG()->prefix); ?></label>
322
  <select name="<?php echo $name; ?>" id="bulk-action-selector-top">
9
  public function __construct() {
10
  wp_enqueue_style(BWG()->prefix . '_tables');
11
  wp_enqueue_script(BWG()->prefix . '_admin');
12
+ do_action( 'bwg_admin_scripts_after' );
13
  }
14
  /**
15
  * Generate form.
20
  * @return string Form html.
21
  */
22
  protected function form($content = '', $attr = array()) {
 
23
  ob_start();
24
  // Form.
25
  $action = isset($attr['action']) ? esc_attr($attr['action']) : '';
54
  <input id="current_id" name="current_id" type="hidden" value="<?php echo $current_id; ?>"/>
55
  </form>
56
  </div><?php
57
+ do_action( 'bwg_admin_view_form_after' );
58
  return ob_get_clean();
59
  }
60
 
73
  $title_value = !empty($params['title_value']) ? $params['title_value'] : '';
74
  $add_new_button = !empty($params['add_new_button']) ? $params['add_new_button'] : '';
75
  $how_to_button = !empty($params['how_to_button']) ? $params['how_to_button'] : false;
76
+ $buttons = !empty($params['buttons']) ? $params['buttons'] : false;
77
+ $add_new_button_text = !empty($params['add_new_button_text']) ? $params['add_new_button_text'] : 'Add new';
78
+ $popup_window = !empty($params['popup_window']) ? false : true;
79
 
80
  $attributes = '';
81
  if ( !empty($add_new_button) && is_array($add_new_button) ) {
84
  }
85
  }
86
  ob_start();
87
+ ?>
88
+ <div class="wd-list-view-header">
89
+ <div class="wd-list-view-header-left">
90
+ <div class="wd-page-title <?php echo $title_class; ?>">
91
+ <h1 class="wd-heading-inline"><?php echo $title; ?>
92
+ <?php
93
+ if ( $title_name || $title_id || $title_value ) {
94
+ ?>
95
+ <span>
96
+ <input type="text" id="<?php echo $title_id; ?>" name="<?php echo $title_name; ?>" value="<?php echo $title_value; ?>" />
97
+ </span>
98
+ <?php
99
+ }?>
100
+ </h1>
101
+ <?php WDWLibrary::user_guide_icon(); ?>
102
+ </div>
103
+ <div class="wd-list-view-header-buttons">
104
+ <?php
105
+ if ( $add_new_button ) {
106
+ ?>
107
+ <a class="page-title-action" <?php echo $attributes; ?>>
108
+ <?php _e( $add_new_button_text, BWG()->prefix); ?>
109
+ </a>
110
+ <?php
111
+ }
112
+ if ( $how_to_button ) {
113
+ require BWG()->plugin_dir . '/framework/howto/howto.php';
114
+ }
115
+ if( $buttons ){
116
+ echo $this->buttons($buttons, FALSE);
117
+ }
118
+ ?>
119
+ </div>
120
+ </div>
121
  <?php
122
+ if (!BWG()->is_pro && $popup_window ) {
123
+ WDWLibrary::topbar_upgrade_ask_question();
 
 
 
 
 
 
 
 
 
 
 
124
  }
125
  ?>
126
+ </div>
127
  <?php
 
 
 
 
 
128
  return ob_get_clean();
129
  }
130
 
209
  $search = WDWLibrary::get('s', '', 'esc_attr');
210
  ob_start();
211
  ?>
212
+ <div class="list-search-box">
213
  <?php
214
  if (isset($params['sorting']) && $params['sorting']) {
215
  echo $this->sorting();
216
  }
217
  ?>
218
+ <input name="s" value="<?php echo $search; ?>" type="search" onkeypress="return input_search(event, this)" placeholder="<?php _e('Search', BWG()->prefix); ?>" />
219
+ <?php // ToDo Search button comment is not deleted, it can be used again. ?>
220
+ <!-- <input class="button" value="--><?php //echo __('Search', BWG()->prefix) . ' ' . ( !empty( $params['search_item_name'] ) ? $params['search_item_name'] : '' ); ?><!--" type="button" onclick="search(this)" />-->
221
+ </div>
222
  <?php
223
  return ob_get_clean();
224
  }
263
  ob_start();
264
  ?>
265
  <div class="tablenav-pages">
 
 
 
266
  <?php
267
  if ( $total > $items_per_page ) {
268
  ?>
269
+ <div class="pagination-links" data-pages-count="<?php echo $pages_count; ?>">
270
  <?php
271
  if ( $page_number == 1 ) {
272
  ?>
273
+ <div class="bwg-disabled bwg-pagination-prev-all" aria-hidden="true"></div>
274
+ <div class="bwg-disabled bwg-pagination-prev" aria-hidden="true"></div>
275
  <?php
276
  }
277
  else {
278
  ?>
279
+ <a data-paged="<?php echo 1; ?>" href="<?php echo add_query_arg(array('paged' => 1), $page_url); ?>" class="bwg-pagination-a-link wd-page first-page"><span class="screen-reader-text"><?php _e('First page', BWG()->prefix); ?></span><span class="bwg-pagination-prev-all" aria-hidden="true"></span></a>
280
+ <a data-paged="<?php echo ($page_number == 1 ? 1 : ($page_number - 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number == 1 ? 1 : ($page_number - 1))), $page_url); ?>" class="bwg-pagination-a-link wd-page previous-page"><span class="screen-reader-text"><?php _e('Previous page', BWG()->prefix); ?></span><span class="bwg-pagination-prev" aria-hidden="true"></span></a>
281
  <?php
282
  }
283
  ?>
284
+ <div class="paging-input">
285
  <label for="current-page-selector" class="screen-reader-text"><?php _e('Current Page', BWG()->prefix); ?></label>
286
+ <input type="text" class="bwg-current-page current-page" name="current_page" value="<?php echo $page_number; ?>" onkeypress="return input_pagination(event, this)" size="1" />
287
  <span class="tablenav-paging-text">
288
  <?php _e('of', BWG()->prefix); ?>
289
  <span class="total-pages"><?php echo $pages_count; ?></span>
290
  </span>
291
+ </div>
292
  <?php
293
  if ( $page_number >= $pages_count ) {
294
  ?>
295
+ <div class="bwg-disabled bwg-pagination-next" aria-hidden="true"></div>
296
+ <div class="bwg-disabled bwg-pagination-next-all" aria-hidden="true"></div>
297
  <?php
298
  }
299
  else {
300
  ?>
301
+ <a data-paged="<?php echo ($page_number >= $pages_count ? $pages_count : ($page_number + 1)); ?>" href="<?php echo add_query_arg(array('paged' => ($page_number >= $pages_count ? $pages_count : ($page_number + 1))), $page_url); ?>" class="bwg-pagination-a-link wd-page next-page"><span class="screen-reader-text"><?php _e('Next page', BWG()->prefix); ?></span><span class="bwg-pagination-next" aria-hidden="true"></span></a>
302
+ <a data-paged="<?php echo $pages_count; ?>" href="<?php echo add_query_arg(array('paged' => $pages_count), $page_url); ?>" class="bwg-pagination-a-link wd-page last-page"><span class="screen-reader-text"><?php _e('Last page', BWG()->prefix); ?></span><span class="bwg-pagination-next-all" aria-hidden="true"></span></a>
303
  <?php
304
  }
305
  ?>
306
+ </div>
307
  <?php
308
  }
309
  ?>
310
+ <div class="displaying-num">
311
+ <?php printf(_n('%s item', '%s items', $total, BWG()->prefix), $total); ?>
312
+ </div>
313
  </div>
314
  <?php
315
 
330
  ?>
331
  <div class="alignleft actions bulkactions">
332
  <?php
333
+ // ToDo not show according to design, not deleted-it can be used again.
334
+ // if ( $select_all ) {
335
+ // ?>
336
+ <!-- <span class="button wd-check-all" onclick="spider_check_all_items(event)">-->
337
+ <!-- <input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox(event)" />-->
338
+ <!-- <span>--><?php //_e('Select All', BWG()->prefix); ?><!--</span>-->
339
+ <!-- </span>-->
340
+ <!-- --><?php
341
+ // }
342
  ?>
343
  <label for="bulk-action-selector-top" class="screen-reader-text"><?php _e('Select bulk action', BWG()->prefix); ?></label>
344
  <select name="<?php echo $name; ?>" id="bulk-action-selector-top">
admin/views/Albums.php CHANGED
@@ -41,6 +41,7 @@ class AlbumsView_bwg extends AdminView_bwg {
41
  'add_new_button' => array(
42
  'href' => add_query_arg(array( 'page' => $params['page'], 'task' => 'edit' ), admin_url('admin.php')),
43
  ),
 
44
  'how_to_button' => true,
45
  )
46
  );
@@ -53,7 +54,7 @@ class AlbumsView_bwg extends AdminView_bwg {
53
  ?>
54
  </div>
55
  <table class="images_table adminlist table table-striped wp-list-table widefat fixed pages media bwg-gallery-lists">
56
- <thead>
57
  <td id="cb" class="column-cb check-column">
58
  <label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all', BWG()->prefix); ?></label>
59
  <input id="check_all" type="checkbox" onclick="spider_check_all(this)" />
@@ -64,6 +65,7 @@ class AlbumsView_bwg extends AdminView_bwg {
64
  <tbody>
65
  <?php
66
  if ( $params['rows'] ) {
 
67
  foreach ( $params['rows'] as $row ) {
68
  $user = get_userdata($row->author);
69
  $alternate = (!isset($alternate) || $alternate == '') ? 'class="alternate"' : '';
@@ -169,24 +171,30 @@ class AlbumsView_bwg extends AdminView_bwg {
169
  $row = $params['row'];
170
  $enable_wp_editor = isset(BWG()->options->enable_wp_editor) ? BWG()->options->enable_wp_editor : 0;
171
  ?>
172
- <div class="bwg-page-header">
173
- <div class="wd-page-title wd-header">
174
- <h1 class="wp-heading-inline"><?php _e('Gallery Group Title', BWG()->prefix); ?></h1>
175
- <input type="text" id="name" name="name" value="<?php echo !empty($row->name) ? esc_attr( $row->name ) : ''; ?>">
 
 
176
  <div class="bwg-page-actions">
177
  <?php
178
  if ( $params['shortcode_id'] ) {
179
  require BWG()->plugin_dir . '/framework/howto/howto.php';
180
  }
181
  ?>
182
- <button class="button button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
183
  <?php echo ($params['id']) ? __('Update', BWG()->prefix) : __('Publish', BWG()->prefix); ?>
184
  </button>
185
  <?php if ($params['id'] && $params['preview_action']) { ?>
186
- <a class="button preview-button button-large" href="<?php echo $params['preview_action']; ?>" target="_blank"><?php _e('Preview', BWG()->prefix); ?></a>
187
  <?php } ?>
188
  </div>
189
  </div>
 
 
 
 
190
  <div class="bwg-clear"></div>
191
  </div>
192
  <div class="wd-table meta-box-sortables">
41
  'add_new_button' => array(
42
  'href' => add_query_arg(array( 'page' => $params['page'], 'task' => 'edit' ), admin_url('admin.php')),
43
  ),
44
+ 'add_new_button_text' => 'Add new group',
45
  'how_to_button' => true,
46
  )
47
  );
54
  ?>
55
  </div>
56
  <table class="images_table adminlist table table-striped wp-list-table widefat fixed pages media bwg-gallery-lists">
57
+ <thead class="alternate">
58
  <td id="cb" class="column-cb check-column">
59
  <label class="screen-reader-text" for="cb-select-all-1"><?php _e('Select all', BWG()->prefix); ?></label>
60
  <input id="check_all" type="checkbox" onclick="spider_check_all(this)" />
65
  <tbody>
66
  <?php
67
  if ( $params['rows'] ) {
68
+ $alternate = 'alternate';
69
  foreach ( $params['rows'] as $row ) {
70
  $user = get_userdata($row->author);
71
  $alternate = (!isset($alternate) || $alternate == '') ? 'class="alternate"' : '';
171
  $row = $params['row'];
172
  $enable_wp_editor = isset(BWG()->options->enable_wp_editor) ? BWG()->options->enable_wp_editor : 0;
173
  ?>
174
+ <div class="bwg-page-header wd-list-view-header">
175
+ <div class="wd-page-title wd-header wd-list-view-header-left">
176
+ <div>
177
+ <h1 class="wp-heading-inline bwg-heading"><?php _e('Gallery Group Title', BWG()->prefix); ?></h1>
178
+ <input type="text" id="name" name="name" value="<?php echo !empty($row->name) ? esc_attr( $row->name ) : ''; ?>">
179
+ </div>
180
  <div class="bwg-page-actions">
181
  <?php
182
  if ( $params['shortcode_id'] ) {
183
  require BWG()->plugin_dir . '/framework/howto/howto.php';
184
  }
185
  ?>
186
+ <button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
187
  <?php echo ($params['id']) ? __('Update', BWG()->prefix) : __('Publish', BWG()->prefix); ?>
188
  </button>
189
  <?php if ($params['id'] && $params['preview_action']) { ?>
190
+ <a class="tw-button-secondary tw-preview-button button-large" href="<?php echo $params['preview_action']; ?>" target="_blank"><?php _e('Preview', BWG()->prefix); ?></a>
191
  <?php } ?>
192
  </div>
193
  </div>
194
+ <?php
195
+ if (!BWG()->is_pro) {
196
+ WDWLibrary::topbar_upgrade_ask_question();
197
+ }?>
198
  <div class="bwg-clear"></div>
199
  </div>
200
  <div class="wd-table meta-box-sortables">
admin/views/Albumsgalleries.php CHANGED
@@ -60,6 +60,7 @@ class AlbumsgalleriesView_bwg extends AdminView_bwg {
60
  'title' => $params['page_title'],
61
  'title_class' => 'wd-header',
62
  'add_new_button' => FALSE,
 
63
  )
64
  );
65
  ?>
60
  'title' => $params['page_title'],
61
  'title_class' => 'wd-header',
62
  'add_new_button' => FALSE,
63
+ 'popup_window' => TRUE,
64
  )
65
  );
66
  ?>
admin/views/Galleries.php CHANGED
@@ -43,6 +43,7 @@ class GalleriesView_bwg extends AdminView_bwg {
43
  'task' => 'edit',
44
  ), admin_url('admin.php')),
45
  ),
 
46
  'how_to_button' => true,
47
  ));
48
  echo $this->search();
@@ -54,8 +55,8 @@ class GalleriesView_bwg extends AdminView_bwg {
54
  ?>
55
  </div>
56
  <table class="images_table adminlist table table-striped wp-list-table widefat fixed pages media bwg-gallery-lists">
57
- <thead>
58
- <td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>" data-ordering-url="<?php echo $params['galleries_ordering_ajax_url']; ?>"><?php _e('Drag&Drop', BWG()->prefix); ?></td>
59
  <td id="cb" class="column-cb check-column">
60
  <label class="screen-reader-text" for="cb-select-all-1"><?php _e('Title', BWG()->prefix); ?></label>
61
  <input id="check_all" type="checkbox">
@@ -67,9 +68,10 @@ class GalleriesView_bwg extends AdminView_bwg {
67
  <tbody id="bwg-table-sortable" class="bwg-ordering">
68
  <?php
69
  if ( $params['rows'] ) {
 
70
  foreach ( $params['rows'] as $row ) {
71
  $user = get_userdata($row->author);
72
- $alternate = (!isset($alternate) || $alternate == '') ? 'class="alternate"' : '';
73
  $edit_url = add_query_arg(array(
74
  'page' => $params['page'],
75
  'task' => 'edit',
@@ -126,7 +128,7 @@ class GalleriesView_bwg extends AdminView_bwg {
126
  </button>
127
  </td>
128
  <td class="col_count" data-colname="<?php _e('Images count', BWG()->prefix); ?>"><?php echo $row->images_count; ?></td>
129
- <td data-colname="<?php _e('Author', BWG()->prefix); ?>"><?php echo ($user) ? $user->display_name : ''; ?></td>
130
  </tr>
131
  <?php
132
  }
@@ -197,17 +199,19 @@ class GalleriesView_bwg extends AdminView_bwg {
197
  ?>
198
  </div>
199
  <div id="message_div" class="wd_updated" style="display: none;"></div>
200
- <div class="bwg-page-header">
201
- <div class="wd-page-title wd-header">
202
- <h1 class="wp-heading-inline"><?php _e('Gallery title', BWG()->prefix); ?></h1>
203
- <input type="text" id="name" name="name" class="bwg_requried" value="<?php echo !empty($row->name) ? $row->name : ''; ?>">
 
 
204
  <div class="bwg-page-actions">
205
  <?php
206
  if ( $params['shortcode_id'] ) {
207
  require BWG()->plugin_dir . '/framework/howto/howto.php';
208
  }
209
  ?>
210
- <button class="button button-primary button-large" onclick="if (spider_check_required('name', 'Title') || bwg_check_instagram_gallery_input('<?php echo BWG()->options->instagram_access_token ?>') ) {return false;};
211
  spider_set_input_value('task', 'save');
212
  spider_set_input_value('ajax_task', '');
213
  spider_set_input_value('bulk-action-selector-top', '-1');
@@ -215,12 +219,17 @@ class GalleriesView_bwg extends AdminView_bwg {
215
  <?php echo ($params['id']) ? __('Update', BWG()->prefix) : __('Publish', BWG()->prefix); ?>
216
  </button>
217
  <?php if ( $params['id'] && $params['preview_action'] ) { ?>
218
- <a href="<?php echo $params['preview_action'] ?>" target="_blank" class="button button-large">
219
  <?php _e('Preview', BWG()->prefix); ?>
220
  </a>
221
  <?php } ?>
222
  </div>
223
  </div>
 
 
 
 
 
224
  <div class="bwg-clear"></div>
225
  </div>
226
  <div class="wd-table meta-box-sortables">
@@ -409,13 +418,14 @@ class GalleriesView_bwg extends AdminView_bwg {
409
  } ?>" type="button" onclick="jQuery('.opacity_add_embed').show(); jQuery('#add_embed_help').hide(); return false;" value="<?php _e('Embed Media', BWG()->prefix); ?>" />
410
  <input id="show_bulk_embed" class="button button-secondary button-large" title="<?php _e('Social Bulk Embed', BWG()->prefix); ?>" style="<?php if ( $params['gallery_type'] != '' ) {
411
  echo 'display:none';
412
- } ?>" type="button" onclick="<?php echo (!BWG()->is_pro ? 'alert(\'' . addslashes(__('This option is disabled in free version.', BWG()->prefix)) . '\');' : 'jQuery(\'.opacity_bulk_embed\').show();'); ?> return false;" value="<?php _e('Social Bulk Embed', BWG()->prefix); ?>" />
413
  <?php
414
  if ( is_plugin_active('image-optimizer-wd/io-wd.php') && !empty($params['rows']) ) {
415
  ?><a href="<?php echo add_query_arg(array('page' => 'iowd_settings', 'target' => 'wd_gallery'), admin_url('admin.php')); ?>" class="button button-primary button-large" target="_blank"><?php _e("Optimize Images", BWG()->prefix); ?></a><?php
416
  }
417
  ?>
418
  </div>
 
419
  <div class="opacity_image_alt opacity_image_description opacity_image_redirect opacity_resize_image opacity_add_embed opacity_image_desc opacity_bulk_embed bwg_opacity_media"
420
  onclick="
421
  jQuery('.opacity_image_alt').hide();
@@ -616,7 +626,7 @@ class GalleriesView_bwg extends AdminView_bwg {
616
  ?>
617
  </div>
618
  <table id="images_table" class="images_table adminlist table table-striped wp-list-table widefat fixed pages media">
619
- <thead>
620
  <?php if( !$is_google_photos ) { ?>
621
  <td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>">
622
  <?php if ($params['orderby'] == 'order') { ?>
@@ -646,6 +656,7 @@ class GalleriesView_bwg extends AdminView_bwg {
646
  <?php
647
  if ( $params['rows'] ) {
648
  $i = $params['page_num'];
 
649
  foreach ( $params['rows'] as $row ) {
650
  $alternate = (!isset($alternate) || $alternate == '') ? 'alternate' : '';
651
  $temp = $row->id == 'tempid' ? TRUE : FALSE;
43
  'task' => 'edit',
44
  ), admin_url('admin.php')),
45
  ),
46
+ 'add_new_button_text' => 'Add new gallery',
47
  'how_to_button' => true,
48
  ));
49
  echo $this->search();
55
  ?>
56
  </div>
57
  <table class="images_table adminlist table table-striped wp-list-table widefat fixed pages media bwg-gallery-lists">
58
+ <thead class="alternate">
59
+ <td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>" data-ordering-url="<?php echo $params['galleries_ordering_ajax_url']; ?>"></td>
60
  <td id="cb" class="column-cb check-column">
61
  <label class="screen-reader-text" for="cb-select-all-1"><?php _e('Title', BWG()->prefix); ?></label>
62
  <input id="check_all" type="checkbox">
68
  <tbody id="bwg-table-sortable" class="bwg-ordering">
69
  <?php
70
  if ( $params['rows'] ) {
71
+ $alternate = 'class="alternate"';
72
  foreach ( $params['rows'] as $row ) {
73
  $user = get_userdata($row->author);
74
+ $alternate = (isset($alternate) && $alternate == 'class="alternate"') ? '' : 'class="alternate"';
75
  $edit_url = add_query_arg(array(
76
  'page' => $params['page'],
77
  'task' => 'edit',
128
  </button>
129
  </td>
130
  <td class="col_count" data-colname="<?php _e('Images count', BWG()->prefix); ?>"><?php echo $row->images_count; ?></td>
131
+ <td data-colname="<?php _e('Author', BWG()->prefix); ?>" class="col-author"><?php echo ($user) ? $user->display_name : ''; ?></td>
132
  </tr>
133
  <?php
134
  }
199
  ?>
200
  </div>
201
  <div id="message_div" class="wd_updated" style="display: none;"></div>
202
+ <div class="bwg-page-header wd-list-view-header">
203
+ <div class="wd-page-title wd-header wd-list-view-header-left">
204
+ <div>
205
+ <h1 class="wp-heading-inline bwg-heading"><?php _e('Gallery title', BWG()->prefix); ?></h1>
206
+ <input type="text" id="name" name="name" class="bwg_requried" value="<?php echo !empty($row->name) ? $row->name : ''; ?>">
207
+ </div>
208
  <div class="bwg-page-actions">
209
  <?php
210
  if ( $params['shortcode_id'] ) {
211
  require BWG()->plugin_dir . '/framework/howto/howto.php';
212
  }
213
  ?>
214
+ <button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title') || bwg_check_instagram_gallery_input('<?php echo BWG()->options->instagram_access_token ?>') ) {return false;};
215
  spider_set_input_value('task', 'save');
216
  spider_set_input_value('ajax_task', '');
217
  spider_set_input_value('bulk-action-selector-top', '-1');
219
  <?php echo ($params['id']) ? __('Update', BWG()->prefix) : __('Publish', BWG()->prefix); ?>
220
  </button>
221
  <?php if ( $params['id'] && $params['preview_action'] ) { ?>
222
+ <a href="<?php echo $params['preview_action'] ?>" target="_blank" class="tw-button-secondary">
223
  <?php _e('Preview', BWG()->prefix); ?>
224
  </a>
225
  <?php } ?>
226
  </div>
227
  </div>
228
+ <?php
229
+ if (!BWG()->is_pro) {
230
+ WDWLibrary::topbar_upgrade_ask_question();
231
+ }
232
+ ?>
233
  <div class="bwg-clear"></div>
234
  </div>
235
  <div class="wd-table meta-box-sortables">
418
  } ?>" type="button" onclick="jQuery('.opacity_add_embed').show(); jQuery('#add_embed_help').hide(); return false;" value="<?php _e('Embed Media', BWG()->prefix); ?>" />
419
  <input id="show_bulk_embed" class="button button-secondary button-large" title="<?php _e('Social Bulk Embed', BWG()->prefix); ?>" style="<?php if ( $params['gallery_type'] != '' ) {
420
  echo 'display:none';
421
+ } ?>" type="button" onclick="<?php echo (!BWG()->is_pro ? 'alert(\'' . addslashes(__('This option is available in Premium version', BWG()->prefix)) . '\');' : 'jQuery(\'.opacity_bulk_embed\').show();'); ?> return false;" value="<?php _e('Social Bulk Embed', BWG()->prefix); ?>" />
422
  <?php
423
  if ( is_plugin_active('image-optimizer-wd/io-wd.php') && !empty($params['rows']) ) {
424
  ?><a href="<?php echo add_query_arg(array('page' => 'iowd_settings', 'target' => 'wd_gallery'), admin_url('admin.php')); ?>" class="button button-primary button-large" target="_blank"><?php _e("Optimize Images", BWG()->prefix); ?></a><?php
425
  }
426
  ?>
427
  </div>
428
+ <div class="clear"></div>
429
  <div class="opacity_image_alt opacity_image_description opacity_image_redirect opacity_resize_image opacity_add_embed opacity_image_desc opacity_bulk_embed bwg_opacity_media"
430
  onclick="
431
  jQuery('.opacity_image_alt').hide();
626
  ?>
627
  </div>
628
  <table id="images_table" class="images_table adminlist table table-striped wp-list-table widefat fixed pages media">
629
+ <thead class="alternate">
630
  <?php if( !$is_google_photos ) { ?>
631
  <td class="col_drag" data-page-number="<?php echo $params['page_num']; ?>">
632
  <?php if ($params['orderby'] == 'order') { ?>
656
  <?php
657
  if ( $params['rows'] ) {
658
  $i = $params['page_num'];
659
+ $alternate = 'alternate';
660
  foreach ( $params['rows'] as $row ) {
661
  $alternate = (!isset($alternate) || $alternate == '') ? 'alternate' : '';
662
  $temp = $row->id == 'tempid' ? TRUE : FALSE;
admin/views/Options.php CHANGED
@@ -44,25 +44,25 @@ class OptionsView_bwg extends AdminView_bwg {
44
  $buttons = array(
45
  'save' => array(
46
  'id' => 'bwg_save_options',
47
- 'title' => __('Save', BWG()->prefix),
48
  'onclick' => 'spider_set_input_value("task", "save")',
49
- 'class' => 'button-primary',
50
  ),
51
  'reset' => array(
52
  'id' => 'bwg_save_options',
53
- 'title' => __('Reset all options', BWG()->prefix),
54
  'onclick' => 'if (confirm("' . addslashes(__('Do you want to reset to default?', BWG()->prefix)) . '")) {
55
  spider_set_input_value("task", "reset");
56
  } else {
57
  return false;
58
  }',
59
- 'class' => 'button-secondary',
60
  ),
61
  );
62
- echo $this->buttons($buttons, FALSE);
63
  echo $this->title( array(
64
  'title' => $params['page_title'],
65
  'title_class' => 'wd-header',
 
66
  )
67
  );
68
 
@@ -81,33 +81,39 @@ class OptionsView_bwg extends AdminView_bwg {
81
  <ul class="bwg-tabs">
82
  <li class="tabs">
83
  <a href="#bwg_tab_general_content" class="bwg-tablink"><?php _e('General', BWG()->prefix); ?>
 
84
  </a>
85
  <div class='search_count' id="bwg_tab_general_content_bage"></div>
86
  </li>
87
  <li class="tabs">
88
- <a href="#bwg_tab_gallery_content" class="bwg-tablink"><?php _e('Gallery defaults', BWG()->prefix); ?>
 
89
  </a>
90
  <div class='search_count' id="bwg_tab_gallery_content_bage"></div>
91
  </li>
92
  <li class="tabs">
93
- <a href="#bwg_tab_gallery_group_content" class="bwg-tablink"><?php _e('Gallery Group defaults', BWG()->prefix); ?>
 
94
  </a>
95
  <div class='search_count' id="bwg_tab_gallery_group_content_bage"></div>
96
  </li>
97
  <li class="tabs">
98
- <a href="#bwg_tab_lightbox_content" class="bwg-tablink"><?php _e('Lightbox defaults', BWG()->prefix); ?>
 
99
  </a>
100
  <div class='search_count' id="bwg_tab_lightbox_content_bage"></div>
101
  </li>
102
  <li class="tabs">
103
- <a href="#bwg_tab_advanced_content" class="bwg-tablink"><?php _e('Advanced', BWG()->prefix); ?>
 
104
  </a>
105
- <div class='search_count' id="bwg_tab_advanced_content_bage"></div>
106
  </li>
107
  <li class="tabs">
108
- <a href="#bwg_tab_watermark_content" class="bwg-tablink"><?php _e('Watermark', BWG()->prefix); ?>
 
109
  </a>
110
- <div class='search_count' id="bwg_tab_watermark_content_bage"></div>
111
  </li>
112
  </ul>
113
  <div id="div_search_in_options">
@@ -272,7 +278,7 @@ class OptionsView_bwg extends AdminView_bwg {
272
  </div>
273
  </div>
274
  <div class="wd-box-content wd-width-50">
275
- <div class="wd-box-content wd-width-100">
276
  <div class="wd-group">
277
  <label class="wd-label"><?php _e('Save IP ', BWG()->prefix); ?></label>
278
  <div class="bwg-flex">
@@ -390,85 +396,139 @@ class OptionsView_bwg extends AdminView_bwg {
390
  <div id="bwg_tab_gallery_content" class="search-div bwg-section wd-box-content">
391
  <div class="bwg-section bwg-flex-wrap">
392
  <div class="wd-box-content wd-width-100 bwg-flex-wrap">
393
- <div id="bwg_tab_galleries_content" class="wd-width-100">
394
  <div class="bwg_change_gallery_type">
395
- <span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails')">
396
- <div><label for="thumbnails"><img id="display_thumb" src="<?php echo BWG()->plugin_url . '/images/thumbnails.jpg'; ?>" /></label></div>
397
- <div class="gallery_type_div">
398
- <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>
399
- </div>
400
- </span>
401
- <span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails_masonry')">
402
- <div>
403
- <label for="thumbnails_masonry"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label>
404
- </div>
405
- <div class="gallery_type_div">
406
- <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>
407
- <?php if ( !BWG()->is_pro ) { ?>
408
- <span class="pro_btn">Paid</span>
409
- <?php } ?>
410
- </div>
411
- </span>
412
- <span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails_mosaic')">
413
- <div><label for="thumbnails_mosaic"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.jpg'; ?>" /></label></div>
414
- <div class="gallery_type_div">
415
- <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>
416
- <?php if ( !BWG()->is_pro ) { ?>
417
- <span class="pro_btn">Paid</span>
418
- <?php } ?>
419
- </div>
420
- </span>
 
 
 
 
 
 
 
 
 
 
421
  <span class="gallery_type" onClick="bwg_gallery_type_options('slideshow')">
422
- <div><label for="slideshow"><img src="<?php echo BWG()->plugin_url . '/images/slideshow.jpg'; ?>" /></label></div>
423
- <div class="gallery_type_div">
424
- <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>
425
- </div>
426
- </span>
 
 
 
 
427
  <span class="gallery_type" onClick="bwg_gallery_type_options('image_browser')">
428
- <div><label for="image_browser"><img src="<?php echo BWG()->plugin_url . '/images/image_browser.jpg'; ?>" /></label></div>
429
- <div class="gallery_type_div">
430
- <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>
431
- </div>
432
- </span>
433
- <span class="gallery_type" onClick="bwg_gallery_type_options('blog_style')">
434
- <div><label for="blog_style"><img src="<?php echo BWG()->plugin_url . '/images/blog_style.jpg'; ?>" /></label></div>
435
- <div class="gallery_type_div">
436
- <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>
437
- <?php if ( !BWG()->is_pro ) { ?>
438
- <span class="pro_btn">Paid</span>
439
- <?php } ?>
440
- </div>
441
- </span>
442
- <span class="gallery_type" onClick="bwg_gallery_type_options('carousel')">
443
- <div><label for="carousel"><img src="<?php echo BWG()->plugin_url . '/images/Carousel.png'; ?>" /></label></div>
444
- <div class="gallery_type_div">
445
- <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>
446
- <?php if ( !BWG()->is_pro ) { ?>
447
- <span class="pro_btn">Paid</span>
448
- <?php } ?>
449
- </div>
450
- </span>
 
 
 
 
 
 
 
 
 
 
 
 
451
  </div>
452
  <div class="bwg_select_gallery_type">
453
- <label class="wd-label" for="gallery_types_name"><?php _e('View type', BWG()->prefix); ?></label>
454
  <select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type_options(jQuery(this).val());">
455
  <?php
456
- foreach ($gallery_types_name as $key=>$album_type_name) {
457
  ?>
458
- <option <?php echo selected($album_type_name,true); ?> value="<?php echo $key; ?>"><?php echo $album_type_name; ?></option>
459
  <?php
460
  }
461
  ?>
462
  </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
  </div>
464
  </div>
465
  <?php
466
  if ( !BWG()->is_pro ) {
467
  ?>
468
- <div class="wd-box-content wd-width-100 wd-free-msg">
469
- <?php
470
- echo WDWLibrary::message_id(0, __('This view is not available in free version.', BWG()->prefix), 'error');
471
- ?>
 
 
 
 
 
 
 
 
472
  </div>
473
  <?php
474
  }
@@ -481,34 +541,47 @@ class OptionsView_bwg extends AdminView_bwg {
481
  </div>
482
  <div id="bwg_tab_gallery_group_content" class="search-div bwg-section wd-box-content">
483
  <div class="bwg-section bwg-flex-wrap">
484
- <div class="wd-box-content wd-width-100 bwg-flex-wrap">
485
- <div id="bwg_tab_albums_content" class="wd-width-100">
486
  <div class="bwg_change_gallery_type">
487
  <span class="gallery_type" onClick="bwg_album_type_options('album_compact_preview')">
488
- <div><label for="album_compact_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.jpg'; ?>" /></label></div>
489
  <div class="album_type_div">
490
- <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>
 
 
 
 
 
491
  </div>
492
  </span>
493
- <span class="gallery_type" onClick="bwg_album_type_options('album_masonry_preview')">
494
- <div><label for="album_masonry_preview"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label></div>
495
  <div class="album_type_div">
496
- <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>
 
 
 
 
 
497
  <?php if ( !BWG()->is_pro ) { ?>
498
- <span class="pro_btn">Paid</span>
499
  <?php } ?>
500
  </div>
501
  </span>
502
  <span class="gallery_type" onClick="bwg_album_type_options('album_extended_preview')">
503
- <div><label for="album_extended_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.jpg'; ?>" /></label></div>
504
  <div class="album_type_div">
505
- <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>
 
 
 
 
 
506
  </div>
507
  </span>
508
  </div>
509
  <div class="bwg_select_gallery_type">
510
- <label class="wd-label" for="gallery_types_name"><?php _e('View type', BWG()->prefix); ?></label>
511
- <select name="gallery_types_name" id="gallery_types_name" onchange="bwg_album_type_options(jQuery(this).val());">
512
  <?php
513
  foreach ($album_types_name as $key=>$album_type_name) {
514
  ?>
@@ -517,15 +590,43 @@ class OptionsView_bwg extends AdminView_bwg {
517
  }
518
  ?>
519
  </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  </div>
521
  </div>
522
  <?php
523
  if ( !BWG()->is_pro ) {
524
  ?>
525
- <div class="wd-box-content wd-width-100 wd-free-msg">
526
- <?php
527
- echo WDWLibrary::message_id(0, __('This view is not available in free version.', BWG()->prefix), 'error');
528
- ?>
 
 
 
 
 
 
 
 
529
  </div>
530
  <?php
531
  }
@@ -556,7 +657,7 @@ class OptionsView_bwg extends AdminView_bwg {
556
  </h2>
557
  <div class="inside bwg-flex-wrap">
558
  <div class="wd-box-content wd-width-100 bwg-flex-wrap">
559
- <div class="wd-box-content wd-width-100">
560
  <div class="wd-group wd-width-50">
561
  <label class="wd-label" for="autoupdate_interval_hour"><?php _e('Gallery autoupdate interval', BWG()->prefix); ?></label>
562
  <div class="bwg-flex">
@@ -569,11 +670,11 @@ class OptionsView_bwg extends AdminView_bwg {
569
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
570
  </div>
571
  </div>
572
- <div class="wd-box-content wd-width-50">
573
  <div class="wd-box-title">
574
  <strong><?php _e('Instagram', BWG()->prefix); ?></strong>
575
  </div>
576
- <div class="wd-box-content wd-width-100">
577
  <div class="wd-group" id="login_with_instagram">
578
  <input id="instagram_access_token" name="instagram_access_token" type="hidden" size="30" value="<?php echo $row->instagram_access_token; ?>" readonly />
579
  <?php if ( empty($row->instagram_access_token) ) {
@@ -624,7 +725,7 @@ class OptionsView_bwg extends AdminView_bwg {
624
  </h2>
625
  <div class="inside bwg-flex-wrap">
626
  <div class="wd-box-content wd-width-50">
627
- <div class="wd-box-content wd-width-100">
628
  <div class="wd-group">
629
  <label class="wd-label" for="permissions"><?php _e('Roles', BWG()->prefix); ?></label>
630
  <div class="bwg-flex">
@@ -644,7 +745,7 @@ class OptionsView_bwg extends AdminView_bwg {
644
  </div>
645
  </div>
646
  <div class="wd-box-content wd-width-50">
647
- <div class="wd-box-content wd-width-100 bwg_roles">
648
  <div class="wd-group">
649
  <label class="wd-label"><?php _e('Gallery role restrictions', BWG()->prefix); ?></label>
650
  <div class="bwg-flex">
@@ -655,7 +756,7 @@ class OptionsView_bwg extends AdminView_bwg {
655
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
656
  </div>
657
  </div>
658
- <div class="wd-box-content wd-width-100 bwg_roles">
659
  <div class="wd-group">
660
  <label class="wd-label"><?php _e('Gallery group restrictions', BWG()->prefix); ?></label>
661
  <div class="bwg-flex">
@@ -666,7 +767,7 @@ class OptionsView_bwg extends AdminView_bwg {
666
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
667
  </div>
668
  </div>
669
- <div class="wd-box-content wd-width-100 bwg_roles">
670
  <div class="wd-group">
671
  <label class="wd-label"><?php _e('Image role restrictions', BWG()->prefix); ?></label>
672
  <div class="bwg-flex">
@@ -1282,7 +1383,7 @@ class OptionsView_bwg extends AdminView_bwg {
1282
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', 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('Enable bulk download button', BWG()->prefix); ?></label>
1288
  <div class="bwg-flex">
@@ -1490,7 +1591,7 @@ class OptionsView_bwg extends AdminView_bwg {
1490
  <p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
1491
  </div>
1492
  </div>
1493
- <div class="wd-box-content wd-width-100 bwg-vertical-block-masonry" id="tr_show_masonry_thumb_description">
1494
  <div class="wd-group">
1495
  <label class="wd-label"><?php _e('Show image descriptions', BWG()->prefix); ?></label>
1496
  <div class="bwg-flex">
@@ -1511,7 +1612,7 @@ class OptionsView_bwg extends AdminView_bwg {
1511
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
1512
  </div>
1513
  </div>
1514
- <div class="wd-box-content wd-width-100">
1515
  <div class="wd-group">
1516
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
1517
  <div class="bwg-flex">
@@ -1547,7 +1648,7 @@ class OptionsView_bwg extends AdminView_bwg {
1547
  </div>
1548
  <div id="thumbnails_mosaic_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
1549
  <div class="wd-box-content wd-width-33">
1550
- <div class="wd-box-content wd-width-100">
1551
  <div class="wd-group">
1552
  <label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
1553
  <div class="bwg-flex">
@@ -1558,7 +1659,7 @@ class OptionsView_bwg extends AdminView_bwg {
1558
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
1559
  </div>
1560
  </div>
1561
- <div class="wd-box-content wd-width-100">
1562
  <div class="wd-group">
1563
  <label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
1564
  <div class="bwg-flex">
@@ -1569,7 +1670,7 @@ class OptionsView_bwg extends AdminView_bwg {
1569
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
1570
  </div>
1571
  </div>
1572
- <div class="wd-box-content wd-width-100">
1573
  <div class="wd-group">
1574
  <label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
1575
  <div class="bwg-flex">
@@ -1735,7 +1836,7 @@ class OptionsView_bwg extends AdminView_bwg {
1735
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
1736
  </div>
1737
  </div>
1738
- <div class="wd-box-content wd-width-100">
1739
  <div class="wd-group">
1740
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
1741
  <div class="bwg-flex">
@@ -1886,7 +1987,7 @@ class OptionsView_bwg extends AdminView_bwg {
1886
  </div>
1887
  </div>
1888
  <div class="wd-box-content wd-width-33">
1889
- <div class="wd-box-content wd-width-100">
1890
  <div class="wd-group">
1891
  <label class="wd-label"><?php _e('Enable slideshow filmstrip', BWG()->prefix); ?></label>
1892
  <div class="bwg-flex">
@@ -1897,7 +1998,7 @@ class OptionsView_bwg extends AdminView_bwg {
1897
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
1898
  </div>
1899
  </div>
1900
- <div class="wd-box-content wd-width-100" id="tr_slideshow_filmstrip_height">
1901
  <div class="wd-group">
1902
  <label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size', BWG()->prefix); ?></label>
1903
  <div class="bwg-flex">
@@ -2010,7 +2111,7 @@ class OptionsView_bwg extends AdminView_bwg {
2010
  <p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.', BWG()->prefix); ?></p>
2011
  </div>
2012
  </div>
2013
- <div class="wd-box-content wd-width-100">
2014
  <div class="wd-group">
2015
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2016
  <div class="bwg-flex">
@@ -2152,7 +2253,7 @@ class OptionsView_bwg extends AdminView_bwg {
2152
  <p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
2153
  </div>
2154
  </div>
2155
- <div class="wd-box-content wd-width-100">
2156
  <div class="wd-group">
2157
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2158
  <div class="bwg-flex">
@@ -2172,7 +2273,7 @@ class OptionsView_bwg extends AdminView_bwg {
2172
  </div>
2173
  <div id="blog_style_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
2174
  <div class="wd-box-content wd-width-33">
2175
- <div class="wd-box-content wd-width-100">
2176
  <div class="wd-group">
2177
  <label class="wd-label" for="blog_style_width"><?php _e('Image width', BWG()->prefix); ?></label>
2178
  <div class="bwg-flex">
@@ -2182,7 +2283,7 @@ class OptionsView_bwg extends AdminView_bwg {
2182
  </div>
2183
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2184
  </div>
2185
- <div class="wd-box-content wd-width-100">
2186
  <div class="wd-group">
2187
  <label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
2188
  <div class="bwg-flex">
@@ -2198,7 +2299,7 @@ class OptionsView_bwg extends AdminView_bwg {
2198
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2199
  </div>
2200
  </div>
2201
- <div class="wd-box-content wd-width-100" id="tr_blog_style_images_per_page">
2202
  <div class="wd-group">
2203
  <label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
2204
  <div class="bwg-flex">
@@ -2311,7 +2412,7 @@ class OptionsView_bwg extends AdminView_bwg {
2311
  <p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
2312
  </div>
2313
  </div>
2314
- <div class="wd-box-content wd-width-100">
2315
  <div class="wd-group">
2316
  <label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
2317
  <div class="bwg-flex">
@@ -2322,7 +2423,7 @@ class OptionsView_bwg extends AdminView_bwg {
2322
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2323
  </div>
2324
  </div>
2325
- <div class="wd-box-content wd-width-100">
2326
  <div class="wd-group">
2327
  <label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
2328
  <div class="bwg-flex">
@@ -2333,7 +2434,7 @@ class OptionsView_bwg extends AdminView_bwg {
2333
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2334
  </div>
2335
  </div>
2336
- <div class="wd-box-content wd-width-100">
2337
  <div class="wd-group">
2338
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2339
  <div class="bwg-flex">
@@ -2353,7 +2454,7 @@ class OptionsView_bwg extends AdminView_bwg {
2353
  </div>
2354
  <div id="carousel_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
2355
  <div class="wd-box-content wd-width-33">
2356
- <div class="wd-box-content wd-width-100">
2357
  <div class="wd-group">
2358
  <label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images', BWG()->prefix); ?></label>
2359
  <div class="bwg-flex">
@@ -2363,7 +2464,7 @@ class OptionsView_bwg extends AdminView_bwg {
2363
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2364
  </div>
2365
  </div>
2366
- <div class="wd-box-content wd-width-100">
2367
  <div class="wd-group">
2368
  <label class="wd-label" for="carousel_width"><?php _e('Image dimensions', BWG()->prefix); ?></label>
2369
  <div class="bwg-flex">
@@ -2374,7 +2475,7 @@ class OptionsView_bwg extends AdminView_bwg {
2374
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2375
  </div>
2376
  </div>
2377
- <div class="wd-box-content wd-width-100">
2378
  <div class="wd-group">
2379
  <label class="wd-label" for="carousel_image_par"><?php _e('Carousel ratio', BWG()->prefix); ?></label>
2380
  <div class="bwg-flex">
@@ -2384,7 +2485,7 @@ class OptionsView_bwg extends AdminView_bwg {
2384
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2385
  </div>
2386
  </div>
2387
- <div class="wd-box-content wd-width-100">
2388
  <div class="wd-group">
2389
  <label class="wd-label" for="carousel_r_width"><?php _e('Fixed width', BWG()->prefix); ?></label>
2390
  <div class="bwg-flex">
@@ -2420,7 +2521,7 @@ class OptionsView_bwg extends AdminView_bwg {
2420
  <p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", BWG()->prefix); ?></p>
2421
  </div>
2422
  </div>
2423
- <div class="wd-box-content wd-width-100">
2424
  <div class="wd-group">
2425
  <label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
2426
  <div class="bwg-flex">
@@ -2431,7 +2532,7 @@ class OptionsView_bwg extends AdminView_bwg {
2431
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2432
  </div>
2433
  </div>
2434
- <div class="wd-box-content wd-width-100">
2435
  <div class="wd-group">
2436
  <label class="wd-label" for="carousel_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
2437
  <div class="bwg-flex">
@@ -2441,7 +2542,7 @@ class OptionsView_bwg extends AdminView_bwg {
2441
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2442
  </div>
2443
  </div>
2444
- <div class="wd-box-content wd-width-100">
2445
  <div class="wd-group">
2446
  <label class="wd-label"><?php _e('Container fit', BWG()->prefix); ?></label>
2447
  <div class="bwg-flex">
@@ -2452,7 +2553,7 @@ class OptionsView_bwg extends AdminView_bwg {
2452
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2453
  </div>
2454
  </div>
2455
- <div class="wd-box-content wd-width-100">
2456
  <div class="wd-group">
2457
  <label class="wd-label"><?php _e('Next/Previous buttons', BWG()->prefix); ?></label>
2458
  <div class="bwg-flex">
@@ -2465,7 +2566,7 @@ class OptionsView_bwg extends AdminView_bwg {
2465
  </div>
2466
  </div>
2467
  <div class="wd-box-content wd-width-33">
2468
- <div class="wd-box-content wd-width-100">
2469
  <div class="wd-group">
2470
  <label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
2471
  <div class="bwg-flex">
@@ -2486,7 +2587,7 @@ class OptionsView_bwg extends AdminView_bwg {
2486
  <p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
2487
  </div>
2488
  </div>
2489
- <div class="wd-box-content wd-width-100">
2490
  <div class="wd-group">
2491
  <label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
2492
  <div class="bwg-flex">
@@ -2497,7 +2598,7 @@ class OptionsView_bwg extends AdminView_bwg {
2497
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2498
  </div>
2499
  </div>
2500
- <div class="wd-box-content wd-width-100">
2501
  <div class="wd-group">
2502
  <label class="wd-label"><?php _e('Play/Pause buttons', BWG()->prefix); ?></label>
2503
  <div class="bwg-flex">
@@ -2508,7 +2609,7 @@ class OptionsView_bwg extends AdminView_bwg {
2508
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2509
  </div>
2510
  </div>
2511
- <div class="wd-box-content wd-width-100">
2512
  <div class="wd-group">
2513
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2514
  <div class="bwg-flex">
@@ -2727,7 +2828,7 @@ class OptionsView_bwg extends AdminView_bwg {
2727
  <p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.', BWG()->prefix); ?></p>
2728
  </div>
2729
  </div>
2730
- <div class="wd-box-content wd-width-100">
2731
  <div class="wd-group">
2732
  <label class="wd-label" for="album_view_type"><?php _e('Gallery view type', BWG()->prefix); ?></label>
2733
  <select name="album_view_type" id="album_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
@@ -2743,7 +2844,7 @@ class OptionsView_bwg extends AdminView_bwg {
2743
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2744
  </div>
2745
  </div>
2746
- <div class="wd-box-content wd-width-100" id="tr_album_mosaic">
2747
  <div class="wd-group">
2748
  <label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
2749
  <div class="bwg-flex">
@@ -2754,7 +2855,7 @@ class OptionsView_bwg extends AdminView_bwg {
2754
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2755
  </div>
2756
  </div>
2757
- <div class="wd-box-content wd-width-100" id="tr_album_resizable_mosaic">
2758
  <div class="wd-group">
2759
  <label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
2760
  <div class="bwg-flex">
@@ -2765,7 +2866,7 @@ class OptionsView_bwg extends AdminView_bwg {
2765
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2766
  </div>
2767
  </div>
2768
- <div class="wd-box-content wd-width-100" id="tr_album_mosaic_total_width">
2769
  <div class="wd-group">
2770
  <label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
2771
  <div class="bwg-flex">
@@ -2799,7 +2900,7 @@ class OptionsView_bwg extends AdminView_bwg {
2799
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
2800
  </div>
2801
  </div>
2802
- <div class="wd-box-content wd-width-100">
2803
  <div class="wd-group">
2804
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2805
  <div class="bwg-flex">
@@ -3027,7 +3128,7 @@ class OptionsView_bwg extends AdminView_bwg {
3027
  <p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
3028
  </div>
3029
  </div>
3030
- <div class="wd-box-content wd-width-100">
3031
  <div class="wd-group">
3032
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
3033
  <div class="bwg-flex">
@@ -3266,7 +3367,7 @@ class OptionsView_bwg extends AdminView_bwg {
3266
  <p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.', BWG()->prefix); ?></p>
3267
  </div>
3268
  </div>
3269
- <div class="wd-box-content wd-width-100">
3270
  <div class="wd-group">
3271
  <label class="wd-label" for="album_extended_view_type"><?php _e('Gallery view type', BWG()->prefix); ?></label>
3272
  <select name="album_extended_view_type" id="album_extended_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
@@ -3282,7 +3383,7 @@ class OptionsView_bwg extends AdminView_bwg {
3282
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3283
  </div>
3284
  </div>
3285
- <div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic">
3286
  <div class="wd-group">
3287
  <label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
3288
  <div class="bwg-flex">
@@ -3293,7 +3394,7 @@ class OptionsView_bwg extends AdminView_bwg {
3293
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3294
  </div>
3295
  </div>
3296
- <div class="wd-box-content wd-width-100" id="tr_album_extended_resizable_mosaic">
3297
  <div class="wd-group">
3298
  <label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
3299
  <div class="bwg-flex">
@@ -3304,7 +3405,7 @@ class OptionsView_bwg extends AdminView_bwg {
3304
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3305
  </div>
3306
  </div>
3307
- <div class="wd-box-content wd-width-100" id="tr_album_extended_mosaic_total_width">
3308
  <div class="wd-group">
3309
  <label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
3310
  <div class="bwg-flex">
@@ -3338,7 +3439,7 @@ class OptionsView_bwg extends AdminView_bwg {
3338
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
3339
  </div>
3340
  </div>
3341
- <div class="wd-box-content wd-width-100">
3342
  <div class="wd-group">
3343
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
3344
  <div class="bwg-flex">
@@ -3471,7 +3572,7 @@ class OptionsView_bwg extends AdminView_bwg {
3471
  <p class="description"><?php _e('Specify the time interval of autoplay in Photo Gallery lightbox.', BWG()->prefix) ?></p>
3472
  </div>
3473
  </div>
3474
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
3475
  <div class="wd-group">
3476
  <label class="wd-label"><?php _e('Enable filmstrip', BWG()->prefix); ?></label>
3477
  <div class="bwg-flex">
@@ -3482,7 +3583,7 @@ class OptionsView_bwg extends AdminView_bwg {
3482
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3483
  </div>
3484
  </div>
3485
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_filmstrip_height">
3486
  <div class="wd-group">
3487
  <label class="wd-label" for="popup_filmstrip_height"><?php _e('Filmstrip size', BWG()->prefix); ?></label>
3488
  <div class="bwg-flex">
@@ -3540,7 +3641,7 @@ class OptionsView_bwg extends AdminView_bwg {
3540
  <p class="description"><?php _e('Activate this setting to add Fullscreen button to lightbox control buttons.', BWG()->prefix) ?></p>
3541
  </div>
3542
  </div>
3543
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_comment">
3544
  <div class="wd-group">
3545
  <label class="wd-label"><?php _e('Enable comments', BWG()->prefix); ?></label>
3546
  <div class="bwg-flex">
@@ -3555,7 +3656,7 @@ class OptionsView_bwg extends AdminView_bwg {
3555
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3556
  </div>
3557
  </div>
3558
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_email">
3559
  <div class="wd-group">
3560
  <label class="wd-label"><?php _e('Show Email for comments', BWG()->prefix); ?></label>
3561
  <div class="bwg-flex">
@@ -3566,7 +3667,7 @@ class OptionsView_bwg extends AdminView_bwg {
3566
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3567
  </div>
3568
  </div>
3569
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_captcha">
3570
  <div class="wd-group">
3571
  <label class="wd-label"><?php _e('Show Captcha for comments', BWG()->prefix); ?></label>
3572
  <div class="bwg-flex">
@@ -3577,7 +3678,7 @@ class OptionsView_bwg extends AdminView_bwg {
3577
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3578
  </div>
3579
  </div>
3580
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_comment_moderation">
3581
  <div class="wd-group">
3582
  <label class="wd-label"><?php _e('Enable comments moderation', BWG()->prefix); ?></label>
3583
  <div class="bwg-flex">
@@ -3628,7 +3729,7 @@ class OptionsView_bwg extends AdminView_bwg {
3628
  <p class="description"><?php _e('Choose to display Next/Previous buttons of Photo Gallery lightbox on hover or always.', BWG()->prefix) ?></p>
3629
  </div>
3630
  </div>
3631
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_hit_counter">
3632
  <div class="wd-group">
3633
  <label class="wd-label"><?php _e('Display views counter', BWG()->prefix); ?></label>
3634
  <div class="bwg-flex">
@@ -3639,7 +3740,7 @@ class OptionsView_bwg extends AdminView_bwg {
3639
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3640
  </div>
3641
  </div>
3642
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_rate">
3643
  <div class="wd-group">
3644
  <label class="wd-label"><?php _e('Enable rating', BWG()->prefix); ?></label>
3645
  <div class="bwg-flex">
@@ -3692,7 +3793,7 @@ class OptionsView_bwg extends AdminView_bwg {
3692
  <p class="description"><?php _e('Activate looping to start lightbox navigation from the beginning when users reach its last image.', BWG()->prefix) ?></p>
3693
  </div>
3694
  </div>
3695
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox">
3696
  <div class="wd-group">
3697
  <label class="wd-label"><?php _e('Enable', BWG()->prefix); ?> AddThis</label>
3698
  <div class="bwg-flex">
@@ -3703,7 +3804,7 @@ class OptionsView_bwg extends AdminView_bwg {
3703
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3704
  </div>
3705
  </div>
3706
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_addthis_profile_id">
3707
  <div class="wd-group">
3708
  <label class="wd-label" for="addthis_profile_id">AddThis <?php _e('profile ID', BWG()->prefix); ?></label>
3709
  <div class="bwg-flex">
@@ -3713,7 +3814,7 @@ class OptionsView_bwg extends AdminView_bwg {
3713
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3714
  </div>
3715
  </div>
3716
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_facebook">
3717
  <div class="wd-group">
3718
  <label class="wd-label"><?php _e('Show Facebook button', BWG()->prefix); ?></label>
3719
  <div class="bwg-flex">
@@ -3724,7 +3825,7 @@ class OptionsView_bwg extends AdminView_bwg {
3724
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3725
  </div>
3726
  </div>
3727
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_twitter">
3728
  <div class="wd-group">
3729
  <label class="wd-label"><?php _e('Show Twitter button', BWG()->prefix); ?></label>
3730
  <div class="bwg-flex">
@@ -3735,7 +3836,7 @@ class OptionsView_bwg extends AdminView_bwg {
3735
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3736
  </div>
3737
  </div>
3738
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_pinterest">
3739
  <div class="wd-group">
3740
  <label class="wd-label"><?php _e('Show Pinterest button', BWG()->prefix); ?></label>
3741
  <div class="bwg-flex">
@@ -3746,7 +3847,7 @@ class OptionsView_bwg extends AdminView_bwg {
3746
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3747
  </div>
3748
  </div>
3749
- <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox" id="tr_popup_tumblr">
3750
  <div class="wd-group">
3751
  <label class="wd-label"><?php _e('Show Tumblr button', BWG()->prefix); ?></label>
3752
  <div class="bwg-flex">
44
  $buttons = array(
45
  'save' => array(
46
  'id' => 'bwg_save_options',
47
+ 'title' => __('Save options', BWG()->prefix),
48
  'onclick' => 'spider_set_input_value("task", "save")',
49
+ 'class' => 'tw-button-primary',
50
  ),
51
  'reset' => array(
52
  'id' => 'bwg_save_options',
53
+ 'title' => __('Reset', BWG()->prefix),
54
  'onclick' => 'if (confirm("' . addslashes(__('Do you want to reset to default?', BWG()->prefix)) . '")) {
55
  spider_set_input_value("task", "reset");
56
  } else {
57
  return false;
58
  }',
59
+ 'class' => 'tw-button-secondary',
60
  ),
61
  );
 
62
  echo $this->title( array(
63
  'title' => $params['page_title'],
64
  'title_class' => 'wd-header',
65
+ 'buttons' => $buttons,
66
  )
67
  );
68
 
81
  <ul class="bwg-tabs">
82
  <li class="tabs">
83
  <a href="#bwg_tab_general_content" class="bwg-tablink"><?php _e('General', BWG()->prefix); ?>
84
+ <a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
85
  </a>
86
  <div class='search_count' id="bwg_tab_general_content_bage"></div>
87
  </li>
88
  <li class="tabs">
89
+ <a href="#bwg_tab_gallery_content" class="bwg-tablink"><?php _e('Gallery views', BWG()->prefix); ?>
90
+ <a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
91
  </a>
92
  <div class='search_count' id="bwg_tab_gallery_content_bage"></div>
93
  </li>
94
  <li class="tabs">
95
+ <a href="#bwg_tab_gallery_group_content" class="bwg-tablink"><?php _e('Group of gallery views', BWG()->prefix); ?>
96
+ <a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
97
  </a>
98
  <div class='search_count' id="bwg_tab_gallery_group_content_bage"></div>
99
  </li>
100
  <li class="tabs">
101
+ <a href="#bwg_tab_lightbox_content" class="bwg-tablink"><?php _e('Lightbox', BWG()->prefix); ?>
102
+ <a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
103
  </a>
104
  <div class='search_count' id="bwg_tab_lightbox_content_bage"></div>
105
  </li>
106
  <li class="tabs">
107
+ <a href="#bwg_tab_watermark_content" class="bwg-tablink"><?php _e('Watermark', BWG()->prefix); ?>
108
+ <a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
109
  </a>
110
+ <div class='search_count' id="bwg_tab_watermark_content_bage"></div>
111
  </li>
112
  <li class="tabs">
113
+ <a href="#bwg_tab_advanced_content" class="bwg-tablink"><?php _e('Advanced', BWG()->prefix); ?>
114
+ <a href="#bwg_tab_general_content" class="bwg-tablink-bottom"></a>
115
  </a>
116
+ <div class='search_count' id="bwg_tab_advanced_content_bage"></div>
117
  </li>
118
  </ul>
119
  <div id="div_search_in_options">
278
  </div>
279
  </div>
280
  <div class="wd-box-content wd-width-50">
281
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
282
  <div class="wd-group">
283
  <label class="wd-label"><?php _e('Save IP ', BWG()->prefix); ?></label>
284
  <div class="bwg-flex">
396
  <div id="bwg_tab_gallery_content" class="search-div bwg-section wd-box-content">
397
  <div class="bwg-section bwg-flex-wrap">
398
  <div class="wd-box-content wd-width-100 bwg-flex-wrap">
399
+ <div id="bwg_tab_galleries_content">
400
  <div class="bwg_change_gallery_type">
401
+ <span class="gallery_type" onClick="bwg_gallery_type_options('thumbnails')">
402
+ <div class="gallery_type_div">
403
+ <label for="thumbnails">
404
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails.svg'; ?>" />
405
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_active.svg'; ?>" />
406
+ </label>
407
+ <input type="radio" class="gallery_type_radio" id="thumbnails" name="gallery_type" value="thumbnails" />
408
+ <label class="gallery_type_label" for="thumbnails"><?php echo __('Thumbnails', BWG()->prefix); ?></label>
409
+ </div>
410
+ </span>
411
+ <span class="gallery_type bwg-thumbnails_masonry" onClick="bwg_gallery_type_options('thumbnails_masonry')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
412
+ <div class="gallery_type_div">
413
+ <label for="thumbnails_masonry">
414
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.svg'; ?>" />
415
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry_active.svg'; ?>" />
416
+ </label>
417
+ <input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" />
418
+ <label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry', BWG()->prefix); ?></label>
419
+ <?php if ( !BWG()->is_pro ) { ?>
420
+ <span class="pro_btn">Premium</span>
421
+ <?php } ?>
422
+ </div>
423
+ </span>
424
+ <span class="gallery_type bwg-thumbnails_mosaic" onClick="bwg_gallery_type_options('thumbnails_mosaic')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_mosaic.png'; ?>" data-title="Mosaic" data-demo-link="https://demo.10web.io/photo-gallery/mosaic/?utm_source=photo_gallery&utm_medium=free_plugin">
425
+ <div class="gallery_type_div">
426
+ <label for="thumbnails_mosaic" >
427
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.svg'; ?>" />
428
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic_active.svg'; ?>" />
429
+ </label>
430
+ <input type="radio" class="gallery_type_radio" id="thumbnails_mosaic" name="gallery_type" value="thumbnails_mosaic" />
431
+ <label class="gallery_type_label" for="thumbnails_mosaic"><?php echo __('Mosaic', BWG()->prefix); ?></label>
432
+ <?php if ( !BWG()->is_pro ) { ?>
433
+ <span class="pro_btn">Premium</span>
434
+ <?php } ?>
435
+ </div>
436
+ </span>
437
  <span class="gallery_type" onClick="bwg_gallery_type_options('slideshow')">
438
+ <div class="gallery_type_div">
439
+ <label for="slideshow">
440
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/slideshow.svg'; ?>" />
441
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/slideshow_active.svg'; ?>" />
442
+ </label>
443
+ <input type="radio" class="gallery_type_radio" id="slideshow" name="gallery_type" value="slideshow" />
444
+ <label class="gallery_type_label" for="slideshow"><?php echo __('Slideshow', BWG()->prefix); ?></label>
445
+ </div>
446
+ </span>
447
  <span class="gallery_type" onClick="bwg_gallery_type_options('image_browser')">
448
+ <div class="gallery_type_div">
449
+ <label for="image_browser">
450
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/image_browser.svg'; ?>" />
451
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/image_browser_active.svg'; ?>" />
452
+ </label>
453
+ <input type="radio" class="gallery_type_radio" id="image_browser" name="gallery_type" value="image_browser" />
454
+ <label class="gallery_type_label" for="image_browser"><?php echo __('Image Browser', BWG()->prefix); ?></label>
455
+ </div>
456
+ </span>
457
+ <span class="gallery_type bwg-blog_style" onClick="bwg_gallery_type_options('blog_style')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_blog_style.png'; ?>" data-title="Blog Style" data-demo-link="https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin">
458
+ <div class="gallery_type_div">
459
+ <label for="blog_style">
460
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/blog_style.svg'; ?>" />
461
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/blog_style_active.svg'; ?>" />
462
+ </label>
463
+ <input type="radio" class="gallery_type_radio" id="blog_style" name="gallery_type" value="blog_style" />
464
+ <label class="gallery_type_label" for="blog_style"><?php echo __('Blog Style', BWG()->prefix); ?></label>
465
+ <?php if ( !BWG()->is_pro ) { ?>
466
+ <span class="pro_btn">Premium</span>
467
+ <?php } ?>
468
+ </div>
469
+ </span>
470
+ <span class="gallery_type bwg-carousel" onClick="bwg_gallery_type_options('carousel')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_carousel.png'; ?>" data-title="Carousel" data-demo-link="https://demo.10web.io/photo-gallery/carousel/?utm_source=photo_gallery&utm_medium=free_plugin">
471
+ <div class="gallery_type_div">
472
+ <label for="carousel">
473
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/carousel.svg'; ?>" />
474
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/carousel_active.svg'; ?>" />
475
+ </label>
476
+ <input class="gallery_type_radio" type="radio" id="carousel" name="gallery_type" value="carousel" />
477
+ <label class="gallery_type_label" for="carousel"><?php echo __('Carousel', BWG()->prefix); ?></label>
478
+ <?php if ( !BWG()->is_pro ) { ?>
479
+ <span class="pro_btn">Premium</span>
480
+ <?php } ?>
481
+ </div>
482
+ </span>
483
  </div>
484
  <div class="bwg_select_gallery_type">
485
+ <!-- <label class="wd-label" for="gallery_types_name">--><?php //_e('View type', BWG()->prefix); ?><!--</label>-->
486
  <select name="gallery_types_name" id="gallery_types_name" onchange="bwg_gallery_type_options(jQuery(this).val());">
487
  <?php
488
+ foreach ($gallery_types_name as $key=>$gallery_type_name) {
489
  ?>
490
+ <option <?php echo selected($gallery_type_name,true); ?> value="<?php echo $key; ?>"><?php echo $gallery_type_name; ?></option>
491
  <?php
492
  }
493
  ?>
494
  </select>
495
+ <div class="bwg-gallery-type-select">
496
+ <div class="bwg-btn-gallery-type-select type-closed" value="thumbnails" id="gallery-view-type">Thumbnails</div>
497
+ <div class="bwg-gallery-ul-div">
498
+ <ul class="bwg-gallery-ul">
499
+ <?php
500
+ foreach ($gallery_types_name as $key=>$gallery_type_name) {
501
+ ?>
502
+ <li class="gallery-type-li" data-value="<?php echo $key; ?>">
503
+ <img src="<?php echo BWG()->plugin_url . '/images/' . $key . '.svg'; ?>">
504
+ <span><?php echo $gallery_type_name; ?> </span>
505
+ <?php if ( !BWG()->is_pro && ( $key == 'thumbnails_masonry' || $key == 'thumbnails_mosaic' || $key == 'blog_style' || $key == 'carousel' )) { ?>
506
+ <span class="pro_btn">Premium</span>
507
+ <?php } ?>
508
+ </li>
509
+ <?php
510
+ }
511
+ ?>
512
+ </ul>
513
+ </div>
514
+ </div>
515
  </div>
516
  </div>
517
  <?php
518
  if ( !BWG()->is_pro ) {
519
  ?>
520
+ <div class="wd-box-content wd-width-100 wd-free-msg bwg-upgrade-view">
521
+ <div class="upgrade-to-pro-text">
522
+ <p class="upgrade-to-pro-title"></p>
523
+ <p class="upgrade-to-pro-desc">
524
+ <?php _e('Visit demo page for this view');?>
525
+ </p>
526
+ <a href="https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery/?utm_medium=free_plugin" target="_blank" class="button-upgrade"><?php _e('UPGRADE to Premium');?></a>
527
+ <a class="button-demo" href="https://demo.10web.io/photo-gallery/" target="_blank" ><?php _e('view demo');?></a>
528
+ </div>
529
+ <div class="upgrade-to-img" data-url="<?php echo BWG()->plugin_url . '/images/';?>">
530
+ <img class="pro-views-img desktop" src="">
531
+ </div>
532
  </div>
533
  <?php
534
  }
541
  </div>
542
  <div id="bwg_tab_gallery_group_content" class="search-div bwg-section wd-box-content">
543
  <div class="bwg-section bwg-flex-wrap">
544
+ <div class="wd-box-content bwg-flex-wrap">
545
+ <div id="bwg_tab_albums_content">
546
  <div class="bwg_change_gallery_type">
547
  <span class="gallery_type" onClick="bwg_album_type_options('album_compact_preview')">
 
548
  <div class="album_type_div">
549
+ <label for="album_compact_preview">
550
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.svg'; ?>" />
551
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview_active.svg'; ?>" />
552
+ </label>
553
+ <input type="radio" class="album_type_radio" id="album_compact_preview" name="album_type" value="album_compact_preview" />
554
+ <label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', BWG()->prefix); ?></label>
555
  </div>
556
  </span>
557
+ <span class="gallery_type bwg-album_masonry_preview" onClick="bwg_album_type_options('album_masonry_preview')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
558
+ <div></div>
559
  <div class="album_type_div">
560
+ <label for="album_masonry_preview">
561
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview.svg'; ?>" />
562
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview_active.svg'; ?>" />
563
+ </label>
564
+ <input type="radio" class="album_type_radio" id="album_masonry_preview" name="album_type" value="album_masonry_preview" />
565
+ <label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', BWG()->prefix); ?></label>
566
  <?php if ( !BWG()->is_pro ) { ?>
567
+ <span class="pro_btn">Premium</span>
568
  <?php } ?>
569
  </div>
570
  </span>
571
  <span class="gallery_type" onClick="bwg_album_type_options('album_extended_preview')">
 
572
  <div class="album_type_div">
573
+ <label for="album_extended_preview">
574
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.svg'; ?>" />
575
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview_active.svg'; ?>" />
576
+ </label>
577
+ <input type="radio" class="album_type_radio" id="album_extended_preview" name="album_type" value="album_extended_preview" />
578
+ <label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', BWG()->prefix); ?></label>
579
  </div>
580
  </span>
581
  </div>
582
  <div class="bwg_select_gallery_type">
583
+ <!-- <label class="wd-label" for="album_types_name">--><?php //_e('View type', BWG()->prefix); ?><!--</label>-->
584
+ <select name="album_types_name" id="album_types_name" onchange="bwg_album_type_options(jQuery(this).val());">
585
  <?php
586
  foreach ($album_types_name as $key=>$album_type_name) {
587
  ?>
590
  }
591
  ?>
592
  </select>
593
+ <div class="bwg-gallery-type-select">
594
+ <div class="bwg-btn-gallery-type-select type-closed" value="album_compact_preview" id="album-view-type">Compact</div>
595
+ <div class="bwg-gallery-ul-div">
596
+ <ul class="bwg-gallery-ul">
597
+ <?php
598
+ foreach ($album_types_name as $key=>$album_type_name) {
599
+ ?>
600
+ <li class="gallery-type-li" data-value="<?php echo $key; ?>">
601
+ <img src="<?php echo BWG()->plugin_url . '/images/' . $key . '.svg'; ?>">
602
+ <span><?php echo $album_type_name; ?> </span>
603
+ <?php if ( !BWG()->is_pro && ( $key == 'album_masonry_preview' ) ) { ?>
604
+ <span class="pro_btn">Premium</span>
605
+ <?php } ?>
606
+ </li>
607
+ <?php
608
+ }
609
+ ?>
610
+ </ul>
611
+ </div>
612
+ </div>
613
  </div>
614
  </div>
615
  <?php
616
  if ( !BWG()->is_pro ) {
617
  ?>
618
+ <div class="wd-box-content wd-width-100 wd-free-msg bwg-upgrade-view">
619
+ <div class="upgrade-to-pro-text">
620
+ <p class="upgrade-to-pro-title"></p>
621
+ <p class="upgrade-to-pro-desc">
622
+ <?php _e('Visit demo page for this view');?>
623
+ </p>
624
+ <a href="https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery/?utm_medium=free_plugin" target="_blank" class="button-upgrade"><?php _e('UPGRADE to Premium');?></a>
625
+ <a class="button-demo" href="https://demo.10web.io/photo-gallery/" target="_blank" ><?php _e('view demo');?></a>
626
+ </div>
627
+ <div class="upgrade-to-img">
628
+ <img class="desktop pro-views-img" src="">
629
+ </div>
630
  </div>
631
  <?php
632
  }
657
  </h2>
658
  <div class="inside bwg-flex-wrap">
659
  <div class="wd-box-content wd-width-100 bwg-flex-wrap">
660
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
661
  <div class="wd-group wd-width-50">
662
  <label class="wd-label" for="autoupdate_interval_hour"><?php _e('Gallery autoupdate interval', BWG()->prefix); ?></label>
663
  <div class="bwg-flex">
670
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
671
  </div>
672
  </div>
673
+ <div class="wd-box-content wd-width-50 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
674
  <div class="wd-box-title">
675
  <strong><?php _e('Instagram', BWG()->prefix); ?></strong>
676
  </div>
677
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
678
  <div class="wd-group" id="login_with_instagram">
679
  <input id="instagram_access_token" name="instagram_access_token" type="hidden" size="30" value="<?php echo $row->instagram_access_token; ?>" readonly />
680
  <?php if ( empty($row->instagram_access_token) ) {
725
  </h2>
726
  <div class="inside bwg-flex-wrap">
727
  <div class="wd-box-content wd-width-50">
728
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
729
  <div class="wd-group">
730
  <label class="wd-label" for="permissions"><?php _e('Roles', BWG()->prefix); ?></label>
731
  <div class="bwg-flex">
745
  </div>
746
  </div>
747
  <div class="wd-box-content wd-width-50">
748
+ <div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
749
  <div class="wd-group">
750
  <label class="wd-label"><?php _e('Gallery role restrictions', BWG()->prefix); ?></label>
751
  <div class="bwg-flex">
756
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
757
  </div>
758
  </div>
759
+ <div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
760
  <div class="wd-group">
761
  <label class="wd-label"><?php _e('Gallery group restrictions', BWG()->prefix); ?></label>
762
  <div class="bwg-flex">
767
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
768
  </div>
769
  </div>
770
+ <div class="wd-box-content wd-width-100 bwg_roles <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
771
  <div class="wd-group">
772
  <label class="wd-label"><?php _e('Image role restrictions', BWG()->prefix); ?></label>
773
  <div class="bwg-flex">
1383
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
1384
  </div>
1385
  </div>
1386
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1387
  <div class="wd-group">
1388
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
1389
  <div class="bwg-flex">
1591
  <p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
1592
  </div>
1593
  </div>
1594
+ <div class="wd-box-content wd-width-100 bwg-vertical-block-masonry <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_show_masonry_thumb_description">
1595
  <div class="wd-group">
1596
  <label class="wd-label"><?php _e('Show image descriptions', BWG()->prefix); ?></label>
1597
  <div class="bwg-flex">
1612
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
1613
  </div>
1614
  </div>
1615
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1616
  <div class="wd-group">
1617
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
1618
  <div class="bwg-flex">
1648
  </div>
1649
  <div id="thumbnails_mosaic_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
1650
  <div class="wd-box-content wd-width-33">
1651
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1652
  <div class="wd-group">
1653
  <label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
1654
  <div class="bwg-flex">
1659
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
1660
  </div>
1661
  </div>
1662
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1663
  <div class="wd-group">
1664
  <label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
1665
  <div class="bwg-flex">
1670
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
1671
  </div>
1672
  </div>
1673
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1674
  <div class="wd-group">
1675
  <label class="wd-label" for="mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
1676
  <div class="bwg-flex">
1836
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
1837
  </div>
1838
  </div>
1839
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1840
  <div class="wd-group">
1841
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
1842
  <div class="bwg-flex">
1987
  </div>
1988
  </div>
1989
  <div class="wd-box-content wd-width-33">
1990
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
1991
  <div class="wd-group">
1992
  <label class="wd-label"><?php _e('Enable slideshow filmstrip', BWG()->prefix); ?></label>
1993
  <div class="bwg-flex">
1998
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
1999
  </div>
2000
  </div>
2001
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_slideshow_filmstrip_height">
2002
  <div class="wd-group">
2003
  <label class="wd-label" for="slideshow_filmstrip_height"><?php _e('Slideshow filmstrip size', BWG()->prefix); ?></label>
2004
  <div class="bwg-flex">
2111
  <p class="description"><?php _e('Provide the absolute URL of the audio file you would like to play with your slideshow.', BWG()->prefix); ?></p>
2112
  </div>
2113
  </div>
2114
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2115
  <div class="wd-group">
2116
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2117
  <div class="bwg-flex">
2253
  <p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
2254
  </div>
2255
  </div>
2256
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2257
  <div class="wd-group">
2258
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2259
  <div class="bwg-flex">
2273
  </div>
2274
  <div id="blog_style_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
2275
  <div class="wd-box-content wd-width-33">
2276
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2277
  <div class="wd-group">
2278
  <label class="wd-label" for="blog_style_width"><?php _e('Image width', BWG()->prefix); ?></label>
2279
  <div class="bwg-flex">
2283
  </div>
2284
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2285
  </div>
2286
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2287
  <div class="wd-group">
2288
  <label class="wd-label"><?php _e('Pagination', BWG()->prefix); ?></label>
2289
  <div class="bwg-flex">
2299
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2300
  </div>
2301
  </div>
2302
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_blog_style_images_per_page">
2303
  <div class="wd-group">
2304
  <label class="wd-label" for="blog_style_images_per_page"><?php _e('Images per page', BWG()->prefix); ?></label>
2305
  <div class="bwg-flex">
2412
  <p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
2413
  </div>
2414
  </div>
2415
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2416
  <div class="wd-group">
2417
  <label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
2418
  <div class="bwg-flex">
2423
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2424
  </div>
2425
  </div>
2426
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2427
  <div class="wd-group">
2428
  <label class="wd-label"><?php _e('Show image description', BWG()->prefix); ?></label>
2429
  <div class="bwg-flex">
2434
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2435
  </div>
2436
  </div>
2437
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2438
  <div class="wd-group">
2439
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2440
  <div class="bwg-flex">
2454
  </div>
2455
  <div id="carousel_options" class="bwg-pro-views gallery_options wd-box-content wd-width-100 bwg-flex-wrap">
2456
  <div class="wd-box-content wd-width-33">
2457
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2458
  <div class="wd-group">
2459
  <label class="wd-label" for="carousel_image_column_number"><?php _e('Max. number of images', BWG()->prefix); ?></label>
2460
  <div class="bwg-flex">
2464
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2465
  </div>
2466
  </div>
2467
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2468
  <div class="wd-group">
2469
  <label class="wd-label" for="carousel_width"><?php _e('Image dimensions', BWG()->prefix); ?></label>
2470
  <div class="bwg-flex">
2475
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2476
  </div>
2477
  </div>
2478
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2479
  <div class="wd-group">
2480
  <label class="wd-label" for="carousel_image_par"><?php _e('Carousel ratio', BWG()->prefix); ?></label>
2481
  <div class="bwg-flex">
2485
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2486
  </div>
2487
  </div>
2488
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2489
  <div class="wd-group">
2490
  <label class="wd-label" for="carousel_r_width"><?php _e('Fixed width', BWG()->prefix); ?></label>
2491
  <div class="bwg-flex">
2521
  <p class="description"><?php _e("Select the parameter and order direction to sort the gallery images with. E.g. Title and Ascending.", BWG()->prefix); ?></p>
2522
  </div>
2523
  </div>
2524
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2525
  <div class="wd-group">
2526
  <label class="wd-label"><?php _e('Enable autoplay', BWG()->prefix); ?></label>
2527
  <div class="bwg-flex">
2532
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2533
  </div>
2534
  </div>
2535
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2536
  <div class="wd-group">
2537
  <label class="wd-label" for="carousel_interval"><?php _e('Time interval', BWG()->prefix); ?></label>
2538
  <div class="bwg-flex">
2542
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2543
  </div>
2544
  </div>
2545
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2546
  <div class="wd-group">
2547
  <label class="wd-label"><?php _e('Container fit', BWG()->prefix); ?></label>
2548
  <div class="bwg-flex">
2553
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2554
  </div>
2555
  </div>
2556
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2557
  <div class="wd-group">
2558
  <label class="wd-label"><?php _e('Next/Previous buttons', BWG()->prefix); ?></label>
2559
  <div class="bwg-flex">
2566
  </div>
2567
  </div>
2568
  <div class="wd-box-content wd-width-33">
2569
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2570
  <div class="wd-group">
2571
  <label class="wd-label"><?php _e('Show gallery title', BWG()->prefix); ?></label>
2572
  <div class="bwg-flex">
2587
  <p class="description"><?php _e('Display the descriptions of your galleries by activating this option.', BWG()->prefix); ?></p>
2588
  </div>
2589
  </div>
2590
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2591
  <div class="wd-group">
2592
  <label class="wd-label"><?php _e('Show image title', BWG()->prefix); ?></label>
2593
  <div class="bwg-flex">
2598
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2599
  </div>
2600
  </div>
2601
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2602
  <div class="wd-group">
2603
  <label class="wd-label"><?php _e('Play/Pause buttons', BWG()->prefix); ?></label>
2604
  <div class="bwg-flex">
2609
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2610
  </div>
2611
  </div>
2612
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2613
  <div class="wd-group">
2614
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2615
  <div class="bwg-flex">
2828
  <p class="description"><?php _e('Choose to show/hide titles of galleries/gallery groups, or display them on hover.', BWG()->prefix); ?></p>
2829
  </div>
2830
  </div>
2831
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2832
  <div class="wd-group">
2833
  <label class="wd-label" for="album_view_type"><?php _e('Gallery view type', BWG()->prefix); ?></label>
2834
  <select name="album_view_type" id="album_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
2844
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2845
  </div>
2846
  </div>
2847
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_mosaic">
2848
  <div class="wd-group">
2849
  <label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
2850
  <div class="bwg-flex">
2855
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2856
  </div>
2857
  </div>
2858
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_resizable_mosaic">
2859
  <div class="wd-group">
2860
  <label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
2861
  <div class="bwg-flex">
2866
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
2867
  </div>
2868
  </div>
2869
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_mosaic_total_width">
2870
  <div class="wd-group">
2871
  <label class="wd-label" for="album_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
2872
  <div class="bwg-flex">
2900
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
2901
  </div>
2902
  </div>
2903
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
2904
  <div class="wd-group">
2905
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
2906
  <div class="bwg-flex">
3128
  <p class="description"><?php _e('Choose to show/hide titles of images, or display them on hover.', BWG()->prefix); ?></p>
3129
  </div>
3130
  </div>
3131
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
3132
  <div class="wd-group">
3133
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
3134
  <div class="bwg-flex">
3367
  <p class="description"><?php _e('Enable this option to show descriptions of galleries/gallery groups in Extended view.', BWG()->prefix); ?></p>
3368
  </div>
3369
  </div>
3370
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
3371
  <div class="wd-group">
3372
  <label class="wd-label" for="album_extended_view_type"><?php _e('Gallery view type', BWG()->prefix); ?></label>
3373
  <select name="album_extended_view_type" id="album_extended_view_type" <?php echo BWG()->is_pro ? '' : 'disabled="disabled"'; ?>>
3383
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3384
  </div>
3385
  </div>
3386
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_mosaic">
3387
  <div class="wd-group">
3388
  <label class="wd-label"><?php _e('Mosaic gallery type', BWG()->prefix); ?></label>
3389
  <div class="bwg-flex">
3394
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3395
  </div>
3396
  </div>
3397
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_resizable_mosaic">
3398
  <div class="wd-group">
3399
  <label class="wd-label"><?php _e('Resizable mosaic', BWG()->prefix); ?></label>
3400
  <div class="bwg-flex">
3405
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3406
  </div>
3407
  </div>
3408
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_album_extended_mosaic_total_width">
3409
  <div class="wd-group">
3410
  <label class="wd-label" for="album_extended_mosaic_total_width"><?php _e('Width of mosaic galleries', BWG()->prefix); ?></label>
3411
  <div class="bwg-flex">
3439
  <p class="description"><?php _e('Activate this option to add a Play button on thumbnails of videos.', BWG()->prefix); ?></p>
3440
  </div>
3441
  </div>
3442
+ <div class="wd-box-content wd-width-100 <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
3443
  <div class="wd-group">
3444
  <label class="wd-label"><?php _e('Enable bulk download button', BWG()->prefix); ?></label>
3445
  <div class="bwg-flex">
3572
  <p class="description"><?php _e('Specify the time interval of autoplay in Photo Gallery lightbox.', BWG()->prefix) ?></p>
3573
  </div>
3574
  </div>
3575
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
3576
  <div class="wd-group">
3577
  <label class="wd-label"><?php _e('Enable filmstrip', BWG()->prefix); ?></label>
3578
  <div class="bwg-flex">
3583
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3584
  </div>
3585
  </div>
3586
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_filmstrip_height ">
3587
  <div class="wd-group">
3588
  <label class="wd-label" for="popup_filmstrip_height"><?php _e('Filmstrip size', BWG()->prefix); ?></label>
3589
  <div class="bwg-flex">
3641
  <p class="description"><?php _e('Activate this setting to add Fullscreen button to lightbox control buttons.', BWG()->prefix) ?></p>
3642
  </div>
3643
  </div>
3644
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_comment">
3645
  <div class="wd-group">
3646
  <label class="wd-label"><?php _e('Enable comments', BWG()->prefix); ?></label>
3647
  <div class="bwg-flex">
3656
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3657
  </div>
3658
  </div>
3659
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_email">
3660
  <div class="wd-group">
3661
  <label class="wd-label"><?php _e('Show Email for comments', BWG()->prefix); ?></label>
3662
  <div class="bwg-flex">
3667
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3668
  </div>
3669
  </div>
3670
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_captcha">
3671
  <div class="wd-group">
3672
  <label class="wd-label"><?php _e('Show Captcha for comments', BWG()->prefix); ?></label>
3673
  <div class="bwg-flex">
3678
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3679
  </div>
3680
  </div>
3681
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_comment_moderation">
3682
  <div class="wd-group">
3683
  <label class="wd-label"><?php _e('Enable comments moderation', BWG()->prefix); ?></label>
3684
  <div class="bwg-flex">
3729
  <p class="description"><?php _e('Choose to display Next/Previous buttons of Photo Gallery lightbox on hover or always.', BWG()->prefix) ?></p>
3730
  </div>
3731
  </div>
3732
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_hit_counter">
3733
  <div class="wd-group">
3734
  <label class="wd-label"><?php _e('Display views counter', BWG()->prefix); ?></label>
3735
  <div class="bwg-flex">
3740
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3741
  </div>
3742
  </div>
3743
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_rate">
3744
  <div class="wd-group">
3745
  <label class="wd-label"><?php _e('Enable rating', BWG()->prefix); ?></label>
3746
  <div class="bwg-flex">
3793
  <p class="description"><?php _e('Activate looping to start lightbox navigation from the beginning when users reach its last image.', BWG()->prefix) ?></p>
3794
  </div>
3795
  </div>
3796
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>">
3797
  <div class="wd-group">
3798
  <label class="wd-label"><?php _e('Enable', BWG()->prefix); ?> AddThis</label>
3799
  <div class="bwg-flex">
3804
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3805
  </div>
3806
  </div>
3807
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_addthis_profile_id">
3808
  <div class="wd-group">
3809
  <label class="wd-label" for="addthis_profile_id">AddThis <?php _e('profile ID', BWG()->prefix); ?></label>
3810
  <div class="bwg-flex">
3814
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3815
  </div>
3816
  </div>
3817
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_facebook">
3818
  <div class="wd-group">
3819
  <label class="wd-label"><?php _e('Show Facebook button', BWG()->prefix); ?></label>
3820
  <div class="bwg-flex">
3825
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3826
  </div>
3827
  </div>
3828
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_twitter">
3829
  <div class="wd-group">
3830
  <label class="wd-label"><?php _e('Show Twitter button', BWG()->prefix); ?></label>
3831
  <div class="bwg-flex">
3836
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3837
  </div>
3838
  </div>
3839
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_pinterest">
3840
  <div class="wd-group">
3841
  <label class="wd-label"><?php _e('Show Pinterest button', BWG()->prefix); ?></label>
3842
  <div class="bwg-flex">
3847
  <?php if ( !BWG()->is_pro ) { ?><p class="description spider_free_version"><?php echo BWG()->free_msg; ?></p><?php } ?>
3848
  </div>
3849
  </div>
3850
+ <div class="wd-box-content wd-width-100 bwg-lightbox bwg-lightbox-lightbox <?php echo BWG()->is_pro ? '' : ' bwg-disabled-option'; ?>" id="tr_popup_tumblr">
3851
  <div class="wd-group">
3852
  <label class="wd-label"><?php _e('Show Tumblr button', BWG()->prefix); ?></label>
3853
  <div class="bwg-flex">
admin/views/Shortcode.php CHANGED
@@ -10,15 +10,18 @@ class ShortcodeView_bwg extends AdminView_bwg {
10
  wp_print_scripts(BWG()->prefix . '_shortcode');
11
  wp_print_scripts(BWG()->prefix . '_jscolor');
12
  wp_print_styles(BWG()->prefix . '_shortcode');
 
13
  wp_print_styles(BWG()->prefix . '_tables');
14
  wp_print_scripts('jquery-ui-tabs');
15
  }
16
  else {
17
  wp_enqueue_script(BWG()->prefix . '_shortcode');
18
  wp_enqueue_style(BWG()->prefix . '_shortcode');
 
19
  wp_enqueue_script(BWG()->prefix . '_jscolor');
20
  wp_enqueue_script('jquery-ui-tabs');
21
  }
 
22
  require_once BWG()->plugin_dir . '/admin/views/Options.php';
23
  ob_start();
24
  echo $this->body($params);
@@ -64,59 +67,79 @@ class ShortcodeView_bwg extends AdminView_bwg {
64
  </ul>
65
  <div id="bwg_tab_galleries_content" style="display: none" class="bwg-section bwg-no-bottom-border wd-box-content">
66
  <div class="bwg_change_gallery_type">
67
- <span class="gallery_type" onClick="bwg_gallery_type('thumbnails')">
68
- <div><label for="thumbnails"><img id="display_thumb" src="<?php echo BWG()->plugin_url . '/images/thumbnails.jpg'; ?>" /></label></div>
69
  <div class="gallery_type_div">
 
 
 
 
70
  <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>
71
  </div>
72
  </span>
73
- <span class="gallery_type" onClick="bwg_gallery_type('thumbnails_masonry')">
74
- <div>
75
- <label for="thumbnails_masonry"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label>
76
- </div>
77
  <div class="gallery_type_div">
78
- <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>
 
 
 
 
 
79
  <?php if ( !BWG()->is_pro ) { ?>
80
- <span class="pro_btn">Paid</span>
81
  <?php } ?>
82
  </div>
83
  </span>
84
- <span class="gallery_type" onClick="bwg_gallery_type('thumbnails_mosaic')">
85
- <div><label for="thumbnails_mosaic"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.jpg'; ?>" /></label></div>
86
  <div class="gallery_type_div">
 
 
 
 
87
  <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>
88
  <?php if ( !BWG()->is_pro ) { ?>
89
- <span class="pro_btn">Paid</span>
90
  <?php } ?>
91
  </div>
92
  </span>
93
- <span class="gallery_type" onClick="bwg_gallery_type('slideshow')">
94
- <div><label for="slideshow"><img src="<?php echo BWG()->plugin_url . '/images/slideshow.jpg'; ?>" /></label></div>
95
  <div class="gallery_type_div">
 
 
 
 
96
  <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>
97
  </div>
98
  </span>
99
- <span class="gallery_type" onClick="bwg_gallery_type('image_browser')">
100
- <div><label for="image_browser"><img src="<?php echo BWG()->plugin_url . '/images/image_browser.jpg'; ?>" /></label></div>
101
  <div class="gallery_type_div">
 
 
 
 
102
  <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>
103
  </div>
104
  </span>
105
- <span class="gallery_type" onClick="bwg_gallery_type('blog_style')">
106
- <div><label for="blog_style"><img src="<?php echo BWG()->plugin_url . '/images/blog_style.jpg'; ?>" /></label></div>
107
  <div class="gallery_type_div">
 
 
 
 
108
  <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>
109
  <?php if ( !BWG()->is_pro ) { ?>
110
- <span class="pro_btn">Paid</span>
111
  <?php } ?>
112
  </div>
113
  </span>
114
- <span class="gallery_type" onClick="bwg_gallery_type('carousel')">
115
- <div><label for="carousel"><img src="<?php echo BWG()->plugin_url . '/images/Carousel.png'; ?>" /></label></div>
116
  <div class="gallery_type_div">
 
 
 
 
117
  <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>
118
  <?php if ( !BWG()->is_pro ) { ?>
119
- <span class="pro_btn">Paid</span>
120
  <?php } ?>
121
  </div>
122
  </span>
@@ -132,28 +155,57 @@ class ShortcodeView_bwg extends AdminView_bwg {
132
  }
133
  ?>
134
  </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  </div>
136
  </div>
137
  <div id="bwg_tab_albums_content" style="display: none" class="bwg-section bwg-no-bottom-border wd-box-content">
138
  <div class="bwg_change_gallery_type">
139
- <span class="gallery_type" onClick="bwg_gallery_type('album_compact_preview')">
140
- <div><label for="album_compact_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.jpg'; ?>" /></label></div>
141
  <div class="album_type_div">
 
 
 
 
142
  <input type="radio" class="album_type_radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', BWG()->prefix); ?></label>
143
  </div>
144
  </span>
145
- <span class="gallery_type" onClick="bwg_gallery_type('album_masonry_preview')">
146
- <div><label for="album_masonry_preview"><img src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.jpg'; ?>" /></label></div>
147
  <div class="album_type_div">
 
 
 
 
148
  <input type="radio" class="album_type_radio" id="album_masonry_preview" name="gallery_type" value="album_masonry_preview" /><label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', BWG()->prefix); ?></label>
149
  <?php if ( !BWG()->is_pro ) { ?>
150
- <span class="pro_btn">Paid</span>
151
  <?php } ?>
152
  </div>
153
  </span>
154
- <span class="gallery_type" onClick="bwg_gallery_type('album_extended_preview')">
155
- <div><label for="album_extended_preview"><img src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.jpg'; ?>" /></label></div>
156
  <div class="album_type_div">
 
 
 
 
157
  <input type="radio" class="album_type_radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', BWG()->prefix); ?></label>
158
  </div>
159
  </span>
@@ -169,15 +221,43 @@ class ShortcodeView_bwg extends AdminView_bwg {
169
  }
170
  ?>
171
  </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  </div>
173
  </div>
174
  <?php
175
  if ( !BWG()->is_pro ) {
176
  ?>
177
- <div class="wd-box-content wd-width-100 wd-free-msg">
178
- <?php
179
- echo WDWLibrary::message_id(0, __('This view is not available in free version.', BWG()->prefix), 'error');
180
- ?>
 
 
 
 
 
 
 
 
181
  </div>
182
  <?php
183
  }
@@ -426,14 +506,15 @@ class ShortcodeView_bwg extends AdminView_bwg {
426
  <div class="media-toolbar-primary search-form">
427
  <button class="button media-button button-primary button-large media-button-insert button-hero" type="button" id="insert" name="insert" <?php if($params['elementor_callback']) { ?> data-callback="elementor" <?php } ?> onClick="bwg_insert_shortcode('');"><?php _e('Insert into post', BWG()->prefix); ?></button>
428
  </div>
429
- <?php if ( !BWG()->is_pro ) { ?>
430
- <div class="media-toolbar-primary search-form" style="float: left;">
431
- <span class="media-button button-large">
432
- <a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="https://demo.10web.io/photo-gallery/<?php echo BWG()->utm_source; ?>"><?php _e('Please see ', BWG()->prefix) ?><span id="bwg_pro_version"><?php _e('Thumbnails', BWG()->prefix) ?></span> <?php _e('View in Premium version', BWG()->prefix) ?></a>
433
- </span>
434
- </div>
435
- <?php } ?>
436
- </div>
 
437
  </div>
438
  <?php
439
  }
10
  wp_print_scripts(BWG()->prefix . '_shortcode');
11
  wp_print_scripts(BWG()->prefix . '_jscolor');
12
  wp_print_styles(BWG()->prefix . '_shortcode');
13
+ wp_print_styles(BWG()->prefix . '-opensans');
14
  wp_print_styles(BWG()->prefix . '_tables');
15
  wp_print_scripts('jquery-ui-tabs');
16
  }
17
  else {
18
  wp_enqueue_script(BWG()->prefix . '_shortcode');
19
  wp_enqueue_style(BWG()->prefix . '_shortcode');
20
+ wp_enqueue_style(BWG()->prefix . '-opensans');
21
  wp_enqueue_script(BWG()->prefix . '_jscolor');
22
  wp_enqueue_script('jquery-ui-tabs');
23
  }
24
+ do_action( 'bwg_shortcode_scripts_after' );
25
  require_once BWG()->plugin_dir . '/admin/views/Options.php';
26
  ob_start();
27
  echo $this->body($params);
67
  </ul>
68
  <div id="bwg_tab_galleries_content" style="display: none" class="bwg-section bwg-no-bottom-border wd-box-content">
69
  <div class="bwg_change_gallery_type">
70
+ <span class="gallery_type bwg-thumbnails" onClick="bwg_gallery_type('thumbnails')">
 
71
  <div class="gallery_type_div">
72
+ <label for="thumbnails">
73
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails.svg'; ?>" />
74
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_active.svg'; ?>" />
75
+ </label>
76
  <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>
77
  </div>
78
  </span>
79
+ <span class="gallery_type bwg-thumbnails_masonry" onClick="bwg_gallery_type('thumbnails_masonry')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
 
 
 
80
  <div class="gallery_type_div">
81
+ <label for="thumbnails_masonry">
82
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry.svg'; ?>" />
83
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_masonry_active.svg'; ?>" />
84
+ </label>
85
+ <input type="radio" class="gallery_type_radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" />
86
+ <label class="gallery_type_label" for="thumbnails_masonry"><?php echo __('Masonry', BWG()->prefix); ?></label>
87
  <?php if ( !BWG()->is_pro ) { ?>
88
+ <span class="pro_btn">Premium</span>
89
  <?php } ?>
90
  </div>
91
  </span>
92
+ <span class="gallery_type bwg-thumbnails_mosaic" onClick="bwg_gallery_type('thumbnails_mosaic')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_mosaic.png'; ?>" data-title="Mosaic" data-demo-link="https://demo.10web.io/photo-gallery/mosaic/?utm_source=photo_gallery&utm_medium=free_plugin">
 
93
  <div class="gallery_type_div">
94
+ <label for="thumbnails_mosaic">
95
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic.svg'; ?>" />
96
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/thumbnails_mosaic_active.svg'; ?>" />
97
+ </label>
98
  <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>
99
  <?php if ( !BWG()->is_pro ) { ?>
100
+ <span class="pro_btn">Premium</span>
101
  <?php } ?>
102
  </div>
103
  </span>
104
+ <span class="gallery_type bwg-slideshow" onClick="bwg_gallery_type('slideshow')">
 
105
  <div class="gallery_type_div">
106
+ <label for="slideshow">
107
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/slideshow.svg'; ?>" />
108
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/slideshow_active.svg'; ?>" />
109
+ </label>
110
  <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>
111
  </div>
112
  </span>
113
+ <span class="gallery_type bwg-image_browser" onClick="bwg_gallery_type('image_browser')">
 
114
  <div class="gallery_type_div">
115
+ <label for="image_browser">
116
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/image_browser.svg'; ?>" />
117
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/image_browser_active.svg'; ?>" />
118
+ </label>
119
  <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>
120
  </div>
121
  </span>
122
+ <span class="gallery_type bwg-blog_style" onClick="bwg_gallery_type('blog_style')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_blog_style.png'; ?>" data-title="Blog Style" data-demo-link="https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin">
 
123
  <div class="gallery_type_div">
124
+ <label for="blog_style">
125
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/blog_style.svg'; ?>" />
126
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/blog_style_active.svg'; ?>" />
127
+ </label>
128
  <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>
129
  <?php if ( !BWG()->is_pro ) { ?>
130
+ <span class="pro_btn">Premium</span>
131
  <?php } ?>
132
  </div>
133
  </span>
134
+ <span class="gallery_type bwg-carousel" onClick="bwg_gallery_type('carousel')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_carousel.png'; ?>" data-title="Carousel" data-demo-link="https://demo.10web.io/photo-gallery/carousel/?utm_source=photo_gallery&utm_medium=free_plugin">
 
135
  <div class="gallery_type_div">
136
+ <label for="carousel">
137
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/carousel.svg'; ?>" />
138
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/carousel_active.svg'; ?>" />
139
+ </label>
140
  <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>
141
  <?php if ( !BWG()->is_pro ) { ?>
142
+ <span class="pro_btn">Premium</span>
143
  <?php } ?>
144
  </div>
145
  </span>
155
  }
156
  ?>
157
  </select>
158
+ <div class="bwg-gallery-type-select">
159
+ <div class="bwg-btn-gallery-type-select type-closed" value="thumbnails" id="gallery-view-type">Thumbnails</div>
160
+ <div class="bwg-gallery-ul-div">
161
+ <ul class="bwg-gallery-ul">
162
+ <?php
163
+ foreach ($gallery_types_name as $key=>$gallery_type_name) {
164
+ ?>
165
+ <li class="gallery-type-li" data-value="<?php echo $key; ?>">
166
+ <img src="<?php echo BWG()->plugin_url . '/images/' . $key . '.svg'; ?>">
167
+ <span><?php echo $gallery_type_name; ?> </span>
168
+ <?php if ( !BWG()->is_pro && ( $key == 'thumbnails_masonry' || $key == 'thumbnails_mosaic' || $key == 'blog_style' || $key == 'carousel' )) { ?>
169
+ <span class="pro_btn">Premium</span>
170
+ <?php } ?>
171
+ </li>
172
+ <?php
173
+ }
174
+ ?>
175
+ </ul>
176
+ </div>
177
+ </div>
178
  </div>
179
  </div>
180
  <div id="bwg_tab_albums_content" style="display: none" class="bwg-section bwg-no-bottom-border wd-box-content">
181
  <div class="bwg_change_gallery_type">
182
+ <span class="gallery_type bwg-album_compact_preview" onClick="bwg_gallery_type('album_compact_preview')">
 
183
  <div class="album_type_div">
184
+ <label for="album_compact_preview">
185
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview.svg'; ?>" />
186
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_compact_preview_active.svg'; ?>" />
187
+ </label>
188
  <input type="radio" class="album_type_radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label class="album_type_label" for="album_compact_preview"><?php echo __('Compact', BWG()->prefix); ?></label>
189
  </div>
190
  </span>
191
+ <span class="gallery_type bwg-album_masonry_preview" onClick="bwg_gallery_type('album_masonry_preview')" data-img-url="<?php echo BWG()->plugin_url . '/images/upgrade_to_pro_masonry.png'; ?>" data-title="Masonry" data-demo-link="https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin">
 
192
  <div class="album_type_div">
193
+ <label for="album_masonry_preview">
194
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview.svg'; ?>" />
195
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_masonry_preview_active.svg'; ?>" />
196
+ </label>
197
  <input type="radio" class="album_type_radio" id="album_masonry_preview" name="gallery_type" value="album_masonry_preview" /><label class="album_type_label" for="album_masonry_preview"><?php echo __('Masonry', BWG()->prefix); ?></label>
198
  <?php if ( !BWG()->is_pro ) { ?>
199
+ <span class="pro_btn">Premium</span>
200
  <?php } ?>
201
  </div>
202
  </span>
203
+ <span class="gallery_type bwg-album_extended_preview" onClick="bwg_gallery_type('album_extended_preview')">
 
204
  <div class="album_type_div">
205
+ <label for="album_extended_preview">
206
+ <img class="view_type_img" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview.svg'; ?>" />
207
+ <img class="view_type_img_active" src="<?php echo BWG()->plugin_url . '/images/album_extended_preview_active.svg'; ?>" />
208
+ </label>
209
  <input type="radio" class="album_type_radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label class="album_type_label" for="album_extended_preview"><?php echo __('Extended', BWG()->prefix); ?></label>
210
  </div>
211
  </span>
221
  }
222
  ?>
223
  </select>
224
+ <div class="bwg-gallery-type-select">
225
+ <div class="bwg-btn-gallery-type-select type-closed" value="album_compact_preview" id="album-view-type">Compact</div>
226
+ <div class="bwg-gallery-ul-div">
227
+ <ul class="bwg-gallery-ul">
228
+ <?php
229
+ foreach ($album_types_name as $key=>$album_type_name) {
230
+ ?>
231
+ <li class="gallery-type-li" data-value="<?php echo $key; ?>">
232
+ <img src="<?php echo BWG()->plugin_url . '/images/' . $key . '.svg'; ?>">
233
+ <span><?php echo $album_type_name; ?> </span>
234
+ <?php if ( !BWG()->is_pro && ( $key == 'album_masonry_preview' ) ) { ?>
235
+ <span class="pro_btn">Premium</span>
236
+ <?php } ?>
237
+ </li>
238
+ <?php
239
+ }
240
+ ?>
241
+ </ul>
242
+ </div>
243
+ </div>
244
  </div>
245
  </div>
246
  <?php
247
  if ( !BWG()->is_pro ) {
248
  ?>
249
+ <div class="wd-box-content wd-width-100 wd-free-msg bwg-upgrade-view">
250
+ <div class="upgrade-to-pro-text">
251
+ <p class="upgrade-to-pro-title"></p>
252
+ <p class="upgrade-to-pro-desc">
253
+ <?php _e('Visit demo page for this view');?>
254
+ </p>
255
+ <a href="https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery/?utm_medium=free_plugin" target="_blank" class="button-upgrade"><?php _e('UPGRADE to Premium');?></a>
256
+ <a class="button-demo" href="https://demo.10web.io/photo-gallery/" target="_blank" ><?php _e('view demo');?></a>
257
+ </div>
258
+ <div class="upgrade-to-img">
259
+ <img class="desktop pro-views-img" src="">
260
+ </div>
261
  </div>
262
  <?php
263
  }
506
  <div class="media-toolbar-primary search-form">
507
  <button class="button media-button button-primary button-large media-button-insert button-hero" type="button" id="insert" name="insert" <?php if($params['elementor_callback']) { ?> data-callback="elementor" <?php } ?> onClick="bwg_insert_shortcode('');"><?php _e('Insert into post', BWG()->prefix); ?></button>
508
  </div>
509
+ <!-- needed to remove after dicessing with design team-->
510
+ <!-- --><?php //if ( !BWG()->is_pro ) { ?>
511
+ <!-- <div class="media-toolbar-primary search-form" style="float: left;">-->
512
+ <!-- <span class="media-button button-large">-->
513
+ <!-- <a id="bwg_pro_version_link" class="bwg_link_shortcode" target="_blank" href="https://demo.10web.io/photo-gallery/--><?php //echo BWG()->utm_source; ?><!--">--><?php //_e('Please see ', BWG()->prefix) ?><!--<span id="bwg_pro_version">--><?php //_e('Thumbnails', BWG()->prefix) ?><!--</span> --><?php //_e('View in Premium version', BWG()->prefix) ?><!--</a>-->
514
+ <!-- </span>-->
515
+ <!-- </div>-->
516
+ <!-- --><?php //} ?>
517
+ <!-- </div>-->
518
  </div>
519
  <?php
520
  }
admin/views/Themes.php CHANGED
@@ -15,12 +15,17 @@ class ThemesView_bwg extends AdminView_bwg {
15
  * @param $params
16
  */
17
  public function display( $params = array() ) {
18
- if ( !BWG()->is_pro && get_option("wd_bwg_theme_version") ) {
19
- WDWLibrary::topbar();
20
  ?>
21
  <div class="wrap">
22
  <?php
23
- echo WDWLibrary::message_id(0, __('You can\'t change theme parameters in free version.', BWG()->prefix), 'error inline');
 
 
 
 
 
 
 
24
  ?>
25
  <img class="wd-width-100" src="<?php echo BWG()->plugin_url . '/images/theme.png'; ?>" />
26
  </div>
@@ -62,6 +67,7 @@ class ThemesView_bwg extends AdminView_bwg {
62
  'add_new_button' => array(
63
  'href' => add_query_arg(array( 'page' => $page, 'task' => 'edit' ), admin_url('admin.php')),
64
  ),
 
65
  ));
66
  echo $this->search();
67
  ?>
@@ -220,12 +226,12 @@ class ThemesView_bwg extends AdminView_bwg {
220
  <input type="text" id="name" name="name" value="<?php echo !empty( $row->name ) ? $row->name : ''; ?>" class="spider_text_input bwg_requried">
221
  <?php if ( BWG()->is_pro || get_option("wd_bwg_theme_version") ) { ?>
222
  <div class="bwg-page-actions">
223
- <button class="button button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
224
  <?php echo !empty($row->name) ? __('Update', BWG()->prefix) : __('Save', BWG()->prefix); ?>
225
  </button>
226
  <?php if( $id ) { ?>
227
  <input title="<?php _e('Reset to default theme', BWG()->prefix); ?>"
228
- class="button preview-button button-large wd-btn-reset" type="submit"
229
  onclick="if (confirm('<?php echo addslashes(__('Do you want to reset to default?', BWG()->prefix)); ?>')) {
230
  spider_set_input_value('task', 'reset');
231
  } else {
15
  * @param $params
16
  */
17
  public function display( $params = array() ) {
 
 
18
  ?>
19
  <div class="wrap">
20
  <?php
21
+ if ( !BWG()->is_pro && get_option("wd_bwg_theme_version") ) {
22
+ echo WDWLibrary::message_id(0, __('You can\'t change theme parameters in free version.', BWG()->prefix), 'error inline');
23
+ echo $this->title(array(
24
+ 'title' => $params['page_title'],
25
+ 'title_class' => 'wd-header',
26
+ 'add_new_button' => FALSE,
27
+ 'how_to_button' => true,
28
+ ));
29
  ?>
30
  <img class="wd-width-100" src="<?php echo BWG()->plugin_url . '/images/theme.png'; ?>" />
31
  </div>
67
  'add_new_button' => array(
68
  'href' => add_query_arg(array( 'page' => $page, 'task' => 'edit' ), admin_url('admin.php')),
69
  ),
70
+ 'add_new_button_text' => 'Add new theme',
71
  ));
72
  echo $this->search();
73
  ?>
226
  <input type="text" id="name" name="name" value="<?php echo !empty( $row->name ) ? $row->name : ''; ?>" class="spider_text_input bwg_requried">
227
  <?php if ( BWG()->is_pro || get_option("wd_bwg_theme_version") ) { ?>
228
  <div class="bwg-page-actions">
229
+ <button class="tw-button-primary button-large" onclick="if (spider_check_required('name', 'Title')) {return false;}; spider_set_input_value('task', 'save')">
230
  <?php echo !empty($row->name) ? __('Update', BWG()->prefix) : __('Save', BWG()->prefix); ?>
231
  </button>
232
  <?php if( $id ) { ?>
233
  <input title="<?php _e('Reset to default theme', BWG()->prefix); ?>"
234
+ class="tw-button-secondary preview-button button-large wd-btn-reset" type="submit"
235
  onclick="if (confirm('<?php echo addslashes(__('Do you want to reset to default?', BWG()->prefix)); ?>')) {
236
  spider_set_input_value('task', 'reset');
237
  } else {
css/bwg_shortcode.css CHANGED
@@ -1,18 +1,3 @@
1
- .gallery_type {
2
- border: 1px solid #CCCCCC;
3
- display: flex;
4
- flex-direction: column;
5
- width: 150px;
6
- font-size: 8px;
7
- margin: 0 2px;
8
- text-align: center;
9
- }
10
-
11
- .gallery_type img {
12
- max-width: 98%;
13
- font-size: 8px;
14
- }
15
-
16
  .spider_label {
17
  font-weight: bold;
18
  font-family: Verdana;
@@ -65,7 +50,6 @@
65
  -moz-box-sizing: border-box;
66
  box-sizing: border-box;
67
  line-height: 13px;
68
-
69
  }
70
  a.wd-btn{
71
  line-height: 26px;
@@ -116,10 +100,10 @@ a.wd-btn-icon{
116
  .select_icon {
117
  background-image:url("../images/icons/arrow.png");
118
  background-repeat: no-repeat;
119
- -webkit-appearance: none;
120
- -moz-appearance: none;
121
  background-position:93% 49%;
122
- padding: 0 2px 2px 2px !important;
123
  width: 22%;
124
  height:28px !important;
125
  display: block;
@@ -139,7 +123,6 @@ th.sorted a span {
139
  width:100%;
140
  display:block;
141
  margin-top:23px;
142
-
143
  }
144
  .bwg_shortcodetab_active {
145
  top: 12px !important;
@@ -158,16 +141,7 @@ th.sorted a span {
158
  display: table-row;
159
  width: 100%;
160
  }
161
- .gallery_type_div,
162
- .album_type_div {
163
- align-items:center;
164
- border-top: 1px solid #CCCCCC;
165
- display: flex;
166
- flex-grow: 1;
167
- height: 30px;
168
- padding: 0 3px;
169
- text-align: left;
170
- }
171
  .gallery_type_radio,
172
  .gallery_type_label,
173
  .album_type_radio,
@@ -176,11 +150,15 @@ th.sorted a span {
176
  display: inline-block !important;
177
  margin: 0 auto !important;
178
  }
 
179
  .gallery_type_label,
180
  .album_type_label {
181
- font-size: 12px;
182
  text-align: left;
183
- width: 75%;
 
 
 
 
184
  word-wrap: break-word;
185
  }
186
  .bwg_change_gallery_type {
@@ -212,7 +190,7 @@ hr {
212
  border-top:1px solid #919B9C !important;
213
  }
214
  .select_icon_pos {
215
- background-position: 98% 49% !important;
216
  }
217
  .bwg_enable_page {
218
  display:block;
@@ -232,26 +210,21 @@ input[type=radio][name=gallery_type] {
232
  margin: 0 6px;
233
  }
234
 
235
- .pro_btn {
236
- background: rgb(146, 8, 27) none repeat scroll 0 0;
237
- border-radius: 45px;
238
- box-sizing: content-box !important;
239
- color: #fff;
240
- display: inline-block;
241
- font-size: 9px;
242
- height: 20px;
243
- left: 0;
244
- line-height: 20px;
245
- padding: 3px;
246
- position: relative;
247
- top: 0;
248
- width: 20px;
249
- }
250
-
251
  .wrap.wd-wrap-ajax .media-frame-toolbar .media-toolbar {
252
  bottom: -20px;
253
  }
254
 
255
  .media-frame-toolbar #insert {
256
  margin: 5px 10px 0 0;
257
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .spider_label {
2
  font-weight: bold;
3
  font-family: Verdana;
50
  -moz-box-sizing: border-box;
51
  box-sizing: border-box;
52
  line-height: 13px;
 
53
  }
54
  a.wd-btn{
55
  line-height: 26px;
100
  .select_icon {
101
  background-image:url("../images/icons/arrow.png");
102
  background-repeat: no-repeat;
103
+ -webkit-appearance: none;
104
+ -moz-appearance: none;
105
  background-position:93% 49%;
106
+ padding: 0 2px 2px 2px !important;
107
  width: 22%;
108
  height:28px !important;
109
  display: block;
123
  width:100%;
124
  display:block;
125
  margin-top:23px;
 
126
  }
127
  .bwg_shortcodetab_active {
128
  top: 12px !important;
141
  display: table-row;
142
  width: 100%;
143
  }
144
+
 
 
 
 
 
 
 
 
 
145
  .gallery_type_radio,
146
  .gallery_type_label,
147
  .album_type_radio,
150
  display: inline-block !important;
151
  margin: 0 auto !important;
152
  }
153
+
154
  .gallery_type_label,
155
  .album_type_label {
 
156
  text-align: left;
157
+ font-size: 18px;
158
+ font-weight: 600;
159
+ line-height: 21px;
160
+ letter-spacing: 0;
161
+ width: 100%;
162
  word-wrap: break-word;
163
  }
164
  .bwg_change_gallery_type {
190
  border-top:1px solid #919B9C !important;
191
  }
192
  .select_icon_pos {
193
+ background-position: 98% 49% !important;
194
  }
195
  .bwg_enable_page {
196
  display:block;
210
  margin: 0 6px;
211
  }
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  .wrap.wd-wrap-ajax .media-frame-toolbar .media-toolbar {
214
  bottom: -20px;
215
  }
216
 
217
  .media-frame-toolbar #insert {
218
  margin: 5px 10px 0 0;
219
+ }
220
+
221
+ @media screen and (max-width: 1890px) {
222
+ .gallery_type .pro_btn, .album_type_div .pro_btn {
223
+ top: 95px;
224
+ }
225
+ }
226
+ @media screen and (max-width: 1275px) {
227
+ #bwg_shortcode_form #bwg_tab_galleries_content, #bwg_shortcode_form #bwg_tab_albums_content {
228
+ margin-left: 0;
229
+ }
230
+ }
css/bwg_tables.css CHANGED
@@ -1,12 +1,55 @@
1
  .bwg-hidden {
2
  display: none;
3
  }
 
 
 
4
  .ajax-msg,
5
  .unsaved-msg,
6
  .sorting-msg {
7
  display: inline-block;
8
  width: 100%;
9
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  .wd-table {
12
  clear: both;
@@ -134,28 +177,6 @@
134
  .wd-table label {
135
  vertical-align: top;
136
  }
137
- @media screen and (max-width: 1280px) {
138
- .wd-table-col {
139
- display: block;
140
- }
141
- .wd-table-col-30,
142
- .wd-table-col-50,
143
- .wd-table-col-60,
144
- .wd-table-col-70 {
145
- width: 100%;
146
- float: none;
147
- }
148
- .wd-table-col-left .wd-box-section {
149
- margin-right: 0px;
150
- }
151
-
152
- .wd-table-col-right .wd-box-section {
153
- margin-left: 0px;
154
- }
155
- .col_count {
156
- text-align: left !important;
157
- }
158
- }
159
  .postbox h2.hndle {
160
  font-size: 14px;
161
  padding: 8px 12px;
@@ -271,7 +292,7 @@
271
  font-size: 1.6em;
272
  line-height: 100%;
273
  height: 1.6em;
274
- width: 30%;
275
  outline: 0;
276
  margin: 0 0 3px;
277
  background-color: #fff;
@@ -365,11 +386,14 @@
365
  }
366
 
367
  .spider_free_version {
368
- background-color: #DFDFDF;
369
- border: 1px solid #797979;
370
- border-radius: 2px;
371
  padding: 2px;
372
  display: inline-block;
 
 
 
 
 
 
373
  }
374
 
375
  .spider_free_version_label {
@@ -381,10 +405,9 @@
381
 
382
  .handle {
383
  border: none;
384
- height: 22px;
385
  margin: 0 auto;
386
- vertical-align: middle;
387
- width: 22px;
388
  color: #aaaaaa;
389
  }
390
 
@@ -697,10 +720,6 @@
697
  width: 500px;
698
  }
699
 
700
- .bwg_resize_image {
701
-
702
- }
703
-
704
  #resize_cont {
705
  float: left;
706
  display: table-cell;
@@ -1097,106 +1116,6 @@ textarea.bwg_popup_input {
1097
  width:50%;
1098
  vertical-align:top;
1099
  }
1100
- @media screen and (max-width: 480px) {
1101
- .bwg_bulk_embed {
1102
- height: 190px;
1103
- left: 0;
1104
- margin-left: 0;
1105
- }
1106
-
1107
- #add_embed {
1108
- left: 0;
1109
- margin: 0;
1110
- height: auto;
1111
- top:10px;
1112
- }
1113
-
1114
- #add_embed input[type="text"] {
1115
- width: 100%;
1116
- }
1117
-
1118
- #add_desc, .bwg_resize_image {
1119
- left: 0;
1120
- margin-left: 0;
1121
- height: auto;
1122
- width : calc(100% - 41px);
1123
- }
1124
-
1125
- #add_desc .bwg_popup_input {
1126
- width: 100%;
1127
- }
1128
-
1129
- #resize_buttons {
1130
- white-space: nowrap;
1131
- }
1132
-
1133
-
1134
- .spider_description_title {
1135
- width: 100%;
1136
- }
1137
- .spider_description p.description {
1138
- margin: 0px;
1139
- }
1140
-
1141
- input[type=number] {
1142
- height: 30px;
1143
- }
1144
-
1145
- }
1146
- @media screen and (max-width: 640px) {
1147
- .options_left,
1148
- .options_right {
1149
- display: block !important;
1150
- width: 77%;
1151
- }
1152
- .spider_label_options {
1153
- width: 72px !important;
1154
- max-width: 90px;
1155
- }
1156
- .bwg_line_option {
1157
- display: none;
1158
- }
1159
- #watermark_google_fonts1, #watermark_google_fonts0 {
1160
- margin-top: 3px;
1161
- }
1162
- #preview_built_in_watermark, #preview_watermark {
1163
- height: 200px !important;
1164
- }
1165
- @media screen and (max-width: 420px) {
1166
- #bwg_standart {
1167
- top: -3px !important;
1168
- }
1169
- #bwg_default {
1170
- top: 2px !important;
1171
- }
1172
- .default_tab_button_wrap {
1173
- margin-top: -10px;
1174
- }
1175
- .option_tab_button_wrap {
1176
- margin-top: -2px;
1177
- }
1178
- #bwg_default, #bwg_standart {
1179
- border-bottom: none;
1180
- border-left: 2px solid #E1E1E1 !important;
1181
- border-right: 2px solid #E1E1E1 !important
1182
- }
1183
- }
1184
- }
1185
-
1186
- @media screen and (max-width: 782px) {
1187
- #TB_window,
1188
- #TB_iframeContent {
1189
- width: 100% !important;
1190
- height: 100% !important;
1191
- }
1192
-
1193
- #TB_window {
1194
- margin-left: 0px !important;
1195
- left: 0 !important;
1196
- top: 0% !important;
1197
- margin-top: 0px !important;
1198
- }
1199
- }
1200
 
1201
  .bwg_tab_desc {
1202
  display: block;
@@ -1209,11 +1128,12 @@ textarea.bwg_popup_input {
1209
  }
1210
 
1211
  .bwg-page-header {
1212
- padding: 10px 0;
1213
  }
1214
  .bwg-page-actions {
1215
- float: right;
1216
- padding-top: 10px;
 
1217
  }
1218
  .bwg-clear {
1219
  content: '';
@@ -1246,19 +1166,13 @@ textarea.bwg_popup_input {
1246
  width: 85%;
1247
  }
1248
 
1249
- @media screen and (max-width: 782px) {
1250
- .wd-form p.search-box {
1251
- margin-bottom: 0;
1252
- }
1253
- }
1254
-
1255
  .column-comment-author {
1256
  width: 250px;
1257
  }
1258
 
1259
  .col_mail,
1260
  .col_author {
1261
- width: 200px;
1262
  }
1263
 
1264
  .wd-form .wd-check-all {
@@ -1349,8 +1263,6 @@ textarea.bwg_popup_input {
1349
  font-size: 20px;
1350
  }
1351
 
1352
-
1353
-
1354
  .wd-resize-vertical {
1355
  resize: vertical;
1356
  }
@@ -1375,16 +1287,11 @@ textarea.bwg_popup_input {
1375
  cursor: pointer;
1376
  }
1377
 
1378
- @media screen and (max-width: 782px) {
1379
- .wrap.wd-wrap-ajax .media-frame-toolbar .media-toolbar {
1380
- bottom: -25px;
1381
- }
1382
- }
1383
-
1384
  #bwg_options_form .bwg_tabs {
1385
  min-height: 130px;
1386
  padding: 0;
1387
  background-color: white;
 
1388
  }
1389
  .bwg_tabs * {
1390
  box-sizing: border-box;
@@ -1394,7 +1301,6 @@ textarea.bwg_popup_input {
1394
  display: inline-block;
1395
  height: 130px;
1396
  width: 130px;
1397
- /*float: left;*/
1398
  margin: 5px;
1399
  }
1400
  .new_tab_link, .new_tab_link:hover {
@@ -1434,12 +1340,6 @@ textarea.bwg_popup_input {
1434
  overflow: auto;
1435
  }
1436
 
1437
- @media screen and (max-width: 782px) {
1438
- .wd-table-container {
1439
- height: calc(100% - 230px);
1440
- }
1441
- }
1442
-
1443
  .tab_image {
1444
  width: 100%;
1445
  height: 100%;
@@ -1602,11 +1502,14 @@ textarea.bwg_popup_input {
1602
  }
1603
 
1604
  .col_drag {
1605
- width: 90px !important;
1606
  text-align: center !important;
1607
  cursor: pointer;
1608
  vertical-align: top;
1609
  }
 
 
 
1610
  .col_order {
1611
  width: 110px !important;
1612
  text-align: center !important;
@@ -1637,6 +1540,7 @@ textarea.bwg_popup_input {
1637
  overflow: hidden;
1638
  position: relative;
1639
  border: 1px solid #e5e5e5;
 
1640
  }
1641
  .images_table.media .column-title .media-icon img {
1642
  max-width: 130px;
@@ -1687,26 +1591,6 @@ textarea.bwg_popup_input {
1687
  font-weight: bold;
1688
  }
1689
 
1690
- @media screen and (max-width: 1280px) {
1691
- #images_table .has-media-icon~.row-actions {
1692
- margin-left: 0px;
1693
- }
1694
- }
1695
-
1696
- @media screen and (min-width: 1280px) {
1697
- #images_table .has-media-icon~.row-actions {
1698
- margin-left: 132px;
1699
- }
1700
- }
1701
-
1702
- @media screen and (max-width: 782px) {
1703
- .col_drag,
1704
- .wd-order,
1705
- .col_num {
1706
- display: none !important;
1707
- }
1708
- }
1709
-
1710
  #bwg_gallery a {
1711
  cursor: pointer;
1712
  }
@@ -1721,7 +1605,7 @@ textarea.bwg_popup_input {
1721
  }
1722
 
1723
  .bwg_options_form .bwg_tabs{
1724
- margin-top: 20px;
1725
  }
1726
 
1727
  .bwg_albumsgalleries .wd-page-title,
@@ -1752,49 +1636,6 @@ textarea.bwg_popup_input {
1752
  padding: 6px 5px 7px;
1753
  }
1754
 
1755
- @media screen and (max-width: 782px) {
1756
- .bwg_albumsgalleries .wd-table-container,
1757
- .bwg_tags .wd-table-container {
1758
- height: calc(100% - 100px);
1759
- }
1760
-
1761
- .bwg_albumsgalleries .search-box,
1762
- .bwg_tags .search-box {
1763
- position: unset;
1764
- float: right;
1765
- width: calc(100% - 0%);
1766
- height: 40px;
1767
- margin-bottom: 0px;
1768
- }
1769
-
1770
- .search-box select {
1771
- margin: 5px 0;
1772
- width: 100%;
1773
- }
1774
-
1775
- .bwg_albumsgalleries p.search-box input,
1776
- .bwg_tags p.search-box input {
1777
- float: left;
1778
- }
1779
-
1780
- .bwg_albumsgalleries p.search-box input[name="s"],
1781
- .bwg_tags p.search-box input[name="s"] {
1782
- width: 70%;
1783
- padding: 5px 0;
1784
- }
1785
-
1786
- .bwg_albumsgalleries .tablenav-pages .pagination-links a,
1787
- .bwg_albumsgalleries .tablenav-pages-navspan,
1788
- .bwg_tags .tablenav-pages .pagination-links a,
1789
- .bwg_tags .tablenav-pages-navspan {
1790
- padding: 4px 5px 5px;
1791
- }
1792
-
1793
- .bwg_albumsgalleries .tablenav-pages .pagination-links .current-page,
1794
- .bwg_tags .tablenav-pages .pagination-links .current-page {
1795
- padding: 8px 0px 9px;
1796
- }
1797
- }
1798
  .loading_div,
1799
  #loading_div {
1800
  display:none;
@@ -1815,25 +1656,6 @@ textarea.bwg_popup_input {
1815
  display:block;
1816
  }
1817
 
1818
- div.wd-buttons {
1819
- clear: both;
1820
- display: inline-block;
1821
- float: right;
1822
- margin-top: 2px;
1823
- }
1824
-
1825
- div.wd-buttons .wd-button {
1826
- margin: 0 3px;
1827
- }
1828
-
1829
- div .wd-button:last-child {
1830
- margin-right: 0;
1831
- }
1832
-
1833
- div .wd-button:first-child {
1834
- margin-left: 0;
1835
- }
1836
-
1837
  /* Tabs */
1838
  .bwg_tabs,
1839
  .wd-load-tabs,
@@ -1850,6 +1672,9 @@ div .wd-button:first-child {
1850
  font-family: inherit;
1851
  line-height: inherit;
1852
  }
 
 
 
1853
 
1854
  .bwg_tabs .bwg-tabs .tabs,
1855
  .wd-load-tabs .bwg-tabs .tabs,
@@ -1893,15 +1718,21 @@ li.tabs {
1893
  vertical-align: middle;
1894
  text-decoration: none;
1895
  font-size: 16px;
1896
- font-weight: 400;
1897
- color: black;
 
 
 
 
 
 
 
1898
  }
1899
  .bwg-tabs .tabs:first-child .bwg-tablink {
1900
  margin-left:0;
1901
  }
1902
  .bwg_tabs ul.bwg-tabs li.ui-tabs-active a {
1903
- color:#0085BA;
1904
- border-bottom: 3px solid #0085BA;
1905
  display: flex;
1906
  }
1907
  .bwg-tabs .bwg-tablink:focus {
@@ -1911,9 +1742,7 @@ li.tabs {
1911
  .bwg_tabs .bwg-section {
1912
  background-color: #fdfdfd;
1913
  margin-bottom: 70px;
1914
- padding-left: 9px;
1915
- padding-right: 15px;
1916
- color: initial;
1917
  overflow: auto;
1918
  position: initial;
1919
  vertical-align: top;
@@ -1930,6 +1759,11 @@ li.tabs {
1930
  vertical-align: top;
1931
  width: initial;
1932
  }
 
 
 
 
 
1933
  /* End tabs */
1934
  .wd-width-30 {
1935
  display: inline-block;
@@ -1962,6 +1796,7 @@ li.tabs {
1962
  }
1963
  .wd-label {
1964
  display: block;
 
1965
  font-size: 15px;
1966
  font-weight: bold;
1967
  line-height: 20px;
@@ -2028,14 +1863,9 @@ li.tabs {
2028
  .wd-box-content {
2029
  vertical-align: top;
2030
  }
2031
- @media screen and (max-width: 1280px) {
2032
- .wd-width-33,
2033
- .wd-width-50 {
2034
- width: 100%;
2035
- }
2036
- }
2037
  .wd-box-content input[type=radio], input[type=checkbox] {
2038
  margin: 3px;
 
2039
  }
2040
  .wd-box-content.wd-width-50 input[type=number] {
2041
  flex: 0.2;
@@ -2061,12 +1891,12 @@ li.tabs {
2061
  }
2062
  .wd-form#bwg_options_form,
2063
  .wd-form#bwg_shortcode_form {
 
2064
  display: block;
2065
  }
2066
 
2067
  .col_count {
2068
- width: 90px;
2069
- text-align: center;
2070
  }
2071
  #login_with_instagram a {
2072
  text-decoration: none;
@@ -2100,12 +1930,17 @@ li.tabs {
2100
  .gallery_type_div,
2101
  .album_type_div {
2102
  align-items:center;
2103
- border-top: 1px solid #CCCCCC;
2104
  display: flex;
2105
  flex-grow: 1;
2106
- height: 30px;
 
2107
  padding: 0 3px;
2108
  text-align: left;
 
 
 
 
 
2109
  }
2110
  .gallery_type_radio,
2111
  .gallery_type_label,
@@ -2115,77 +1950,88 @@ li.tabs {
2115
  display: inline-block !important;
2116
  margin: 0 auto !important;
2117
  }
2118
- .gallery_type_label,
2119
- .album_type_label {
2120
- font-size: 12px;
2121
- text-align: left;
2122
- width: 75%;
2123
- word-wrap: break-word;
2124
- }
2125
  .bwg_change_gallery_type {
2126
  display: flex;
2127
  justify-content: flex-start;
2128
  }
 
 
 
2129
  .gallery_type {
2130
- border: 1px solid #CCCCCC;
2131
  display: flex;
2132
  flex-direction: column;
2133
  font-size: 8px;
2134
- margin: 0 2px;
2135
  text-align: center;
2136
- width: 150px;
2137
  }
2138
 
2139
  .gallery_type img {
2140
- max-width: 98%;
2141
- font-size: 8px;
 
2142
  }
2143
 
2144
- @media screen and (max-width: 1280px) {
2145
- .bwg_select_gallery_type {
2146
- display: block;
2147
- }
2148
- .bwg_change_gallery_type {
2149
- display: none;
2150
- }
 
2151
  }
2152
- @media screen and (min-width: 1280px) {
2153
- .bwg_select_gallery_type {
2154
- display: none;
2155
- }
2156
- .bwg_change_gallery_type {
2157
- display: flex;
2158
- }
 
 
2159
  }
2160
- #bwg_options_form .gallery_type_radio,
2161
- #bwg_options_form .album_type_radio {
2162
- display: none !important;
 
 
 
 
2163
  }
2164
- #bwg_options_form .gallery_type_label,
2165
- #bwg_options_form .album_type_label {
2166
- text-align: center;
2167
  }
2168
- #bwg_options_form .gallery_type.gallery_type_active .gallery_type_div,
2169
- #bwg_options_form .gallery_type.gallery_type_active .album_type_div {
2170
- background: #0073aa;
2171
- color: #ffffff;
 
 
 
 
 
 
 
 
 
 
2172
  }
2173
  /* Shortcode styles in options */
2174
 
2175
  .pro_btn {
2176
- background: rgb(146, 8, 27) none repeat scroll 0 0;
2177
- border-radius: 45px;
 
 
 
 
2178
  box-sizing: content-box !important;
2179
- color: #fff;
2180
  display: inline-block;
2181
- font-size: 9px;
2182
- height: 20px;
2183
- left: 0;
2184
- line-height: 20px;
2185
- padding: 3px;
2186
- position: relative;
2187
- top: 0;
2188
- width: 20px;
2189
  }
2190
 
2191
  #select_msg {
@@ -2253,7 +2099,7 @@ input.search_in_options{
2253
  font-size: 16px;
2254
  }
2255
  input.search_in_options::placeholder{
2256
- opacity:40%;
2257
  }
2258
  input.search_in_options:focus {
2259
  box-shadow: none;
@@ -2261,9 +2107,7 @@ input.search_in_options:focus {
2261
  padding:0;
2262
  }
2263
  #search_in_options_container{
2264
- margin-bottom: 15px;
2265
- margin-left: 22px;
2266
- margin-right: 22px;
2267
  display: flex;
2268
  flex-direction: row;
2269
  justify-content: space-between;
@@ -2289,6 +2133,19 @@ input.search_in_options:focus {
2289
  background-image:url(../images/icons/search_loop.svg);
2290
  }
2291
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2292
  .search_prev{
2293
  margin-left: 14px;
2294
  }
@@ -2338,188 +2195,6 @@ input.search_in_options:focus {
2338
  position: relative;
2339
  }
2340
 
2341
- @media screen and (max-width: 1480px) {
2342
- .bwg-tabs .bwg-tablink {
2343
- padding: 20px 10px 19px 10px;
2344
- margin: 0 5px;
2345
- }
2346
- .search_count{
2347
- right:-3px;
2348
- }
2349
- #div_search_in_options{
2350
- width: 300px;
2351
- }
2352
- input.search_in_options {
2353
- width: 100%;
2354
- }
2355
- }
2356
-
2357
- @media screen and (max-width: 1367px) {
2358
- .bwg-tabs .bwg-tablink {
2359
- padding: 20px 10px 17px 10px;
2360
- }
2361
- .bwg-tabs .bwg-tablink {
2362
- font-size: 15px;
2363
- }
2364
- }
2365
- @media screen and (max-width: 1281px) {
2366
- #div_search_in_options {
2367
- width: 280px;
2368
- }
2369
- }
2370
- @media screen and (max-width: 1030px){
2371
- input.search_in_options {
2372
- width: 80%;
2373
- }
2374
- }
2375
- @media screen and (min-width: 1231px){
2376
- #search_in_options_container.fixed{
2377
- position: fixed;
2378
- background: white;
2379
- width: 100%;
2380
- top: 30px;
2381
- z-index: 1;
2382
- display: flex;
2383
- flex-direction: row;
2384
- justify-content: space-between;
2385
- align-items: center;
2386
- border-bottom: 1px solid #E5E5E5;
2387
- }
2388
- }
2389
- @media screen and (max-width: 1230px) {
2390
- #search_in_options_container{
2391
- margin-bottom: 0px;
2392
- display: inline-block;
2393
- width: calc(100% - 44px);
2394
- border-bottom: 1px solid #E5E5E5;
2395
- }
2396
- #div_search_in_options{
2397
- display:none;
2398
- width: 280px;
2399
- }
2400
- .search_count {
2401
- right: 4px;
2402
- }
2403
- .bwg-tabs .bwg-tablink{
2404
- margin:0 10px;
2405
- font-size: 14px;
2406
- }
2407
- input.search_in_options {
2408
- width: 100%;
2409
- white-space: nowrap;
2410
- overflow: hidden !important;
2411
- text-overflow: ellipsis;
2412
- }
2413
- #div_search_in_options_tablets{
2414
- display: flex;
2415
- flex-direction: row;
2416
- justify-content: space-between;
2417
- align-items: center;
2418
- float:right;
2419
- margin:10px 22px 0px 22px;
2420
- background: #F1F3F4 0% 0% no-repeat padding-box;
2421
- border: 1px solid #E8E8E8;
2422
- font-size: 14px;
2423
- border-radius: 4px;
2424
- opacity: 1;
2425
- width:calc( 100% - 42px);
2426
- height: 37px;
2427
- padding-right: 14px;
2428
- padding-left: 55px;
2429
- background-position: 20px 50%;
2430
- background-image:url(../images/icons/search_loop.svg);
2431
- }
2432
- }
2433
- @media screen and (min-width:450px) and (max-width: 1230px) {
2434
- .bwg-tabs .bwg-tablink {
2435
- margin: 0 2.5px;
2436
- padding-bottom: 12px;
2437
- }
2438
- .search_count{
2439
- right:-5px;
2440
- }
2441
- #search_in_tablet.fixed{
2442
- position: fixed;
2443
- background: white;
2444
- width: 100%;
2445
- top: 30px;
2446
- z-index: 1;
2447
- align-items: center;
2448
- }
2449
- }
2450
-
2451
- @media screen and (min-width: 1152px) {
2452
- .column-title {
2453
- width: 280px;
2454
- }
2455
- }
2456
-
2457
- @media screen and (min-width: 1280px) {
2458
- .column-title {
2459
- width: 400px;
2460
- }
2461
- }
2462
-
2463
- @media screen and (min-width: 1600px) {
2464
- .column-title {
2465
- width: 500px;
2466
- }
2467
- }
2468
- @media screen and (max-width: 782px){
2469
- #search_in_tablet.fixed{
2470
- top: 45px;
2471
- }
2472
- }
2473
- @media screen and (max-width:450px){
2474
- .bwg_tabs .bwg-tabs li.tabs{
2475
- background: #FFFFFF 0% 0% no-repeat padding-box;
2476
- border: 1px solid #E8E8E8;
2477
- border-radius: 18px;
2478
- margin:4px;
2479
- }
2480
- .search_count{
2481
- top: 5px;
2482
- right: 3px;
2483
- background-color: unset;
2484
- color:#0085BA;
2485
- }
2486
- .bwg-tabs li.tabs a{
2487
- padding:6px 16px;
2488
- margin: 0;
2489
- }
2490
- .bwg_tabs ul.bwg-tabs li.ui-tabs-active .search_count{
2491
- color:white;
2492
- }
2493
- .bwg_tabs ul.bwg-tabs li.ui-tabs-active a {
2494
- color: white;
2495
- background: #0085BA 0% 0% no-repeat padding-box;
2496
- border: 1px solid #006799;
2497
- border-radius: 18px;
2498
- }
2499
- .fixed #div_search_in_options_tablets{
2500
- position: fixed;
2501
- margin: 0 10px 10px 10px;
2502
- top: 0px;
2503
- right: 10px;
2504
- z-index: 1;
2505
- width: 88%;
2506
- }
2507
- .bwg_tabs, .wd-load-tabs, .bwg_tabs ul.bwg-tabs{
2508
- margin-bottom: 14px;
2509
- }
2510
- #div_search_in_options_tablets {
2511
- margin: 10px 10px 11px 10px;
2512
- padding-left: 43px;
2513
- height:35px;
2514
- width: calc( 100% - 20px);
2515
- background-position: 14px 50%;
2516
- }
2517
- #search_in_options_container {
2518
- margin-left: 6px;
2519
- margin-right: 6px;
2520
- }
2521
- }
2522
-
2523
  .wrap.wd-wrap-ajax .bwg_tw-container .media-frame-toolbar .media-toolbar {
2524
  bottom: -55px;
2525
  }
@@ -2569,12 +2244,16 @@ input.search_in_options:focus {
2569
  .column-data {
2570
  padding: 3px 8px 3px 3px !important;
2571
  }
2572
- @media screen and (min-width: 1280px) {
2573
- .column-title {
2574
- width: 500px;
2575
- }
 
 
 
 
 
2576
  }
2577
-
2578
  .wrap.wd-wrap-ajax .bwg_tw-container .media-frame-toolbar .media-toolbar {
2579
  bottom: -55px;
2580
  }
@@ -2614,4 +2293,1249 @@ input.search_in_options:focus {
2614
  }
2615
  form.bwg_form {
2616
  display: block !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2617
  }
1
  .bwg-hidden {
2
  display: none;
3
  }
4
+ .twbb_notice{
5
+ display: none;
6
+ }
7
  .ajax-msg,
8
  .unsaved-msg,
9
  .sorting-msg {
10
  display: inline-block;
11
  width: 100%;
12
  }
13
+ .bwg-disabled-option label,
14
+ .bwg-disabled-option bwg-flex,
15
+ .bwg-disabled-option .description:not(.spider_free_version){
16
+ opacity: 0.5;
17
+ }
18
+ .tw-button-primary {
19
+ background: #2160B5 0% 0% no-repeat padding-box;
20
+ border-radius: 4px;
21
+ padding: 9px 20px;
22
+ font-size: 14px;
23
+ line-height: 19px;
24
+ letter-spacing: 0;
25
+ color: white;
26
+ border: unset;
27
+ margin: 0 10px 0 10px;
28
+ font-weight: 600;
29
+ }
30
+ .tw-button-primary:hover {
31
+ background-color: #104891;
32
+ }
33
+ .tw-button-secondary {
34
+ height: unset;
35
+ background: #F8F8F8 0% 0% no-repeat padding-box;
36
+ border: 1px solid #DEDEDE;
37
+ border-radius: 4px;
38
+ padding: 8px 19px;
39
+ font-size: 14px;
40
+ line-height: 19px;
41
+ letter-spacing: 0;
42
+ color: #32373C;
43
+ color: #32373C;
44
+ font-weight: 600;
45
+ }
46
+ .tw-button-secondary:hover {
47
+ box-shadow: 0px 4px 8px #323A4524;
48
+ }
49
+ a.tw-button-secondary {
50
+ text-decoration: none;
51
+ color: #32373C;
52
+ }
53
 
54
  .wd-table {
55
  clear: both;
177
  .wd-table label {
178
  vertical-align: top;
179
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  .postbox h2.hndle {
181
  font-size: 14px;
182
  padding: 8px 12px;
292
  font-size: 1.6em;
293
  line-height: 100%;
294
  height: 1.6em;
295
+ width: 10em;
296
  outline: 0;
297
  margin: 0 0 3px;
298
  background-color: #fff;
386
  }
387
 
388
  .spider_free_version {
 
 
 
389
  padding: 2px;
390
  display: inline-block;
391
+ background-color: #EBECEC;
392
+ border-radius: 4px;
393
+ padding: 4px 6px;
394
+ color: #323A45 !important;
395
+ font-weight: 500;
396
+ border-left: 4px solid #23B536;
397
  }
398
 
399
  .spider_free_version_label {
405
 
406
  .handle {
407
  border: none;
408
+ height: 18px;
409
  margin: 0 auto;
410
+ width: 18px;
 
411
  color: #aaaaaa;
412
  }
413
 
720
  width: 500px;
721
  }
722
 
 
 
 
 
723
  #resize_cont {
724
  float: left;
725
  display: table-cell;
1116
  width:50%;
1117
  vertical-align:top;
1118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1119
 
1120
  .bwg_tab_desc {
1121
  display: block;
1128
  }
1129
 
1130
  .bwg-page-header {
1131
+ padding: 0 0 10px;
1132
  }
1133
  .bwg-page-actions {
1134
+ float: right;
1135
+ width: 55%;
1136
+ text-align: end;
1137
  }
1138
  .bwg-clear {
1139
  content: '';
1166
  width: 85%;
1167
  }
1168
 
 
 
 
 
 
 
1169
  .column-comment-author {
1170
  width: 250px;
1171
  }
1172
 
1173
  .col_mail,
1174
  .col_author {
1175
+ width: 140px;
1176
  }
1177
 
1178
  .wd-form .wd-check-all {
1263
  font-size: 20px;
1264
  }
1265
 
 
 
1266
  .wd-resize-vertical {
1267
  resize: vertical;
1268
  }
1287
  cursor: pointer;
1288
  }
1289
 
 
 
 
 
 
 
1290
  #bwg_options_form .bwg_tabs {
1291
  min-height: 130px;
1292
  padding: 0;
1293
  background-color: white;
1294
+ overflow-x: hidden;
1295
  }
1296
  .bwg_tabs * {
1297
  box-sizing: border-box;
1301
  display: inline-block;
1302
  height: 130px;
1303
  width: 130px;
 
1304
  margin: 5px;
1305
  }
1306
  .new_tab_link, .new_tab_link:hover {
1340
  overflow: auto;
1341
  }
1342
 
 
 
 
 
 
 
1343
  .tab_image {
1344
  width: 100%;
1345
  height: 100%;
1502
  }
1503
 
1504
  .col_drag {
1505
+ width: 18px !important;
1506
  text-align: center !important;
1507
  cursor: pointer;
1508
  vertical-align: top;
1509
  }
1510
+ #images_table .col_drag {
1511
+ width: 110px !important;
1512
+ }
1513
  .col_order {
1514
  width: 110px !important;
1515
  text-align: center !important;
1540
  overflow: hidden;
1541
  position: relative;
1542
  border: 1px solid #e5e5e5;
1543
+ margin-right: 10px;
1544
  }
1545
  .images_table.media .column-title .media-icon img {
1546
  max-width: 130px;
1591
  font-weight: bold;
1592
  }
1593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1594
  #bwg_gallery a {
1595
  cursor: pointer;
1596
  }
1605
  }
1606
 
1607
  .bwg_options_form .bwg_tabs{
1608
+ margin-top: 4px;
1609
  }
1610
 
1611
  .bwg_albumsgalleries .wd-page-title,
1636
  padding: 6px 5px 7px;
1637
  }
1638
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1639
  .loading_div,
1640
  #loading_div {
1641
  display:none;
1656
  display:block;
1657
  }
1658
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1659
  /* Tabs */
1660
  .bwg_tabs,
1661
  .wd-load-tabs,
1672
  font-family: inherit;
1673
  line-height: inherit;
1674
  }
1675
+ #search_in_options_container > ul.bwg_tabs{
1676
+ display: flex;
1677
+ }
1678
 
1679
  .bwg_tabs .bwg-tabs .tabs,
1680
  .wd-load-tabs .bwg-tabs .tabs,
1718
  vertical-align: middle;
1719
  text-decoration: none;
1720
  font-size: 16px;
1721
+ font-weight: 600;
1722
+ color: #323A45;
1723
+ }
1724
+ .ui-tabs-active .bwg-tablink-bottom {
1725
+ border: 1.5px solid #2160B5;
1726
+ border-radius: 3px 3px 0 0;
1727
+ }
1728
+ .bwg-tablink-bottom {
1729
+ padding: 0 !important;
1730
  }
1731
  .bwg-tabs .tabs:first-child .bwg-tablink {
1732
  margin-left:0;
1733
  }
1734
  .bwg_tabs ul.bwg-tabs li.ui-tabs-active a {
1735
+ color:#2160B5;
 
1736
  display: flex;
1737
  }
1738
  .bwg-tabs .bwg-tablink:focus {
1742
  .bwg_tabs .bwg-section {
1743
  background-color: #fdfdfd;
1744
  margin-bottom: 70px;
1745
+ color: #323A45;
 
 
1746
  overflow: auto;
1747
  position: initial;
1748
  vertical-align: top;
1759
  vertical-align: top;
1760
  width: initial;
1761
  }
1762
+ #bwg_tab_gallery_content,#bwg_tab_gallery_content > .bwg-section,
1763
+ #bwg_tab_gallery_group_content, #bwg_tab_gallery_group_content > .bwg-section{
1764
+ margin-bottom: 0px;
1765
+ overflow-x: hidden;
1766
+ }
1767
  /* End tabs */
1768
  .wd-width-30 {
1769
  display: inline-block;
1796
  }
1797
  .wd-label {
1798
  display: block;
1799
+ color: #323A45;
1800
  font-size: 15px;
1801
  font-weight: bold;
1802
  line-height: 20px;
1863
  .wd-box-content {
1864
  vertical-align: top;
1865
  }
 
 
 
 
 
 
1866
  .wd-box-content input[type=radio], input[type=checkbox] {
1867
  margin: 3px;
1868
+ min-width: unset;
1869
  }
1870
  .wd-box-content.wd-width-50 input[type=number] {
1871
  flex: 0.2;
1891
  }
1892
  .wd-form#bwg_options_form,
1893
  .wd-form#bwg_shortcode_form {
1894
+ margin-bottom: 50px;
1895
  display: block;
1896
  }
1897
 
1898
  .col_count {
1899
+ width: 120px;
 
1900
  }
1901
  #login_with_instagram a {
1902
  text-decoration: none;
1930
  .gallery_type_div,
1931
  .album_type_div {
1932
  align-items:center;
 
1933
  display: flex;
1934
  flex-grow: 1;
1935
+ min-width: 222px;
1936
+ height: 66px;
1937
  padding: 0 3px;
1938
  text-align: left;
1939
+ background: #FFFFFF 0% 0% no-repeat padding-box;
1940
+ border: 1px solid #EAEAEA;
1941
+ border-radius: 4px;
1942
+ position: relative;
1943
+ padding: 6px;
1944
  }
1945
  .gallery_type_radio,
1946
  .gallery_type_label,
1950
  display: inline-block !important;
1951
  margin: 0 auto !important;
1952
  }
 
 
 
 
 
 
 
1953
  .bwg_change_gallery_type {
1954
  display: flex;
1955
  justify-content: flex-start;
1956
  }
1957
+ .bwg_change_gallery_type:first-child span{
1958
+ margin-left: 0;
1959
+ }
1960
  .gallery_type {
 
1961
  display: flex;
1962
  flex-direction: column;
1963
  font-size: 8px;
1964
+ margin: 0 12px;
1965
  text-align: center;
 
1966
  }
1967
 
1968
  .gallery_type img {
1969
+ margin-top: 4px;
1970
+ margin-right: 10px;
1971
+ height: 54px;
1972
  }
1973
 
1974
+ .gallery_type_radio,
1975
+ .album_type_radio {
1976
+ position: absolute;
1977
+ top: 6px;
1978
+ right: 6px;
1979
+ width: 14px;
1980
+ height: 14px;
1981
+ min-width: unset;
1982
  }
1983
+ .gallery_type_label,
1984
+ .album_type_label {
1985
+ text-align: left;
1986
+ font-size: 18px;
1987
+ font-weight: 600;
1988
+ line-height: 21px;
1989
+ letter-spacing: 0;
1990
+ width: 100%;
1991
+ word-wrap: break-word;
1992
  }
1993
+ .gallery_type.gallery_type_active .gallery_type_div,
1994
+ .gallery_type.gallery_type_active .album_type_div {
1995
+ position: relative;
1996
+ background: transparent linear-gradient(254deg, #0C3974 0%, #1B5198 100%) 0% 0% no-repeat padding-box;
1997
+ border-radius: 4px;
1998
+ color: #FFFFFF;
1999
+ padding: 6px;
2000
  }
2001
+ .album_type_div input[type="radio"], .gallery_type_div input[type="radio"] {
2002
+ border: 1px solid #EAEAEA;
2003
+ box-shadow: unset;
2004
  }
2005
+ .album_type_div input[type="radio"]:checked::before, .gallery_type_div input[type="radio"]:checked::before{
2006
+ content: url(../images/check-mark.svg);
2007
+ position: absolute;
2008
+ background-color: unset;
2009
+ top: 3px;
2010
+ right: 3px;
2011
+ margin: 0;
2012
+ width: 8.2px;
2013
+ height: 6px;
2014
+ line-height: 0;
2015
+ }
2016
+ .album_type_div input[type="radio"]:focus, .gallery_type_div input[type="radio"]:focus{
2017
+ border-color: unset;
2018
+ box-shadow: unset;
2019
  }
2020
  /* Shortcode styles in options */
2021
 
2022
  .pro_btn {
2023
+ background: #23B536 0% 0% no-repeat padding-box;
2024
+ border-radius: 4px;
2025
+ padding: 2px 9px;
2026
+ font-size: 11px;
2027
+ font-weight: 600;
2028
+ line-height: 15px;
2029
  box-sizing: content-box !important;
 
2030
  display: inline-block;
2031
+ position: absolute;
2032
+ top: 55px;
2033
+ left: 150px;
2034
+ color: #fff;
 
 
 
 
2035
  }
2036
 
2037
  #select_msg {
2099
  font-size: 16px;
2100
  }
2101
  input.search_in_options::placeholder{
2102
+ opacity: 40%;
2103
  }
2104
  input.search_in_options:focus {
2105
  box-shadow: none;
2107
  padding:0;
2108
  }
2109
  #search_in_options_container{
2110
+ margin-bottom: 20px;
 
 
2111
  display: flex;
2112
  flex-direction: row;
2113
  justify-content: space-between;
2133
  background-image:url(../images/icons/search_loop.svg);
2134
  }
2135
 
2136
+ #search_in_options_container.fixed{
2137
+ position: fixed;
2138
+ background: white;
2139
+ width: 100%;
2140
+ top: 30px;
2141
+ z-index: 1;
2142
+ display: flex;
2143
+ flex-direction: row;
2144
+ justify-content: space-between;
2145
+ align-items: center;
2146
+ border-bottom: 1px solid #E5E5E5;
2147
+ }
2148
+
2149
  .search_prev{
2150
  margin-left: 14px;
2151
  }
2195
  position: relative;
2196
  }
2197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2198
  .wrap.wd-wrap-ajax .bwg_tw-container .media-frame-toolbar .media-toolbar {
2199
  bottom: -55px;
2200
  }
2244
  .column-data {
2245
  padding: 3px 8px 3px 3px !important;
2246
  }
2247
+ .column-title {
2248
+ width: 500px;
2249
+ }
2250
+ .bwg_select_gallery_type {
2251
+ display: none;
2252
+ }
2253
+ .bwg_change_gallery_type {
2254
+ display: flex;
2255
+ margin-bottom: 25px;
2256
  }
 
2257
  .wrap.wd-wrap-ajax .bwg_tw-container .media-frame-toolbar .media-toolbar {
2258
  bottom: -55px;
2259
  }
2293
  }
2294
  form.bwg_form {
2295
  display: block !important;
2296
+ margin: 40px 2px 0 16px;
2297
+ padding: 0 22px 7px 22px;
2298
+ background: white;
2299
+ }
2300
+
2301
+ /* New design*/
2302
+
2303
+ /* New header design */
2304
+ .wd-list-view-header {
2305
+ display: flex;
2306
+ justify-content: space-between;
2307
+ }
2308
+
2309
+ .wd-list-view-header h1.bwg-heading {
2310
+ padding-top:5px;
2311
+ }
2312
+
2313
+ .wd-list-view-header .wd-list-view-header-left {
2314
+ display: flex;
2315
+ justify-content: space-between;
2316
+ margin-top: 30px;
2317
+ flex-grow: 1;
2318
+ }
2319
+ .wd-list-view-header .wd-list-view-header-left .wd-page-title.wd-header {
2320
+ position: relative;
2321
+ }
2322
+
2323
+ .wd-list-view-header .wd-list-view-header-left .wd-page-title.wd-header h1.wd-heading-inline{
2324
+ font-size: 22px;
2325
+ line-height: 30px;
2326
+ letter-spacing: 0;
2327
+ font-weight: 700;
2328
+ padding: 0;
2329
+ }
2330
+
2331
+ .wd-list-view-header .wd-list-view-header-left .wd-page-title.wd-header img.wd-question-mark {
2332
+ position: absolute;
2333
+ top: -20px;
2334
+ right: -60px;
2335
+ }
2336
+
2337
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons .page-title-action{
2338
+ background: #2160B5 0% 0% no-repeat padding-box;
2339
+ border-radius: 4px;
2340
+ padding: 9px 20px;
2341
+ font-size: 14px;
2342
+ line-height: 19px;
2343
+ font-weight: 600;
2344
+ letter-spacing: 0;
2345
+ color: #FFFFFF;
2346
+ text-decoration: none;
2347
+ cursor: pointer;
2348
+ position: relative;
2349
+ top: 9px;
2350
+ margin-right: 10px;
2351
+ }
2352
+
2353
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons .page-title-action:hover {
2354
+ background-color: #104891;
2355
+ }
2356
+
2357
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons .bwg-howto-button,.bwg-page-actions .bwg-howto-button {
2358
+ background: #F8F8F8 0% 0% no-repeat padding-box;
2359
+ border: 1px solid #DEDEDE;
2360
+ border-radius: 4px;
2361
+ padding: 9px 20px;
2362
+ font-size: 14px;
2363
+ line-height: 19px;
2364
+ font-weight: 600;
2365
+ letter-spacing: 0px;
2366
+ color: #32373C;
2367
+ cursor: pointer;
2368
+ }
2369
+
2370
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons .bwg-howto-button:hover,
2371
+ .bwg-page-actions .bwg-howto-button:hover {
2372
+ box-shadow: 0px 4px 8px #323A4524;
2373
+ border: 1px solid #DEDEDE;
2374
+ color: unset;
2375
+ }
2376
+
2377
+ .wd-list-view-header .wd-list-view-header-free-right {
2378
+ width: 524px;
2379
+ background-image: url(../images/gallery_list_img.png);
2380
+ background-position: top right;
2381
+ background-size: cover;
2382
+ border-bottom-left-radius: 7px;
2383
+ background-repeat: no-repeat;
2384
+ margin-left: 30px;
2385
+ margin-right: -22px;
2386
+ font-family: "Open Sans";
2387
+ }
2388
+
2389
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-header, .wd-list-view-header .wd-list-view-header-free-right .upgrade-text {
2390
+ margin: 12px 0 0 22px;
2391
+ font-size: 15px;
2392
+ font-weight: 800;
2393
+ line-height: 20px;
2394
+ letter-spacing: 0.12px;
2395
+ color: #FFFFFF;
2396
+ }
2397
+
2398
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-text {
2399
+ margin: 2px 0 13px 22px;
2400
+ }
2401
+
2402
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-button {
2403
+ padding: 3px 20px 4px 20px;
2404
+ font-size: 14px;
2405
+ letter-spacing: 0.12px;
2406
+ font-weight: 800;
2407
+ line-height: 19px;
2408
+ color: #FFFFFF;
2409
+ background: #FFFFFF2B 0% 0% no-repeat padding-box;
2410
+ border: 1px solid #FFFFFF99;
2411
+ border-radius: 14px;
2412
+ text-decoration: none;
2413
+ display: inline-block;
2414
+ margin: 0px 0 12px 22px;
2415
+ }
2416
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-button:hover {
2417
+ background-color: #FFFFFF57;
2418
+ }
2419
+ a.wd-list-view-ask-question {
2420
+ display: inline-block;
2421
+ position: fixed;
2422
+ bottom: 40px;
2423
+ right: 44px;
2424
+ text-decoration: none;
2425
+ background: #2160B5 0% 0% no-repeat padding-box;
2426
+ border-radius: 20px;
2427
+ padding: 7px 20px 9px 20px;
2428
+ color: #ffffff;
2429
+ font-size: 16px;
2430
+ letter-spacing: 0;
2431
+ line-height: 21px;
2432
+ font-weight: 600;
2433
+ z-index: 999;
2434
+ }
2435
+
2436
+ .wd-list-view-ask-question:hover {
2437
+ background-color: #104891;
2438
+ color: #ffffff;
2439
+ }
2440
+
2441
+ /* End new header design */
2442
+
2443
+ /* Search box */
2444
+
2445
+ .wd-form .list-search-box {
2446
+ display: flex;
2447
+ justify-content: flex-end;
2448
+ margin-top: 16px;
2449
+ }
2450
+
2451
+ .wd-form .list-search-box input[type=search] {
2452
+ width: 400px;
2453
+ height: 37px;
2454
+ background: #F9F9F9 0% 0% no-repeat padding-box;
2455
+ border: 1px solid #E8E8E8;
2456
+ border-radius: 4px;
2457
+ padding-right: 14px;
2458
+ padding-left: 55px;
2459
+ background-position: 20px 50%;
2460
+ background-image: url(../images/icons/search_loop.svg);
2461
+ }
2462
+
2463
+ .wd-form .list-search-box input[type=search]::placeholder {
2464
+ font-size: 16px;
2465
+ line-height: 21px;
2466
+ font-weight: 600;
2467
+ letter-spacing: 0px;
2468
+ color: #32373C;
2469
+ opacity: 0.4;
2470
+ }
2471
+
2472
+ @-moz-document url-prefix() {
2473
+ .wd-form .list-search-box input[type=search] {
2474
+ padding-top: 6px;
2475
+ }
2476
+ }
2477
+
2478
+ /* End search box */
2479
+
2480
+ .wd-form .tablenav.top {
2481
+ padding: 0;
2482
+ margin: 10px 0 16px 0;
2483
+ height: 35px;
2484
+ }
2485
+
2486
+ .wd-form .tablenav.top #bulk-action-selector-top {
2487
+ padding: 6px 23px 6px 9px;
2488
+ margin-right: 10px;
2489
+ font-size: 14px;
2490
+ line-height: 19px;
2491
+ letter-spacing: 0;
2492
+ font-weight: 600;
2493
+ color: #323A45;
2494
+ border: 1px solid #DEDEDE;
2495
+ border-radius: 4px;
2496
+ background-position: 94% 50%;
2497
+ background-size: 6px 5px;
2498
+ background-image: url(../images/sorting_arrow.svg);
2499
+ }
2500
+
2501
+ .wd-form .tablenav.top #doaction {
2502
+ padding: 5px 19px 7px 19px;
2503
+ font-size: 14px;
2504
+ line-height: 19px;
2505
+ letter-spacing: 0;
2506
+ font-weight: 600;
2507
+ color: #323A45;
2508
+ background: #FFFFFF 0% 0% no-repeat padding-box;
2509
+ border: 1px solid #DEDEDE;
2510
+ border-radius: 4px;
2511
+ height: unset;
2512
+ }
2513
+
2514
+ .wd-form .tablenav-pages {
2515
+ display: flex;
2516
+ font-size: 14px;
2517
+ line-height: 19px;
2518
+ letter-spacing: 0;
2519
+ font-weight: 400;
2520
+ margin-top: 3px;
2521
+ width: auto;
2522
+ color: #323A45;
2523
+ }
2524
+ .wd-form .tablenav-pages .pagination-links{
2525
+ display: flex;
2526
+ }
2527
+
2528
+ .wd-form .tablenav .tablenav-pages .displaying-num {
2529
+ margin: 0 0 0 20px;
2530
+ }
2531
+ .bwg-disabled {
2532
+ opacity: 0.7;
2533
+ }
2534
+ .pagination-links .bwg-pagination-prev-all,
2535
+ .pagination-links .bwg-pagination-prev,
2536
+ .pagination-links .bwg-pagination-next-all,
2537
+ .pagination-links .bwg-pagination-next {
2538
+ margin-right: 10px;
2539
+ background-position: center center;
2540
+ background-repeat: no-repeat;
2541
+ }
2542
+ .pagination-links .bwg-pagination-prev-all,
2543
+ .pagination-links .bwg-pagination-next-all{
2544
+ width: 11px;
2545
+ }
2546
+ .pagination-links .bwg-pagination-prev,
2547
+ .pagination-links .bwg-pagination-next{
2548
+ width: 6px;
2549
+ }
2550
+ .pagination-links .bwg-pagination-prev-all{
2551
+ background-image: url(../images/icons/two_arrow_prev.svg);
2552
+ }
2553
+ .pagination-links .bwg-pagination-prev{
2554
+ background-image: url(../images/icons/one_arrow_prev.svg);
2555
+ }
2556
+ .pagination-links .bwg-pagination-next-all{
2557
+ background-image: url(../images/icons/two_arrow_next.svg);
2558
+ }
2559
+ .pagination-links .bwg-pagination-next{
2560
+ background-image: url(../images/icons/one_arrow_next.svg);
2561
+ }
2562
+ .bwg-pagination-a-link {
2563
+ display: flex;
2564
+ }
2565
+ .paging-input {
2566
+ margin: 0 16px 0 6px;
2567
+ }
2568
+ .tablenav-pages .bwg-current-page{
2569
+ width: 39px;
2570
+ border: 1px solid #DEDEDE;
2571
+ border-radius: 4px;
2572
+ color: #323A45;
2573
+ margin: 0 8px 0 0;
2574
+ }
2575
+
2576
+ /* table styles */
2577
+
2578
+ .wd-form table.fixed {
2579
+ border-left: 0px solid;
2580
+ border-right: 0px solid;
2581
+ border-bottom: 0px solid;
2582
+ border-top-color: #E5E5E5;
2583
+ }
2584
+
2585
+ .wd-form table.fixed thead a {
2586
+ color: #323A45;
2587
+ }
2588
+ .wd-form table.fixed tbody a{
2589
+ color: #2160b5;
2590
+ }
2591
+ .wd-form table.fixed tbody .row-actions span.trash a {
2592
+ color:#a00;
2593
+ }
2594
+ .widefat thead th, .widefat thead td {
2595
+ border-bottom: 1px solid #E5E5E5;
2596
+ }
2597
+
2598
+ .widefat thead tr th, .widefat thead tr td, .widefat tfoot tr th, .widefat tfoot tr td {
2599
+ color: #323A45;
2600
+ }
2601
+
2602
+ .wd-form .table.fixed input[type=checkbox]{
2603
+ background: #FFFFFF 0% 0% no-repeat padding-box;
2604
+ border: 1px solid #B4B9BE;
2605
+ border-radius: 2px;
2606
+ width: 16px;
2607
+ height: 16px;
2608
+ }
2609
+ .wp-list-table.widefat thead td.column-cb input{
2610
+ margin: 0;
2611
+ }
2612
+
2613
+ .wd-form .widefat tbody th.check-column {
2614
+ margin: 0;
2615
+ padding: 8px 2px 0 10px !important;
2616
+ width: 16px;
2617
+ }
2618
+
2619
+ #cb {
2620
+ padding: 12px 0 11px 10px !important;
2621
+ width: 16px;
2622
+ }
2623
+
2624
+ .wd-form .widefat tbody th.check-column input,#cb input{
2625
+ margin: 0;
2626
+ }
2627
+
2628
+ .tablenav.bottom{
2629
+ height: 30px;
2630
+ margin-top: 0;
2631
+ }
2632
+
2633
+ #bwg-table-sortable .col_count,#bwg-table-sortable .col-author {
2634
+ padding: 30px 10px;
2635
+ font-size: 14px;
2636
+ line-height: 19px;
2637
+ }
2638
+
2639
+ #order-name a span:not(.sorting-indicator){
2640
+ padding-left: 112px;
2641
+ }
2642
+
2643
+ .wd-free-msg {
2644
+ display: flex;
2645
+ overflow: hidden;
2646
+ color: #323A45;
2647
+ justify-content: space-between;
2648
+ padding: 15px 178px 0 78px;
2649
+ background-image: url(../images/upgrade_to_pro_bg.png);
2650
+ background-position: center center;
2651
+ background-size: cover;
2652
+ background-repeat: no-repeat;
2653
+ }
2654
+
2655
+ .upgrade-to-pro-text {
2656
+ font-family: Open Sans;
2657
+ padding-top: 163px;
2658
+ }
2659
+
2660
+ .upgrade-to-pro-text .upgrade-to-pro-title {
2661
+ font-weight: 800;
2662
+ font-size: 38px;
2663
+ line-height: 52px;
2664
+ letter-spacing: 0px;
2665
+ margin-bottom: 14px;
2666
+ margin-top: 0;
2667
+ }
2668
+
2669
+ .upgrade-to-pro-text .upgrade-to-pro-desc {
2670
+ font-weight: 400;
2671
+ font-size: 26px;
2672
+ line-height: 36px;
2673
+ letter-spacing: 0px;
2674
+ margin: 0 0 20px 0;
2675
+ }
2676
+
2677
+ .upgrade-to-pro-text .button-upgrade, .upgrade-to-pro-text .button-demo {
2678
+ font-family: Open Sans;
2679
+ font-weight: 500;
2680
+ font-size: 18px;
2681
+ line-height: 24px;
2682
+ letter-spacing: 0.15px;
2683
+ text-transform: uppercase;
2684
+ border: 1px solid #BAC3CF80;
2685
+ border-radius: 36px;
2686
+ margin-top: 20px;
2687
+ display: inline-block;
2688
+ text-decoration: none;
2689
+ }
2690
+ .upgrade-to-pro-text .button-upgrade:hover {
2691
+ background-color: #1E9C2E;
2692
+ }
2693
+ .upgrade-to-pro-text .button-demo:hover {
2694
+ background-color: #E4E9ED;
2695
+ }
2696
+ .upgrade-to-pro-text .button-upgrade {
2697
+ color: #FFFFFF;
2698
+ background-color: #23B536;
2699
+ padding: 14px 20px;
2700
+ margin-right: 18px;
2701
+ }
2702
+
2703
+ .upgrade-to-pro-text .button-demo {
2704
+ color: #323A45;
2705
+ background-color: #F2F3F4;
2706
+ padding: 14px 71px;
2707
+ }
2708
+
2709
+ .upgrade-to-img {
2710
+ position: relative;
2711
+ }
2712
+
2713
+ .upgrade-to-img img {
2714
+ width: 713px;
2715
+ height: 632px;
2716
+ }
2717
+
2718
+ /* End table styles */
2719
+ /* End New design*/
2720
+
2721
+ /* select option with images */
2722
+ #gallery_types_name,#album_types_name{
2723
+ display: none;
2724
+ }
2725
+
2726
+ bwg-gallery-ul {
2727
+ margin-top: 3px;
2728
+ }
2729
+
2730
+ .bwg-gallery-ul li{
2731
+ list-style: none;
2732
+ display: flex;
2733
+ font-size: 15px;
2734
+ line-height: 20px;
2735
+ font-weight: 600;
2736
+ padding-top: 17px;
2737
+ padding-bottom: 3px;
2738
+ margin: 0;
2739
+ }
2740
+
2741
+ .bwg-gallery-ul li img{
2742
+ width: 56px;
2743
+ margin: 0 10px 0 12px;
2744
+ }
2745
+
2746
+ .bwg-gallery-ul li span, .bwg-btn-gallery-type-select li span{
2747
+ margin: auto 0;
2748
+ margin-right: 12px;
2749
+ }
2750
+
2751
+ /* item list */
2752
+
2753
+ .bwg-gallery-ul-div{
2754
+ display: none;
2755
+ width: 100%;
2756
+ border: 1px solid #DDDDDD;
2757
+ border-radius: 0 0 4px 4px;
2758
+ border-top: 0;
2759
+ margin-top: -13px;
2760
+ }
2761
+
2762
+ .bwg-btn-gallery-type-select{
2763
+ margin-top: 30px;
2764
+ width: 100%;
2765
+ height: 42px;
2766
+ border: 1px solid #DDDDDD;
2767
+ border-radius: 4px;
2768
+ background-image: url(../images/icons/down_arrow.svg);
2769
+ background-repeat: no-repeat;
2770
+ background-position: calc( 100% - 12px );
2771
+ padding: 10px 12px 10px 12px;
2772
+ background-size: 11px;
2773
+ font-size: 15px;
2774
+ line-height: 20px;
2775
+ font-weight: 600;
2776
+ color: #323A45;
2777
+ }
2778
+
2779
+ .bwg-btn-gallery-type-select.type-opened{
2780
+ border-bottom: none;
2781
+ border-bottom-left-radius: 0;
2782
+ border-bottom-right-radius: 0;
2783
+ background-image: url(../images/icons/up_arrow.svg);
2784
+ }
2785
+
2786
+ .bwg-btn-gallery-type-select li{
2787
+ list-style: none;
2788
+ padding-bottom: 0px;
2789
+ }
2790
+
2791
+ .bwg-gallery-ul li.type-selected {
2792
+ background-image: url(../images/icons/check-mark.svg);
2793
+ background-repeat: no-repeat;
2794
+ background-position: calc( 100% - 12px ) 62%;
2795
+ }
2796
+
2797
+ .bwg-btn-gallery-type-select li img {
2798
+ display: none;
2799
+ }
2800
+ .upgrade-to-img img {
2801
+ position: unset;
2802
+ }
2803
+
2804
+ /* style for 1366 */
2805
+ @media screen and (max-width: 1913px) {
2806
+ form.bwg_form {
2807
+ margin: 40px 18px 0 0;
2808
+ }
2809
+
2810
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-header, .wd-list-view-header .wd-list-view-header-free-right .upgrade-text {
2811
+ margin: 12px 0 0 16px;
2812
+ font-size: 14px;
2813
+ }
2814
+
2815
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-text {
2816
+ margin: 2px 0 8px 16px;
2817
+ }
2818
+
2819
+ .wd-list-view-header .wd-list-view-header-free-right .upgrade-button {
2820
+ font-size: 13px;
2821
+ letter-spacing: 0.11px;
2822
+ line-height: 18px;
2823
+ margin: 0px 0 9px 16px;
2824
+ }
2825
+
2826
+ .wd-form .list-search-box input[type=search] {
2827
+ width: 300px;
2828
+ }
2829
+ .bwg-page-actions {
2830
+ width: 100%;
2831
+ }
2832
+
2833
+ .wd-form .tablenav.top {
2834
+ margin: 10px 0 16px 0;
2835
+ }
2836
+
2837
+ .upgrade-to-pro-text {
2838
+ padding-top: 89px;
2839
+ }
2840
+
2841
+ .wd-list-view-ask-question {
2842
+ right: 60px;
2843
+ }
2844
+
2845
+ #div_search_in_options {
2846
+ width: 300px;
2847
+ }
2848
+
2849
+ .bwg-tabs .bwg-tablink {
2850
+ padding: 20px 10px 17px 10px;
2851
+ margin: 0 5px;
2852
+ }
2853
+
2854
+ .bwg-tabs .bwg-tablink {
2855
+ font-size: 15px;
2856
+ }
2857
+
2858
+ .search_count{
2859
+ right:-3px;
2860
+ }
2861
+
2862
+ input.search_in_options {
2863
+ width: 100%;
2864
+ }
2865
+
2866
+ .gallery_type_div, .album_type_div {
2867
+ display: inline-block;
2868
+ text-align: center;
2869
+ height: 107px;
2870
+ min-width: unset;
2871
+ width: 136px;
2872
+ padding: 10px 0 14px 0;
2873
+ }
2874
+
2875
+ #bwg_tab_galleries_content .gallery_type.gallery_type_active .gallery_type_div, #bwg_tab_albums_content .gallery_type.gallery_type_active .album_type_div {
2876
+ padding: 10px 0 14px 0;
2877
+ }
2878
+ #bwg_tab_gallery_content > .bwg-section > .wd-box-content {
2879
+ padding: 10px 0;
2880
+ }
2881
+ .gallery_type {
2882
+ margin: 0 22px;
2883
+ }
2884
+
2885
+ .gallery_type img {
2886
+ margin: 0px auto;
2887
+ height: 58px;
2888
+ }
2889
+
2890
+ #bwg_tab_galleries_content .gallery_type_div:first-child,
2891
+ #bwg_tab_albums_content .gallery_type_div:first-child {
2892
+ line-height: 18px;
2893
+ }
2894
+
2895
+ #bwg_tab_galleries_content .gallery_type_label,
2896
+ #bwg_tab_albums_content .album_type_label {
2897
+ text-align: center;
2898
+ font-size: 16px;
2899
+ }
2900
+
2901
+ .pro_btn {
2902
+ top: 98px;
2903
+ left: 35px;
2904
+ }
2905
+
2906
+ .wd-free-msg {
2907
+ padding: 25px 0 0 0;
2908
+ }
2909
+
2910
+ .upgrade-to-pro-text {
2911
+ padding-top: 130px;
2912
+ }
2913
+
2914
+ .upgrade-to-pro-text .upgrade-to-pro-title {
2915
+ font-size: 32px;
2916
+ line-height: 43px;
2917
+ }
2918
+
2919
+ .upgrade-to-pro-text .upgrade-to-pro-desc {
2920
+ font-size: 22px;
2921
+ line-height: 30px;
2922
+ }
2923
+
2924
+ .upgrade-to-pro-text .button-upgrade, .upgrade-to-pro-text .button-demo {
2925
+ font-size: 16px;
2926
+ line-height: 22px;
2927
+ margin-top: 10px;
2928
+ }
2929
+
2930
+ .upgrade-to-pro-text .button-upgrade {
2931
+ padding: 15px 24px;
2932
+ }
2933
+
2934
+ .upgrade-to-pro-text .button-demo {
2935
+ padding: 15px 69px;
2936
+ }
2937
+
2938
+ .upgrade-to-img img {
2939
+ right: 0px;
2940
+ width: 599px;
2941
+ height: 531px;
2942
+ }
2943
+
2944
+ }
2945
+ /* style for 1280 */
2946
+ @media screen and (max-width: 1365px) {
2947
+ #bwg_tab_gallery_content > .bwg-section > .wd-box-content,
2948
+ #bwg_tab_gallery_group_content > .bwg-section > .wd-box-content{
2949
+ width: 100%;
2950
+ }
2951
+ .wd-form .list-search-box input[type=search] {
2952
+ width: 280px;
2953
+ }
2954
+ .wd-form .list-search-box {
2955
+ margin: 16px 0 13px 0;
2956
+ }
2957
+ .wd-free-msg {
2958
+ min-height: 480px;
2959
+ padding: 25px 0px 0 0;
2960
+ }
2961
+ .upgrade-to-pro-text {
2962
+ padding-top: 89px;
2963
+ }
2964
+ .upgrade-to-pro-text .upgrade-to-pro-title {
2965
+ line-height: 41px;
2966
+ margin-bottom: 10px;
2967
+ }
2968
+ .upgrade-to-pro-text .upgrade-to-pro-desc {
2969
+ margin: 0 0 10px 0;
2970
+ }
2971
+ .upgrade-to-pro-text .button-upgrade, .upgrade-to-pro-text .button-demo {
2972
+ margin-top: 20px;
2973
+ }
2974
+ .upgrade-to-pro-text .button-upgrade {
2975
+ margin-right: 14px;
2976
+ }
2977
+ .upgrade-to-pro-text .button-upgrade, .upgrade-to-pro-text .button-demo {
2978
+ font-size: 16px;
2979
+ line-height: 19px;
2980
+ margin-top: 10px;
2981
+ }
2982
+ .upgrade-to-img img {
2983
+ position: absolute;
2984
+ width: 540px;
2985
+ height: 479px;
2986
+ }
2987
+ #div_search_in_options {
2988
+ width: 280px;
2989
+ }
2990
+ .bwg-tabs .bwg-tablink {
2991
+ margin: 0 5px;
2992
+ font-size: 14px;
2993
+ }
2994
+ .gallery_type {
2995
+ margin: 0 10px;
2996
+ }
2997
+
2998
+ .column-title {
2999
+ width: 280px;
3000
+ }
3001
+
3002
+ .wd-table-col {
3003
+ display: block;
3004
+ }
3005
+
3006
+ .wd-table-col-30,
3007
+ .wd-table-col-50,
3008
+ .wd-table-col-60,
3009
+ .wd-table-col-70 {
3010
+ width: 100%;
3011
+ float: none;
3012
+ }
3013
+
3014
+ .wd-table-col-left .wd-box-section {
3015
+ margin-right: 0px;
3016
+ }
3017
+
3018
+ .wd-table-col-right .wd-box-section {
3019
+ margin-left: 0px;
3020
+ }
3021
+
3022
+ .col_count {
3023
+ text-align: left !important;
3024
+ }
3025
+
3026
+ .wd-width-33,
3027
+ .wd-width-50 {
3028
+ width: 100%;
3029
+ }
3030
+
3031
+ }
3032
+ /* style for 1024*/
3033
+ @media screen and (max-width: 1275px) {
3034
+ .wd-form .list-search-box input[type=search] {
3035
+ width: 100%;
3036
+ }
3037
+ .bwg_select_gallery_type {
3038
+ display: block;
3039
+ }
3040
+ .wd-list-view-header .wd-list-view-header-free-right {
3041
+ display: none;
3042
+ }
3043
+ .upgrade-to-pro-text {
3044
+ padding-top: 80px;
3045
+ }
3046
+
3047
+ .bwg_change_gallery_type {
3048
+ display: none;
3049
+ }
3050
+
3051
+ #search_in_options_container{
3052
+ margin-bottom: 0px;
3053
+ display: inline-block;
3054
+ width: 100%;
3055
+ }
3056
+
3057
+ #div_search_in_options{
3058
+ display:none;
3059
+ }
3060
+ .search_count {
3061
+ right: 4px;
3062
+ }
3063
+
3064
+ input.search_in_options {
3065
+ width: 100%;
3066
+ white-space: nowrap;
3067
+ overflow: hidden !important;
3068
+ text-overflow: ellipsis;
3069
+ }
3070
+ #div_search_in_options_tablets{
3071
+ display: flex;
3072
+ flex-direction: row;
3073
+ justify-content: space-between;
3074
+ align-items: center;
3075
+ float:right;
3076
+ margin: 26px 0 10px 0;
3077
+ background: #F1F3F4 0% 0% no-repeat padding-box;
3078
+ font-size: 14px;
3079
+ border-radius: 4px;
3080
+ opacity: 1;
3081
+ width: 100%;
3082
+ height: 37px;
3083
+ padding-right: 14px;
3084
+ padding-left: 55px;
3085
+ background-position: 20px 50%;
3086
+ background-image:url(../images/icons/search_loop.svg);
3087
+ }
3088
+
3089
+ #search_in_options_container.fixed {
3090
+ top: 95px;
3091
+ }
3092
+ .bwg-tabs .bwg-tablink {
3093
+ margin: 0 9px;
3094
+ padding-bottom: 12px;
3095
+ }
3096
+ .search_count{
3097
+ right:-5px;
3098
+ }
3099
+ #search_in_tablet.fixed{
3100
+ position: fixed;
3101
+ background: white;
3102
+ width: 100%;
3103
+ top: 30px;
3104
+ z-index: 1;
3105
+ align-items: center;
3106
+ }
3107
+
3108
+ #bwg_tab_galleries_content,#bwg_tab_albums_content{
3109
+ display: block;
3110
+ width: 100%;
3111
+ margin-left: 14px;
3112
+ }
3113
+ .pro_btn {
3114
+ position: relative;
3115
+ top: 0px;
3116
+ left: 0px;
3117
+ }
3118
+ .wd-free-msg {
3119
+ padding: 0;
3120
+ }
3121
+ .upgrade-to-pro-text .upgrade-to-pro-title {
3122
+ font-size: 30px;
3123
+ line-height: 41px;
3124
+ }
3125
+ .upgrade-to-pro-text .button-upgrade, .upgrade-to-pro-text .button-demo {
3126
+ font-size: 14px;
3127
+ line-height: 19px;
3128
+ }
3129
+ .upgrade-to-pro-text .button-upgrade {
3130
+ padding: 14px 22px;
3131
+ }
3132
+ .tablenav-pages .pagination-links .current-page {
3133
+ min-width: unset;
3134
+ min-height: unset;
3135
+ }
3136
+ .tablenav-pages .tablenav-paging-text {
3137
+ padding-top: 0.3em;
3138
+ }
3139
+ .pagination-links .bwg-pagination-prev-all, .pagination-links .bwg-pagination-prev, .pagination-links .bwg-pagination-next-all, .pagination-links .bwg-pagination-next {
3140
+ width: 13px;
3141
+ margin-right: 15px;
3142
+ }
3143
+ .wd-form .tablenav .tablenav-pages .displaying-num {
3144
+ margin: 0 0 0 12px;
3145
+ position: unset;
3146
+ }
3147
+ .paging-input {
3148
+ margin: 0 15px 0 2px;
3149
+ display: flex;
3150
+ }
3151
+ form.bwg_form {
3152
+ margin: 40px 0 0 0;
3153
+ }
3154
+ #bwg-table-sortable .col_count, #bwg-table-sortable .col-author {
3155
+ padding: 28px 0 28px 10px;
3156
+ }
3157
+ .upgrade-to-pro-text .button-demo {
3158
+ margin-top: 20px;
3159
+ padding: 14px 61px 14px 62px;
3160
+ }
3161
+ .upgrade-to-img img {
3162
+ position: absolute;
3163
+ right: 0px;
3164
+ top: 130px;
3165
+ width: 396px;
3166
+ height: 352px;
3167
+ }
3168
+ .tablenav.top .displaying-num {
3169
+ display: block;
3170
+ }
3171
+ a.wd-list-view-ask-question {
3172
+ right: 35px;
3173
+ }
3174
+ }
3175
+
3176
+ @media screen and (max-width: 782px) {
3177
+ .bwg_form .tablenav.top .actions, .tablenav .view-switch {
3178
+ display: block;
3179
+ }
3180
+ .wd-form input[type="checkbox"]:checked:before {
3181
+ width: 22px;
3182
+ }
3183
+ .bwg_bulk_embed {
3184
+ height: 190px;
3185
+ left: 0;
3186
+ margin-left: 0;
3187
+ }
3188
+
3189
+ #add_embed {
3190
+ left: 0;
3191
+ margin: 0;
3192
+ height: auto;
3193
+ top:10px;
3194
+ }
3195
+
3196
+ #add_embed input[type="text"] {
3197
+ width: 100%;
3198
+ }
3199
+
3200
+ #add_desc, .bwg_resize_image {
3201
+ left: 0;
3202
+ margin-left: 0;
3203
+ height: auto;
3204
+ width : calc(100% - 41px);
3205
+ }
3206
+
3207
+ #add_desc .bwg_popup_input {
3208
+ width: 100%;
3209
+ }
3210
+
3211
+ #resize_buttons {
3212
+ white-space: nowrap;
3213
+ }
3214
+
3215
+
3216
+ .spider_description_title {
3217
+ width: 100%;
3218
+ }
3219
+ .spider_description p.description {
3220
+ margin: 0px;
3221
+ }
3222
+
3223
+ input[type=number] {
3224
+ height: 30px;
3225
+ }
3226
+ .options_left,
3227
+ .options_right {
3228
+ display: block !important;
3229
+ width: 77%;
3230
+ }
3231
+ .spider_label_options {
3232
+ width: 72px !important;
3233
+ max-width: 90px;
3234
+ }
3235
+ .bwg_line_option {
3236
+ display: none;
3237
+ }
3238
+ #watermark_google_fonts1, #watermark_google_fonts0 {
3239
+ margin-top: 3px;
3240
+ }
3241
+ #preview_built_in_watermark, #preview_watermark {
3242
+ height: 200px !important;
3243
+ }
3244
+ #bwg_standart {
3245
+ top: -3px !important;
3246
+ }
3247
+ #bwg_default {
3248
+ top: 2px !important;
3249
+ }
3250
+ .default_tab_button_wrap {
3251
+ margin-top: -10px;
3252
+ }
3253
+ .option_tab_button_wrap {
3254
+ margin-top: -2px;
3255
+ }
3256
+ #bwg_default, #bwg_standart {
3257
+ border-bottom: none;
3258
+ border-left: 2px solid #E1E1E1 !important;
3259
+ border-right: 2px solid #E1E1E1 !important
3260
+ }
3261
+
3262
+ #TB_window,
3263
+ #TB_iframeContent {
3264
+ width: 100% !important;
3265
+ height: 100% !important;
3266
+ }
3267
+
3268
+ #TB_window {
3269
+ margin-left: 0px !important;
3270
+ left: 0 !important;
3271
+ top: 0% !important;
3272
+ margin-top: 0px !important;
3273
+ }
3274
+ .wrap.wd-wrap-ajax .media-frame-toolbar .media-toolbar {
3275
+ bottom: -25px;
3276
+ }
3277
+ .wd-table-container {
3278
+ height: calc(100% - 230px);
3279
+ }
3280
+ .col_drag,
3281
+ .wd-order,
3282
+ .col_num {
3283
+ display: none !important;
3284
+ }
3285
+ #bwg-table-sortable .col_count, #bwg-table-sortable .col-author {
3286
+ padding: 3px 8px 3px 35%;
3287
+ }
3288
+ .bwg_albumsgalleries .wd-table-container,
3289
+ .bwg_tags .wd-table-container {
3290
+ height: calc(100% - 100px);
3291
+ }
3292
+
3293
+ .bwg_albumsgalleries .search-box,
3294
+ .bwg_tags .search-box {
3295
+ position: unset;
3296
+ float: right;
3297
+ width: calc(100% - 0%);
3298
+ height: 40px;
3299
+ margin-bottom: 0px;
3300
+ }
3301
+
3302
+ .search-box select {
3303
+ margin: 5px 0;
3304
+ width: 100%;
3305
+ }
3306
+
3307
+ .bwg_albumsgalleries .tablenav-pages .pagination-links a,
3308
+ .bwg_albumsgalleries .tablenav-pages-navspan,
3309
+ .bwg_tags .tablenav-pages .pagination-links a,
3310
+ .bwg_tags .tablenav-pages-navspan {
3311
+ padding: 4px 5px 5px;
3312
+ }
3313
+
3314
+ .bwg_albumsgalleries .tablenav-pages .pagination-links .current-page,
3315
+ .bwg_tags .tablenav-pages .pagination-links .current-page {
3316
+ padding: 8px 0px 9px;
3317
+ }
3318
+ #search_in_tablet.fixed{
3319
+ top: 45px;
3320
+ }
3321
+
3322
+ .bwg-tabs .bwg-tablink {
3323
+ margin: 0 8px;
3324
+ }
3325
+
3326
+ #search_in_options_container.fixed {
3327
+ top: 109px;
3328
+ }
3329
+ .upgrade-to-pro-text {
3330
+ padding-top: 80px;
3331
+ }
3332
+ .upgrade-to-pro-text .button-demo {
3333
+ display: table;
3334
+ }
3335
+ .upgrade-to-img img {
3336
+ right: 20px;
3337
+ top: 130px;
3338
+ }
3339
+ .upgrade-to-pro-text .upgrade-to-pro-desc {
3340
+ margin: 0 0 20px 0;
3341
+ }
3342
+ }
3343
+
3344
+ @media screen and (max-width: 750px) {
3345
+ .bwg_form .tablenav.top .actions, .tablenav .view-switch {
3346
+ display: none;
3347
+ }
3348
+ .wd-form .list-search-box {
3349
+ margin: 30px 0 50px 0;
3350
+ }
3351
+ .wd-form .tablenav.top {
3352
+ height: 30px;
3353
+ }
3354
+ a.wd-list-view-ask-question {
3355
+ bottom: 20px;
3356
+ }
3357
+ a.wd-list-view-ask-question {
3358
+ right: 14px;
3359
+ }
3360
+ #search_in_options_container > ul.bwg_tabs{
3361
+ display: block;
3362
+ }
3363
+ .tw-button-secondary {
3364
+ padding: 9px 46px;
3365
+ }
3366
+ .tw-button-primary {
3367
+ padding: 9px 22px 9px 23px;
3368
+ margin-left: 0;
3369
+ }
3370
+ #search_in_options_container.fixed {
3371
+ display: none;
3372
+ }
3373
+ #search_in_options_container {
3374
+ border: none;
3375
+ }
3376
+ #search_in_tablet.fixed {
3377
+ border: none;
3378
+ }
3379
+ input.search_in_options::placeholder {
3380
+ font-size: 14px;
3381
+ }
3382
+ .bwg_tabs .bwg-tabs li.tabs{
3383
+ background: #FFFFFF 0% 0% no-repeat padding-box;
3384
+ border: 1px solid #E8E8E8;
3385
+ border-radius: 18px;
3386
+ margin:4px;
3387
+ }
3388
+ .search_count{
3389
+ top: 5px;
3390
+ right: 3px;
3391
+ background-color: unset;
3392
+ color:#0085BA;
3393
+ }
3394
+ .bwg-tabs li.tabs a{
3395
+ padding:6px 16px;
3396
+ margin: 0;
3397
+ }
3398
+ .bwg_tabs ul.bwg-tabs li.ui-tabs-active .search_count{
3399
+ color:white;
3400
+ }
3401
+ .bwg_tabs ul.bwg-tabs li.ui-tabs-active a {
3402
+ color: white;
3403
+ background: #2160B5 0% 0% no-repeat padding-box;
3404
+ border: 1px solid #2160B5;
3405
+ border-radius: 18px;
3406
+ }
3407
+ .bwg_tabs ul.bwg-tabs li.ui-tabs-active a.bwg-tablink-bottom{
3408
+ display: none;
3409
+ }
3410
+ .fixed #div_search_in_options_tablets{
3411
+ position: fixed;
3412
+ margin: 0 10px 10px 10px;
3413
+ top: 0px;
3414
+ right: 10px;
3415
+ z-index: 1;
3416
+ width: 88%;
3417
+ }
3418
+ .bwg_tabs, .wd-load-tabs, .bwg_tabs ul.bwg-tabs{
3419
+ margin-bottom: 14px;
3420
+ }
3421
+ #div_search_in_options_tablets {
3422
+ margin: 26px 0px 20px 0px;
3423
+ padding-left: 43px;
3424
+ height:35px;
3425
+ width: 100%;
3426
+ background-position: 14px 50%;
3427
+ background-size: 14px;
3428
+ font-size: 14px;
3429
+ color: #323A45;
3430
+ }
3431
+ form.bwg_form {
3432
+ padding: 0 14px 50px 14px;
3433
+ }
3434
+ .upgrade-to-pro-text {
3435
+ padding-top: 18px;
3436
+ padding-bottom:10px;
3437
+ text-align: center;
3438
+ }
3439
+ .upgrade-to-pro-text .upgrade-to-pro-title {
3440
+ font-size: 26px;
3441
+ line-height: 36px;
3442
+ }
3443
+ .upgrade-to-pro-text .upgrade-to-pro-desc {
3444
+ font-size: 18px;
3445
+ line-height: 24px;
3446
+ text-align: center;
3447
+ margin-bottom: 30px;
3448
+ }
3449
+ .upgrade-to-img img {
3450
+ position: unset;
3451
+ width: 256px;
3452
+ height: 226px;
3453
+ top: 0;
3454
+ right: 0px;
3455
+ }
3456
+ .bwg-upgrade-view {
3457
+ min-height: 550px;
3458
+ display: block;
3459
+ padding-right: 15px;
3460
+ padding-left: 15px;
3461
+ }
3462
+ .upgrade-to-pro-text .button-upgrade,.upgrade-to-pro-text .button-demo {
3463
+ margin: 10px auto;
3464
+ }
3465
+ .wd-list-view-header .wd-list-view-header-left {
3466
+ display: block;
3467
+ }
3468
+ .wd-list-view-header .wd-list-view-header-left .wd-page-title.wd-header {
3469
+ display: inline-block;
3470
+ }
3471
+ .wd-list-view-header .wd-list-view-header-left .wd-page-title.wd-header h1.wd-heading-inline {
3472
+ font-size: 18px;
3473
+ line-height: 24px;
3474
+ }
3475
+ .wd-list-view-header .wd-list-view-header-left .wd-page-title.wd-header img.wd-question-mark {
3476
+ top: -25px;
3477
+ right: -62px;
3478
+ height: 72px;
3479
+ }
3480
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons {
3481
+ display: flex;
3482
+ justify-content: flex-end;
3483
+ margin-top: 22px;
3484
+ }
3485
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons .page-title-action {
3486
+ padding: 9px 10px;
3487
+ margin: 0 18px 0 0;
3488
+ top: 0;
3489
+ }
3490
+ .wd-list-view-header .wd-list-view-header-left .wd-list-view-header-buttons .bwg-howto-button {
3491
+ padding: 9px 26px;
3492
+ }
3493
+ .bwg-page-actions .bwg-howto-button {
3494
+ display: block;
3495
+ margin: 10px;
3496
+ }
3497
+ .bwg-page-actions {
3498
+ float: left;
3499
+ width: unset;
3500
+ }
3501
+ .wd-form .list-search-box input[type=search] {
3502
+ height: 27px;
3503
+ padding: 8px 14px 8px 40px;
3504
+ background-position: 14px 50%;
3505
+ background-size: 12px;
3506
+ }
3507
+ .images_table.media .column-title .media-icon {
3508
+ max-height: 150px;
3509
+ height: 150px;
3510
+ border: none;
3511
+ }
3512
+ .bwg-gallery-lists.media .column-title .media-icon, .bwg-gallery-lists.media .column-title .media-icon img {
3513
+ width: 100%;
3514
+ max-width: 100%;
3515
+ }
3516
+ .wd-form .tablenav.top {
3517
+ margin: 10px 0 20px 0;
3518
+ }
3519
+ .wd-form .tablenav.top .tablenav-pages {
3520
+ margin-bottom: 0;
3521
+ }
3522
+ .upgrade-to-img {
3523
+ display: flex;
3524
+ justify-content: center;
3525
+ }
3526
+ table.media .column-title .has-media-icon ~ .row-actions {
3527
+ margin: 0px;
3528
+ }
3529
+ .wp-list-table tr:not(.inline-edit-row):not(.no-items) td{
3530
+ padding-top:14px;
3531
+ }
3532
+ #cb {
3533
+ padding: 8px 0 8px 10px !important;
3534
+ }
3535
+ #order-name a span:not(.sorting-indicator) {
3536
+ padding: 0;
3537
+ }
3538
+ .wd-form .widefat tbody th.check-column {
3539
+ padding: 70px 2px 0 10px !important;
3540
+ }
3541
  }
filemanager/view.php CHANGED
@@ -82,6 +82,9 @@ class FilemanagerView {
82
  var page_per = "<?php echo $page_per; ?>";
83
  </script>
84
  <script src="<?php echo BWG()->plugin_url; ?>/filemanager/js/default.js?ver=<?php echo BWG()->plugin_version; ?>"></script>
 
 
 
85
  <link href="<?php echo BWG()->plugin_url; ?>/filemanager/css/default.css?ver=<?php echo BWG()->plugin_version; ?>" type="text/css" rel="stylesheet">
86
  <link href="<?php echo BWG()->plugin_url; ?>/filemanager/css/default_view_<?php echo $items_view; ?>.css?ver=<?php echo BWG()->plugin_version; ?>" type="text/css" rel="stylesheet">
87
  <form id="adminForm" name="adminForm" action="" method="post" class="wp-core-ui">
82
  var page_per = "<?php echo $page_per; ?>";
83
  </script>
84
  <script src="<?php echo BWG()->plugin_url; ?>/filemanager/js/default.js?ver=<?php echo BWG()->plugin_version; ?>"></script>
85
+ <?php
86
+ do_action( 'bwg_filemanager_scripts_after' );
87
+ ?>
88
  <link href="<?php echo BWG()->plugin_url; ?>/filemanager/css/default.css?ver=<?php echo BWG()->plugin_version; ?>" type="text/css" rel="stylesheet">
89
  <link href="<?php echo BWG()->plugin_url; ?>/filemanager/css/default_view_<?php echo $items_view; ?>.css?ver=<?php echo BWG()->plugin_version; ?>" type="text/css" rel="stylesheet">
90
  <form id="adminForm" name="adminForm" action="" method="post" class="wp-core-ui">
framework/BWGOptions.php CHANGED
@@ -350,7 +350,7 @@ class WD_BWG_Options {
350
  else {
351
  // For old users, who have changed images directory.
352
  // Using ABSPATH here instead of BWG()->abspath to avoid memory leak.
353
- $this->upload_dir = ABSPATH . '/' . $this->images_directory . '/photo-gallery';
354
  $this->upload_url = site_url() . '/' . $this->images_directory . '/photo-gallery';
355
  }
356
 
350
  else {
351
  // For old users, who have changed images directory.
352
  // Using ABSPATH here instead of BWG()->abspath to avoid memory leak.
353
+ $this->upload_dir = BWG::get_abspath() . '/' . $this->images_directory . '/photo-gallery';
354
  $this->upload_url = site_url() . '/' . $this->images_directory . '/photo-gallery';
355
  }
356
 
framework/WDWLibrary.php CHANGED
@@ -1229,8 +1229,8 @@ class WDWLibrary {
1229
  $alt_search = '(';
1230
  $description_search = '(';
1231
  foreach( $bwg_search_keys as $search_key) {
1232
- $alt_search .= '`image`.`alt` LIKE "%' . trim($search_key) . '%" AND ';
1233
- $description_search .= '`image`.`description` LIKE "%' . trim($search_key) . '%" AND ';
1234
  }
1235
  $alt_search = rtrim($alt_search, 'AND ');
1236
  $alt_search .= ')';
@@ -1273,7 +1273,7 @@ class WDWLibrary {
1273
  $join = $tag ? 'LEFT JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id' : '';
1274
  if ( self::get($tag_input_name) ) {
1275
  $join .= ' LEFT JOIN (SELECT GROUP_CONCAT(tag_id SEPARATOR ",") AS tags_combined, image_id FROM ' . $wpdb->prefix . 'bwg_image_tag' . ($gallery_id ? ' WHERE gallery_id="' . $gallery_id . '"' : '') . ' GROUP BY image_id) AS tags ON image.id=tags.image_id';
1276
- $where .= ' AND CONCAT(",", tags.tags_combined, ",") REGEXP ",(' . implode("|", self::get($tag_input_name) ) . ')," ';
1277
  }
1278
  $join .= ' LEFT JOIN '. $wpdb->prefix .'bwg_gallery as gallery ON gallery.id = image.gallery_id';
1279
  $where .= ' AND gallery.published = 1 ';
@@ -1317,7 +1317,7 @@ class WDWLibrary {
1317
  $where = (($gallery_id) ? ' `gallery_id`=' . $gallery_id . ($image_id ? ' AND `id`=' . $image_id : '') : 1);
1318
  $search = WDWLibrary::get( 's', '' );
1319
  if ( $search ) {
1320
- $where .= ' AND `filename` LIKE "%' . $search . '%"';
1321
  }
1322
  $images = $wpdb->get_results( 'SELECT * FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where . $limitstart );
1323
 
@@ -1506,7 +1506,7 @@ class WDWLibrary {
1506
  $where = ($gallery_id) ? ' `gallery_id` = ' . $gallery_id : 1;
1507
  $search = WDWLibrary::get('s', '');
1508
  if ( $search ) {
1509
- $where .= ' AND `filename` LIKE "%' . $search . '%"';
1510
  }
1511
  $limitstart = '';
1512
  if ( !$limit ) {
@@ -2243,7 +2243,7 @@ class WDWLibrary {
2243
  add_action('delete_bwg_tag', array('WDWLibrary', 'delete_bwg_tag'), 10, 3);
2244
 
2245
  if ('bwg_tag' == self::get('taxonomy')) {
2246
- add_action( 'admin_notices', array( 'WDWLibrary', 'topbar' ) );
2247
  }
2248
  }
2249
 
@@ -2653,7 +2653,7 @@ class WDWLibrary {
2653
  </div>
2654
  </div>
2655
  <div class="bwg-topbar-content-button-container">
2656
- <a href="<?php echo $premium_link; ?>" target="_blank" class="bwg-topbar-upgrade-button"><?php _e( 'Upgrade', BWG()->prefix ); ?></a>
2657
  </div>
2658
  </div>
2659
  <?php
@@ -2732,6 +2732,106 @@ class WDWLibrary {
2732
  echo ob_get_clean();
2733
  }
2734
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2735
  // TODO. This function should be replaced with WP functionality in another version. At the moment it is not.
2736
  /**
2737
  * Get privacy_policy_url
1229
  $alt_search = '(';
1230
  $description_search = '(';
1231
  foreach( $bwg_search_keys as $search_key) {
1232
+ $alt_search .= $wpdb->prepare( '`image`.`alt` LIKE "%s" AND ', '%' . trim( $search_key ) . '%' );
1233
+ $description_search .= $wpdb->prepare( '`image`.`description` LIKE "%s" AND ', '%' . trim( $search_key ) . '%' );
1234
  }
1235
  $alt_search = rtrim($alt_search, 'AND ');
1236
  $alt_search .= ')';
1273
  $join = $tag ? 'LEFT JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id' : '';
1274
  if ( self::get($tag_input_name) ) {
1275
  $join .= ' LEFT JOIN (SELECT GROUP_CONCAT(tag_id SEPARATOR ",") AS tags_combined, image_id FROM ' . $wpdb->prefix . 'bwg_image_tag' . ($gallery_id ? ' WHERE gallery_id="' . $gallery_id . '"' : '') . ' GROUP BY image_id) AS tags ON image.id=tags.image_id';
1276
+ $where .= $wpdb->prepare(' AND CONCAT(",", tags.tags_combined, ",") REGEXP ",%s," ', '(' . implode("|", self::get($tag_input_name) ) . ')');
1277
  }
1278
  $join .= ' LEFT JOIN '. $wpdb->prefix .'bwg_gallery as gallery ON gallery.id = image.gallery_id';
1279
  $where .= ' AND gallery.published = 1 ';
1317
  $where = (($gallery_id) ? ' `gallery_id`=' . $gallery_id . ($image_id ? ' AND `id`=' . $image_id : '') : 1);
1318
  $search = WDWLibrary::get( 's', '' );
1319
  if ( $search ) {
1320
+ $where .= $wpdb->prepare(' AND `filename` LIKE "%s"', '%' . $search . '%');
1321
  }
1322
  $images = $wpdb->get_results( 'SELECT * FROM `' . $wpdb->prefix . 'bwg_image` WHERE ' . $where . $limitstart );
1323
 
1506
  $where = ($gallery_id) ? ' `gallery_id` = ' . $gallery_id : 1;
1507
  $search = WDWLibrary::get('s', '');
1508
  if ( $search ) {
1509
+ $where .= $wpdb->prepare(' AND `filename` LIKE "%s"', '%' . $search . '%');
1510
  }
1511
  $limitstart = '';
1512
  if ( !$limit ) {
2243
  add_action('delete_bwg_tag', array('WDWLibrary', 'delete_bwg_tag'), 10, 3);
2244
 
2245
  if ('bwg_tag' == self::get('taxonomy')) {
2246
+ //add_action( 'admin_notices', array( 'WDWLibrary', 'topbar' ) );
2247
  }
2248
  }
2249
 
2653
  </div>
2654
  </div>
2655
  <div class="bwg-topbar-content-button-container">
2656
+
2657
  </div>
2658
  </div>
2659
  <?php
2732
  echo ob_get_clean();
2733
  }
2734
 
2735
+ /**
2736
+ * Generate top bar user guide section.
2737
+ *
2738
+ * @return string top bar user guide section html.
2739
+ */
2740
+ public static function user_guide_icon() {
2741
+ $page = self::get('page');
2742
+ $taxonomy = self::get('taxonomy');
2743
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/';
2744
+ $show_content = true;
2745
+ $show_guide_link = true;
2746
+ if ('bwg_tag' == $taxonomy) {
2747
+ $user_guide_link .= '360016080271-Creating-and-Applying-Image-Tags';
2748
+ }
2749
+ else {
2750
+ switch ( $page ) {
2751
+ case 'galleries_bwg':
2752
+ {
2753
+ $user_guide_link .= '360016079391-Creating-Galleries';
2754
+ break;
2755
+ }
2756
+ case 'albums_bwg':
2757
+ {
2758
+ $user_guide_link .= '360015860512-Creating-Gallery-Groups';
2759
+ break;
2760
+ }
2761
+ case 'tags_bwg':
2762
+ {
2763
+ $user_guide_link .= '360016080271-Creating-and-Applying-Image-Tags';
2764
+ break;
2765
+ }
2766
+ case 'options_bwg':
2767
+ {
2768
+ $user_guide_link .= '360015860912-Configuring-Photo-Gallery-Options';
2769
+ break;
2770
+ }
2771
+ case 'themes_bwg':
2772
+ {
2773
+ $user_guide_link .= '360016082231-Editing-Photo-Gallery-Themes';
2774
+ break;
2775
+ }
2776
+ case 'comments_bwg':
2777
+ {
2778
+ $user_guide_link .= '360016082451-Managing-Image-Comments-and-Ratings';
2779
+ break;
2780
+ }
2781
+ case 'ratings_bwg':
2782
+ {
2783
+ $user_guide_link .= '360016082451-Managing-Image-Comments-and-Ratings';
2784
+ break;
2785
+ }
2786
+ case 'licensing_bwg':
2787
+ {
2788
+ $user_guide_link .= '360016079391-Creating-Galleries';
2789
+ break;
2790
+ }
2791
+ default:
2792
+ {
2793
+ return '';
2794
+ break;
2795
+ }
2796
+ }
2797
+ }
2798
+ $user_guide_link .= BWG()->utm_source;
2799
+ wp_enqueue_style(BWG()->prefix . '-roboto');
2800
+ wp_enqueue_style(BWG()->prefix . '-pricing');
2801
+ ob_start();
2802
+ if ( $show_guide_link ) {
2803
+ ?>
2804
+ <a href="<?php echo $user_guide_link; ?>" target="_blank" class="bwg-topbar_user_guid">
2805
+ <img class="wd-question-mark" src="<?php echo BWG()->plugin_url . '/images/question_mark.svg';?>">
2806
+ </a>
2807
+ <?php
2808
+ }?>
2809
+ <?php
2810
+ echo ob_get_clean();
2811
+ }
2812
+
2813
+ /**
2814
+ * Generate top bar user guide section.
2815
+ *
2816
+ * @return string top bar user guide section html.
2817
+ */
2818
+ public static function topbar_upgrade_ask_question() {
2819
+ $support_forum_link = 'https://wordpress.org/support/plugin/photo-gallery/#new-post';
2820
+ $premium_link = BWG()->plugin_link . BWG()->utm_source;
2821
+ wp_enqueue_style(BWG()->prefix . '-roboto');
2822
+ wp_enqueue_style(BWG()->prefix . '-pricing');
2823
+ ob_start();
2824
+ ?>
2825
+ <div class="wd-list-view-header-free-right">
2826
+ <p class="upgrade-header"><?php _e('Unleash the full benefits and features', BWG()->prefix); ?></p>
2827
+ <p class="upgrade-text"><?php _e('of the Premium Plugin', BWG()->prefix); ?></p>
2828
+ <a class="upgrade-button" href="<?php echo $premium_link; ?>" target="_blank"><?php _e( 'Upgrade Now', BWG()->prefix ); ?></a>
2829
+ </div>
2830
+ <a class="wd-list-view-ask-question" href="<?php echo $support_forum_link; ?>" target="_blank"><?php _e('Ask a question', BWG()->prefix); ?></a>
2831
+ <?php
2832
+ echo ob_get_clean();
2833
+ }
2834
+
2835
  // TODO. This function should be replaced with WP functionality in another version. At the moment it is not.
2836
  /**
2837
  * Get privacy_policy_url
framework/howto/howto.php CHANGED
@@ -405,7 +405,7 @@ wp_print_scripts('jquery-ui-tabs');
405
  </div>
406
  </div>
407
  </div>
408
- <button type="button" class="button button-secondary button-large bwg-howto-button" onclick="wd_how_to_use(); return false;">
409
  <?php _e('How to use', BWG()->prefix); ?>
410
  </button>
411
  <?php
405
  </div>
406
  </div>
407
  </div>
408
+ <button type="button" class="tw-button-secondary button-large bwg-howto-button" onclick="wd_how_to_use(); return false;">
409
  <?php _e('How to use', BWG()->prefix); ?>
410
  </button>
411
  <?php
frontend/models/BWGModelGalleryBox.php CHANGED
@@ -68,8 +68,8 @@ class BWGModelGalleryBox {
68
  $alt_search = '(';
69
  $description_search = '(';
70
  foreach( $bwg_search_keys as $search_key) {
71
- $alt_search .= '`image`.`alt` LIKE "%' . trim($search_key) . '%" AND ';
72
- $description_search .= '`image`.`description` LIKE "%' . trim($search_key) . '%" AND ';
73
  }
74
  $alt_search = rtrim($alt_search, 'AND ');
75
  $alt_search .= ')';
68
  $alt_search = '(';
69
  $description_search = '(';
70
  foreach( $bwg_search_keys as $search_key) {
71
+ $alt_search .= $wpdb->prepare('`image`.`alt` LIKE "%s" AND ', '%' . trim($search_key) . '%');
72
+ $description_search .= $wpdb->prepare('`image`.`description` LIKE "%s" AND ', '%' . trim($search_key) . '%');
73
  }
74
  $alt_search = rtrim($alt_search, 'AND ');
75
  $alt_search .= ')';
frontend/models/model.php CHANGED
@@ -87,8 +87,8 @@ class BWGModelSite {
87
  $alt_search = '(';
88
  $description_search = '(';
89
  foreach( $bwg_search_keys as $search_key) {
90
- $alt_search .= '`image`.`alt` LIKE "%' . trim($search_key) . '%" AND ';
91
- $description_search .= '`image`.`description` LIKE "%' . trim($search_key) . '%" AND ';
92
  }
93
  $alt_search = rtrim($alt_search, 'AND ');
94
  $alt_search .= ')';
@@ -143,7 +143,7 @@ class BWGModelSite {
143
  $compare_sign = ",";
144
  }
145
  $join .= ' LEFT JOIN (SELECT GROUP_CONCAT(tag_id order by tag_id SEPARATOR ",") AS tags_combined, image_id FROM ' . $wpdb->prefix . 'bwg_image_tag' . ($gallery_id ? ' WHERE gallery_id="' . $gallery_id . '"' : '') . ' GROUP BY image_id) AS tags ON image.id=tags.image_id';
146
- $where .= ' AND CONCAT(",", tags.tags_combined, ",") REGEXP ",(' . implode( $compare_sign, $filter_tags_name ) . ')," ';
147
  }
148
  $join .= ' LEFT JOIN '. $wpdb->prefix .'bwg_gallery as gallery ON gallery.id = image.gallery_id';
149
  $where .= ' AND gallery.published = 1 ';
@@ -196,40 +196,40 @@ class BWGModelSite {
196
  }
197
 
198
  public function get_alb_gals_row( $bwg, $id, $albums_per_page, $sort_by, $order_by, $pagination_type = 0, $from = '' ) {
199
- if ( $albums_per_page < 0 ) {
200
  $albums_per_page = 0;
201
  }
202
  global $wpdb;
203
- $order_by = 'ORDER BY `' . ( (!empty($from) && $from === 'widget') ? 'id' : $sort_by ) . '` ' . $order_by;
204
- if( $sort_by == 'random' || $sort_by == 'RAND()' ) {
205
- $order_by = 'ORDER BY RAND()';
206
- }
207
- $search_where = '';
208
- $search_value = trim( WDWLibrary::get('bwg_search_' . $bwg) );
209
- if ( !empty($search_value) ) {
210
- $search_keys = explode(' ', $search_value);
211
  $alt_search = '(';
212
  $description_search = '(';
213
- foreach( $search_keys as $search_key) {
214
- $alt_search .= '`{{table}}`.`name` LIKE "%' . trim($search_key) . '%" AND ';
215
- $description_search .= '`{{table}}`.`description` LIKE "%' . trim($search_key) . '%" AND ';
216
  }
217
- $alt_search = rtrim($alt_search, 'AND ');
218
  $alt_search .= ')';
219
- $description_search = rtrim($description_search, 'AND ');
220
  $description_search .= ')';
221
  $search_where = ' AND (' . $alt_search . ' OR ' . $description_search . ')';
222
  }
223
- $limit = 0;
224
- $page_number = WDWLibrary::get('page_number_' . $bwg, 0, 'intval');
225
  if ( $page_number ) {
226
- $limit = ( (int) $page_number - 1) * $albums_per_page;
227
  }
228
  $limit_str = '';
229
  if ( $albums_per_page ) {
230
  $limit_str = 'LIMIT ' . $limit . ',' . $albums_per_page;
231
  }
232
- if ( WDWLibrary::get('action_' . $bwg) == 'back' && ($pagination_type == 2 || $pagination_type == 3) ) {
233
  if ( $page_number ) {
234
  if ( $albums_per_page ) {
235
  $limit = $albums_per_page * $page_number;
@@ -239,53 +239,53 @@ class BWGModelSite {
239
  }
240
  // Select all galleries.
241
  if ( $id == 0 ) {
242
- $query = 'SELECT * FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace('{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where);
243
  $limitation = ' ' . $order_by . ' ' . $limit_str;
244
  $sql = $query . $limitation;
245
- $rows = $wpdb->get_results( $sql );
246
- $total = $wpdb->get_var('SELECT count(*) FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace('{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where) );
247
  }
248
  else {
249
- $query = '( SELECT t.*, t1.preview_image, t1.random_preview_image, t1.name, t1.description, t1.slug, t1.modified_date FROM `' . $wpdb->prefix . 'bwg_album_gallery` as t';
250
  $query .= ' LEFT JOIN `' . $wpdb->prefix . 'bwg_album` as t1 ON (t.is_album=1 AND t.alb_gal_id = t1.id)';
251
  $query .= ' WHERE t.album_id="' . $id . '"';
252
- $query .= ' AND t1.published=1' . str_replace('{{table}}', 't1', $search_where);
253
- $query .= ') ';
254
- $query .= ' UNION ';
255
- $query .= '( SELECT t.*, t2.preview_image, t2.random_preview_image, t2.name, t2.description, t2.slug, t2.modified_date FROM `' . $wpdb->prefix . 'bwg_album_gallery` as t';
256
  $query .= ' LEFT JOIN `' . $wpdb->prefix . 'bwg_gallery` as t2 ON (t.is_album=0 AND t.alb_gal_id = t2.id)';
257
  $query .= ' WHERE t.album_id="' . $id . '"';
258
- $query .= ' AND t2.published=1' . str_replace('{{table}}', 't2', $search_where);
259
  $query .= ')';
260
  $limitation = ' ' . $order_by . ' ' . $limit_str;
261
  $sql = $query . $limitation;
262
- $rows = $wpdb->get_results($sql);
263
- $total = count($wpdb->get_results($query));
264
  }
265
  if ( $rows ) {
266
  foreach ( $rows as $row ) {
267
- $row->def_type = isset($row->is_album) && $row->is_album ? 'album' : 'gallery';
268
  if ( $from ) {
269
- $row->permalink = WDWLibrary::get_custom_post_permalink(array( 'slug' => $row->slug, 'post_type' => $row->def_type ));
270
  }
271
  else {
272
  $row->permalink = '';
273
  }
274
 
275
- if ( !empty($row->preview_image) ) {
276
- $row->resolution_thumb = WDWLibrary::get_thumb_size($row->preview_image);
277
  if ( $row->resolution_thumb == "" ) {
278
- $row->resolution_thumb = $this->get_album_preview_thumb_dimensions($row->preview_image);
279
  }
280
 
281
- $row->preview_image = WDWLibrary::image_url_version($row->preview_image, $row->modified_date);
282
  }
283
- if ( !empty($row->random_preview_image) ) {
284
- $row->resolution_thumb = WDWLibrary::get_thumb_size($row->random_preview_image);
285
  if ( $row->resolution_thumb == "" ) {
286
- $row->resolution_thumb = $this->get_album_preview_thumb_dimensions($row->random_preview_image);
287
  }
288
- $row->random_preview_image = WDWLibrary::image_url_version($row->random_preview_image, $row->modified_date);
289
  }
290
  if ( !$row->preview_image ) {
291
  $row->preview_image = $row->random_preview_image;
@@ -296,7 +296,7 @@ class BWGModelSite {
296
  $row->preview_path = BWG()->plugin_dir . '/images/no-image.png';
297
  }
298
  else {
299
- $parsed_prev_url = parse_url($row->preview_image, PHP_URL_SCHEME);
300
  if ( $parsed_prev_url == 'http' || $parsed_prev_url == 'https' ) {
301
  $row->preview_path = $row->preview_image;
302
  $row->preview_image = $row->preview_image;
@@ -307,15 +307,15 @@ class BWGModelSite {
307
  }
308
  }
309
 
310
- $row->description = wpautop($row->description);
311
  }
312
  }
313
 
314
- $page_nav['limit'] = 1;
315
- $page_nav['total'] = $total;
316
- $page_number = WDWLibrary::get('page_number_' . $bwg, 0, 'intval');
317
  if ( $page_number ) {
318
- $page_nav[ 'limit' ] = (int) $page_number;
319
  }
320
 
321
  return array( 'rows' => $rows, 'page_nav' => $page_nav );
87
  $alt_search = '(';
88
  $description_search = '(';
89
  foreach( $bwg_search_keys as $search_key) {
90
+ $alt_search .= $wpdb->prepare('`image`.`alt` LIKE "%s" AND ', '%' . trim($search_key) . '%');
91
+ $description_search .= $wpdb->prepare('`image`.`description` LIKE "%s" AND ', '%' . trim($search_key) . '%');
92
  }
93
  $alt_search = rtrim($alt_search, 'AND ');
94
  $alt_search .= ')';
143
  $compare_sign = ",";
144
  }
145
  $join .= ' LEFT JOIN (SELECT GROUP_CONCAT(tag_id order by tag_id SEPARATOR ",") AS tags_combined, image_id FROM ' . $wpdb->prefix . 'bwg_image_tag' . ($gallery_id ? ' WHERE gallery_id="' . $gallery_id . '"' : '') . ' GROUP BY image_id) AS tags ON image.id=tags.image_id';
146
+ $where .= $wpdb->prepare(' AND CONCAT(",", tags.tags_combined, ",") REGEXP "%s" ', ',(' . implode( $compare_sign, $filter_tags_name ) . '),');
147
  }
148
  $join .= ' LEFT JOIN '. $wpdb->prefix .'bwg_gallery as gallery ON gallery.id = image.gallery_id';
149
  $where .= ' AND gallery.published = 1 ';
196
  }
197
 
198
  public function get_alb_gals_row( $bwg, $id, $albums_per_page, $sort_by, $order_by, $pagination_type = 0, $from = '' ) {
199
+ if ( $albums_per_page < 0 ) {
200
  $albums_per_page = 0;
201
  }
202
  global $wpdb;
203
+ $order_by = 'ORDER BY `' . ( ( !empty( $from ) && $from === 'widget' ) ? 'id' : $sort_by ) . '` ' . $order_by;
204
+ if ( $sort_by == 'random' || $sort_by == 'RAND()' ) {
205
+ $order_by = 'ORDER BY RAND()';
206
+ }
207
+ $search_where = '';
208
+ $search_value = trim( WDWLibrary::get( 'bwg_search_' . $bwg ) );
209
+ if ( !empty( $search_value ) ) {
210
+ $search_keys = explode( ' ', $search_value );
211
  $alt_search = '(';
212
  $description_search = '(';
213
+ foreach ( $search_keys as $search_key ) {
214
+ $alt_search .= $wpdb->prepare( '`{{table}}`.`name` LIKE "%s" AND ', '%' . trim( $search_key ) . '%' );
215
+ $description_search .= $wpdb->prepare( '`{{table}}`.`description` LIKE "%s" AND ', '%' . trim( $search_key ) . '%' );
216
  }
217
+ $alt_search = rtrim( $alt_search, 'AND ' );
218
  $alt_search .= ')';
219
+ $description_search = rtrim( $description_search, 'AND ' );
220
  $description_search .= ')';
221
  $search_where = ' AND (' . $alt_search . ' OR ' . $description_search . ')';
222
  }
223
+ $limit = 0;
224
+ $page_number = WDWLibrary::get( 'page_number_' . $bwg, 0, 'intval' );
225
  if ( $page_number ) {
226
+ $limit = ( (int)$page_number - 1 ) * $albums_per_page;
227
  }
228
  $limit_str = '';
229
  if ( $albums_per_page ) {
230
  $limit_str = 'LIMIT ' . $limit . ',' . $albums_per_page;
231
  }
232
+ if ( WDWLibrary::get( 'action_' . $bwg ) == 'back' && ( $pagination_type == 2 || $pagination_type == 3 ) ) {
233
  if ( $page_number ) {
234
  if ( $albums_per_page ) {
235
  $limit = $albums_per_page * $page_number;
239
  }
240
  // Select all galleries.
241
  if ( $id == 0 ) {
242
+ $query = 'SELECT * FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace( '{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where );
243
  $limitation = ' ' . $order_by . ' ' . $limit_str;
244
  $sql = $query . $limitation;
245
+ $rows = $wpdb->get_results( $sql );
246
+ $total = $wpdb->get_var( 'SELECT count(*) FROM `' . $wpdb->prefix . 'bwg_gallery` WHERE `published`=1' . str_replace( '{{table}}', $wpdb->prefix . 'bwg_gallery', $search_where ) );
247
  }
248
  else {
249
+ $query = '( SELECT t.*, t1.preview_image, t1.random_preview_image, t1.name, t1.description, t1.slug, t1.modified_date FROM `' . $wpdb->prefix . 'bwg_album_gallery` as t';
250
  $query .= ' LEFT JOIN `' . $wpdb->prefix . 'bwg_album` as t1 ON (t.is_album=1 AND t.alb_gal_id = t1.id)';
251
  $query .= ' WHERE t.album_id="' . $id . '"';
252
+ $query .= ' AND t1.published=1' . str_replace( '{{table}}', 't1', $search_where );
253
+ $query .= ') ';
254
+ $query .= ' UNION ';
255
+ $query .= '( SELECT t.*, t2.preview_image, t2.random_preview_image, t2.name, t2.description, t2.slug, t2.modified_date FROM `' . $wpdb->prefix . 'bwg_album_gallery` as t';
256
  $query .= ' LEFT JOIN `' . $wpdb->prefix . 'bwg_gallery` as t2 ON (t.is_album=0 AND t.alb_gal_id = t2.id)';
257
  $query .= ' WHERE t.album_id="' . $id . '"';
258
+ $query .= ' AND t2.published=1' . str_replace( '{{table}}', 't2', $search_where );
259
  $query .= ')';
260
  $limitation = ' ' . $order_by . ' ' . $limit_str;
261
  $sql = $query . $limitation;
262
+ $rows = $wpdb->get_results( $sql );
263
+ $total = count( $wpdb->get_results( $query ) );
264
  }
265
  if ( $rows ) {
266
  foreach ( $rows as $row ) {
267
+ $row->def_type = isset( $row->is_album ) && $row->is_album ? 'album' : 'gallery';
268
  if ( $from ) {
269
+ $row->permalink = WDWLibrary::get_custom_post_permalink( array( 'slug' => $row->slug, 'post_type' => $row->def_type ) );
270
  }
271
  else {
272
  $row->permalink = '';
273
  }
274
 
275
+ if ( !empty( $row->preview_image ) ) {
276
+ $row->resolution_thumb = WDWLibrary::get_thumb_size( $row->preview_image );
277
  if ( $row->resolution_thumb == "" ) {
278
+ $row->resolution_thumb = $this->get_album_preview_thumb_dimensions( $row->preview_image );
279
  }
280
 
281
+ $row->preview_image = WDWLibrary::image_url_version( $row->preview_image, $row->modified_date );
282
  }
283
+ if ( !empty( $row->random_preview_image ) ) {
284
+ $row->resolution_thumb = WDWLibrary::get_thumb_size( $row->random_preview_image );
285
  if ( $row->resolution_thumb == "" ) {
286
+ $row->resolution_thumb = $this->get_album_preview_thumb_dimensions( $row->random_preview_image );
287
  }
288
+ $row->random_preview_image = WDWLibrary::image_url_version( $row->random_preview_image, $row->modified_date );
289
  }
290
  if ( !$row->preview_image ) {
291
  $row->preview_image = $row->random_preview_image;
296
  $row->preview_path = BWG()->plugin_dir . '/images/no-image.png';
297
  }
298
  else {
299
+ $parsed_prev_url = parse_url( $row->preview_image, PHP_URL_SCHEME );
300
  if ( $parsed_prev_url == 'http' || $parsed_prev_url == 'https' ) {
301
  $row->preview_path = $row->preview_image;
302
  $row->preview_image = $row->preview_image;
307
  }
308
  }
309
 
310
+ $row->description = wpautop( $row->description );
311
  }
312
  }
313
 
314
+ $page_nav[ 'limit' ] = 1;
315
+ $page_nav[ 'total' ] = $total;
316
+ $page_number = WDWLibrary::get( 'page_number_' . $bwg, 0, 'intval' );
317
  if ( $page_number ) {
318
+ $page_nav[ 'limit' ] = (int)$page_number;
319
  }
320
 
321
  return array( 'rows' => $rows, 'page_nav' => $page_nav );
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -1381,7 +1381,7 @@ class BWGViewGalleryBox {
1381
  <div class="bwg_comment_body_p">
1382
  <span class="bwg_comment_body"><?php echo wpautop($row->comment); ?></span>
1383
  </div>
1384
- </div>
1385
  <?php
1386
  return ob_get_clean();
1387
  }
1381
  <div class="bwg_comment_body_p">
1382
  <span class="bwg_comment_body"><?php echo wpautop($row->comment); ?></span>
1383
  </div>
1384
+ </div>
1385
  <?php
1386
  return ob_get_clean();
1387
  }
images/album_compact_preview.jpg DELETED
Binary file
images/album_compact_preview.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;}.a,.e{stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:#e8e8e8;}.d,.f{stroke:#dedede;}.e{fill:url(#d);}.f{fill:#dedede;}.g,.h{stroke:none;}.h{fill:#d1d1d1;}.i{fill:none;}.j{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(394 672)"/></clipPath><filter id="b" x="-2" y="0" width="72" height="62" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-394 -672)"><g class="j" transform="matrix(1, 0, 0, 1, 394, 672)"><g class="c" transform="translate(4 22)"><path class="g" d="M 56.71234512329102 31.5000171661377 L 3.287675619125366 31.5000171661377 C 1.750545740127563 31.5000171661377 0.5000057220458984 30.20760726928711 0.5000057220458984 28.61902809143066 L 0.5000057220458984 -14.6190128326416 C 0.5000057220458984 -16.20759201049805 1.750545740127563 -17.49999237060547 3.287675619125366 -17.49999237060547 L 56.71234512329102 -17.49999237060547 C 58.24947738647461 -17.49999237060547 59.50001525878906 -16.20759201049805 59.50001525878906 -14.6190128326416 L 59.50001525878906 28.61902809143066 C 59.50001525878906 30.20760726928711 58.24947738647461 31.5000171661377 56.71234512329102 31.5000171661377 Z"/><path class="h" d="M 3.287666320800781 -17.00000190734863 C 2.026237487792969 -17.00000190734863 0.9999961853027344 -15.93189239501953 0.9999961853027344 -14.6190128326416 L 0.9999961853027344 28.61902809143066 C 0.9999961853027344 29.93190765380859 2.026237487792969 31.00000762939453 3.287666320800781 31.00000762939453 L 56.71233749389648 31.00000762939453 C 57.9737663269043 31.00000762939453 59.00000762939453 29.93190765380859 59.00000762939453 28.61902809143066 L 59.00000762939453 -14.6190128326416 C 59.00000762939453 -15.93189239501953 57.9737663269043 -17.00000190734863 56.71233749389648 -17.00000190734863 L 3.287666320800781 -17.00000190734863 M 3.287666320800781 -18.00000381469727 L 56.71233749389648 -18.00000381469727 C 58.5280647277832 -18.00000381469727 60.00000762939453 -16.48628234863281 60.00000762939453 -14.6190128326416 L 60.00000762939453 28.61902809143066 C 60.00000762939453 30.48628807067871 58.5280647277832 32.00000762939453 56.71233749389648 32.00000762939453 L 3.287666320800781 32.00000762939453 C 1.471946716308594 32.00000762939453 -3.814697265625e-06 30.48628807067871 -3.814697265625e-06 28.61902809143066 L -3.814697265625e-06 -14.6190128326416 C -3.814697265625e-06 -16.48628234863281 1.471946716308594 -18.00000381469727 3.287666320800781 -18.00000381469727 Z"/></g></g><g class="d" transform="translate(403 681.172)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><g class="d" transform="translate(403.357 702.911)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><g class="d" transform="translate(430.143 681.172)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><g class="e" transform="translate(430.143 702.724)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><g class="f" transform="translate(406.333 695.603)"><rect class="g" width="16.667" height="3.448" rx="1"/><rect class="i" x="0.5" y="0.5" width="15.667" height="2.448" rx="0.5"/></g><g class="f" transform="translate(406.571 717.342)"><rect class="g" width="16.671" height="3.448" rx="1"/><rect class="i" x="0.5" y="0.5" width="15.671" height="2.448" rx="0.5"/></g><g class="f" transform="translate(433.357 695.603)"><rect class="g" width="16.671" height="3.448" rx="1"/><rect class="i" x="0.5" y="0.5" width="15.671" height="2.448" rx="0.5"/></g><g class="f" transform="translate(433.357 717.342)"><rect class="g" width="16.671" height="3.448" rx="1"/><rect class="i" x="0.5" y="0.5" width="15.671" height="2.448" rx="0.5"/></g></g></svg>
images/album_compact_preview_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.e{fill:url(#b);}.f{fill:rgba(255,255,255,0.8);}.g,.h{stroke:none;}.h{fill:rgba(255,255,255,0.76);}.i{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(376 950)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-376 -950)"><g transform="translate(-18 278)"><g class="c" transform="translate(398 694)"><path class="g" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="h" d="M 3.287666320800781 -17.00000190734863 C 2.026237487792969 -17.00000190734863 0.9999961853027344 -15.93189239501953 0.9999961853027344 -14.6190128326416 L 0.9999961853027344 28.61902809143066 C 0.9999961853027344 29.93190765380859 2.026237487792969 31.00000762939453 3.287666320800781 31.00000762939453 L 56.71233749389648 31.00000762939453 C 57.9737663269043 31.00000762939453 59.00000762939453 29.93190765380859 59.00000762939453 28.61902809143066 L 59.00000762939453 -14.6190128326416 C 59.00000762939453 -15.93189239501953 57.9737663269043 -17.00000190734863 56.71233749389648 -17.00000190734863 L 3.287666320800781 -17.00000190734863 M 3.287666320800781 -18.00000381469727 L 56.71233749389648 -18.00000381469727 C 58.5280647277832 -18.00000381469727 60.00000762939453 -16.48628234863281 60.00000762939453 -14.6190128326416 L 60.00000762939453 28.61902809143066 C 60.00000762939453 30.48628807067871 58.5280647277832 32.00000762939453 56.71233749389648 32.00000762939453 L 3.287666320800781 32.00000762939453 C 1.471946716308594 32.00000762939453 -3.814697265625e-06 30.48628807067871 -3.814697265625e-06 28.61902809143066 L -3.814697265625e-06 -14.6190128326416 C -3.814697265625e-06 -16.48628234863281 1.471946716308594 -18.00000381469727 3.287666320800781 -18.00000381469727 Z"/></g><g class="d" transform="translate(403 681.172)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><g class="d" transform="translate(403.357 702.911)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><g class="d" transform="translate(430.143 681.172)"><rect class="g" width="23.333" height="11.582" rx="1"/><rect class="i" x="0.5" y="0.5" width="22.333" height="10.582" rx="0.5"/></g><rect class="e" width="23.333" height="11.582" rx="1" transform="translate(430.143 702.724)"/><rect class="f" width="16.667" height="3.448" rx="1" transform="translate(406.333 695.603)"/><rect class="f" width="16.671" height="3.448" rx="1" transform="translate(406.571 717.342)"/><rect class="f" width="16.671" height="3.448" rx="1" transform="translate(433.357 695.603)"/><rect class="f" width="16.671" height="3.448" rx="1" transform="translate(433.357 717.342)"/></g></g></svg>
images/album_extended_preview.jpg DELETED
Binary file
images/album_extended_preview.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:url(#d);}.e,.f,.j{fill:#dedede;}.f,.g{stroke:#dedede;}.g{fill:#e8e8e8;}.h,.i,.j{stroke:none;}.i{fill:#d1d1d1;}.k{fill:none;}.l{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(522 665)"/></clipPath><filter id="b" x="-2" y="0" width="72" height="62" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-522 -665)"><g class="l" transform="matrix(1, 0, 0, 1, 522, 665)"><g class="c" transform="translate(4 22)"><path class="h" d="M 56.71232604980469 31.50001335144043 L 3.287676095962524 31.50001335144043 C 1.750546216964722 31.50001335144043 0.5000061988830566 30.20760345458984 0.5000061988830566 28.6190242767334 L 0.5000061988830566 -14.61901664733887 C 0.5000061988830566 -16.20759582519531 1.750546216964722 -17.49999618530273 3.287676095962524 -17.49999618530273 L 56.71232604980469 -17.49999618530273 C 58.24945449829102 -17.49999618530273 59.49999618530273 -16.20759582519531 59.49999618530273 -14.61901664733887 L 59.49999618530273 28.6190242767334 C 59.49999618530273 30.20760345458984 58.24945449829102 31.50001335144043 56.71232604980469 31.50001335144043 Z"/><path class="i" d="M 3.287666320800781 -17.0000057220459 C 2.026237487792969 -17.0000057220459 0.9999961853027344 -15.9318962097168 0.9999961853027344 -14.61901664733887 L 0.9999961853027344 28.6190242767334 C 0.9999961853027344 29.93190383911133 2.026237487792969 31.00000381469727 3.287666320800781 31.00000381469727 L 56.71232604980469 31.00000381469727 C 57.97374725341797 31.00000381469727 58.99998474121094 29.93190383911133 58.99998474121094 28.6190242767334 L 58.99998474121094 -14.61901664733887 C 58.99998474121094 -15.9318962097168 57.97374725341797 -17.0000057220459 56.71232604980469 -17.0000057220459 L 3.287666320800781 -17.0000057220459 M 3.287666320800781 -18.00000762939453 L 56.71232604980469 -18.00000762939453 C 58.52805709838867 -18.00000762939453 59.99998474121094 -16.48627662658691 59.99998474121094 -14.61901664733887 L 59.99998474121094 28.6190242767334 C 59.99998474121094 30.48628425598145 58.52805709838867 32.00000381469727 56.71232604980469 32.00000381469727 L 3.287666320800781 32.00000381469727 C 1.471935272216797 32.00000381469727 -3.814697265625e-06 30.48628425598145 -3.814697265625e-06 28.6190242767334 L -3.814697265625e-06 -14.61901664733887 C -3.814697265625e-06 -16.48627662658691 1.471935272216797 -18.00000762939453 3.287666320800781 -18.00000762939453 Z"/></g></g><g transform="translate(531.357 675.522)"><g transform="translate(0 0)"><rect class="d" width="15" height="15.217" rx="1"/><g transform="translate(18.334 2.174)"><g class="e"><path class="h" d="M 29.5238094329834 2.948277950286865 L 1.071428894996643 2.948277950286865 C 0.756338894367218 2.948277950286865 0.4999988675117493 2.684967994689941 0.4999988675117493 2.361318111419678 L 0.4999988675117493 1.086958050727844 C 0.4999988675117493 0.763308048248291 0.756338894367218 0.4999980330467224 1.071428894996643 0.4999980330467224 L 29.5238094329834 0.4999980330467224 C 29.83889961242676 0.4999980330467224 30.09523963928223 0.763308048248291 30.09523963928223 1.086958050727844 L 30.09523963928223 2.361318111419678 C 30.09523963928223 2.684967994689941 29.83889961242676 2.948277950286865 29.5238094329834 2.948277950286865 Z"/><path class="j" d="M 1.071428298950195 0.9999980926513672 C 1.036928176879883 0.9999980926513672 0.9999980926513672 1.034938097000122 0.9999980926513672 1.086957931518555 L 0.9999980926513672 2.361318111419678 C 0.9999980926513672 2.413338184356689 1.036928176879883 2.448277950286865 1.071428298950195 2.448277950286865 L 29.5238094329834 2.448277950286865 C 29.55830955505371 2.448277950286865 29.59523963928223 2.413338184356689 29.59523963928223 2.361318111419678 L 29.59523963928223 1.086957931518555 C 29.59523963928223 1.034938097000122 29.55830955505371 0.9999980926513672 29.5238094329834 0.9999980926513672 L 1.071428298950195 0.9999980926513672 M 1.071428298950195 -1.9073486328125e-06 L 29.5238094329834 -1.9073486328125e-06 C 30.11553955078125 -1.9073486328125e-06 30.59523963928223 0.4866480827331543 30.59523963928223 1.086957931518555 L 30.59523963928223 2.361318111419678 C 30.59523963928223 2.961627960205078 30.11553955078125 3.448277950286865 29.5238094329834 3.448277950286865 L 1.071428298950195 3.448277950286865 C 0.4796886444091797 3.448277950286865 -1.9073486328125e-06 2.961627960205078 -1.9073486328125e-06 2.361318111419678 L -1.9073486328125e-06 1.086957931518555 C -1.9073486328125e-06 0.4866480827331543 0.4796886444091797 -1.9073486328125e-06 1.071428298950195 -1.9073486328125e-06 Z"/></g><g class="f" transform="translate(0 7.609)"><rect class="h" width="22.024" height="3.448" rx="1"/><rect class="k" x="0.5" y="0.5" width="21.024" height="2.448" rx="0.5"/></g></g></g><g transform="translate(0 21.739)"><g class="g"><rect class="h" width="15" height="15.217" rx="1"/><rect class="k" x="0.5" y="0.5" width="14" height="14.217" rx="0.5"/></g><g transform="translate(18.334 2.174)"><g class="e" transform="translate(0 0)"><path class="h" d="M 29.5238094329834 2.948277950286865 L 1.071428894996643 2.948277950286865 C 0.756338894367218 2.948277950286865 0.4999988675117493 2.684967994689941 0.4999988675117493 2.361318111419678 L 0.4999988675117493 1.086958050727844 C 0.4999988675117493 0.763308048248291 0.756338894367218 0.4999980330467224 1.071428894996643 0.4999980330467224 L 29.5238094329834 0.4999980330467224 C 29.83889961242676 0.4999980330467224 30.09523963928223 0.763308048248291 30.09523963928223 1.086958050727844 L 30.09523963928223 2.361318111419678 C 30.09523963928223 2.684967994689941 29.83889961242676 2.948277950286865 29.5238094329834 2.948277950286865 Z"/><path class="j" d="M 1.071428298950195 0.9999980926513672 C 1.036928176879883 0.9999980926513672 0.9999980926513672 1.034938097000122 0.9999980926513672 1.086957931518555 L 0.9999980926513672 2.361318111419678 C 0.9999980926513672 2.413338184356689 1.036928176879883 2.448277950286865 1.071428298950195 2.448277950286865 L 29.5238094329834 2.448277950286865 C 29.55830955505371 2.448277950286865 29.59523963928223 2.413338184356689 29.59523963928223 2.361318111419678 L 29.59523963928223 1.086957931518555 C 29.59523963928223 1.034938097000122 29.55830955505371 0.9999980926513672 29.5238094329834 0.9999980926513672 L 1.071428298950195 0.9999980926513672 M 1.071428298950195 -1.9073486328125e-06 L 29.5238094329834 -1.9073486328125e-06 C 30.11553955078125 -1.9073486328125e-06 30.59523963928223 0.4866480827331543 30.59523963928223 1.086957931518555 L 30.59523963928223 2.361318111419678 C 30.59523963928223 2.961627960205078 30.11553955078125 3.448277950286865 29.5238094329834 3.448277950286865 L 1.071428298950195 3.448277950286865 C 0.4796886444091797 3.448277950286865 -1.9073486328125e-06 2.961627960205078 -1.9073486328125e-06 2.361318111419678 L -1.9073486328125e-06 1.086957931518555 C -1.9073486328125e-06 0.4866480827331543 0.4796886444091797 -1.9073486328125e-06 1.071428298950195 -1.9073486328125e-06 Z"/></g><g class="f" transform="translate(0 7.609)"><rect class="h" width="22.024" height="3.448" rx="1"/><rect class="k" x="0.5" y="0.5" width="21.024" height="2.448" rx="0.5"/></g></g></g></g></g></svg>
images/album_extended_preview_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:url(#b);}.e{fill:rgba(255,255,255,0.8);}.f{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.g,.h{stroke:none;}.h{fill:rgba(255,255,255,0.76);}.i{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(528 928)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-528 -928)"><g transform="translate(6 263)"><g class="c" transform="translate(526 687)"><path class="g" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="h" d="M 3.287666320800781 -17.0000057220459 C 2.026237487792969 -17.0000057220459 0.9999961853027344 -15.9318962097168 0.9999961853027344 -14.61901664733887 L 0.9999961853027344 28.6190242767334 C 0.9999961853027344 29.93190383911133 2.026237487792969 31.00000381469727 3.287666320800781 31.00000381469727 L 56.71232604980469 31.00000381469727 C 57.97374725341797 31.00000381469727 58.99998474121094 29.93190383911133 58.99998474121094 28.6190242767334 L 58.99998474121094 -14.61901664733887 C 58.99998474121094 -15.9318962097168 57.97374725341797 -17.0000057220459 56.71232604980469 -17.0000057220459 L 3.287666320800781 -17.0000057220459 M 3.287666320800781 -18.00000762939453 L 56.71232604980469 -18.00000762939453 C 58.52805709838867 -18.00000762939453 59.99998474121094 -16.48627662658691 59.99998474121094 -14.61901664733887 L 59.99998474121094 28.6190242767334 C 59.99998474121094 30.48628425598145 58.52805709838867 32.00000381469727 56.71232604980469 32.00000381469727 L 3.287666320800781 32.00000381469727 C 1.471935272216797 32.00000381469727 -3.814697265625e-06 30.48628425598145 -3.814697265625e-06 28.6190242767334 L -3.814697265625e-06 -14.61901664733887 C -3.814697265625e-06 -16.48627662658691 1.471935272216797 -18.00000762939453 3.287666320800781 -18.00000762939453 Z"/></g><g transform="translate(531.357 675.522)"><g transform="translate(0 0)"><rect class="d" width="15" height="15.217" rx="1"/><g transform="translate(18.334 2.174)"><path class="e" d="M1.071,0H29.524A1.079,1.079,0,0,1,30.6,1.087V2.361a1.079,1.079,0,0,1-1.071,1.087H1.071A1.079,1.079,0,0,1,0,2.361V1.087A1.079,1.079,0,0,1,1.071,0Z"/><rect class="e" width="22.024" height="3.448" rx="1" transform="translate(0 7.609)"/></g></g><g transform="translate(0 21.739)"><g class="f"><rect class="g" width="15" height="15.217" rx="1"/><rect class="i" x="0.5" y="0.5" width="14" height="14.217" rx="0.5"/></g><g transform="translate(18.334 2.174)"><path class="e" d="M1.071,0H29.524A1.079,1.079,0,0,1,30.6,1.087V2.361a1.079,1.079,0,0,1-1.071,1.087H1.071A1.079,1.079,0,0,1,0,2.361V1.087A1.079,1.079,0,0,1,1.071,0Z" transform="translate(0 0)"/><rect class="e" width="22.024" height="3.448" rx="1" transform="translate(0 7.609)"/></g></g></g></g></g></svg>
images/album_masonry_preview.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;}.a,.e{stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:#e8e8e8;stroke:#dedede;}.e{fill:url(#d);}.f,.g{stroke:none;}.g{fill:#d1d1d1;}.h{fill:none;}.i{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(400 466)"/></clipPath><filter id="b" x="-2" y="0" width="72" height="62" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-400 -466)"><g transform="translate(-82 39)"><g class="i" transform="matrix(1, 0, 0, 1, 482, 427)"><g class="c" transform="translate(4 22)"><path class="f" d="M 56.71234512329102 31.50000190734863 L 3.287673711776733 31.50000190734863 C 1.750543832778931 31.50000190734863 0.5000038146972656 30.20760154724121 0.5000038146972656 28.61902046203613 L 0.5000038146972656 -14.61901950836182 C 0.5000038146972656 -16.20759963989258 1.750543832778931 -17.5 3.287673711776733 -17.5 L 56.71234512329102 -17.5 C 58.24947357177734 -17.5 59.50001525878906 -16.20759963989258 59.50001525878906 -14.61901950836182 L 59.50001525878906 28.61902046203613 C 59.50001525878906 30.20760154724121 58.24947357177734 31.50000190734863 56.71234512329102 31.50000190734863 Z"/><path class="g" d="M 3.287673950195313 -17 C 2.0262451171875 -17 0.9999923706054688 -15.93189811706543 0.9999923706054688 -14.6190185546875 L 0.9999923706054688 28.61901092529297 C 0.9999923706054688 29.9318904876709 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71234512329102 31.00000190734863 C 57.97376251220703 31.00000190734863 59.00000381469727 29.9318904876709 59.00000381469727 28.61901092529297 L 59.00000381469727 -14.6190185546875 C 59.00000381469727 -15.93189811706543 57.97376251220703 -17 56.71234512329102 -17 L 3.287673950195313 -17 M 3.287673950195313 -17.99999809265137 L 56.71234512329102 -17.99999809265137 C 58.5280647277832 -17.99999809265137 60.00000381469727 -16.48627853393555 60.00000381469727 -14.6190185546875 L 60.00000381469727 28.61901092529297 C 60.00000381469727 30.48628044128418 58.5280647277832 32 56.71234512329102 32 L 3.287673950195313 32 C 1.471935272216797 32 -7.62939453125e-06 30.48628044128418 -7.62939453125e-06 28.61901092529297 L -7.62939453125e-06 -14.6190185546875 C -7.62939453125e-06 -16.48627853393555 1.471935272216797 -17.99999809265137 3.287673950195313 -17.99999809265137 Z"/></g></g><g class="d" transform="translate(491 436.172)"><rect class="f" width="32.5" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="31.5" height="9.345" rx="0.5"/></g><g class="d" transform="translate(491 449.103)"><rect class="f" width="15" height="8.808" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="7.808" rx="0.5"/></g><g class="d" transform="translate(526 449.103)"><rect class="f" width="15" height="20.765" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="19.765" rx="0.5"/></g><g class="d" transform="translate(491 460.498)"><rect class="f" width="15" height="9.895" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="8.895" rx="0.5"/></g><g class="e" transform="translate(508.5 449.103)"><rect class="f" width="15" height="26.724" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="25.724" rx="0.5"/></g><g class="d" transform="translate(526 436.172)"><rect class="f" width="15" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="9.345" rx="0.5"/></g></g></g></svg>
images/album_masonry_preview_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.e{fill:url(#b);}.f,.g{stroke:none;}.g{fill:rgba(255,255,255,0.76);}.h{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(400 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-400 -617)"><g transform="translate(-82 190)"><g class="c" transform="translate(486 449)"><path class="f" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="g" d="M 3.287673950195313 -17 C 2.0262451171875 -17 0.9999923706054688 -15.93189811706543 0.9999923706054688 -14.6190185546875 L 0.9999923706054688 28.61901092529297 C 0.9999923706054688 29.9318904876709 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71234512329102 31.00000190734863 C 57.97376251220703 31.00000190734863 59.00000381469727 29.9318904876709 59.00000381469727 28.61901092529297 L 59.00000381469727 -14.6190185546875 C 59.00000381469727 -15.93189811706543 57.97376251220703 -17 56.71234512329102 -17 L 3.287673950195313 -17 M 3.287673950195313 -17.99999809265137 L 56.71234512329102 -17.99999809265137 C 58.5280647277832 -17.99999809265137 60.00000381469727 -16.48627853393555 60.00000381469727 -14.6190185546875 L 60.00000381469727 28.61901092529297 C 60.00000381469727 30.48628044128418 58.5280647277832 32 56.71234512329102 32 L 3.287673950195313 32 C 1.471935272216797 32 -7.62939453125e-06 30.48628044128418 -7.62939453125e-06 28.61901092529297 L -7.62939453125e-06 -14.6190185546875 C -7.62939453125e-06 -16.48627853393555 1.471935272216797 -17.99999809265137 3.287673950195313 -17.99999809265137 Z"/></g><g class="d" transform="translate(491 436.172)"><rect class="f" width="32.5" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="31.5" height="9.345" rx="0.5"/></g><g class="d" transform="translate(491 449.103)"><rect class="f" width="15" height="8.808" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="7.808" rx="0.5"/></g><g class="d" transform="translate(526 449.103)"><rect class="f" width="15" height="20.765" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="19.765" rx="0.5"/></g><g class="d" transform="translate(491 460.498)"><rect class="f" width="15" height="9.895" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="8.895" rx="0.5"/></g><rect class="e" width="15" height="26.724" rx="1" transform="translate(508.5 449.103)"/><g class="d" transform="translate(526 436.172)"><rect class="f" width="15" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="9.345" rx="0.5"/></g></g></g></svg>
images/blog_style.jpg DELETED
Binary file
images/blog_style.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:url(#d);}.e{fill:#e8e8e8;}.e,.f{stroke:#dedede;}.f{fill:#dedede;}.g,.h{stroke:none;}.h{fill:#d1d1d1;}.i{fill:none;}.j{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(1397 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-1397 -157)"><g class="j" transform="matrix(1, 0, 0, 1, 1397, 157)"><g class="c" transform="translate(4 22)"><path class="g" d="M 52.9315071105957 27.5 L 3.068498134613037 27.5 C 1.652218103408813 27.5 0.4999980926513672 26.32892990112305 0.4999980926513672 24.88949012756348 L 0.4999980926513672 -14.88949012756348 C 0.4999980926513672 -16.32892990112305 1.652218103408813 -17.5 3.068498134613037 -17.5 L 52.9315071105957 -17.5 C 54.3477783203125 -17.5 55.5 -16.32892990112305 55.5 -14.88949012756348 L 55.5 24.88949012756348 C 55.5 26.32892990112305 54.3477783203125 27.5 52.9315071105957 27.5 Z"/><path class="h" d="M 3.068489074707031 -17 C 1.92791748046875 -17 0.9999961853027344 -16.05323028564453 0.9999961853027344 -14.88949012756348 L 0.9999961853027344 24.88949012756348 C 0.9999961853027344 26.05323028564453 1.92791748046875 27 3.068489074707031 27 L 52.9315071105957 27 C 54.07207870483398 27 55 26.05323028564453 55 24.88949012756348 L 55 -14.88949012756348 C 55 -16.05323028564453 54.07207870483398 -17 52.9315071105957 -17 L 3.068489074707031 -17 M 3.068489074707031 -18 L 52.9315071105957 -18 C 54.62618637084961 -18 56 -16.60737991333008 56 -14.88949012756348 L 56 24.88949012756348 C 56 26.60737991333008 54.62618637084961 28 52.9315071105957 28 L 3.068489074707031 28 C 1.373809814453125 28 -3.814697265625e-06 26.60737991333008 -3.814697265625e-06 24.88949012756348 L -3.814697265625e-06 -14.88949012756348 C -3.814697265625e-06 -16.60737991333008 1.373809814453125 -18 3.068489074707031 -18 Z"/></g></g><rect class="d" width="46.667" height="12.69" rx="1" transform="translate(1405.667 165.759)"/><g class="e" transform="translate(1405.667 186.379)"><rect class="g" width="46.667" height="11.103" rx="1"/><rect class="i" x="0.5" y="0.5" width="45.667" height="10.103" rx="0.5"/></g><g class="f" transform="translate(1422.778 180.034)"><rect class="g" width="29.556" height="3.172" rx="1"/><rect class="i" x="0.5" y="0.5" width="28.556" height="2.172" rx="0.5"/></g></g></svg>
images/blog_style_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:url(#b);}.e{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.f{fill:rgba(255,255,255,0.8);}.g,.h{stroke:none;}.h{fill:rgba(255,255,255,0.76);}.i{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(984 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-984 -617)"><g transform="translate(-447 222)"><g class="c" transform="translate(1435 417)"><path class="g" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="h" d="M 3.287673950195313 -17 C 2.0262451171875 -17 0.9999961853027344 -15.93189811706543 0.9999961853027344 -14.6190185546875 L 0.9999961853027344 28.61901092529297 C 0.9999961853027344 29.9318904876709 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71237564086914 31.00000190734863 C 57.97380447387695 31.00000190734863 59.00004577636719 29.9318904876709 59.00004577636719 28.61901092529297 L 59.00004577636719 -14.6190185546875 C 59.00004577636719 -15.93189811706543 57.97380447387695 -17 56.71237564086914 -17 L 3.287673950195313 -17 M 3.287673950195313 -17.99999809265137 L 56.71237564086914 -17.99999809265137 C 58.52810668945313 -17.99999809265137 60.00004577636719 -16.48627853393555 60.00004577636719 -14.6190185546875 L 60.00004577636719 28.61901092529297 C 60.00004577636719 30.48628044128418 58.52810668945313 32 56.71237564086914 32 L 3.287673950195313 32 C 1.471942901611328 32 -3.814697265625e-06 30.48628044128418 -3.814697265625e-06 28.61901092529297 L -3.814697265625e-06 -14.6190185546875 C -3.814697265625e-06 -16.48627853393555 1.471942901611328 -17.99999809265137 3.287673950195313 -17.99999809265137 Z"/></g><rect class="d" width="50" height="13.793" rx="1" transform="translate(1440 404.172)"/><g class="e" transform="translate(1440 426.586)"><rect class="g" width="50" height="12.069" rx="1"/><rect class="i" x="0.5" y="0.5" width="49" height="11.069" rx="0.5"/></g><rect class="f" width="31.667" height="3.448" rx="1" transform="translate(1458.333 419.69)"/><rect class="f" width="31.667" height="3.448" rx="1" transform="translate(1458.333 440.379)"/></g></g></svg>
images/carousel.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d,.h{fill:#d1d1d1;}.e{fill:url(#d);}.f{fill:url(#f);}.g,.h{stroke:none;}.i{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(1631 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.26" x2="0.26" y2="1.021" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#c5c5c5"/><stop offset="1" stop-color="#e8e8e8"/></linearGradient><linearGradient id="f" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-1631 -157)"><g transform="translate(-8406 423)"><g class="i" transform="matrix(1, 0, 0, 1, 10037, -266)"><g class="c" transform="translate(4 22)"><path class="g" d="M 52.93133926391602 27.5 L 3.068488359451294 27.5 C 1.652218461036682 27.5 0.4999984502792358 26.32892990112305 0.4999984502792358 24.88949012756348 L 0.4999984502792358 -14.88949012756348 C 0.4999984502792358 -16.32892990112305 1.652218461036682 -17.5 3.068488359451294 -17.5 L 52.93133926391602 -17.5 C 54.34759902954102 -17.5 55.49981689453125 -16.32892990112305 55.49981689453125 -14.88949012756348 L 55.49981689453125 24.88949012756348 C 55.49981689453125 26.32892990112305 54.34759902954102 27.5 52.93133926391602 27.5 Z"/><path class="h" d="M 3.068477630615234 -17 C 1.92791748046875 -17 1 -16.05323028564453 1 -14.88949012756348 L 1 24.88949012756348 C 1 26.05323028564453 1.92791748046875 27 3.068477630615234 27 L 52.93133926391602 27 C 54.0718994140625 27 54.99981689453125 26.05323028564453 54.99981689453125 24.88949012756348 L 54.99981689453125 -14.88949012756348 C 54.99981689453125 -16.05323028564453 54.0718994140625 -17 52.93133926391602 -17 L 3.068477630615234 -17 M 3.068477630615234 -18 L 52.93133926391602 -18 C 54.62600708007813 -18 55.99981689453125 -16.60737991333008 55.99981689453125 -14.88949012756348 L 55.99981689453125 24.88949012756348 C 55.99981689453125 26.60737991333008 54.62600708007813 28 52.93133926391602 28 L 3.068477630615234 28 C 1.373809814453125 28 0 26.60737991333008 0 24.88949012756348 L 0 -14.88949012756348 C 0 -16.60737991333008 1.373809814453125 -18 3.068477630615234 -18 Z"/></g></g><g transform="translate(10045.667 -254.069)"><ellipse class="d" cx="1.556" cy="1.586" rx="1.556" ry="1.586" transform="translate(27.222 27.759)"/><ellipse class="d" cx="1.556" cy="1.586" rx="1.556" ry="1.586" transform="translate(21.778 27.759)"/><ellipse class="d" cx="1.556" cy="1.586" rx="1.556" ry="1.586" transform="translate(16.333 27.759)"/><rect class="e" width="21" height="15.862" rx="1" transform="translate(0 7.138)"/><rect class="e" width="21" height="15.862" rx="1" transform="translate(25.667 7.138)"/><rect class="f" width="26.444" height="19.828" rx="1" transform="translate(10.111)"/></g></g></g></svg>
images/carousel_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.8);}.e{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.f{fill:url(#b);}.g,.h{stroke:none;}.h{fill:rgba(255,255,255,0.76);}.i{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(1130 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-1130 -617)"><g transform="translate(-8907 883)"><g class="c" transform="translate(10041 -244)"><path class="g" d="M3.288-18H56.713A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.713,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="h" d="M 3.287681579589844 -17 C 2.026248931884766 -17 1 -15.93189811706543 1 -14.6190185546875 L 1 28.61901092529297 C 1 29.9318904876709 2.026248931884766 31.00000190734863 3.287681579589844 31.00000190734863 L 56.71253967285156 31.00000190734863 C 57.97397232055664 31.00000190734863 59.00022125244141 29.9318904876709 59.00022125244141 28.61901092529297 L 59.00022125244141 -14.6190185546875 C 59.00022125244141 -15.93189811706543 57.97397232055664 -17 56.71253967285156 -17 L 3.287681579589844 -17 M 3.287681579589844 -17.99999809265137 L 56.71253967285156 -17.99999809265137 C 58.52827072143555 -17.99999809265137 60.00022125244141 -16.48627853393555 60.00022125244141 -14.6190185546875 L 60.00022125244141 28.61901092529297 C 60.00022125244141 30.48628044128418 58.52827072143555 32 56.71253967285156 32 L 3.287681579589844 32 C 1.471939086914063 32 0 30.48628044128418 0 28.61901092529297 L 0 -14.6190185546875 C 0 -16.48627853393555 1.471939086914063 -17.99999809265137 3.287681579589844 -17.99999809265137 Z"/></g><g transform="translate(10046.001 -253.379)"><ellipse class="d" cx="1.667" cy="1.724" rx="1.667" ry="1.724" transform="translate(29.167 30.172)"/><ellipse class="d" cx="1.667" cy="1.724" rx="1.667" ry="1.724" transform="translate(23.333 30.172)"/><ellipse class="d" cx="1.667" cy="1.724" rx="1.667" ry="1.724" transform="translate(17.5 30.172)"/><g class="e" transform="translate(0 7.759)"><rect class="g" width="22.5" height="17.241" rx="1"/><rect class="i" x="0.5" y="0.5" width="21.5" height="16.241" rx="0.5"/></g><g class="e" transform="translate(27.5 7.759)"><rect class="g" width="22.5" height="17.241" rx="1"/><rect class="i" x="0.5" y="0.5" width="21.5" height="16.241" rx="0.5"/></g><rect class="f" width="28.333" height="21.552" rx="1" transform="translate(10.833)"/></g></g></g></svg>
images/check-mark.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="9.199" height="7.143" viewBox="0 0 9.199 7.143"><defs><style>.a{fill:#2160b5;stroke:#2160b5;}</style></defs><path class="a" d="M144.974,169.116a.689.689,0,0,1,0,.974l-4.622,4.622a.689.689,0,0,1-.974,0l-2.2-2.2a.689.689,0,1,1,.974-.974l1.713,1.713L144,169.116A.689.689,0,0,1,144.974,169.116Z" transform="translate(-136.476 -168.342)"/></svg>
images/desktop.ini ADDED
@@ -0,0 +1,2 @@
 
 
1
+ [LocalizedFileNames]
2
+ sorting_arrow.svg=@sorting_arrow.svg,0
images/gallery_list_img.png ADDED
Binary file
images/icons/check-mark.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="12" height="9.171" viewBox="0 0 12 9.171"><defs><style>.a{fill:#2160b5;stroke:#2160b5;}</style></defs><path class="a" d="M147.706,169.183a.915.915,0,0,1,0,1.3l-6.2,6.163a.928.928,0,0,1-1.307,0l-2.951-2.934a.914.914,0,0,1,0-1.3.928.928,0,0,1,1.307,0l2.3,2.284,5.547-5.513A.928.928,0,0,1,147.706,169.183Z" transform="translate(-136.476 -168.329)"/></svg>
images/icons/one_arrow_next.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10"><defs><style>.a{fill:#5a616a;}</style></defs><g transform="translate(0)"><path class="a" d="M107.315,4.61,102.77.16a.568.568,0,0,0-.79,0l-.335.328a.54.54,0,0,0,0,.774L105.462,5l-3.821,3.741a.54.54,0,0,0,0,.774l.335.328a.568.568,0,0,0,.79,0l4.549-4.454a.544.544,0,0,0,0-.776Z" transform="translate(-101.478 0)"/></g></svg>
images/icons/one_arrow_prev.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="6" height="10" viewBox="0 0 6 10"><defs><style>.a{fill:#5a616a;}</style></defs><g transform="translate(0)"><path class="a" d="M101.641,4.61,106.186.16a.568.568,0,0,1,.79,0l.335.328a.54.54,0,0,1,0,.774L103.494,5l3.821,3.741a.54.54,0,0,1,0,.774l-.335.328a.568.568,0,0,1-.79,0l-4.549-4.454a.544.544,0,0,1,0-.776Z" transform="translate(-101.478 0)"/></g></svg>
images/icons/search_loop.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="14.982" viewBox="0 0 15 14.982"><defs><style>.a{fill:#5f6368;}</style></defs><path class="a" d="M29.976,28.864,26.3,25.185a6.154,6.154,0,1,0-4.912,2.446,6.062,6.062,0,0,0,3.72-1.254l3.7,3.658a.823.823,0,0,0,.6.247.858.858,0,0,0,.6-.247A.838.838,0,0,0,29.976,28.864Zm-8.57-2.9a4.5,4.5,0,1,1,3.185-7.686,4.392,4.392,0,0,1,1.315,3.185,4.511,4.511,0,0,1-1.315,3.185A4.426,4.426,0,0,1,21.406,25.966Z" transform="translate(-15.225 -15.3)"/></svg>
images/icons/two_arrow_next.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="11" height="10.154" viewBox="0 0 11 10.154"><defs><style>.a{fill:#5a616a;}</style></defs><g transform="translate(0 0)"><path class="a" d="M107.24,4.681,102.754.162a.55.55,0,0,0-.78,0l-.33.333a.559.559,0,0,0,0,.786l3.768,3.794-3.772,3.8a.56.56,0,0,0,0,.786l.33.333a.55.55,0,0,0,.78,0l4.491-4.523a.563.563,0,0,0,0-.788Z" transform="translate(-101.478 0)"/></g><g transform="translate(5.077 0)"><path class="a" d="M107.24,4.681,102.754.162a.55.55,0,0,0-.78,0l-.33.333a.559.559,0,0,0,0,.786l3.768,3.794-3.772,3.8a.56.56,0,0,0,0,.786l.33.333a.55.55,0,0,0,.78,0l4.491-4.523a.563.563,0,0,0,0-.788Z" transform="translate(-101.478 0)"/></g></svg>
images/icons/two_arrow_prev.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="11" height="10.154" viewBox="0 0 11 10.154"><defs><style>.a{fill:#5a616a;}</style></defs><g transform="translate(5.077 0)"><path class="a" d="M101.639,4.681,106.125.162a.55.55,0,0,1,.78,0l.33.333a.559.559,0,0,1,0,.786l-3.768,3.794,3.772,3.8a.56.56,0,0,1,0,.786l-.33.333a.55.55,0,0,1-.78,0l-4.491-4.523a.563.563,0,0,1,0-.788Z" transform="translate(-101.478 0)"/></g><g transform="translate(0 0)"><path class="a" d="M101.639,4.681,106.125.162a.55.55,0,0,1,.78,0l.33.333a.559.559,0,0,1,0,.786l-3.768,3.794,3.772,3.8a.56.56,0,0,1,0,.786l-.33.333a.55.55,0,0,1-.78,0l-4.491-4.523a.563.563,0,0,1,0-.788Z" transform="translate(-101.478 0)"/></g></svg>
images/image_browser.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:url(#d);}.e{fill:#e8e8e8;stroke:#dedede;}.f{fill:#161616;}.g,.h{stroke:none;}.h{fill:#d1d1d1;}.i{fill:none;}.j{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(1163 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-1163 -157)"><g transform="translate(1167 161)"><g class="j" transform="matrix(1, 0, 0, 1, -4, -4)"><g class="c" transform="translate(4 22)"><path class="g" d="M 52.93133926391602 27.5 L 3.068488359451294 27.5 C 1.652218461036682 27.5 0.4999984502792358 26.32892990112305 0.4999984502792358 24.88949012756348 L 0.4999984502792358 -14.88949012756348 C 0.4999984502792358 -16.32892990112305 1.652218461036682 -17.5 3.068488359451294 -17.5 L 52.93133926391602 -17.5 C 54.34759902954102 -17.5 55.49981689453125 -16.32892990112305 55.49981689453125 -14.88949012756348 L 55.49981689453125 24.88949012756348 C 55.49981689453125 26.32892990112305 54.34759902954102 27.5 52.93133926391602 27.5 Z"/><path class="h" d="M 3.068477630615234 -17 C 1.92791748046875 -17 1 -16.05323028564453 1 -14.88949012756348 L 1 24.88949012756348 C 1 26.05323028564453 1.92791748046875 27 3.068477630615234 27 L 52.93133926391602 27 C 54.0718994140625 27 54.99981689453125 26.05323028564453 54.99981689453125 24.88949012756348 L 54.99981689453125 -14.88949012756348 C 54.99981689453125 -16.05323028564453 54.0718994140625 -17 52.93133926391602 -17 L 3.068477630615234 -17 M 3.068477630615234 -18 L 52.93133926391602 -18 C 54.62600708007813 -18 55.99981689453125 -16.60737991333008 55.99981689453125 -14.88949012756348 L 55.99981689453125 24.88949012756348 C 55.99981689453125 26.60737991333008 54.62600708007813 28 52.93133926391602 28 L 3.068477630615234 28 C 1.373809814453125 28 0 26.60737991333008 0 24.88949012756348 L 0 -14.88949012756348 C 0 -16.60737991333008 1.373809814453125 -18 3.068477630615234 -18 Z"/></g></g><rect class="d" width="46.667" height="19.828" rx="1" transform="translate(4.667 7.138)"/><g class="e" transform="translate(18.667 30.138)"><rect class="g" width="8.556" height="8.724" rx="1"/><rect class="i" x="0.5" y="0.5" width="7.556" height="7.724" rx="0.5"/></g><path class="f" d="M3.187.181,5.442,2.806a.517.517,0,0,1-.4.85H.528a.517.517,0,0,1-.4-.85L2.379.181A.542.542,0,0,1,3.187.181Z" transform="translate(21 37.291) rotate(-90)"/><g class="e" transform="translate(28.778 30.138)"><rect class="g" width="8.556" height="8.724" rx="1"/><rect class="i" x="0.5" y="0.5" width="7.556" height="7.724" rx="0.5"/></g><path class="f" d="M3.187,3.475,5.442.85a.517.517,0,0,0-.4-.85H.528a.517.517,0,0,0-.4.85L2.379,3.475A.542.542,0,0,0,3.187,3.475Z" transform="translate(31.344 37.291) rotate(-90)"/></g></g></svg>
images/image_browser_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:url(#b);}.e{fill:rgba(255,255,255,0.5);}.f{fill:rgba(255,255,255,0.8);}.g,.h{stroke:none;}.h{fill:rgba(255,255,255,0.76);}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(838 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-838 -617)"><g transform="translate(842 621)"><g class="c" transform="translate(0 18)"><path class="g" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="h" d="M 3.287670135498047 -17 C 2.026241302490234 -17 1 -15.93189811706543 1 -14.6190185546875 L 1 28.61901092529297 C 1 29.9318904876709 2.026241302490234 31.00000190734863 3.287670135498047 31.00000190734863 L 56.71232986450195 31.00000190734863 C 57.97375869750977 31.00000190734863 59 29.9318904876709 59 28.61901092529297 L 59 -14.6190185546875 C 59 -15.93189811706543 57.97375869750977 -17 56.71232986450195 -17 L 3.287670135498047 -17 M 3.287670135498047 -17.99999809265137 L 56.71232986450195 -17.99999809265137 C 58.52806091308594 -17.99999809265137 60 -16.48627853393555 60 -14.6190185546875 L 60 28.61901092529297 C 60 30.48628044128418 58.52806091308594 32 56.71232986450195 32 L 3.287670135498047 32 C 1.471939086914063 32 0 30.48628044128418 0 28.61901092529297 L 0 -14.6190185546875 C 0 -16.48627853393555 1.471939086914063 -17.99999809265137 3.287670135498047 -17.99999809265137 Z"/></g><rect class="d" width="50" height="21.552" rx="1" transform="translate(5 7.759)"/><rect class="e" width="9.167" height="9.483" rx="1" transform="translate(20 32.759)"/><path class="f" d="M3.464.194,5.915,3.006a.553.553,0,0,1-.439.911H.573a.554.554,0,0,1-.439-.911L2.585.194A.6.6,0,0,1,3.464.194Z" transform="translate(22.5 40.533) rotate(-90)"/><rect class="e" width="9.167" height="9.483" rx="1" transform="translate(30.834 32.759)"/><path class="f" d="M3.464,3.723,5.915.911A.553.553,0,0,0,5.476,0H.573A.554.554,0,0,0,.134.911L2.585,3.723A.6.6,0,0,0,3.464,3.723Z" transform="translate(33.583 40.533) rotate(-90)"/></g></g></svg>
images/question_mark.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="72" height="72" viewBox="0 0 72 72"><defs><style>.a,.g{fill:#fff;}.a{stroke:#707070;}.b{clip-path:url(#a);}.c{opacity:0.1;}.c,.d,.e{fill:url(#b);}.d{opacity:0.4;}.f{fill:none;}.h{filter:url(#k);}.i{filter:url(#i);}.j{filter:url(#f);}.k{filter:url(#c);}</style><clipPath id="a"><rect class="a" width="72" height="72" transform="translate(365 243)"/></clipPath><linearGradient id="b" x1="1" x2="0" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="0.491" stop-color="#134586"/><stop offset="1" stop-color="#1b5198"/></linearGradient><filter id="c" x="-10" y="-5" width="92" height="92" filterUnits="userSpaceOnUse"><feOffset dy="5" input="SourceAlpha"/><feGaussianBlur stdDeviation="10" result="d"/><feFlood flood-color="#e5e6e8"/><feComposite operator="in" in2="d"/><feComposite in="SourceGraphic"/></filter><filter id="f" x="-8" y="-2" width="86" height="86" filterUnits="userSpaceOnUse"><feOffset dx="-1" dy="5" input="SourceAlpha"/><feGaussianBlur stdDeviation="10" result="g"/><feFlood flood-opacity="0.4"/><feComposite operator="in" in2="g"/><feComposite in="SourceGraphic"/></filter><filter id="i" x="17" y="20" width="38" height="38" filterUnits="userSpaceOnUse"><feOffset dy="3" input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="j"/><feFlood flood-opacity="0.149"/><feComposite operator="in" in2="j"/><feComposite in="SourceGraphic"/></filter><filter id="k" x="23.7" y="24.5" width="24.6" height="29" filterUnits="userSpaceOnUse"><feOffset dy="3" input="SourceAlpha"/><feGaussianBlur stdDeviation="3" result="l"/><feFlood flood-opacity="0.149"/><feComposite operator="in" in2="l"/><feComposite in="SourceGraphic"/></filter></defs><g class="b" transform="translate(-365 -243)"><g transform="translate(24 249)"><g class="k" transform="matrix(1, 0, 0, 1, 341, -6)"><circle class="c" cx="16" cy="16" r="16" transform="translate(20 20)"/></g><g class="j" transform="matrix(1, 0, 0, 1, 341, -6)"><circle class="d" cx="13" cy="13" r="13" transform="translate(23 23)"/></g><g class="i" transform="matrix(1, 0, 0, 1, 341, -6)"><path class="e" d="M10,0A10,10,0,1,1,0,10,10,10,0,0,1,10,0Z" transform="translate(26 26)"/></g><g transform="translate(-270)"><rect class="f" width="11" height="11" transform="translate(641.5 24.5)"/><g class="h" transform="matrix(1, 0, 0, 1, 611, -6)"><path class="g" d="M9.55,14.333a.733.733,0,1,1,.733-.733A.733.733,0,0,1,9.55,14.333Zm1.161-4.663a.737.737,0,0,0-.428.667v.329a.733.733,0,1,1-1.467,0v-.329a2.209,2.209,0,0,1,1.28-2,2.4,2.4,0,0,0,1.287-1.705,1.833,1.833,0,0,0-3.667,0,.733.733,0,1,1-1.467,0,3.3,3.3,0,0,1,6.6,0,3.821,3.821,0,0,1-2.139,3.037Zm0,0" transform="translate(26.45 27.17)"/></g></g></g></g></svg>
images/slideshow.jpg DELETED
Binary file
images/slideshow.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:#e8e8e8;stroke:#dedede;}.e{fill:url(#d);}.f,.h{fill:#d1d1d1;}.g,.h{stroke:none;}.i{fill:none;}.j{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(929 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-929 -157)"><g transform="translate(0 -312)"><g class="j" transform="matrix(1, 0, 0, 1, 929, 469)"><g class="c" transform="translate(4 22)"><path class="g" d="M 52.93152618408203 27.5 L 3.068495750427246 27.5 C 1.652225732803345 27.5 0.5000057220458984 26.32892990112305 0.5000057220458984 24.88949012756348 L 0.5000057220458984 -14.88949012756348 C 0.5000057220458984 -16.32892990112305 1.652225732803345 -17.5 3.068495750427246 -17.5 L 52.93152618408203 -17.5 C 54.34779739379883 -17.5 55.50001525878906 -16.32892990112305 55.50001525878906 -14.88949012756348 L 55.50001525878906 24.88949012756348 C 55.50001525878906 26.32892990112305 54.34779739379883 27.5 52.93152618408203 27.5 Z"/><path class="h" d="M 3.068496704101563 -17 C 1.927925109863281 -17 0.9999961853027344 -16.05323028564453 0.9999961853027344 -14.88949012756348 L 0.9999961853027344 24.88949012756348 C 0.9999961853027344 26.05323028564453 1.927925109863281 27 3.068496704101563 27 L 52.93152618408203 27 C 54.07208633422852 27 55.00000762939453 26.05323028564453 55.00000762939453 24.88949012756348 L 55.00000762939453 -14.88949012756348 C 55.00000762939453 -16.05323028564453 54.07208633422852 -17 52.93152618408203 -17 L 3.068496704101563 -17 M 3.068496704101563 -18 L 52.93152618408203 -18 C 54.62619400024414 -18 56.00000762939453 -16.60737991333008 56.00000762939453 -14.88949012756348 L 56.00000762939453 24.88949012756348 C 56.00000762939453 26.60737991333008 54.62619400024414 28 52.93152618408203 28 L 3.068496704101563 28 C 1.373805999755859 28 -3.814697265625e-06 26.60737991333008 -3.814697265625e-06 24.88949012756348 L -3.814697265625e-06 -14.88949012756348 C -3.814697265625e-06 -16.60737991333008 1.373805999755859 -18 3.068496704101563 -18 Z"/></g></g><g class="d" transform="translate(940 486.483)"><rect class="g" width="20.222" height="15.069" rx="1"/><rect class="i" x="0.5" y="0.5" width="19.222" height="14.069" rx="0.5"/></g><g class="d" transform="translate(961.778 486.483)"><rect class="g" width="20.222" height="15.069" rx="1"/><rect class="i" x="0.5" y="0.5" width="19.222" height="14.069" rx="0.5"/></g><rect class="e" width="26.444" height="19.828" rx="1" transform="translate(947.778 484.103)"/><ellipse class="f" cx="1.556" cy="1.586" rx="1.556" ry="1.586" transform="translate(964.889 505.517)"/><ellipse class="f" cx="1.556" cy="1.586" rx="1.556" ry="1.586" transform="translate(959.444 505.517)"/><ellipse class="f" cx="1.556" cy="1.586" rx="1.556" ry="1.586" transform="translate(954 505.517)"/></g></g></svg>
images/slideshow_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.e{fill:url(#b);}.f{fill:rgba(255,255,255,0.8);}.g,.h{stroke:none;}.h{fill:rgba(255,255,255,0.76);}.i{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(692 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-692 -617)"><g transform="translate(-237 148)"><g class="c" transform="translate(933 491)"><path class="g" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="h" d="M 3.287673950195313 -17 C 2.0262451171875 -17 0.9999923706054688 -15.93189811706543 0.9999923706054688 -14.6190185546875 L 0.9999923706054688 28.61901092529297 C 0.9999923706054688 29.9318904876709 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71234512329102 31.00000190734863 C 57.97376251220703 31.00000190734863 59.00000381469727 29.9318904876709 59.00000381469727 28.61901092529297 L 59.00000381469727 -14.6190185546875 C 59.00000381469727 -15.93189811706543 57.97376251220703 -17 56.71234512329102 -17 L 3.287673950195313 -17 M 3.287673950195313 -17.99999809265137 L 56.71234512329102 -17.99999809265137 C 58.5280647277832 -17.99999809265137 60.00000381469727 -16.48627853393555 60.00000381469727 -14.6190185546875 L 60.00000381469727 28.61901092529297 C 60.00000381469727 30.48628044128418 58.5280647277832 32 56.71234512329102 32 L 3.287673950195313 32 C 1.471935272216797 32 -7.62939453125e-06 30.48628044128418 -7.62939453125e-06 28.61901092529297 L -7.62939453125e-06 -14.6190185546875 C -7.62939453125e-06 -16.48627853393555 1.471935272216797 -17.99999809265137 3.287673950195313 -17.99999809265137 Z"/></g><g class="d" transform="translate(940.5 487.655)"><rect class="g" width="21.667" height="16.379" rx="1"/><rect class="i" x="0.5" y="0.5" width="20.667" height="15.379" rx="0.5"/></g><g class="d" transform="translate(963.833 487.655)"><rect class="g" width="21.667" height="16.379" rx="1"/><rect class="i" x="0.5" y="0.5" width="20.667" height="15.379" rx="0.5"/></g><rect class="e" width="28.333" height="21.552" rx="1" transform="translate(948.833 485.069)"/><ellipse class="f" cx="1.667" cy="1.724" rx="1.667" ry="1.724" transform="translate(967.167 508.345)"/><ellipse class="f" cx="1.667" cy="1.724" rx="1.667" ry="1.724" transform="translate(961.333 508.345)"/><ellipse class="f" cx="1.667" cy="1.724" rx="1.667" ry="1.724" transform="translate(955.5 508.345)"/></g></g></svg>
images/sorting_arrow.svg ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="6" height="5" viewBox="0 0 6 5">
2
+ <g id="Group_19686" data-name="Group 19686" transform="translate(6) rotate(90)">
3
+ <path id="Path_97361" data-name="Path 97361" d="M0,6,5,3,0,0Z" fill="#323a45" fill-rule="evenodd"/>
4
+ </g>
5
+ </svg>
images/thumbnails.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;}.a,.e{stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:#e8e8e8;stroke:#dedede;}.e{fill:url(#d);}.f,.g{stroke:none;}.g{fill:#d1d1d1;}.h{fill:none;}.i{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(227 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-227 -157)"><g transform="translate(-41 -423)"><g class="i" transform="matrix(1, 0, 0, 1, 268, 580)"><g class="c" transform="translate(4 22)"><path class="f" d="M 52.93151473999023 27.50000190734863 L 3.068495750427246 27.50000190734863 C 1.652225732803345 27.50000190734863 0.5000057220458984 26.32893180847168 0.5000057220458984 24.88949203491211 L 0.5000057220458984 -14.88949775695801 C 0.5000057220458984 -16.32892799377441 1.652225732803345 -17.49999809265137 3.068495750427246 -17.49999809265137 L 52.93151473999023 -17.49999809265137 C 54.34779739379883 -17.49999809265137 55.50001525878906 -16.32892799377441 55.50001525878906 -14.88949775695801 L 55.50001525878906 24.88949203491211 C 55.50001525878906 26.32893180847168 54.34779739379883 27.50000190734863 52.93151473999023 27.50000190734863 Z"/><path class="g" d="M 3.068496704101563 -16.99999809265137 C 1.927925109863281 -16.99999809265137 0.9999961853027344 -16.0532283782959 0.9999961853027344 -14.88949775695801 L 0.9999961853027344 24.88949203491211 C 0.9999961853027344 26.05323219299316 1.927925109863281 27.00000190734863 3.068496704101563 27.00000190734863 L 52.93151473999023 27.00000190734863 C 54.07208633422852 27.00000190734863 55.00000762939453 26.05323219299316 55.00000762939453 24.88949203491211 L 55.00000762939453 -14.88949775695801 C 55.00000762939453 -16.0532283782959 54.07208633422852 -16.99999809265137 52.93151473999023 -16.99999809265137 L 3.068496704101563 -16.99999809265137 M 3.068496704101563 -17.99999809265137 L 52.93151473999023 -17.99999809265137 C 54.62619400024414 -17.99999809265137 56.00000762939453 -16.60737800598145 56.00000762939453 -14.88949775695801 L 56.00000762939453 24.88949203491211 C 56.00000762939453 26.60738182067871 54.62619400024414 28.00000190734863 52.93151473999023 28.00000190734863 L 3.068496704101563 28.00000190734863 C 1.373805999755859 28.00000190734863 -3.814697265625e-06 26.60738182067871 -3.814697265625e-06 24.88949203491211 L -3.814697265625e-06 -14.88949775695801 C -3.814697265625e-06 -16.60737800598145 1.373805999755859 -17.99999809265137 3.068496704101563 -17.99999809265137 Z"/></g></g><g class="d" transform="translate(276.667 588.759)"><rect class="f" width="21.778" height="16.655" rx="1"/><rect class="h" x="0.5" y="0.5" width="20.778" height="15.655" rx="0.5"/></g><g class="d" transform="translate(276.667 608.586)"><rect class="f" width="21.778" height="16.655" rx="1"/><rect class="h" x="0.5" y="0.5" width="20.778" height="15.655" rx="0.5"/></g><g class="d" transform="translate(301.556 588.759)"><rect class="f" width="21.778" height="16.655" rx="1"/><rect class="h" x="0.5" y="0.5" width="20.778" height="15.655" rx="0.5"/></g><g class="e" transform="translate(301.556 608.586)"><rect class="f" width="21.778" height="16.655" rx="1"/><rect class="h" x="0.5" y="0.5" width="20.778" height="15.655" rx="0.5"/></g></g></g></svg>
images/thumbnails_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.e{fill:url(#b);}.f,.g{stroke:none;}.g{fill:rgba(255,255,255,0.76);}.h{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(254 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-254 -617)"><g transform="translate(-14 37)"><g class="c" transform="translate(272 602)"><path class="f" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="g" d="M 3.287673950195313 -16.99999809265137 C 2.0262451171875 -16.99999809265137 0.9999923706054688 -15.93189811706543 0.9999923706054688 -14.6190185546875 L 0.9999923706054688 28.61901092529297 C 0.9999923706054688 29.93189239501953 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71234512329102 31.00000190734863 C 57.97376251220703 31.00000190734863 59.00000381469727 29.93189239501953 59.00000381469727 28.61901092529297 L 59.00000381469727 -14.6190185546875 C 59.00000381469727 -15.93189811706543 57.97376251220703 -16.99999809265137 56.71234512329102 -16.99999809265137 L 3.287673950195313 -16.99999809265137 M 3.287673950195313 -17.99999618530273 L 56.71234512329102 -17.99999618530273 C 58.5280647277832 -17.99999618530273 60.00000381469727 -16.48627853393555 60.00000381469727 -14.6190185546875 L 60.00000381469727 28.61901092529297 C 60.00000381469727 30.48628234863281 58.5280647277832 32 56.71234512329102 32 L 3.287673950195313 32 C 1.471935272216797 32 -7.62939453125e-06 30.48628234863281 -7.62939453125e-06 28.61901092529297 L -7.62939453125e-06 -14.6190185546875 C -7.62939453125e-06 -16.48627853393555 1.471935272216797 -17.99999618530273 3.287673950195313 -17.99999618530273 Z"/></g><g class="d" transform="translate(277 589.172)"><rect class="f" width="23.333" height="18.103" rx="1"/><rect class="h" x="0.5" y="0.5" width="22.333" height="17.103" rx="0.5"/></g><g class="d" transform="translate(277 610.724)"><rect class="f" width="23.333" height="18.103" rx="1"/><rect class="h" x="0.5" y="0.5" width="22.333" height="17.103" rx="0.5"/></g><g class="d" transform="translate(303.667 589.172)"><rect class="f" width="23.333" height="18.103" rx="1"/><rect class="h" x="0.5" y="0.5" width="22.333" height="17.103" rx="0.5"/></g><rect class="e" width="23.333" height="18.103" rx="1" transform="translate(303.667 610.724)"/></g></g></svg>
images/thumbnails_masonry.jpg DELETED
Binary file
images/thumbnails_masonry.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;}.a,.e{stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:#e8e8e8;stroke:#dedede;}.e{fill:url(#d);}.f,.g{stroke:none;}.g{fill:#d1d1d1;}.h{fill:none;}.i{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(461 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-461 -157)"><g transform="translate(-21 -270)"><g class="i" transform="matrix(1, 0, 0, 1, 482, 427)"><g class="c" transform="translate(4 22)"><path class="f" d="M 52.93152618408203 27.5 L 3.068495750427246 27.5 C 1.652225732803345 27.5 0.5000057220458984 26.32892990112305 0.5000057220458984 24.88949012756348 L 0.5000057220458984 -14.88949012756348 C 0.5000057220458984 -16.32892990112305 1.652225732803345 -17.5 3.068495750427246 -17.5 L 52.93152618408203 -17.5 C 54.34779739379883 -17.5 55.50001525878906 -16.32892990112305 55.50001525878906 -14.88949012756348 L 55.50001525878906 24.88949012756348 C 55.50001525878906 26.32892990112305 54.34779739379883 27.5 52.93152618408203 27.5 Z"/><path class="g" d="M 3.068496704101563 -17 C 1.927925109863281 -17 0.9999961853027344 -16.05323028564453 0.9999961853027344 -14.88949012756348 L 0.9999961853027344 24.88949012756348 C 0.9999961853027344 26.05323028564453 1.927925109863281 27 3.068496704101563 27 L 52.93152618408203 27 C 54.07208633422852 27 55.00000762939453 26.05323028564453 55.00000762939453 24.88949012756348 L 55.00000762939453 -14.88949012756348 C 55.00000762939453 -16.05323028564453 54.07208633422852 -17 52.93152618408203 -17 L 3.068496704101563 -17 M 3.068496704101563 -18 L 52.93152618408203 -18 C 54.62619400024414 -18 56.00000762939453 -16.60737991333008 56.00000762939453 -14.88949012756348 L 56.00000762939453 24.88949012756348 C 56.00000762939453 26.60737991333008 54.62619400024414 28 52.93152618408203 28 L 3.068496704101563 28 C 1.373805999755859 28 -3.814697265625e-06 26.60737991333008 -3.814697265625e-06 24.88949012756348 L -3.814697265625e-06 -14.88949012756348 C -3.814697265625e-06 -16.60737991333008 1.373805999755859 -18 3.068496704101563 -18 Z"/></g></g><g class="d" transform="translate(490.667 435.759)"><rect class="f" width="30.333" height="9.517" rx="1"/><rect class="h" x="0.5" y="0.5" width="29.333" height="8.517" rx="0.5"/></g><g class="d" transform="translate(490.667 447.655)"><rect class="f" width="14" height="8.103" rx="1"/><rect class="h" x="0.5" y="0.5" width="13" height="7.103" rx="0.5"/></g><g class="d" transform="translate(523.333 447.655)"><rect class="f" width="14" height="19.103" rx="1"/><rect class="h" x="0.5" y="0.5" width="13" height="18.103" rx="0.5"/></g><g class="d" transform="translate(490.667 458.138)"><rect class="f" width="14" height="9.103" rx="1"/><rect class="h" x="0.5" y="0.5" width="13" height="8.103" rx="0.5"/></g><g class="e" transform="translate(507 447.655)"><rect class="f" width="14" height="24.586" rx="1"/><rect class="h" x="0.5" y="0.5" width="13" height="23.586" rx="0.5"/></g><g class="d" transform="translate(523.333 435.759)"><rect class="f" width="14" height="9.517" rx="1"/><rect class="h" x="0.5" y="0.5" width="13" height="8.517" rx="0.5"/></g></g></g></svg>
images/thumbnails_masonry_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.e{fill:url(#b);}.f,.g{stroke:none;}.g{fill:rgba(255,255,255,0.76);}.h{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(400 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-400 -617)"><g transform="translate(-82 190)"><g class="c" transform="translate(486 449)"><path class="f" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="g" d="M 3.287673950195313 -17 C 2.0262451171875 -17 0.9999923706054688 -15.93189811706543 0.9999923706054688 -14.6190185546875 L 0.9999923706054688 28.61901092529297 C 0.9999923706054688 29.9318904876709 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71234512329102 31.00000190734863 C 57.97376251220703 31.00000190734863 59.00000381469727 29.9318904876709 59.00000381469727 28.61901092529297 L 59.00000381469727 -14.6190185546875 C 59.00000381469727 -15.93189811706543 57.97376251220703 -17 56.71234512329102 -17 L 3.287673950195313 -17 M 3.287673950195313 -17.99999809265137 L 56.71234512329102 -17.99999809265137 C 58.5280647277832 -17.99999809265137 60.00000381469727 -16.48627853393555 60.00000381469727 -14.6190185546875 L 60.00000381469727 28.61901092529297 C 60.00000381469727 30.48628044128418 58.5280647277832 32 56.71234512329102 32 L 3.287673950195313 32 C 1.471935272216797 32 -7.62939453125e-06 30.48628044128418 -7.62939453125e-06 28.61901092529297 L -7.62939453125e-06 -14.6190185546875 C -7.62939453125e-06 -16.48627853393555 1.471935272216797 -17.99999809265137 3.287673950195313 -17.99999809265137 Z"/></g><g class="d" transform="translate(491 436.172)"><rect class="f" width="32.5" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="31.5" height="9.345" rx="0.5"/></g><g class="d" transform="translate(491 449.103)"><rect class="f" width="15" height="8.808" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="7.808" rx="0.5"/></g><g class="d" transform="translate(526 449.103)"><rect class="f" width="15" height="20.765" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="19.765" rx="0.5"/></g><g class="d" transform="translate(491 460.498)"><rect class="f" width="15" height="9.895" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="8.895" rx="0.5"/></g><rect class="e" width="15" height="26.724" rx="1" transform="translate(508.5 449.103)"/><g class="d" transform="translate(526 436.172)"><rect class="f" width="15" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="9.345" rx="0.5"/></g></g></g></svg>
images/thumbnails_mosaic.jpg DELETED
Binary file
images/thumbnails_mosaic.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="54" viewBox="0 0 64 54"><defs><style>.a{fill:#fff;}.a,.f{stroke:#707070;}.b{clip-path:url(#a);}.c{fill:#fafafa;}.d{fill:#e8e8e8;stroke:#dedede;}.e,.f{fill:url(#d);}.g,.h{stroke:none;}.h{fill:#d1d1d1;}.i{fill:none;}.j{filter:url(#b);}</style><clipPath id="a"><rect class="a" width="64" height="54" transform="translate(695 157)"/></clipPath><filter id="b" x="-2" y="0" width="68" height="58" filterUnits="userSpaceOnUse"><feOffset dy="2" input="SourceAlpha"/><feGaussianBlur stdDeviation="2" result="c"/><feFlood flood-color="#ebebeb"/><feComposite operator="in" in2="c"/><feComposite in="SourceGraphic"/></filter><linearGradient id="d" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#161616"/><stop offset="1" stop-color="#55575b"/></linearGradient></defs><g class="b" transform="translate(-695 -157)"><g transform="translate(131 -343)"><g class="j" transform="matrix(1, 0, 0, 1, 564, 500)"><g class="c" transform="translate(4 22)"><path class="g" d="M 52.93152618408203 27.5 L 3.068495750427246 27.5 C 1.652225732803345 27.5 0.5000057220458984 26.32892990112305 0.5000057220458984 24.88949012756348 L 0.5000057220458984 -14.88949012756348 C 0.5000057220458984 -16.32892990112305 1.652225732803345 -17.5 3.068495750427246 -17.5 L 52.93152618408203 -17.5 C 54.34779739379883 -17.5 55.50001525878906 -16.32892990112305 55.50001525878906 -14.88949012756348 L 55.50001525878906 24.88949012756348 C 55.50001525878906 26.32892990112305 54.34779739379883 27.5 52.93152618408203 27.5 Z"/><path class="h" d="M 3.068496704101563 -17 C 1.927925109863281 -17 0.9999961853027344 -16.05323028564453 0.9999961853027344 -14.88949012756348 L 0.9999961853027344 24.88949012756348 C 0.9999961853027344 26.05323028564453 1.927925109863281 27 3.068496704101563 27 L 52.93152618408203 27 C 54.07208633422852 27 55.00000762939453 26.05323028564453 55.00000762939453 24.88949012756348 L 55.00000762939453 -14.88949012756348 C 55.00000762939453 -16.05323028564453 54.07208633422852 -17 52.93152618408203 -17 L 3.068496704101563 -17 M 3.068496704101563 -18 L 52.93152618408203 -18 C 54.62619400024414 -18 56.00000762939453 -16.60737991333008 56.00000762939453 -14.88949012756348 L 56.00000762939453 24.88949012756348 C 56.00000762939453 26.60737991333008 54.62619400024414 28 52.93152618408203 28 L 3.068496704101563 28 C 1.373805999755859 28 -3.814697265625e-06 26.60737991333008 -3.814697265625e-06 24.88949012756348 L -3.814697265625e-06 -14.88949012756348 C -3.814697265625e-06 -16.60737991333008 1.373805999755859 -18 3.068496704101563 -18 Z"/></g></g><g class="d" transform="translate(572.667 508.759)"><rect class="g" width="30.333" height="9.517" rx="1"/><rect class="i" x="0.5" y="0.5" width="29.333" height="8.517" rx="0.5"/></g><g class="d" transform="translate(572.667 520.655)"><rect class="g" width="14" height="11.103" rx="1"/><rect class="i" x="0.5" y="0.5" width="13" height="10.103" rx="0.5"/></g><g class="d" transform="translate(605.333 520.655)"><rect class="g" width="14" height="11.103" rx="1"/><rect class="i" x="0.5" y="0.5" width="13" height="10.103" rx="0.5"/></g><g class="d" transform="translate(572.667 534.138)"><rect class="g" width="14" height="11.103" rx="1"/><rect class="i" x="0.5" y="0.5" width="13" height="10.103" rx="0.5"/></g><rect class="e" width="14" height="11.103" rx="1" transform="translate(605.333 534.138)"/><g class="f" transform="translate(589 520.655)"><rect class="g" width="14" height="24.586" rx="1"/><rect class="i" x="0.5" y="0.5" width="13" height="23.586" rx="0.5"/></g><g class="d" transform="translate(605.333 508.759)"><rect class="g" width="14" height="9.517" rx="1"/><rect class="i" x="0.5" y="0.5" width="13" height="8.517" rx="0.5"/></g></g></g></svg>
images/thumbnails_mosaic_active.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="68" height="58" viewBox="0 0 68 58"><defs><style>.a{fill:#fff;stroke:#707070;}.b{clip-path:url(#a);}.c{fill:rgba(255,255,255,0.6);}.d{fill:rgba(255,255,255,0.71);stroke:rgba(255,255,255,0.6);}.e{fill:url(#b);}.f,.g{stroke:none;}.g{fill:rgba(255,255,255,0.76);}.h{fill:none;}</style><clipPath id="a"><rect class="a" width="68" height="58" transform="translate(546 617)"/></clipPath><linearGradient id="b" x1="1" y1="0.036" x2="0.007" y2="0.977" gradientUnits="objectBoundingBox"><stop offset="0" stop-color="#0c3974"/><stop offset="1" stop-color="#1b5198"/></linearGradient></defs><g class="b" transform="translate(-546 -617)"><g transform="translate(-18 117)"><g class="c" transform="translate(568 522)"><path class="f" d="M3.288-18H56.712A3.335,3.335,0,0,1,60-14.619V28.619A3.335,3.335,0,0,1,56.712,32H3.288A3.335,3.335,0,0,1,0,28.619V-14.619A3.335,3.335,0,0,1,3.288-18Z"/><path class="g" d="M 3.287673950195313 -17 C 2.0262451171875 -17 0.9999923706054688 -15.93189811706543 0.9999923706054688 -14.6190185546875 L 0.9999923706054688 28.61901092529297 C 0.9999923706054688 29.9318904876709 2.0262451171875 31.00000190734863 3.287673950195313 31.00000190734863 L 56.71234512329102 31.00000190734863 C 57.97376251220703 31.00000190734863 59.00000381469727 29.9318904876709 59.00000381469727 28.61901092529297 L 59.00000381469727 -14.6190185546875 C 59.00000381469727 -15.93189811706543 57.97376251220703 -17 56.71234512329102 -17 L 3.287673950195313 -17 M 3.287673950195313 -17.99999809265137 L 56.71234512329102 -17.99999809265137 C 58.5280647277832 -17.99999809265137 60.00000381469727 -16.48627853393555 60.00000381469727 -14.6190185546875 L 60.00000381469727 28.61901092529297 C 60.00000381469727 30.48628044128418 58.5280647277832 32 56.71234512329102 32 L 3.287673950195313 32 C 1.471935272216797 32 -7.62939453125e-06 30.48628044128418 -7.62939453125e-06 28.61901092529297 L -7.62939453125e-06 -14.6190185546875 C -7.62939453125e-06 -16.48627853393555 1.471935272216797 -17.99999809265137 3.287673950195313 -17.99999809265137 Z"/></g><g class="d" transform="translate(573 509.172)"><rect class="f" width="32.5" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="31.5" height="9.345" rx="0.5"/></g><g class="d" transform="translate(573 522.103)"><rect class="f" width="15" height="12.069" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="11.069" rx="0.5"/></g><g class="d" transform="translate(608 522.103)"><rect class="f" width="15" height="12.069" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="11.069" rx="0.5"/></g><g class="d" transform="translate(573 536.759)"><rect class="f" width="15" height="12.069" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="11.069" rx="0.5"/></g><rect class="e" width="15" height="12.069" rx="1" transform="translate(608 536.759)"/><rect class="e" width="15" height="26.724" rx="1" transform="translate(590.5 522.103)"/><g class="d" transform="translate(608 509.172)"><rect class="f" width="15" height="10.345" rx="1"/><rect class="h" x="0.5" y="0.5" width="14" height="9.345" rx="0.5"/></g></g></g></svg>
images/upgrade_to_pro_bg.png ADDED
Binary file
images/upgrade_to_pro_blog_style.png ADDED
Binary file
images/upgrade_to_pro_carousel.png ADDED
Binary file
images/upgrade_to_pro_masonry.png ADDED
Binary file
images/upgrade_to_pro_mosaic.png ADDED
Binary file
js/bwg.js CHANGED
@@ -182,9 +182,9 @@ jQuery(document).ready(function () {
182
  });
183
 
184
  jQuery('#bwg_ask_question').parent().attr('target', '_blank');
185
- if (jQuery( '#search_in_options_container' ).length) {
186
  jQuery(window).scroll(function () {
187
- if (jQuery(window).scrollTop() >= jQuery('div.wd-page-title').offset().top) {
188
  jQuery('#search_in_tablet').addClass('fixed');
189
  jQuery('#search_in_options_container').addClass('fixed');
190
  jQuery('#search_in_options_container').css("width", +jQuery('#search_in_options_container').parent().width() - jQuery('#search_in_options_container').css('marginLeft').replace('px', '') - jQuery('#search_in_options_container').css('marginRight').replace('px', ''));
@@ -239,8 +239,66 @@ jQuery(document).ready(function () {
239
  jQuery( '.total_matches' ).hide();
240
  jQuery( '.current_match' ).empty();
241
  jQuery( '.search_close' ).hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  });
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  /* Load gallery images */
245
  function bwg_lazy_load_gallery() {
246
  jQuery(".gallery_image_thumb").each(function () {
@@ -2005,18 +2063,28 @@ function bwg_gallery_type_options(gallery_type) {
2005
  if (gallery_type === undefined) {
2006
  gallery_type = jQuery('#gallery_type').val();
2007
  }
 
 
 
2008
  jQuery('.gallery_options').hide();
2009
  jQuery('#' + gallery_type + '_options').show();
2010
  jQuery('#gallery_type').val(gallery_type);
2011
  if ( jQuery(".wd-free-msg").length != 0 ) {
2012
  jQuery(".wd-free-msg").hide();
2013
  jQuery(".bwg-pro-views").hide();
2014
- if (jQuery('#' + gallery_type + '_options').hasClass("bwg-pro-views")) {
2015
  jQuery(".wd-free-msg").show();
 
 
 
2016
  }
2017
  }
 
 
2018
  jQuery('#bwg_tab_galleries_content .gallery_type').removeClass('gallery_type_active');
2019
  jQuery('input[name=gallery_type][id=' + gallery_type + ']').attr('checked', 'checked').closest('.gallery_type').addClass('gallery_type_active');
 
 
2020
  search_options();
2021
  }
2022
 
@@ -2024,6 +2092,9 @@ function bwg_album_type_options(album_type) {
2024
  if (album_type === undefined) {
2025
  album_type = jQuery('#album_type').val();
2026
  }
 
 
 
2027
  jQuery('.album_options').hide();
2028
  jQuery('#' + album_type + '_options').show();
2029
  jQuery('#album_type').val(album_type);
@@ -2032,10 +2103,17 @@ function bwg_album_type_options(album_type) {
2032
  jQuery(".bwg-pro-views").hide();
2033
  if (jQuery('#' + album_type + '_options').hasClass("bwg-pro-views")) {
2034
  jQuery(".wd-free-msg").show();
 
 
 
2035
  }
2036
  }
 
 
2037
  jQuery('#bwg_tab_albums_content .gallery_type').removeClass('gallery_type_active');
2038
  jQuery('input[name=album_type][id=' + album_type + ']').attr('checked', 'checked').closest('.gallery_type').addClass('gallery_type_active');
 
 
2039
  search_options();
2040
  }
2041
 
@@ -2559,7 +2637,9 @@ function search_options(){
2559
  jQuery( '.search_in_options').val(val);
2560
  div = jQuery( '.search-div:visible' );
2561
  tab_id = div.attr( 'id' );
2562
- val = val.toLowerCase().trim();
 
 
2563
  jQuery( '.total_matches' ).empty();
2564
  jQuery( '.current_match' ).empty();
2565
  jQuery( '.search_prev' ).hide();
182
  });
183
 
184
  jQuery('#bwg_ask_question').parent().attr('target', '_blank');
185
+ if(jQuery( '#search_in_options_container' ).length) {
186
  jQuery(window).scroll(function () {
187
+ if (jQuery(window).scrollTop() >= jQuery('div.wd-list-view-header').offset().top+150 ) {
188
  jQuery('#search_in_tablet').addClass('fixed');
189
  jQuery('#search_in_options_container').addClass('fixed');
190
  jQuery('#search_in_options_container').css("width", +jQuery('#search_in_options_container').parent().width() - jQuery('#search_in_options_container').css('marginLeft').replace('px', '') - jQuery('#search_in_options_container').css('marginRight').replace('px', ''));
239
  jQuery( '.total_matches' ).hide();
240
  jQuery( '.current_match' ).empty();
241
  jQuery( '.search_close' ).hide();
242
+
243
+
244
+ /* images in select list */
245
+
246
+ /* change selected view*/
247
+ jQuery('#bwg_options_form .bwg-gallery-ul li').click(function(){
248
+ if( jQuery(this).hasClass('gallery-type-li')) {
249
+ jQuery('.type-selected').removeClass('type-selected');
250
+ jQuery(this).addClass('type-selected');
251
+ var value = jQuery(this).data('value');
252
+ var item = jQuery(this).clone();
253
+ var parent_el = jQuery(this).parent().parent().prev('.bwg-btn-gallery-type-select').attr('id');
254
+ jQuery('#' + parent_el ).html(item);
255
+ jQuery('#' + parent_el ).attr('value', value);
256
+ if( parent_el == 'album-view-type' ) {
257
+ bwg_album_type_options(value);
258
+ jQuery('#album_types_name').val(value);
259
+
260
+ } else {
261
+ bwg_gallery_type_options(value);
262
+ jQuery('#gallery_types_name').val(value);
263
+ }
264
+ change(parent_el);
265
+ }
266
+ });
267
+
268
+ jQuery('body').click(function(){
269
+ jQuery("#bwg_options_form .bwg-btn-gallery-type-select").each(function(){
270
+ if( jQuery(this).hasClass("type-opened") ) {
271
+ jQuery(this).removeClass("type-opened");
272
+ jQuery(this).addClass("type-closed");
273
+ jQuery(this).next(".bwg-gallery-ul-div").toggle();
274
+ }
275
+ })
276
+ });
277
+
278
+ /* functions to view div as select box */
279
+ jQuery('#bwg_options_form .bwg-btn-gallery-type-select').click(function() {
280
+ var id = jQuery(this).attr('id');
281
+ if( !jQuery(this).next().find('.bwg-gallery-ul .type-selected').length ) {
282
+ jQuery(this).next().find('.bwg-gallery-ul li:first-child').addClass('type-selected');
283
+ }
284
+ change(id);
285
+ });
286
+
287
  });
288
 
289
+ function change(view_type){
290
+ var view_type_div = jQuery('#' + view_type ).closest('.bwg-btn-gallery-type-select');
291
+ if( view_type_div.hasClass('type-closed') ) {
292
+ view_type_div.removeClass('type-closed');
293
+ view_type_div.addClass('type-opened');
294
+ } else {
295
+ view_type_div.removeClass('type-opened');
296
+ view_type_div.addClass('type-closed');
297
+ }
298
+ jQuery('#' + view_type ).next('.bwg-gallery-ul-div').toggle();
299
+ event.stopPropagation();
300
+ }
301
+
302
  /* Load gallery images */
303
  function bwg_lazy_load_gallery() {
304
  jQuery(".gallery_image_thumb").each(function () {
2063
  if (gallery_type === undefined) {
2064
  gallery_type = jQuery('#gallery_type').val();
2065
  }
2066
+ gallery_type_name = jQuery('.bwg-' + gallery_type).data('title');
2067
+ pro_img_url = jQuery('.bwg-' + gallery_type).data('img-url');
2068
+ pro_demo_link = jQuery('.bwg-' + gallery_type).data('demo-link');
2069
  jQuery('.gallery_options').hide();
2070
  jQuery('#' + gallery_type + '_options').show();
2071
  jQuery('#gallery_type').val(gallery_type);
2072
  if ( jQuery(".wd-free-msg").length != 0 ) {
2073
  jQuery(".wd-free-msg").hide();
2074
  jQuery(".bwg-pro-views").hide();
2075
+ if ( jQuery('#' + gallery_type + '_options').hasClass("bwg-pro-views") ) {
2076
  jQuery(".wd-free-msg").show();
2077
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + ' view is<br>available in Premium Version');
2078
+ jQuery(".pro-views-img").attr('src',pro_img_url);
2079
+ jQuery(".button-demo").attr('href', pro_demo_link );
2080
  }
2081
  }
2082
+ jQuery('#bwg_tab_galleries_content .gallery_type').find('.view_type_img_active').css('display','none');
2083
+ jQuery('#bwg_tab_galleries_content .gallery_type').find('.view_type_img').css('display','inline');
2084
  jQuery('#bwg_tab_galleries_content .gallery_type').removeClass('gallery_type_active');
2085
  jQuery('input[name=gallery_type][id=' + gallery_type + ']').attr('checked', 'checked').closest('.gallery_type').addClass('gallery_type_active');
2086
+ jQuery('#bwg_tab_galleries_content .gallery_type_active').find('.view_type_img_active').css('display','inline');
2087
+ jQuery('#bwg_tab_galleries_content .gallery_type_active').find('.view_type_img').css('display','none');
2088
  search_options();
2089
  }
2090
 
2092
  if (album_type === undefined) {
2093
  album_type = jQuery('#album_type').val();
2094
  }
2095
+ gallery_type_name = jQuery('.bwg-' + album_type).data('title');
2096
+ pro_img_url = jQuery('.bwg-' + album_type).data('img-url');
2097
+ pro_demo_link = jQuery('.bwg-' + album_type).data('demo-link');
2098
  jQuery('.album_options').hide();
2099
  jQuery('#' + album_type + '_options').show();
2100
  jQuery('#album_type').val(album_type);
2103
  jQuery(".bwg-pro-views").hide();
2104
  if (jQuery('#' + album_type + '_options').hasClass("bwg-pro-views")) {
2105
  jQuery(".wd-free-msg").show();
2106
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + bwg.bwg_premium_text);
2107
+ jQuery(".pro-views-img").attr('src', pro_img_url );
2108
+ jQuery(".button-demo").attr('href', pro_demo_link );
2109
  }
2110
  }
2111
+ jQuery('#bwg_tab_albums_content .gallery_type').find('.view_type_img_active').css('display','none');
2112
+ jQuery('#bwg_tab_albums_content .gallery_type').find('.view_type_img').css('display','inline');
2113
  jQuery('#bwg_tab_albums_content .gallery_type').removeClass('gallery_type_active');
2114
  jQuery('input[name=album_type][id=' + album_type + ']').attr('checked', 'checked').closest('.gallery_type').addClass('gallery_type_active');
2115
+ jQuery('#bwg_tab_albums_content .gallery_type_active').find('.view_type_img_active').css('display','inline');
2116
+ jQuery('#bwg_tab_albums_content .gallery_type_active').find('.view_type_img').css('display','none');
2117
  search_options();
2118
  }
2119
 
2637
  jQuery( '.search_in_options').val(val);
2638
  div = jQuery( '.search-div:visible' );
2639
  tab_id = div.attr( 'id' );
2640
+ if( val ){
2641
+ val = val.toLowerCase().trim();
2642
+ }
2643
  jQuery( '.total_matches' ).empty();
2644
  jQuery( '.current_match' ).empty();
2645
  jQuery( '.search_prev' ).hide();
js/bwg_shortcode.js CHANGED
@@ -61,12 +61,62 @@ jQuery(document).ready(function () {
61
  var value = jQuery(this).val();
62
  show_hide_extended_album_view( value );
63
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  });
65
 
66
  jQuery(window).load(function() {
67
  bwg_shortcode_load();
68
  });
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  function bwg_shortcode_load() {
71
  jQuery(".loading_div", window.parent.document).remove();
72
  jQuery("#loading_div.bwg_show").hide();
@@ -372,7 +422,14 @@ function bwg_change_label(id, text) {
372
  }
373
 
374
  function bwg_gallery_type(gallery_type) {
 
 
 
375
  jQuery("#" + gallery_type).prop('checked', true);
 
 
 
 
376
  jQuery("#tr_gallery").css('display', 'none');
377
  jQuery("#tr_album").css('display', 'none');
378
  var basic_metabox_title = jQuery('#bwg_basic_metabox_title');
@@ -399,28 +456,36 @@ function bwg_gallery_type(gallery_type) {
399
  }
400
  jQuery('.gallery_options, .album_options').hide();
401
  jQuery('#' + gallery_type + '_options').show();
 
 
 
 
 
 
 
 
 
 
 
402
  switch (gallery_type) {
403
  case 'thumbnails': {
404
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
405
  jQuery("#tr_gallery").css('display', '');
406
  jQuery("#tr_ecommerce_icon_hover").css('display', '');
407
  jQuery("#tr_ecommerce_icon_hover .ecommerce_icon_show").css('display', '');
408
  jQuery("#tr_tag").css('display', '');
409
- jQuery("#bwg_pro_version").html('Thumbnails');
410
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin");
411
  jQuery(".wd-free-msg").hide();
412
  jQuery("#insert").attr("style", "visibility: visible;");
413
  jQuery(".bwg-section.bwg-pro-views").show();
414
  break;
415
  }
416
  case 'thumbnails_masonry': {
417
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
418
  jQuery("#tr_ecommerce_icon_hover").css('display', '');
419
  jQuery("#tr_gallery").css('display', '');
420
  jQuery("#tr_tag").css('display', '');
421
- jQuery("#bwg_pro_version").html('Masonry');
422
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin");
423
  jQuery(".wd-free-msg").show();
 
 
 
424
  if ( jQuery(".wd-free-msg").length != 0 ) {
425
  jQuery("#insert").attr("style", "visibility: hidden;");
426
  jQuery(".bwg-pro-views").hide();
@@ -428,13 +493,13 @@ function bwg_gallery_type(gallery_type) {
428
  break;
429
  }
430
  case 'thumbnails_mosaic': {
431
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
432
  jQuery("#tr_ecommerce_icon_hover ").css('display', '');
433
  jQuery("#tr_gallery").css('display', '');
434
  jQuery("#tr_tag").css('display', '');
435
- jQuery("#bwg_pro_version").html('Mosaic');
436
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/mosaic/?utm_source=photo_gallery&utm_medium=free_plugin");
437
  jQuery(".wd-free-msg").show();
 
 
 
438
  if ( jQuery(".wd-free-msg").length != 0 ) {
439
  jQuery("#insert").attr("style", "visibility: hidden;");
440
  jQuery(".bwg-pro-views").hide();
@@ -442,54 +507,42 @@ function bwg_gallery_type(gallery_type) {
442
  break;
443
  }
444
  case 'slideshow': {
445
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
446
  jQuery("#tr_gallery").css('display', '');
447
  jQuery("#tr_tag").css('display', '');
448
- jQuery("#bwg_pro_version").html('Slideshow');
449
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/slideshow/?utm_source=photo_gallery&utm_medium=free_plugin");
450
  jQuery(".wd-free-msg").hide();
451
  jQuery("#insert").attr("style", "visibility: visible;");
452
  jQuery(".bwg-section.bwg-pro-views").show();
453
  break;
454
  }
455
  case 'image_browser': {
456
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
457
  jQuery("#tr_gallery").css('display', '');
458
  jQuery("#tr_tag").css('display', '');
459
- jQuery("#bwg_pro_version").html('Image browser');
460
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/image-browser/?utm_source=photo_gallery&utm_medium=free_plugin");
461
  jQuery(".wd-free-msg").hide();
462
  jQuery("#insert").attr("style", "visibility: visible;");
463
  jQuery(".bwg-section.bwg-pro-views").show();
464
  break;
465
  }
466
  case 'album_compact_preview': {
467
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
468
  jQuery("#tr_album").css('display', '');
469
  basic_metabox_title.text(basic_metabox_title.attr('data-title-album'));
470
- jQuery("#bwg_pro_version").html('Compuct gallery group');
471
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/compact-album/?utm_source=photo_gallery&utm_medium=free_plugin");
472
  jQuery(".wd-free-msg").hide();
473
  jQuery("#insert").attr("style", "visibility: visible;");
474
  jQuery(".bwg-section.bwg-pro-views").show();
475
  break;
476
  }
477
  case 'album_extended_preview': {
478
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
479
  jQuery("#tr_album").css('display', '');
480
- jQuery("#bwg_pro_version").html('Extended gallery group');
481
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/extended-album/?utm_source=photo_gallery&utm_medium=free_plugin");
482
  jQuery(".wd-free-msg").hide();
483
  jQuery("#insert").attr("style", "visibility: visible;");
484
  jQuery(".bwg-section.bwg-pro-views").show();
485
  break;
486
  }
487
  case 'album_masonry_preview': {
488
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
489
  jQuery("#tr_album").css('display', '');
490
- jQuery("#bwg_pro_version").html('Masonry gallery group');
491
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/masonry/?utm_source=photo_gallery&utm_medium=free_plugin");
492
  jQuery(".wd-free-msg").show();
 
 
 
493
  if ( jQuery(".wd-free-msg").length != 0 ) {
494
  jQuery("#insert").attr("style", "visibility: hidden;");
495
  jQuery(".bwg-pro-views").hide();
@@ -497,12 +550,12 @@ function bwg_gallery_type(gallery_type) {
497
  break;
498
  }
499
  case 'blog_style': {
500
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
501
  jQuery("#tr_gallery").css('display', '');
502
  jQuery("#tr_tag").css('display', '');
503
- jQuery("#bwg_pro_version").html('Blog style');
504
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/blog-style/?utm_source=photo_gallery&utm_medium=free_plugin");
505
  jQuery(".wd-free-msg").show();
 
 
 
506
  if ( jQuery(".wd-free-msg").length != 0 ) {
507
  jQuery("#insert").attr("style", "visibility: hidden;");
508
  jQuery(".bwg-pro-views").hide();
@@ -510,12 +563,12 @@ function bwg_gallery_type(gallery_type) {
510
  break;
511
  }
512
  case 'carousel': {
513
- jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
514
  jQuery("#tr_gallery").css('display', '');
515
  jQuery("#tr_tag").css('display', '');
516
- jQuery("#bwg_pro_version").html('Carousel');
517
- jQuery("#bwg_pro_version_link").attr("href", "https://demo.10web.io/photo-gallery/carousel/?utm_source=photo_gallery&utm_medium=free_plugin");
518
  jQuery(".wd-free-msg").show();
 
 
 
519
  if ( jQuery(".wd-free-msg").length != 0 ) {
520
  jQuery("#insert").attr("style", "visibility: hidden;");
521
  jQuery(".bwg-pro-views").hide();
61
  var value = jQuery(this).val();
62
  show_hide_extended_album_view( value );
63
  });
64
+
65
+ /* images in select list */
66
+
67
+ //change selected view
68
+ jQuery('#bwg_shortcode_form .bwg-gallery-ul li').click(function(){
69
+ if( jQuery(this).hasClass('gallery-type-li')) {
70
+ jQuery('.type-selected').removeClass('type-selected');
71
+ jQuery(this).addClass('type-selected');
72
+ var value = jQuery(this).data('value');
73
+ var item = jQuery(this).clone();
74
+ var parent_el = jQuery(this).parent().parent().prev('.bwg-btn-gallery-type-select').attr('id');
75
+ jQuery('#' + parent_el ).html(item);
76
+ jQuery('#' + parent_el ).attr('value', value);
77
+ bwg_gallery_type(value);
78
+ change(parent_el);
79
+ }
80
+ });
81
+
82
+ jQuery('body').click(function(){
83
+ jQuery("#bwg_shortcode_form .bwg-btn-gallery-type-select").each(function(){
84
+ if( jQuery(this).hasClass("type-opened") ) {
85
+ jQuery(this).removeClass("type-opened");
86
+ jQuery(this).addClass("type-closed");
87
+ jQuery(this).next(".bwg-gallery-ul-div").toggle();
88
+ }
89
+ })
90
+ });
91
+
92
+ /* functions to view div as select box */
93
+ jQuery('#bwg_shortcode_form .bwg-btn-gallery-type-select').click(function() {
94
+ var id = jQuery(this).attr('id');
95
+ if( !jQuery(this).next().find('.bwg-gallery-ul .type-selected').length ) {
96
+ jQuery(this).next().find('.bwg-gallery-ul li:first-child').addClass('type-selected');
97
+ }
98
+ change(id);
99
+ });
100
+
101
  });
102
 
103
  jQuery(window).load(function() {
104
  bwg_shortcode_load();
105
  });
106
 
107
+ function change(view_type){
108
+ var view_type_div = jQuery('#' + view_type ).closest('.bwg-btn-gallery-type-select');
109
+ if( view_type_div.hasClass('type-closed') ) {
110
+ view_type_div.removeClass('type-closed');
111
+ view_type_div.addClass('type-opened');
112
+ } else {
113
+ view_type_div.removeClass('type-opened');
114
+ view_type_div.addClass('type-closed');
115
+ }
116
+ jQuery('#' + view_type ).next('.bwg-gallery-ul-div').toggle();
117
+ event.stopPropagation();
118
+ }
119
+
120
  function bwg_shortcode_load() {
121
  jQuery(".loading_div", window.parent.document).remove();
122
  jQuery("#loading_div.bwg_show").hide();
422
  }
423
 
424
  function bwg_gallery_type(gallery_type) {
425
+ jQuery('.gallery_type').find('.view_type_img_active').css('display','none');
426
+ jQuery('.gallery_type').find('.view_type_img').css('display','inline');
427
+ jQuery('.gallery_type').removeClass('gallery_type_active');
428
  jQuery("#" + gallery_type).prop('checked', true);
429
+ jQuery('input[name=gallery_type][id=' + gallery_type + ']').attr('checked', 'checked').closest('.gallery_type').addClass('gallery_type_active');
430
+ jQuery('.gallery_type_active').find('.view_type_img').css('display','none');
431
+ jQuery('.gallery_type_active').find('.view_type_img_active').css('display','inline');
432
+
433
  jQuery("#tr_gallery").css('display', 'none');
434
  jQuery("#tr_album").css('display', 'none');
435
  var basic_metabox_title = jQuery('#bwg_basic_metabox_title');
456
  }
457
  jQuery('.gallery_options, .album_options').hide();
458
  jQuery('#' + gallery_type + '_options').show();
459
+
460
+ if( jQuery("#" + gallery_type).closest('.bwg_change_gallery_type').parent().attr('id') == 'bwg_tab_galleries_content' ) {
461
+ jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=1&gallery_type=' + gallery_type);
462
+ } else {
463
+ jQuery('#options_link').attr('href', jQuery('#options_link').attr('data-href') + '&active_tab=2&album_type=' + gallery_type);
464
+ }
465
+
466
+ gallery_type_name = jQuery('.bwg-' + gallery_type).data('title');
467
+ pro_img_url = jQuery('.bwg-' + gallery_type).data('img-url');
468
+ pro_demo_link = jQuery('.bwg-' + gallery_type).data('demo-link');
469
+
470
  switch (gallery_type) {
471
  case 'thumbnails': {
 
472
  jQuery("#tr_gallery").css('display', '');
473
  jQuery("#tr_ecommerce_icon_hover").css('display', '');
474
  jQuery("#tr_ecommerce_icon_hover .ecommerce_icon_show").css('display', '');
475
  jQuery("#tr_tag").css('display', '');
 
 
476
  jQuery(".wd-free-msg").hide();
477
  jQuery("#insert").attr("style", "visibility: visible;");
478
  jQuery(".bwg-section.bwg-pro-views").show();
479
  break;
480
  }
481
  case 'thumbnails_masonry': {
 
482
  jQuery("#tr_ecommerce_icon_hover").css('display', '');
483
  jQuery("#tr_gallery").css('display', '');
484
  jQuery("#tr_tag").css('display', '');
 
 
485
  jQuery(".wd-free-msg").show();
486
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + bwg_premium_text);
487
+ jQuery(".pro-views-img").attr('src',pro_img_url);
488
+ jQuery(".button-demo").attr('href', pro_demo_link );
489
  if ( jQuery(".wd-free-msg").length != 0 ) {
490
  jQuery("#insert").attr("style", "visibility: hidden;");
491
  jQuery(".bwg-pro-views").hide();
493
  break;
494
  }
495
  case 'thumbnails_mosaic': {
 
496
  jQuery("#tr_ecommerce_icon_hover ").css('display', '');
497
  jQuery("#tr_gallery").css('display', '');
498
  jQuery("#tr_tag").css('display', '');
 
 
499
  jQuery(".wd-free-msg").show();
500
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + bwg_premium_text);
501
+ jQuery(".pro-views-img").attr('src',pro_img_url);
502
+ jQuery(".button-demo").attr('href', pro_demo_link );
503
  if ( jQuery(".wd-free-msg").length != 0 ) {
504
  jQuery("#insert").attr("style", "visibility: hidden;");
505
  jQuery(".bwg-pro-views").hide();
507
  break;
508
  }
509
  case 'slideshow': {
 
510
  jQuery("#tr_gallery").css('display', '');
511
  jQuery("#tr_tag").css('display', '');
 
 
512
  jQuery(".wd-free-msg").hide();
513
  jQuery("#insert").attr("style", "visibility: visible;");
514
  jQuery(".bwg-section.bwg-pro-views").show();
515
  break;
516
  }
517
  case 'image_browser': {
 
518
  jQuery("#tr_gallery").css('display', '');
519
  jQuery("#tr_tag").css('display', '');
 
 
520
  jQuery(".wd-free-msg").hide();
521
  jQuery("#insert").attr("style", "visibility: visible;");
522
  jQuery(".bwg-section.bwg-pro-views").show();
523
  break;
524
  }
525
  case 'album_compact_preview': {
 
526
  jQuery("#tr_album").css('display', '');
527
  basic_metabox_title.text(basic_metabox_title.attr('data-title-album'));
 
 
528
  jQuery(".wd-free-msg").hide();
529
  jQuery("#insert").attr("style", "visibility: visible;");
530
  jQuery(".bwg-section.bwg-pro-views").show();
531
  break;
532
  }
533
  case 'album_extended_preview': {
 
534
  jQuery("#tr_album").css('display', '');
 
 
535
  jQuery(".wd-free-msg").hide();
536
  jQuery("#insert").attr("style", "visibility: visible;");
537
  jQuery(".bwg-section.bwg-pro-views").show();
538
  break;
539
  }
540
  case 'album_masonry_preview': {
 
541
  jQuery("#tr_album").css('display', '');
 
 
542
  jQuery(".wd-free-msg").show();
543
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + bwg_premium_text);
544
+ jQuery(".pro-views-img").attr('src',pro_img_url);
545
+ jQuery(".button-demo").attr('href', pro_demo_link );
546
  if ( jQuery(".wd-free-msg").length != 0 ) {
547
  jQuery("#insert").attr("style", "visibility: hidden;");
548
  jQuery(".bwg-pro-views").hide();
550
  break;
551
  }
552
  case 'blog_style': {
 
553
  jQuery("#tr_gallery").css('display', '');
554
  jQuery("#tr_tag").css('display', '');
 
 
555
  jQuery(".wd-free-msg").show();
556
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + bwg_premium_text);
557
+ jQuery(".pro-views-img").attr('src',pro_img_url);
558
+ jQuery(".button-demo").attr('href', pro_demo_link );
559
  if ( jQuery(".wd-free-msg").length != 0 ) {
560
  jQuery("#insert").attr("style", "visibility: hidden;");
561
  jQuery(".bwg-pro-views").hide();
563
  break;
564
  }
565
  case 'carousel': {
 
566
  jQuery("#tr_gallery").css('display', '');
567
  jQuery("#tr_tag").css('display', '');
 
 
568
  jQuery(".wd-free-msg").show();
569
+ jQuery(".upgrade-to-pro-title").html( gallery_type_name + bwg_premium_text);
570
+ jQuery(".pro-views-img").attr('src',pro_img_url);
571
+ jQuery(".button-demo").attr('href', pro_demo_link );
572
  if ( jQuery(".wd-free-msg").length != 0 ) {
573
  jQuery("#insert").attr("style", "visibility: hidden;");
574
  jQuery(".bwg-pro-views").hide();
photo-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
5
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
6
- * Version: 1.5.54
7
  * Author: Photo Gallery Team
8
  * Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -40,6 +40,7 @@ final class BWG {
40
  * Plugin database version.
41
  */
42
  public $db_version = '';
 
43
  /**
44
  * Plugin prefix.
45
  */
@@ -87,7 +88,7 @@ final class BWG {
87
  *
88
  * @return string
89
  */
90
- public function get_abspath() {
91
  $dirpath = defined( 'WP_CONTENT_DIR' ) ? WP_CONTENT_DIR : ABSPATH;
92
  $array = explode( "wp-content", $dirpath );
93
  if( isset( $array[0] ) && $array[0] != "" ) {
@@ -100,16 +101,15 @@ final class BWG {
100
  * Define Constants.
101
  */
102
  private function define_constants() {
103
- $this->abspath = $this->get_abspath();
104
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
105
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
106
  $this->front_url = $this->plugin_url;
107
  $this->main_file = plugin_basename(__FILE__);
108
- $this->plugin_version = '1.5.54';
109
- $this->db_version = '1.5.54';
110
  $this->prefix = 'bwg';
111
  $this->nicename = __('Photo Gallery', $this->prefix);
112
-
113
  require_once($this->plugin_dir . '/framework/BWGOptions.php');
114
  $this->options = new WD_BWG_Options();
115
  require_once($this->plugin_dir . '/framework/WD_BWG_Theme.php');
@@ -124,7 +124,7 @@ final class BWG {
124
  $this->upload_url = preg_replace('/uploads(.+)photo-gallery/', 'uploads/photo-gallery', $this->upload_url);
125
  }
126
 
127
- $this->free_msg = __('This option is disabled in free version.', $this->prefix);
128
  }
129
 
130
  /**
@@ -483,7 +483,7 @@ final class BWG {
483
 
484
  add_submenu_page($parent_slug, __('Tags', $this->prefix), __('Tags', $this->prefix), $permissions, 'edit-tags.php?taxonomy=bwg_tag');
485
 
486
- add_submenu_page($parent_slug, __('Options', $this->prefix), __('Options', $this->prefix), 'manage_options', 'options_' . $this->prefix, array($this , 'admin_pages'));
487
 
488
  $themes_page = add_submenu_page($parent_slug, __('Themes', $this->prefix), __('Themes', $this->prefix), 'manage_options', 'themes_' . $this->prefix, array($this , 'admin_pages'));
489
  add_action('load-' . $themes_page, array($this, 'themes_per_page_option'));
@@ -618,6 +618,7 @@ final class BWG {
618
  'select_at_least_one_item' => __('You must select at least one item.', $this->prefix),
619
  'remove_pricelist_confirmation' => __('Do you want to remove pricelist from selected items?', $this->prefix),
620
  'google_fonts' => WDWLibrary::get_google_fonts(),
 
621
  ));
622
 
623
  wp_register_script($this->prefix . '_embed', $this->plugin_url . '/js/bwg_embed.js', array('jquery'), $this->plugin_version);
@@ -667,16 +668,21 @@ final class BWG {
667
 
668
  wp_register_style($this->prefix . '_addons', $this->plugin_url . '/addons/style.css');
669
 
 
 
 
 
670
  wp_register_style($this->prefix . '_shortcode', $this->plugin_url . '/css/bwg_shortcode.css', $required_styles, $this->plugin_version);
671
  wp_register_script($this->prefix . '_shortcode', $this->plugin_url . '/js/bwg_shortcode.js', $required_scripts, $this->plugin_version);
672
  wp_localize_script($this->prefix . '_shortcode', 'bwg_objectGGF', WDWLibrary::get_google_fonts());
 
673
 
674
  if ( !$this->is_pro ) {
675
  wp_register_style($this->prefix . '_licensing', $this->plugin_url . '/css/bwg_licensing.css', $required_styles, $this->plugin_version);
676
  }
677
 
678
  // Roboto font for top bar.
679
- wp_register_style($this->prefix . '-roboto', 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
680
  wp_register_style($this->prefix . '-pricing', $this->plugin_url . '/css/pricing.css', array(), $this->plugin_version);
681
 
682
  // For drag and drop on mobiles.
@@ -1157,6 +1163,7 @@ final class BWG {
1157
  BWGInsert::tables();
1158
  update_user_meta(get_current_user_id(),'bwg_photo_gallery', '1');
1159
  add_option("wd_bwg_version", $new_version, '', 'no');
 
1160
  if ( !$this->is_pro ) {
1161
  add_option("wd_bwg_theme_version", '1.0.0', '', 'no');
1162
  }
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
5
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
6
+ * Version: 1.5.58
7
  * Author: Photo Gallery Team
8
  * Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
40
  * Plugin database version.
41
  */
42
  public $db_version = '';
43
+
44
  /**
45
  * Plugin prefix.
46
  */
88
  *
89
  * @return string
90
  */
91
+ public static function get_abspath() {
92
  $dirpath = defined( 'WP_CONTENT_DIR' ) ? WP_CONTENT_DIR : ABSPATH;
93
  $array = explode( "wp-content", $dirpath );
94
  if( isset( $array[0] ) && $array[0] != "" ) {
101
  * Define Constants.
102
  */
103
  private function define_constants() {
104
+ $this->abspath = self::get_abspath();
105
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
106
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
107
  $this->front_url = $this->plugin_url;
108
  $this->main_file = plugin_basename(__FILE__);
109
+ $this->plugin_version = '1.5.58';
110
+ $this->db_version = '1.5.58';
111
  $this->prefix = 'bwg';
112
  $this->nicename = __('Photo Gallery', $this->prefix);
 
113
  require_once($this->plugin_dir . '/framework/BWGOptions.php');
114
  $this->options = new WD_BWG_Options();
115
  require_once($this->plugin_dir . '/framework/WD_BWG_Theme.php');
124
  $this->upload_url = preg_replace('/uploads(.+)photo-gallery/', 'uploads/photo-gallery', $this->upload_url);
125
  }
126
 
127
+ $this->free_msg = __('This option is available in Premium version', $this->prefix);
128
  }
129
 
130
  /**
483
 
484
  add_submenu_page($parent_slug, __('Tags', $this->prefix), __('Tags', $this->prefix), $permissions, 'edit-tags.php?taxonomy=bwg_tag');
485
 
486
+ add_submenu_page($parent_slug, __('Global Settings', $this->prefix), __('Global Settings', $this->prefix), 'manage_options', 'options_' . $this->prefix, array($this , 'admin_pages'));
487
 
488
  $themes_page = add_submenu_page($parent_slug, __('Themes', $this->prefix), __('Themes', $this->prefix), 'manage_options', 'themes_' . $this->prefix, array($this , 'admin_pages'));
489
  add_action('load-' . $themes_page, array($this, 'themes_per_page_option'));
618
  'select_at_least_one_item' => __('You must select at least one item.', $this->prefix),
619
  'remove_pricelist_confirmation' => __('Do you want to remove pricelist from selected items?', $this->prefix),
620
  'google_fonts' => WDWLibrary::get_google_fonts(),
621
+ 'bwg_premium_text' => __(' view is<br>available in Premium Version', $this->prefix),
622
  ));
623
 
624
  wp_register_script($this->prefix . '_embed', $this->plugin_url . '/js/bwg_embed.js', array('jquery'), $this->plugin_version);
668
 
669
  wp_register_style($this->prefix . '_addons', $this->plugin_url . '/addons/style.css');
670
 
671
+ // Open Sans
672
+ wp_register_style($this->prefix . '-opensans', 'https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&display=swap');
673
+ wp_enqueue_style($this->prefix . '-opensans');
674
+
675
  wp_register_style($this->prefix . '_shortcode', $this->plugin_url . '/css/bwg_shortcode.css', $required_styles, $this->plugin_version);
676
  wp_register_script($this->prefix . '_shortcode', $this->plugin_url . '/js/bwg_shortcode.js', $required_scripts, $this->plugin_version);
677
  wp_localize_script($this->prefix . '_shortcode', 'bwg_objectGGF', WDWLibrary::get_google_fonts());
678
+ wp_localize_script($this->prefix . '_shortcode', 'bwg_premium_text', __(' view is<br>available in Premium Version', $this->prefix));
679
 
680
  if ( !$this->is_pro ) {
681
  wp_register_style($this->prefix . '_licensing', $this->plugin_url . '/css/bwg_licensing.css', $required_styles, $this->plugin_version);
682
  }
683
 
684
  // Roboto font for top bar.
685
+ wp_register_style($this->prefix . '-roboto', 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
686
  wp_register_style($this->prefix . '-pricing', $this->plugin_url . '/css/pricing.css', array(), $this->plugin_version);
687
 
688
  // For drag and drop on mobiles.
1163
  BWGInsert::tables();
1164
  update_user_meta(get_current_user_id(),'bwg_photo_gallery', '1');
1165
  add_option("wd_bwg_version", $new_version, '', 'no');
1166
+ add_option("wd_bwg_initial_version", $new_version, '', 'no');
1167
  if ( !$this->is_pro ) {
1168
  add_option("wd_bwg_theme_version", '1.0.0', '', 'no');
1169
  }
readme.txt CHANGED
@@ -2,8 +2,9 @@
2
  Contributors: webdorado,wdsupport,photogallerysupport,10web
3
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
4
  Requires at least: 4.6
 
5
  Tested up to: 5.4
6
- Stable tag: 1.5.54
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -281,6 +282,16 @@ Choose whether to display random or the first/last specific number of images.
281
  **Theme.** Choose the theme, which will be applied to the gallery/album.
282
 
283
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
284
  = 1.5.54 =
285
  * Fixed: Memory leak for users with non default uploads directory.
286
 
2
  Contributors: webdorado,wdsupport,photogallerysupport,10web
3
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
4
  Requires at least: 4.6
5
+ Requires PHP: 5.2
6
  Tested up to: 5.4
7
+ Stable tag: 1.5.58
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
282
  **Theme.** Choose the theme, which will be applied to the gallery/album.
283
 
284
  == Changelog ==
285
+ = 1.5.58 =
286
+ * Improved: Admin pages UX/UI.
287
+
288
+ = 1.5.56 =
289
+ * Fixed: Security issue.
290
+
291
+ = 1.5.55 =
292
+ * Fixed: Security issue.
293
+ * Fixed: Minor bug.
294
+
295
  = 1.5.54 =
296
  * Fixed: Memory leak for users with non default uploads directory.
297