Gallery Bank: WordPress Photo Gallery Plugin - Version 4.0.2

Version Description

  • FIX: Lightbox Bug Fixed in Image Gallery
  • TWEAK: New Lightbox Option Added
  • FIX: Code Optimized
Download this release

Release Info

Developer contact-banker
Plugin Icon 128x128 Gallery Bank: WordPress Photo Gallery Plugin
Version 4.0.2
Comparing to
See all releases

Code changes from version 4.0.1 to 4.0.2

gallery-bank.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Gallery Bank is an interactive WordPress gallery plugin, best fit for creative and corporate portfolio websites.
6
  * Author: Tech Banker
7
  * Author URI: http://gallery-bank.tech-banker.com
8
- * Version: 4.0.1
9
  * License: GPLv3
10
  * Text Domain: gallery-bank
11
  * Domain Path: /languages
@@ -89,7 +89,7 @@ if (!defined("tech_banker_stats_url")) {
89
  define("tech_banker_stats_url", "http://stats.tech-banker-services.org");
90
  }
91
  if (!defined("gallery_bank_wizard_version_number")) {
92
- define("gallery_bank_wizard_version_number", "4.0.1");
93
  }
94
 
95
  if (!is_dir(GALLERY_BANK_MAIN_DIR)) {
@@ -825,6 +825,7 @@ if ($version == "4.0") {
825
  $response["body"] != "" ? update_option("gb_tech_banker_site_id", $response["body"]) : "";
826
  }
827
  }
 
828
  }
829
  /*
830
  Function Name: gallery_bank_action_links
5
  * Description: Gallery Bank is an interactive WordPress gallery plugin, best fit for creative and corporate portfolio websites.
6
  * Author: Tech Banker
7
  * Author URI: http://gallery-bank.tech-banker.com
8
+ * Version: 4.0.2
9
  * License: GPLv3
10
  * Text Domain: gallery-bank
11
  * Domain Path: /languages
89
  define("tech_banker_stats_url", "http://stats.tech-banker-services.org");
90
  }
91
  if (!defined("gallery_bank_wizard_version_number")) {
92
+ define("gallery_bank_wizard_version_number", "4.0.2");
93
  }
94
 
95
  if (!is_dir(GALLERY_BANK_MAIN_DIR)) {
825
  $response["body"] != "" ? update_option("gb_tech_banker_site_id", $response["body"]) : "";
826
  }
827
  }
828
+ delete_option("gallery-bank-wizard-set-up");
829
  }
830
  /*
831
  Function Name: gallery_bank_action_links
includes/translations.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php
2
  /**
3
  * This file is used for translating strings.
4
  *
@@ -241,6 +241,7 @@ if (!is_user_logged_in()) {
241
  $gb_fancy_box = __("Fancy Box", "gallery-bank");
242
  $gb_color_box = __("Color Box", "gallery-bank");
243
  $gb_foo_box_free_edition = __("Foo Box Free Edition", "gallery-bank");
 
244
  $gb_nivo_lightbox = __("Nivo LightBox", "gallery-bank");
245
  $gb_lightcase = __("Lightcase", "gallery-bank");
246
  $gb_general_settings = __("General Settings", "gallery-bank");
1
+ <?php
2
  /**
3
  * This file is used for translating strings.
4
  *
241
  $gb_fancy_box = __("Fancy Box", "gallery-bank");
242
  $gb_color_box = __("Color Box", "gallery-bank");
243
  $gb_foo_box_free_edition = __("Foo Box Free Edition", "gallery-bank");
244
+ $gb_foo_box_premium = __("Foo Box Premium", "gallery-bank");
245
  $gb_nivo_lightbox = __("Nivo LightBox", "gallery-bank");
246
  $gb_lightcase = __("Lightcase", "gallery-bank");
247
  $gb_general_settings = __("General Settings", "gallery-bank");
readme.txt CHANGED
@@ -557,6 +557,12 @@ is False in shortcode.
557
 
558
  == Changelog ==
559
 
 
 
 
 
 
 
560
  = 4.0.1 =
561
 
562
  * FIX: Obsolete Code Removed
557
 
558
  == Changelog ==
559
 
560
+ = 4.0.2 =
561
+
562
+ * FIX: Lightbox Bug Fixed in Image Gallery
563
+ * TWEAK: New Lightbox Option Added
564
+ * FIX: Code Optimized
565
+
566
  = 4.0.1 =
567
 
568
  * FIX: Obsolete Code Removed
user-views/assets/lightboxes/foobox/js/foobox.free.min.js CHANGED
@@ -336,7 +336,7 @@
336
  null != e && c.show(b)
337
  }
338
  }
339
- b = b || !1, c._first = b, c._busy = !0, c._closed = !1, a("body").addClass("fbx-active"), c.FooBox.options.hideScrollbars && a("html").addClass("fbx-no-scroll");
340
  var f = c.FooBox.items.current();
341
  1 == f.error ? c.element.addClass("fbx-error") : c.element.removeClass("fbx-error"), c.element.hasClass("fbx-show") || (c.prioritize(), c.element.addClass("fbx-loading").find(".fbx-inner").css({
342
  width: "100px",
@@ -535,7 +535,7 @@
535
  a.isFunction(e) && e(f)
536
  }
537
  }, this.close = function () {
538
- c.FooBox.raise("foobox.beforeClose").isDefaultPrevented() || (c._closed = !0, c._busy = !1, c.element.removeClass("fbx-loading fbx-show"), a("body").removeClass("fbx-active"), c.FooBox.raise("foobox.close"), c.element.find(".fbx-item-current, .fbx-item-next").empty(), a("html").removeClass("fbx-no-scroll"), c.FooBox.raise("foobox.afterClose"))
539
  }, this.prev = function (a) {
540
  if (1 != c._busy) {
541
  if (c.FooBox.items.indexes.set(c.FooBox.items.indexes.prev), "string" == typeof a)
336
  null != e && c.show(b)
337
  }
338
  }
339
+ b = b || !1, c._first = b, c._busy = !0, c._closed = !1, a("body").addClass("fbx-active"), c.FooBox.options.hideScrollbars && a("html").css("overflow", "hidden");
340
  var f = c.FooBox.items.current();
341
  1 == f.error ? c.element.addClass("fbx-error") : c.element.removeClass("fbx-error"), c.element.hasClass("fbx-show") || (c.prioritize(), c.element.addClass("fbx-loading").find(".fbx-inner").css({
342
  width: "100px",
535
  a.isFunction(e) && e(f)
536
  }
537
  }, this.close = function () {
538
+ c.FooBox.raise("foobox.beforeClose").isDefaultPrevented() || (c._closed = !0, c._busy = !1, c.element.removeClass("fbx-loading fbx-show"), a("body").removeClass("fbx-active"), c.FooBox.raise("foobox.close"), c.element.find(".fbx-item-current, .fbx-item-next").empty(), c.FooBox.options.hideScrollbars && a("html").css("overflow", ""), c.FooBox.raise("foobox.afterClose"))
539
  }, this.prev = function (a) {
540
  if (1 != c._busy) {
541
  if (c.FooBox.items.indexes.set(c.FooBox.items.indexes.prev), "string" == typeof a)
user-views/includes/galleries/structure.php CHANGED
@@ -40,10 +40,13 @@ if (file_exists(GALLERY_BANK_USER_VIEWS_PATH . "includes/galleries/queries.php")
40
  if (isset($lightbox_type)) {
41
  switch (esc_attr($lightbox_type)) {
42
  case "foo_box_free_edition":
43
- wp_enqueue_style("foobox.free.min.css", GALLERY_BANK_PLUGIN_DIR_URL . "user-views/assets/lightboxes/foobox/css/foobox.free.min.css");
44
- wp_enqueue_style("foobox.noie7.min.css", GALLERY_BANK_PLUGIN_DIR_URL . "user-views/assets/lightboxes/foobox/css/foobox.noie7.min.css");
45
- wp_enqueue_script("foobox.free.min.js", GALLERY_BANK_PLUGIN_DIR_URL . "user-views/assets/lightboxes/foobox/js/foobox.free.min.js");
46
- break;
 
 
 
47
  }
48
  }
49
  if (file_exists(GALLERY_BANK_USER_VIEWS_PATH . "includes/galleries/translations.php")) {
40
  if (isset($lightbox_type)) {
41
  switch (esc_attr($lightbox_type)) {
42
  case "foo_box_free_edition":
43
+ if(!class_exists("fooboxV2"))
44
+ {
45
+ wp_enqueue_style("foobox.free.min.css", GALLERY_BANK_PLUGIN_DIR_URL . "user-views/assets/lightboxes/foobox/css/foobox.free.min.css");
46
+ wp_enqueue_style("foobox.noie7.min.css", GALLERY_BANK_PLUGIN_DIR_URL . "user-views/assets/lightboxes/foobox/css/foobox.noie7.min.css");
47
+ wp_enqueue_script("foobox.free.min.js", GALLERY_BANK_PLUGIN_DIR_URL . "user-views/assets/lightboxes/foobox/js/foobox.free.min.js");
48
+ }
49
+ break;
50
  }
51
  }
52
  if (file_exists(GALLERY_BANK_USER_VIEWS_PATH . "includes/galleries/translations.php")) {
user-views/layouts/masonry-layout/masonry-layout.php CHANGED
@@ -33,14 +33,35 @@ if (!defined("ABSPATH")) {
33
  }
34
  break;
35
  case "foo_box_free_edition":
36
- ?>
37
- <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-title="<<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_title"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>>" data-caption-desc="<<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_description"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>>">
38
- <?php
39
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
  }
42
  ?>
43
- <img src="<?php echo GALLERY_BANK_THUMBS_NON_CROPPED_URL . esc_attr($pic["image_name"]) ?>" title="<?php echo esc_attr($pic["image_title"]); ?>" alt="<?php echo $pic["alt_text"] ?>" image_full_path="<?php echo GALLERY_BANK_ORIGINAL_URL . esc_attr($pic["image_name"]); ?>" id="ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>" name="ux_gb_file" />
44
  </a>
45
  </div>
46
  <div id="grid_content_item" class="masonry_grid_content_item">
33
  }
34
  break;
35
  case "foo_box_free_edition":
36
+ if($pic["image_title"] == "" && $pic["image_description"] == "")
37
+ {
38
+ ?>
39
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>">
40
+ <?php
41
+ }
42
+ else if($pic["image_title"] != "" && $pic["image_description"] == "")
43
+ {
44
+ ?>
45
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-title="<<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_title"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>>">
46
+ <?php
47
+ }
48
+ else if($pic["image_title"] == "" && $pic["image_description"] != "")
49
+ {
50
+ ?>
51
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-desc="<<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_description"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>>">
52
+ <?php
53
+ }
54
+ else
55
+ {
56
+ ?>
57
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-title="<<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_title"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>>" data-caption-desc="<<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_description"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>>">
58
+ <?php
59
+ }
60
+ break;
61
  }
62
  }
63
  ?>
64
+ <img src="<?php echo GALLERY_BANK_THUMBS_NON_CROPPED_URL . esc_attr($pic["image_name"]) ?>" alt="<?php echo $pic["alt_text"] ?>" image_full_path="<?php echo GALLERY_BANK_ORIGINAL_URL . esc_attr($pic["image_name"]); ?>" id="ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>" name="ux_gb_file" />
65
  </a>
66
  </div>
67
  <div id="grid_content_item" class="masonry_grid_content_item">
user-views/layouts/thumbnail-layout/thumbnail-layout.php CHANGED
@@ -32,15 +32,36 @@ if (!defined("ABSPATH")) {
32
  }
33
  break;
34
  case "foo_box_free_edition":
35
- ?>
36
- <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-title="<<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_title"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>>" data-caption-desc="<<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_description"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>>">
37
- <?php
38
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
  }
41
  ?>
42
  <div id="grid_item_image_<?php echo $random . "_" . $pic["id"]; ?>" class="grid_item_image_<?php echo $random; ?>" style="background:url('<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($pic["image_name"]); ?>');background-size:100% 100% !important;">
43
- <img src="<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($pic["image_name"]); ?>" image_full_path="<?php echo $pic["file_type"] ?>" alt="<?php echo esc_attr($pic["alt_text"]); ?>" title="<?php echo esc_attr($pic["image_title"]); ?>" id="ux_gb_file" name= "ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>"/>
44
  </div>
45
  </a>
46
  <div id="grid_content_item" class="grid_content_item">
32
  }
33
  break;
34
  case "foo_box_free_edition":
35
+ if($pic["image_title"] == "" && $pic["image_description"] == "")
36
+ {
37
+ ?>
38
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>">
39
+ <?php
40
+ }
41
+ else if($pic["image_title"] != "" && $pic["image_description"] == "")
42
+ {
43
+ ?>
44
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-title="<<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_title"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>>">
45
+ <?php
46
+ }
47
+ else if($pic["image_title"] == "" && $pic["image_description"] != "")
48
+ {
49
+ ?>
50
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-desc="<<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_description"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>>">
51
+ <?php
52
+ }
53
+ else
54
+ {
55
+ ?>
56
+ <a href="<?php echo $imageurl; ?>" class="foobox" target="<?php echo $target; ?>" rel="foobox_gallery_<?php echo $random; ?>" data-caption-title="<<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_title"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_title_html_tag"]) ? $foobox_meta_data["foo_box_image_title_html_tag"] : "h1"; ?>>" data-caption-desc="<<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>><?php echo esc_attr($pic["image_description"]); ?></<?php echo isset($foobox_meta_data["foo_box_image_description_html_tag"]) ? $foobox_meta_data["foo_box_image_description_html_tag"] : "h1"; ?>>">
57
+ <?php
58
+ }
59
+ break;
60
  }
61
  }
62
  ?>
63
  <div id="grid_item_image_<?php echo $random . "_" . $pic["id"]; ?>" class="grid_item_image_<?php echo $random; ?>" style="background:url('<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($pic["image_name"]); ?>');background-size:100% 100% !important;">
64
+ <img src="<?php echo GALLERY_BANK_THUMBS_CROPPED_URL . esc_attr($pic["image_name"]); ?>" image_full_path="<?php echo $pic["file_type"] ?>" alt="<?php echo esc_attr($pic["alt_text"]); ?>" id="ux_gb_file" name= "ux_gb_file_<?php echo $random . "_" . $pic["id"]; ?>"/>
65
  </div>
66
  </a>
67
  <div id="grid_content_item" class="grid_content_item">
views/shortcodes/blog-style-layout-shortcode.php CHANGED
@@ -200,7 +200,7 @@ if (!is_user_logged_in()) {
200
  <option selected="selected" value="lightcase"><?php echo $gb_lightcase; ?></option>
201
  <option value="fancy_box"><?php echo $gb_fancy_box; ?></option>
202
  <option value="color_box"><?php echo $gb_color_box; ?></option>
203
- <option value="foo_box_free_edition" selected="selected"><?php echo $gb_foo_box_free_edition; ?></option>
204
  <option value="nivo_lightbox"><?php echo $gb_nivo_lightbox; ?></option>
205
  </select>
206
  </div>
200
  <option selected="selected" value="lightcase"><?php echo $gb_lightcase; ?></option>
201
  <option value="fancy_box"><?php echo $gb_fancy_box; ?></option>
202
  <option value="color_box"><?php echo $gb_color_box; ?></option>
203
+ <option value="foo_box_free_edition" selected="selected"><?php echo class_exists("fooboxV2") ? $gb_foo_box_premium : $gb_foo_box_free_edition; ?></option>
204
  <option value="nivo_lightbox"><?php echo $gb_nivo_lightbox; ?></option>
205
  </select>
206
  </div>
views/shortcodes/justified-grid-layout-shortcode.php CHANGED
@@ -202,7 +202,7 @@ if (!is_user_logged_in()) {
202
  <option selected="selected" value="lightcase"><?php echo $gb_lightcase; ?></option>
203
  <option value="fancy_box"><?php echo $gb_fancy_box; ?></option>
204
  <option value="color_box"><?php echo $gb_color_box; ?></option>
205
- <option value="foo_box_free_edition" selected="selected"><?php echo $gb_foo_box_free_edition; ?></option>
206
  <option value="nivo_lightbox"><?php echo $gb_nivo_lightbox; ?></option>
207
  </select>
208
  </div>
202
  <option selected="selected" value="lightcase"><?php echo $gb_lightcase; ?></option>
203
  <option value="fancy_box"><?php echo $gb_fancy_box; ?></option>
204
  <option value="color_box"><?php echo $gb_color_box; ?></option>
205
+ <option value="foo_box_free_edition" selected="selected"><?php echo class_exists("fooboxV2") ? $gb_foo_box_premium : $gb_foo_box_free_edition; ?></option>
206
  <option value="nivo_lightbox"><?php echo $gb_nivo_lightbox; ?></option>
207
  </select>
208
  </div>
views/shortcodes/masonry-layout-shortcode.php CHANGED
@@ -155,7 +155,7 @@ if (!is_user_logged_in()) {
155
  <option value="lightcase" disabled="disabled" style="color:red;"><?php echo $gb_lightcase . " (" . $gb_premium_edition . " )"; ?></option>
156
  <option value="fancy_box" disabled="disabled" style="color:red;"><?php echo $gb_fancy_box . " (" . $gb_premium_edition . " )"; ?></option>
157
  <option value="color_box" disabled="disabled" style="color:red;"><?php echo $gb_color_box . " (" . $gb_premium_edition . " )"; ?></option>
158
- <option value="foo_box_free_edition" selected="selected"><?php echo $gb_foo_box_free_edition; ?></option>
159
  <option value="nivo_lightbox" disabled="disabled" style="color:red;"><?php echo $gb_nivo_lightbox . " (" . $gb_premium_edition . " )"; ?></option>
160
  </select>
161
  </div>
155
  <option value="lightcase" disabled="disabled" style="color:red;"><?php echo $gb_lightcase . " (" . $gb_premium_edition . " )"; ?></option>
156
  <option value="fancy_box" disabled="disabled" style="color:red;"><?php echo $gb_fancy_box . " (" . $gb_premium_edition . " )"; ?></option>
157
  <option value="color_box" disabled="disabled" style="color:red;"><?php echo $gb_color_box . " (" . $gb_premium_edition . " )"; ?></option>
158
+ <option value="foo_box_free_edition" selected="selected"><?php echo class_exists("fooboxV2") ? $gb_foo_box_premium : $gb_foo_box_free_edition; ?></option>
159
  <option value="nivo_lightbox" disabled="disabled" style="color:red;"><?php echo $gb_nivo_lightbox . " (" . $gb_premium_edition . " )"; ?></option>
160
  </select>
161
  </div>
views/shortcodes/thumbnail-layout-shortcode.php CHANGED
@@ -155,7 +155,7 @@ if (!is_user_logged_in()) {
155
  <option value="lightcase" disabled="disabled" style="color:red;"><?php echo $gb_lightcase . " (" . $gb_premium_edition . " )"; ?></option>
156
  <option value="fancy_box" disabled="disabled" style="color:red;"><?php echo $gb_fancy_box . " (" . $gb_premium_edition . " )"; ?></option>
157
  <option value="color_box" disabled="disabled" style="color:red;"><?php echo $gb_color_box . " (" . $gb_premium_edition . " )"; ?></option>
158
- <option value="foo_box_free_edition" selected="selected"><?php echo $gb_foo_box_free_edition; ?></option>
159
  <option value="nivo_lightbox" disabled="disabled" style="color:red;"><?php echo $gb_nivo_lightbox . " (" . $gb_premium_edition . " )"; ?></option>
160
  </select>
161
  </div>
155
  <option value="lightcase" disabled="disabled" style="color:red;"><?php echo $gb_lightcase . " (" . $gb_premium_edition . " )"; ?></option>
156
  <option value="fancy_box" disabled="disabled" style="color:red;"><?php echo $gb_fancy_box . " (" . $gb_premium_edition . " )"; ?></option>
157
  <option value="color_box" disabled="disabled" style="color:red;"><?php echo $gb_color_box . " (" . $gb_premium_edition . " )"; ?></option>
158
+ <option value="foo_box_free_edition" selected="selected"><?php echo class_exists("fooboxV2") ? $gb_foo_box_premium : $gb_foo_box_free_edition; ?></option>
159
  <option value="nivo_lightbox" disabled="disabled" style="color:red;"><?php echo $gb_nivo_lightbox . " (" . $gb_premium_edition . " )"; ?></option>
160
  </select>
161
  </div>