Gallery Bank: WordPress Photo Gallery Plugin - Version 2.0.13

Version Description

Download this release

Release Info

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

Code changes from version 2.0.12 to 2.0.13

.project DELETED
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <projectDescription>
3
- <name>gallery-bank</name>
4
- <comment></comment>
5
- <projects>
6
- </projects>
7
- <buildSpec>
8
- </buildSpec>
9
- <natures>
10
- <nature>com.aptana.projects.webnature</nature>
11
- </natures>
12
- </projectDescription>
 
 
 
 
 
 
 
 
 
 
 
 
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.12
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.13
8
  Author URI: http://gallery-bank.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
lib/front-view-album-class.php CHANGED
@@ -599,10 +599,21 @@
599
  <?php
600
  }
601
  }
602
- else {
603
- ?>
604
- <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
605
- <?php
 
 
 
 
 
 
 
 
 
 
 
606
  if($image_content[1] == 1)
607
  {
608
 
@@ -789,10 +800,21 @@
789
  <?php
790
  }
791
  }
792
- else {
793
- ?>
794
- <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
795
- <?php
 
 
 
 
 
 
 
 
 
 
 
796
  if($image_content[1] == 1)
797
  {
798
 
599
  <?php
600
  }
601
  }
602
+ else
603
+ {
604
+ if($pic_detail[$flag]->description == "")
605
+ {
606
+ ?>
607
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>">
608
+ <?php
609
+ }
610
+ else
611
+ {
612
+ ?>
613
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
614
+ <?php
615
+ }
616
+
617
  if($image_content[1] == 1)
618
  {
619
 
800
  <?php
801
  }
802
  }
803
+ else
804
+ {
805
+ if($pic_detail[$flag]->description == "")
806
+ {
807
+ ?>
808
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>">
809
+ <?php
810
+ }
811
+ else
812
+ {
813
+ ?>
814
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
815
+ <?php
816
+ }
817
+
818
  if($image_content[1] == 1)
819
  {
820
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gallery, gallery images, album, foto, fotoalbum, website gallery, multiple
4
 
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
- Stable tag: 2.0.12
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -135,7 +135,11 @@ With this bulk deletion feature, you can now delete the pictures you want in bul
135
 
136
  == Changelog ==
137
 
138
- = 2.0.9 =
 
 
 
 
139
 
140
  * Fixed Bug Related to Description of Images in Internet Explorer
141
 
4
 
5
  Requires at least: 3.0
6
  Tested up to: 3.6
7
+ Stable tag: 2.0.13
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
135
 
136
  == Changelog ==
137
 
138
+ = 2.0.12 =
139
+
140
+ * Few Bugs Fixed
141
+
142
+ = 2.0.11 =
143
 
144
  * Fixed Bug Related to Description of Images in Internet Explorer
145
 
views/album_preview.php CHANGED
@@ -636,9 +636,19 @@
636
  }
637
  else
638
  {
639
- ?>
640
- <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
641
- <?php
 
 
 
 
 
 
 
 
 
 
642
  if($image_content[1] == 1)
643
  {
644
 
@@ -833,9 +843,18 @@
833
  }
834
  else
835
  {
836
- ?>
837
- <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
 
 
838
  <?php
 
 
 
 
 
 
 
839
  if($image_content[1] == 1)
840
  {
841
 
636
  }
637
  else
638
  {
639
+ if($pic_detail[$flag]->description == "")
640
+ {
641
+ ?>
642
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>">
643
+ <?php
644
+ }
645
+ else
646
+ {
647
+ ?>
648
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
649
+ <?php
650
+ }
651
+
652
  if($image_content[1] == 1)
653
  {
654
 
843
  }
844
  else
845
  {
846
+ if($pic_detail[$flag]->description == "")
847
+ {
848
+ ?>
849
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>">
850
  <?php
851
+ }
852
+ else
853
+ {
854
+ ?>
855
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
856
+ <?php
857
+ }
858
  if($image_content[1] == 1)
859
  {
860
 
views/front_view.php CHANGED
@@ -612,10 +612,20 @@
612
  }
613
  }
614
  else
615
- {
616
- ?>
617
- <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
618
- <?php
 
 
 
 
 
 
 
 
 
 
619
  if($image_content[1] == 1)
620
  {
621
 
@@ -804,10 +814,20 @@
804
  }
805
  }
806
  else
807
- {
808
- ?>
809
- <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
810
- <?php
 
 
 
 
 
 
 
 
 
 
811
  if($image_content[1] == 1)
812
  {
813
 
612
  }
613
  }
614
  else
615
+ {
616
+ if($pic_detail[$flag]->description == "")
617
+ {
618
+ ?>
619
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>">
620
+ <?php
621
+ }
622
+ else
623
+ {
624
+ ?>
625
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
626
+ <?php
627
+ }
628
+
629
  if($image_content[1] == 1)
630
  {
631
 
814
  }
815
  }
816
  else
817
+ {
818
+ if($pic_detail[$flag]->description == "")
819
+ {
820
+ ?>
821
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>">
822
+ <?php
823
+ }
824
+ else
825
+ {
826
+ ?>
827
+ <a class="titan-lb_<?php echo $unique_id;?>" data-titan-lightbox="on" data-titan-group="gallery" href="<?php echo stripcslashes($pic_detail[$flag]->pic_path); ?>" title="<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?> (<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->description)); ?>)">
828
+ <?php
829
+ }
830
+
831
  if($image_content[1] == 1)
832
  {
833