Version Description
Download this release
Release Info
Developer | contact-banker |
Plugin | Gallery Bank: WordPress Photo Gallery Plugin |
Version | 3.1.31 |
Comparing to | |
See all releases |
Code changes from version 3.1.30 to 3.1.31
- gallery-bank.php +1 -1
- readme.txt +9 -2
- views/header.php +16 -47
gallery-bank.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Gallery Bank Lite Edition
|
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
|
6 |
Author: Tech Banker
|
7 |
-
Version: 3.1.
|
8 |
Author URI: http://tech-banker.com
|
9 |
License: GPLv3 or later
|
10 |
*/
|
4 |
Plugin URI: http://tech-banker.com
|
5 |
Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
|
6 |
Author: Tech Banker
|
7 |
+
Version: 3.1.31
|
8 |
Author URI: http://tech-banker.com
|
9 |
License: GPLv3 or later
|
10 |
*/
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Gallery Bank - Photo Galleries & Albums ===
|
2 |
Contributors: Gallery-Bank,contact-banker
|
3 |
-
Tags:
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 3.1.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -500,6 +500,13 @@ is False in shortcode.
|
|
500 |
|
501 |
== Changelog ==
|
502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
= 3.1.30 =
|
504 |
|
505 |
* Major Bug Fixed Related to Re-generate of Thumbnails on Edit Album
|
1 |
=== Gallery Bank - Photo Galleries & Albums ===
|
2 |
Contributors: Gallery-Bank,contact-banker
|
3 |
+
Tags: album, gallery, image, image gallery, images, lightbox, photo, photo gallery, photos, responsive, thumbnail, widget, best gallery plugin, filterable gallery, gallery bank, responsive gallery, photo gallery
|
4 |
Requires at least: 3.4
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 3.1.31
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
500 |
|
501 |
== Changelog ==
|
502 |
|
503 |
+
= 3.0.31 =
|
504 |
+
|
505 |
+
* Obsolete Code removed
|
506 |
+
* Unused Files removed
|
507 |
+
* Code Optimized
|
508 |
+
* Translation File Updated
|
509 |
+
|
510 |
= 3.1.30 =
|
511 |
|
512 |
* Major Bug Fixed Related to Re-generate of Thumbnails on Edit Album
|
views/header.php
CHANGED
@@ -18,17 +18,6 @@ if (!current_user_can($user_role_permission))
|
|
18 |
}
|
19 |
else
|
20 |
{
|
21 |
-
$gb_lang = array();
|
22 |
-
$gb_translated_lang = array();
|
23 |
-
|
24 |
-
array_push($gb_lang, "bg_BG", "ms_MY", "sq", "sr_RS");
|
25 |
-
|
26 |
-
array_push($gb_translated_lang,"ar","be_BY","et","fi","ja","ko_KR","nb_NO","no","fr_BE","fr_CA","fr_CH","fr_FR","ru_RU","ru_UA","en_US","en_GB","es_ES","es_CL","es_PE",
|
27 |
-
"es_PR","es_VE","es_CO","nl_NL","nl_BE","hu_HU","de_DE","pt_BR","pt_PT","he_IL","it_IT","da_DK","pl_PL","sv_SE","zh_CN","zh_HK",
|
28 |
-
"zh_sg","zh_TW","zh","cs_CZ","sk_SK","el","hr","sl_SL","id_ID","ro_RO","nn_NO","uk","sl_SL", "th","tr_TR");
|
29 |
-
|
30 |
-
$language = get_locale();
|
31 |
-
|
32 |
if(!function_exists("check_server_configuration"))
|
33 |
{
|
34 |
function check_server_configuration( $con = true, $x = "0", $y = "0" )
|
@@ -97,13 +86,13 @@ else
|
|
97 |
{
|
98 |
case "k":
|
99 |
$value_string *= 1024;
|
100 |
-
|
101 |
case "m":
|
102 |
$value_string *= 1048576;
|
103 |
-
|
104 |
case "g":
|
105 |
$value_string *= 1073741824;
|
106 |
-
|
107 |
}
|
108 |
return max("0", $value_string);
|
109 |
}
|
@@ -121,17 +110,19 @@ else
|
|
121 |
}
|
122 |
if(!function_exists("gallery_get_minisize"))
|
123 |
{
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
|
|
131 |
}
|
|
|
132 |
}
|
133 |
-
return TRUE;
|
134 |
-
}
|
135 |
}
|
136 |
?>
|
137 |
<div id="welcome-panel" class="welcome-panel" style="padding:0px !important;background-color: #f9f9f9 !important">
|
@@ -361,29 +352,7 @@ else
|
|
361 |
</div>
|
362 |
<?php
|
363 |
}
|
364 |
-
|
365 |
-
{
|
366 |
-
?>
|
367 |
-
<div class="custom-message red" style="display: block;margin-top:30px">
|
368 |
-
<div style="padding: 4px 0;">
|
369 |
-
<p style="font:12px/1.0em Arial !important;font-weight:bold;">This plugin language is translated with the help of Google Translator.</p>
|
370 |
-
<p style="font:12px/1.0em Arial !important;">If you would like to translate & help us, we will reward you with a free Eco Version License of Gallery Bank.</p>
|
371 |
-
<p style="font:12px/1.0em Arial !important;">Contact Us at <a target="_blank" href="http://tech-banker.com">http://tech-banker.com</a> or email us at <a href="mailto:support@tech-banker.com">support@tech-banker.com</a></p>
|
372 |
-
</div>
|
373 |
-
</div>
|
374 |
-
<?php
|
375 |
-
}
|
376 |
-
elseif(!(in_array($language, $gb_translated_lang)) && !(in_array($language, $gb_lang)) && $language != "")
|
377 |
-
{
|
378 |
-
?>
|
379 |
-
<div class="custom-message red" style="display: block;margin-top:30px">
|
380 |
-
<div style="padding: 4px 0;">
|
381 |
-
<p style="font:12px/1.0em Arial !important;font-weight:bold;">If you would like to translate Gallery Bank in your native language, we will reward you with a free Eco Version License of Gallery Bank.</p>
|
382 |
-
<p style="font:12px/1.0em Arial !important;">Contact Us at <a target="_blank" href="http://tech-banker.com">http://tech-banker.com</a> or email us at <a href="mailto:support@tech-banker.com">support@tech-banker.com</a></p>
|
383 |
-
</div>
|
384 |
-
</div>
|
385 |
-
<?php
|
386 |
-
}
|
387 |
if (!(is_dir(GALLERY_MAIN_THUMB_DIR)))
|
388 |
{
|
389 |
if(!(is_dir_empty(GALLERY_MAIN_THUMB_DIR)))
|
@@ -397,7 +366,7 @@ else
|
|
397 |
<?php
|
398 |
}
|
399 |
}
|
400 |
-
|
401 |
}
|
402 |
}
|
403 |
?>
|
18 |
}
|
19 |
else
|
20 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
if(!function_exists("check_server_configuration"))
|
22 |
{
|
23 |
function check_server_configuration( $con = true, $x = "0", $y = "0" )
|
86 |
{
|
87 |
case "k":
|
88 |
$value_string *= 1024;
|
89 |
+
break;
|
90 |
case "m":
|
91 |
$value_string *= 1048576;
|
92 |
+
break;
|
93 |
case "g":
|
94 |
$value_string *= 1073741824;
|
95 |
+
break;
|
96 |
}
|
97 |
return max("0", $value_string);
|
98 |
}
|
110 |
}
|
111 |
if(!function_exists("gallery_get_minisize"))
|
112 |
{
|
113 |
+
function is_dir_empty($dir)
|
114 |
+
{
|
115 |
+
if (!is_readable($dir)) return NULL;
|
116 |
+
$handle = opendir($dir);
|
117 |
+
while (false !== ($entry = readdir($handle)))
|
118 |
+
{
|
119 |
+
if ($entry != "." && $entry != "..")
|
120 |
+
{
|
121 |
+
return FALSE;
|
122 |
+
}
|
123 |
}
|
124 |
+
return TRUE;
|
125 |
}
|
|
|
|
|
126 |
}
|
127 |
?>
|
128 |
<div id="welcome-panel" class="welcome-panel" style="padding:0px !important;background-color: #f9f9f9 !important">
|
352 |
</div>
|
353 |
<?php
|
354 |
}
|
355 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
356 |
if (!(is_dir(GALLERY_MAIN_THUMB_DIR)))
|
357 |
{
|
358 |
if(!(is_dir_empty(GALLERY_MAIN_THUMB_DIR)))
|
366 |
<?php
|
367 |
}
|
368 |
}
|
369 |
+
|
370 |
}
|
371 |
}
|
372 |
?>
|