Gallery Bank: WordPress Photo Gallery Plugin - Version 2.0.7

Version Description

  • Plugin Confliction with JetPack Fixed
  • Languages Updated
Download this release

Release Info

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

Code changes from version 2.0.6 to 2.0.7

assets/css/system-message.css CHANGED
@@ -25,7 +25,7 @@ Version: 1.0
25
 
26
  .message span {
27
  display : block;
28
- background : url(../gfx/system-icon.png) no-repeat 98% center;
29
  padding : 13px 0;
30
  font : 12px/1.0em Arial;
31
  }
@@ -36,7 +36,7 @@ Version: 1.0
36
 
37
  .message.red {
38
  display : block;
39
- background : url(../gfx/icon-error.png) no-repeat 10px 8px #F8E9E9;
40
  border : 1px solid #E4BBBC;
41
  color : #b80000;
42
  }
25
 
26
  .message span {
27
  display : block;
28
+ background : url(../images/system-icon.png) no-repeat 98% center;
29
  padding : 13px 0;
30
  font : 12px/1.0em Arial;
31
  }
36
 
37
  .message.red {
38
  display : block;
39
+ background : url(../images/icon-error.png) no-repeat 10px 8px #F8E9E9;
40
  border : 1px solid #E4BBBC;
41
  color : #b80000;
42
  }
assets/images/icon-error.png ADDED
Binary file
assets/images/system-icon.png ADDED
Binary file
assets/js/colorpicker/js/mColorPicker_small.js CHANGED
@@ -42,14 +42,13 @@ jQuery(document).ready(function($) {
42
  rHEX3 = /#[a-f0-9]{3}/,
43
  rHEX6 = /#[a-f0-9]{6}/;
44
 
45
- $.fn.mColorPicker = function(options) {
46
-
47
- var swatches = $.fn.mColorPicker.getCookie('swatches');
48
 
49
  $o = $.extend($.fn.mColorPicker.defaults, options);
50
- $.fn.mColorPicker.defaults.swatches.concat($o.swatches).slice(-10);
51
-
52
- if ($i.enhancedSwatches && swatches) $o.swatches = swatches.split('||').concat($o.swatches).slice(0, 10) || $o.swatches;
53
 
54
  if (!$("div#mColorPicker").length) $.fn.mColorPicker.drawPicker();
55
  if (!$('#css_disabled_color_picker').length) $('head').prepend('<meta data-remove-me="true"/><style id="css_disabled_color_picker" type="text/css">.mColorPicker[disabled] + span, .mColorPicker[disabled="disabled"] + span, .mColorPicker[disabled="true"] + span {filter:alpha(opacity=50);-moz-opacity:0.5;-webkit-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;cursor:default;}</style>');
@@ -64,7 +63,7 @@ jQuery(document).ready(function($) {
64
  $.fn.mColorPicker.init = {
65
  replace: '[type=color]',
66
  index: 0,
67
- enhancedSwatches: true,
68
  allowTransparency: true,
69
  slogan: 'Meta100 - Designing Fun',
70
  showLogo: false
@@ -75,7 +74,7 @@ jQuery(document).ready(function($) {
75
  $.fn.mColorPicker.start = function() {
76
 
77
  $('input[data-mcolorpicker!="true"]').filter(function() {
78
-
79
  return ($i.replace == '[type=color]')? this.getAttribute("type") == 'color': $(this).is($i.replace);
80
  }).mColorPicker();
81
  };
@@ -256,13 +255,13 @@ jQuery(document).ready(function($) {
256
  'background-image': 'url(' + $o.imageFolder + 'picker.png)'
257
  }).appendTo($w);
258
 
259
- $s.attr({
260
- 'id': 'mColorPickerSwatches'
261
- }).css({
262
- 'border-right':'1px solid #000',
263
- 'display':'table',
264
- 'border-collapse':'collapse'
265
- }).appendTo($w);
266
 
267
  $(div).addClass(
268
  'mClear'
@@ -270,21 +269,21 @@ jQuery(document).ready(function($) {
270
  'clear': 'both'
271
  }).appendTo($s);
272
 
273
- for (i = 0; i < 10; i++) {
274
-
275
- $(div).attr({
276
- 'id': 'cell' + i,
277
- 'class': "mPastColor" + ((i > 0)? ' mNoLeftBorder': '')
278
- }).css({
279
- 'background-color': $o.swatches[i].toLowerCase(),
280
- 'height':'18px',
281
- 'width':'18px',
282
- 'border':'1px solid #000',
283
- 'display':'table-cell'
284
- }).html(
285
- '&nbsp;'
286
- ).prependTo($s);
287
- }
288
 
289
  $f.attr({
290
  'id': 'mColorPickerFooter'
@@ -455,7 +454,7 @@ jQuery(document).ready(function($) {
455
 
456
  $.fn.mColorPicker.addToSwatch = function (color) {
457
 
458
- if (!$i.enhancedSwatches) return false;
459
 
460
  var swatch = []
461
  i = 0;
@@ -475,7 +474,7 @@ jQuery(document).ready(function($) {
475
  $(this).css('background-color', swatch[i++])
476
  });
477
 
478
- if ($i.enhancedSwatches) $.fn.mColorPicker.setCookie('swatches', swatch.join('||'), 365);
479
  };
480
 
481
  $.fn.mColorPicker.whichColor = function (x, y, hex) {
@@ -585,25 +584,26 @@ jQuery(document).ready(function($) {
585
  return $.fn.mColorPicker.colorTest(color);
586
  };
587
 
588
- $i = $.fn.mColorPicker.init;
589
 
590
  $document.ready(function () {
591
- if(typeof(theme_admin_assets_uri) !== 'undefined') {
592
- $.fn.mColorPicker.defaults.imageFolder = theme_admin_assets_uri + "/images/mColorPicker/";
593
- }
594
-
595
- $b = $('body');
596
-
597
- $.fn.mColorPicker.events();
598
-
599
- if ($i.replace) {
600
-
601
- $.fn.mColorPicker.start();
602
-
603
- if (typeof $.fn.livequery == "function") $($i.replace).livequery($.fn.mColorPicker.start);
604
- else $(document).delegate(document, 'ajaxSuccess.mColorPicker', $.fn.mColorPicker.start);
605
- }
606
- });
 
607
  }) (jQuery);
608
 
609
  });
42
  rHEX3 = /#[a-f0-9]{3}/,
43
  rHEX6 = /#[a-f0-9]{6}/;
44
 
45
+ $.fn.mColorPicker = function(options) {
46
+ // var swatches = false;
 
47
 
48
  $o = $.extend($.fn.mColorPicker.defaults, options);
49
+ // $.fn.mColorPicker.defaults.swatches.concat($o.swatches).slice(-10);
50
+ //
51
+ // if ($i.enhancedSwatches && swatches) $o.swatches = swatches.split('||').concat($o.swatches).slice(0, 10) || $o.swatches;
52
 
53
  if (!$("div#mColorPicker").length) $.fn.mColorPicker.drawPicker();
54
  if (!$('#css_disabled_color_picker').length) $('head').prepend('<meta data-remove-me="true"/><style id="css_disabled_color_picker" type="text/css">.mColorPicker[disabled] + span, .mColorPicker[disabled="disabled"] + span, .mColorPicker[disabled="true"] + span {filter:alpha(opacity=50);-moz-opacity:0.5;-webkit-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;cursor:default;}</style>');
63
  $.fn.mColorPicker.init = {
64
  replace: '[type=color]',
65
  index: 0,
66
+ //enhancedSwatches: true,
67
  allowTransparency: true,
68
  slogan: 'Meta100 - Designing Fun',
69
  showLogo: false
74
  $.fn.mColorPicker.start = function() {
75
 
76
  $('input[data-mcolorpicker!="true"]').filter(function() {
77
+
78
  return ($i.replace == '[type=color]')? this.getAttribute("type") == 'color': $(this).is($i.replace);
79
  }).mColorPicker();
80
  };
255
  'background-image': 'url(' + $o.imageFolder + 'picker.png)'
256
  }).appendTo($w);
257
 
258
+ // $s.attr({
259
+ // 'id': 'mColorPickerSwatches'
260
+ // }).css({
261
+ // 'border-right':'1px solid #000',
262
+ // 'display':'table',
263
+ // 'border-collapse':'collapse'
264
+ // }).appendTo($w);
265
 
266
  $(div).addClass(
267
  'mClear'
269
  'clear': 'both'
270
  }).appendTo($s);
271
 
272
+ // for (i = 0; i < 10; i++) {
273
+ //
274
+ // $(div).attr({
275
+ // 'id': 'cell' + i,
276
+ // 'class': "mPastColor" + ((i > 0)? ' mNoLeftBorder': '')
277
+ // }).css({
278
+ // 'background-color': $o.swatches[i].toLowerCase(),
279
+ // 'height':'18px',
280
+ // 'width':'18px',
281
+ // 'border':'1px solid #000',
282
+ // 'display':'table-cell'
283
+ // }).html(
284
+ // '&nbsp;'
285
+ // ).prependTo($s);
286
+ // }
287
 
288
  $f.attr({
289
  'id': 'mColorPickerFooter'
454
 
455
  $.fn.mColorPicker.addToSwatch = function (color) {
456
 
457
+ // if (!$i.enhancedSwatches) return false;
458
 
459
  var swatch = []
460
  i = 0;
474
  $(this).css('background-color', swatch[i++])
475
  });
476
 
477
+ //if ($i.enhancedSwatches) $.fn.mColorPicker.setCookie('swatches', swatch.join('||'), 365);
478
  };
479
 
480
  $.fn.mColorPicker.whichColor = function (x, y, hex) {
584
  return $.fn.mColorPicker.colorTest(color);
585
  };
586
 
587
+
588
 
589
  $document.ready(function () {
590
+ if(typeof(theme_admin_assets_uri) !== 'undefined') {
591
+
592
+ $.fn.mColorPicker.defaults.imageFolder = theme_admin_assets_uri + "/images/mColorPicker/";
593
+ }
594
+ $i = $.fn.mColorPicker.init;
595
+ $b = $('body');
596
+ //
597
+ $.fn.mColorPicker.events();
598
+
599
+ if ($i.replace) {
600
+
601
+ $.fn.mColorPicker.start();
602
+
603
+ if (typeof $.fn.livequery == "function") $($i.replace).livequery($.fn.mColorPicker.start);
604
+ else $(document).delegate(document, 'ajaxSuccess.mColorPicker', $.fn.mColorPicker.start);
605
+ }
606
+ });
607
  }) (jQuery);
608
 
609
  });
gallery-bank.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://gallery-bank.com
5
  Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
6
  Author: Gallery-Bank
7
- Version: 2.0.6
8
  Author URI: http://gallery-bank.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
  Plugin URI: http://gallery-bank.com
5
  Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
6
  Author: Gallery-Bank
7
+ Version: 2.0.7
8
  Author URI: http://gallery-bank.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Gallery-Bank
3
  Tags: gallery, image, gallery images, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox,media, nextgen, nextgen gallery,photo, photo albums, picture, pictures, thumbnails, slideshow
4
  Requires at least: 3.0
5
  Tested up to: 3.6
6
- Stable tag: 2.0.6
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -133,6 +133,10 @@ With this bulk deletion feature, you can now delete the pictures you want in bul
133
  6. Opening Image of the Album in Lightbox.
134
 
135
  == Changelog ==
 
 
 
 
136
 
137
  = 2.0.6 =
138
 
3
  Tags: gallery, image, gallery images, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox,media, nextgen, nextgen gallery,photo, photo albums, picture, pictures, thumbnails, slideshow
4
  Requires at least: 3.0
5
  Tested up to: 3.6
6
+ Stable tag: 2.0.7
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
133
  6. Opening Image of the Album in Lightbox.
134
 
135
  == Changelog ==
136
+ = 2.0.7 =
137
+
138
+ * Plugin Confliction with JetPack Fixed
139
+ * Languages Updated
140
 
141
  = 2.0.6 =
142
 
views/add-new-album.php CHANGED
@@ -608,19 +608,8 @@
608
  currentColor: false,
609
  changeColor: false,
610
  color: false,
611
- imageFolder: '<?php echo GALLERY_BK_PLUGIN_URL; ?>/assets/js/colorpicker/images/',
612
- swatches: [
613
- "#ffffff",
614
- "#ffff00",
615
- "#00ff00",
616
- "#00ffff",
617
- "#0000ff",
618
- "#ff00ff",
619
- "#ff0000",
620
- "#4c2b11",
621
- "#3b3b3b",
622
- "#000000"
623
- ]
624
  };
625
 
626
  });
608
  currentColor: false,
609
  changeColor: false,
610
  color: false,
611
+ imageFolder: '<?php echo GALLERY_BK_PLUGIN_URL; ?>/assets/js/colorpicker/images/'
612
+
 
 
 
 
 
 
 
 
 
 
 
613
  };
614
 
615
  });
views/edit-album.php CHANGED
@@ -789,19 +789,8 @@
789
  currentColor: false,
790
  changeColor: false,
791
  color: false,
792
- imageFolder: '<?php echo GALLERY_BK_PLUGIN_URL; ?>/assets/js/colorpicker/images/',
793
- swatches: [
794
- "#ffffff",
795
- "#ffff00",
796
- "#00ff00",
797
- "#00ffff",
798
- "#0000ff",
799
- "#ff00ff",
800
- "#ff0000",
801
- "#4c2b11",
802
- "#3b3b3b",
803
- "#000000"
804
- ]
805
  };
806
  jQuery(".dataTables_filter").css("margin-top", "24px");
807
  <?php
789
  currentColor: false,
790
  changeColor: false,
791
  color: false,
792
+ imageFolder: '<?php echo GALLERY_BK_PLUGIN_URL; ?>/assets/js/colorpicker/images/'
793
+
 
 
 
 
 
 
 
 
 
 
 
794
  };
795
  jQuery(".dataTables_filter").css("margin-top", "24px");
796
  <?php
views/settings.php CHANGED
@@ -519,21 +519,8 @@
519
  currentColor: false,
520
  changeColor: false,
521
  color: false,
522
- imageFolder: '<?php echo GALLERY_BK_PLUGIN_URL; ?>/assets/js/colorpicker/images/',
523
- swatches: [
524
- "#ffffff",
525
- "#ffff00",
526
- "#00ff00",
527
- "#00ffff",
528
- "#0000ff",
529
- "#ff00ff",
530
- "#ff0000",
531
- "#4c2b11",
532
- "#3b3b3b",
533
- "#000000"
534
- ]
535
  };
536
-
537
  });
538
  function set_text_value(text_type)
539
  {
519
  currentColor: false,
520
  changeColor: false,
521
  color: false,
522
+ imageFolder: '<?php echo GALLERY_BK_PLUGIN_URL; ?>/assets/js/colorpicker/images/'
 
 
 
 
 
 
 
 
 
 
 
 
523
  };
 
524
  });
525
  function set_text_value(text_type)
526
  {