Gallery Bank: WordPress Photo Gallery Plugin - Version 4.0.11

Version Description

  • FIX: jQUery Filtree Bugs
  • FIX: Minor Bugs
Download this release

Release Info

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

Code changes from version 4.0.10 to 4.0.11

assets/global/plugins/jqueryFileTree/jqueryFileTree.css CHANGED
@@ -2,225 +2,90 @@ UL.jqueryFileTree {
2
  font-family: Verdana, sans-serif;
3
  font-size: 11px;
4
  line-height: 18px;
5
- padding: 0;
6
- margin: 0;
7
- display: none;
8
  }
 
9
  UL.jqueryFileTree LI {
10
  list-style: none;
11
- padding: 0;
12
  padding-left: 20px;
13
- margin: 0;
14
  white-space: nowrap;
15
  }
16
- UL.jqueryFileTree LI.directory {
17
- background: url(images/directory.png) left top no-repeat;
18
- }
19
- UL.jqueryFileTree LI.directory-locked {
20
- background: url(images/directory-lock.png) left top no-repeat;
21
- }
22
- UL.jqueryFileTree LI.expanded {
23
- background: url(images/folder_open.png) left top no-repeat;
24
- }
25
- UL.jqueryFileTree LI.file {
26
- background: url(images/file.png) left top no-repeat;
27
- }
28
- UL.jqueryFileTree LI.file-locked {
29
- background: url(images/file-lock.png) left top no-repeat !important;
30
- }
31
- UL.jqueryFileTree LI.wait {
32
- background: url(images/spinner.gif) left top no-repeat;
33
- }
34
- UL.jqueryFileTree LI.selected > a {
35
- font-weight: bold;
36
- }
37
- UL.jqueryFileTree LI.ext_3gp {
38
- background: url(images/film.png) left top no-repeat;
39
- }
40
- UL.jqueryFileTree LI.ext_afp {
41
- background: url(images/code.png) left top no-repeat;
42
- }
43
- UL.jqueryFileTree LI.ext_afpa {
44
- background: url(images/code.png) left top no-repeat;
45
- }
46
- UL.jqueryFileTree LI.ext_asp {
47
- background: url(images/code.png) left top no-repeat;
48
- }
49
- UL.jqueryFileTree LI.ext_aspx {
50
- background: url(images/code.png) left top no-repeat;
51
- }
52
- UL.jqueryFileTree LI.ext_avi {
53
- background: url(images/film.png) left top no-repeat;
54
- }
55
- UL.jqueryFileTree LI.ext_bat {
56
- background: url(images/application.png) left top no-repeat;
57
- }
58
- UL.jqueryFileTree LI.ext_bmp {
59
- background: url(images/picture.png) left top no-repeat;
60
- }
61
- UL.jqueryFileTree LI.ext_c {
62
- background: url(images/code.png) left top no-repeat;
63
- }
64
- UL.jqueryFileTree LI.ext_cfm {
65
- background: url(images/code.png) left top no-repeat;
66
- }
67
- UL.jqueryFileTree LI.ext_cgi {
68
- background: url(images/code.png) left top no-repeat;
69
- }
70
- UL.jqueryFileTree LI.ext_com {
71
- background: url(images/application.png) left top no-repeat;
72
- }
73
- UL.jqueryFileTree LI.ext_cpp {
74
- background: url(images/code.png) left top no-repeat;
75
- }
76
- UL.jqueryFileTree LI.ext_css {
77
- background: url(images/css.png) left top no-repeat;
78
- }
79
- UL.jqueryFileTree LI.ext_doc {
80
- background: url(images/doc.png) left top no-repeat;
81
- }
82
- UL.jqueryFileTree LI.ext_exe {
83
- background: url(images/application.png) left top no-repeat;
84
- }
85
- UL.jqueryFileTree LI.ext_gif {
86
- background: url(images/picture.png) left top no-repeat;
87
- }
88
- UL.jqueryFileTree LI.ext_fla {
89
- background: url(images/flash.png) left top no-repeat;
90
- }
91
- UL.jqueryFileTree LI.ext_h {
92
- background: url(images/code.png) left top no-repeat;
93
- }
94
- UL.jqueryFileTree LI.ext_htm {
95
- background: url(images/html.png) left top no-repeat;
96
- }
97
- UL.jqueryFileTree LI.ext_html {
98
- background: url(images/html.png) left top no-repeat;
99
- }
100
- UL.jqueryFileTree LI.ext_jar {
101
- background: url(images/java.png) left top no-repeat;
102
- }
103
- UL.jqueryFileTree LI.ext_jpg {
104
- background: url(images/picture.png) left top no-repeat;
105
- }
106
- UL.jqueryFileTree LI.ext_jpeg {
107
- background: url(images/picture.png) left top no-repeat;
108
- }
109
- UL.jqueryFileTree LI.ext_js {
110
- background: url(images/script.png) left top no-repeat;
111
- }
112
- UL.jqueryFileTree LI.ext_lasso {
113
- background: url(images/code.png) left top no-repeat;
114
- }
115
- UL.jqueryFileTree LI.ext_log {
116
- background: url(images/txt.png) left top no-repeat;
117
- }
118
- UL.jqueryFileTree LI.ext_m4p {
119
- background: url(images/music.png) left top no-repeat;
120
- }
121
- UL.jqueryFileTree LI.ext_mov {
122
- background: url(images/film.png) left top no-repeat;
123
- }
124
- UL.jqueryFileTree LI.ext_mp3 {
125
- background: url(images/music.png) left top no-repeat;
126
- }
127
- UL.jqueryFileTree LI.ext_mp4 {
128
- background: url(images/film.png) left top no-repeat;
129
- }
130
- UL.jqueryFileTree LI.ext_mpg {
131
- background: url(images/film.png) left top no-repeat;
132
- }
133
- UL.jqueryFileTree LI.ext_mpeg {
134
- background: url(images/film.png) left top no-repeat;
135
- }
136
- UL.jqueryFileTree LI.ext_ogg {
137
- background: url(images/music.png) left top no-repeat;
138
- }
139
- UL.jqueryFileTree LI.ext_ogv {
140
- background: url(images/film.png) left top no-repeat;
141
- }
142
- UL.jqueryFileTree LI.ext_pcx {
143
- background: url(images/picture.png) left top no-repeat;
144
- }
145
- UL.jqueryFileTree LI.ext_pdf {
146
- background: url(images/pdf.png) left top no-repeat;
147
- }
148
- UL.jqueryFileTree LI.ext_php {
149
- background: url(images/php.png) left top no-repeat;
150
- }
151
- UL.jqueryFileTree LI.ext_png {
152
- background: url(images/picture.png) left top no-repeat;
153
- }
154
- UL.jqueryFileTree LI.ext_ppt {
155
- background: url(images/ppt.png) left top no-repeat;
156
- }
157
- UL.jqueryFileTree LI.ext_psd {
158
- background: url(images/psd.png) left top no-repeat;
159
- }
160
- UL.jqueryFileTree LI.ext_pl {
161
- background: url(images/script.png) left top no-repeat;
162
- }
163
- UL.jqueryFileTree LI.ext_py {
164
- background: url(images/script.png) left top no-repeat;
165
- }
166
- UL.jqueryFileTree LI.ext_rb {
167
- background: url(images/ruby.png) left top no-repeat;
168
- }
169
- UL.jqueryFileTree LI.ext_rbx {
170
- background: url(images/ruby.png) left top no-repeat;
171
- }
172
- UL.jqueryFileTree LI.ext_rhtml {
173
- background: url(images/ruby.png) left top no-repeat;
174
- }
175
- UL.jqueryFileTree LI.ext_rpm {
176
- background: url(images/linux.png) left top no-repeat;
177
- }
178
- UL.jqueryFileTree LI.ext_ruby {
179
- background: url(images/ruby.png) left top no-repeat;
180
- }
181
- UL.jqueryFileTree LI.ext_sql {
182
- background: url(images/db.png) left top no-repeat;
183
- }
184
- UL.jqueryFileTree LI.ext_swf {
185
- background: url(images/flash.png) left top no-repeat;
186
- }
187
- UL.jqueryFileTree LI.ext_tif {
188
- background: url(images/picture.png) left top no-repeat;
189
- }
190
- UL.jqueryFileTree LI.ext_tiff {
191
- background: url(images/picture.png) left top no-repeat;
192
- }
193
- UL.jqueryFileTree LI.ext_txt {
194
- background: url(images/txt.png) left top no-repeat;
195
- }
196
- UL.jqueryFileTree LI.ext_vb {
197
- background: url(images/code.png) left top no-repeat;
198
- }
199
- UL.jqueryFileTree LI.ext_wav {
200
- background: url(images/music.png) left top no-repeat;
201
- }
202
- UL.jqueryFileTree LI.ext_webm {
203
- background: url(images/film.png) left top no-repeat;
204
- }
205
- UL.jqueryFileTree LI.ext_wmv {
206
- background: url(images/film.png) left top no-repeat;
207
- }
208
- UL.jqueryFileTree LI.ext_xls {
209
- background: url(images/xls.png) left top no-repeat;
210
- }
211
- UL.jqueryFileTree LI.ext_xml {
212
- background: url(images/code.png) left top no-repeat;
213
- }
214
- UL.jqueryFileTree LI.ext_zip {
215
- background: url(images/zip.png) left top no-repeat;
216
- }
217
  UL.jqueryFileTree A {
218
  color: #333;
219
  text-decoration: none;
220
- display: inline-block;
221
- padding: 0 2px;
222
- cursor: pointer;
223
  }
 
224
  UL.jqueryFileTree A:hover {
225
  background: #BDF;
226
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  font-family: Verdana, sans-serif;
3
  font-size: 11px;
4
  line-height: 18px;
5
+ padding: 0px;
6
+ margin: 0px;
 
7
  }
8
+
9
  UL.jqueryFileTree LI {
10
  list-style: none;
11
+ padding: 0px;
12
  padding-left: 20px;
13
+ margin: 0px;
14
  white-space: nowrap;
15
  }
16
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  UL.jqueryFileTree A {
18
  color: #333;
19
  text-decoration: none;
20
+ display: block;
21
+ padding: 0px 2px;
 
22
  }
23
+
24
  UL.jqueryFileTree A:hover {
25
  background: #BDF;
26
  }
27
+
28
+ /* Core Styles */
29
+ .jqueryFileTree LI.directory { background: url(images/directory.png) left top no-repeat; }
30
+ .jqueryFileTree LI.expanded { background: url(images/folder_open.png) left top no-repeat; }
31
+ .jqueryFileTree LI.file { background: url(images/file.png) left top no-repeat; }
32
+ .jqueryFileTree LI.wait { background: url(images/spinner.gif) left top no-repeat; }
33
+ /* File Extensions*/
34
+ .jqueryFileTree LI.ext_3gp { background: url(images/film.png) left top no-repeat; }
35
+ .jqueryFileTree LI.ext_afp { background: url(images/code.png) left top no-repeat; }
36
+ .jqueryFileTree LI.ext_afpa { background: url(images/code.png) left top no-repeat; }
37
+ .jqueryFileTree LI.ext_asp { background: url(images/code.png) left top no-repeat; }
38
+ .jqueryFileTree LI.ext_aspx { background: url(images/code.png) left top no-repeat; }
39
+ .jqueryFileTree LI.ext_avi { background: url(images/film.png) left top no-repeat; }
40
+ .jqueryFileTree LI.ext_bat { background: url(images/application.png) left top no-repeat; }
41
+ .jqueryFileTree LI.ext_bmp { background: url(images/picture.png) left top no-repeat; }
42
+ .jqueryFileTree LI.ext_c { background: url(images/code.png) left top no-repeat; }
43
+ .jqueryFileTree LI.ext_cfm { background: url(images/code.png) left top no-repeat; }
44
+ .jqueryFileTree LI.ext_cgi { background: url(images/code.png) left top no-repeat; }
45
+ .jqueryFileTree LI.ext_com { background: url(images/application.png) left top no-repeat; }
46
+ .jqueryFileTree LI.ext_cpp { background: url(images/code.png) left top no-repeat; }
47
+ .jqueryFileTree LI.ext_css { background: url(images/css.png) left top no-repeat; }
48
+ .jqueryFileTree LI.ext_doc { background: url(images/doc.png) left top no-repeat; }
49
+ .jqueryFileTree LI.ext_exe { background: url(images/application.png) left top no-repeat; }
50
+ .jqueryFileTree LI.ext_gif { background: url(images/picture.png) left top no-repeat; }
51
+ .jqueryFileTree LI.ext_fla { background: url(images/flash.png) left top no-repeat; }
52
+ .jqueryFileTree LI.ext_h { background: url(images/code.png) left top no-repeat; }
53
+ .jqueryFileTree LI.ext_htm { background: url(images/html.png) left top no-repeat; }
54
+ .jqueryFileTree LI.ext_html { background: url(images/html.png) left top no-repeat; }
55
+ .jqueryFileTree LI.ext_jar { background: url(images/java.png) left top no-repeat; }
56
+ .jqueryFileTree LI.ext_jpg { background: url(images/picture.png) left top no-repeat; }
57
+ .jqueryFileTree LI.ext_jpeg { background: url(images/picture.png) left top no-repeat; }
58
+ .jqueryFileTree LI.ext_js { background: url(images/script.png) left top no-repeat; }
59
+ .jqueryFileTree LI.ext_lasso { background: url(images/code.png) left top no-repeat; }
60
+ .jqueryFileTree LI.ext_log { background: url(images/txt.png) left top no-repeat; }
61
+ .jqueryFileTree LI.ext_m4p { background: url(images/music.png) left top no-repeat; }
62
+ .jqueryFileTree LI.ext_mov { background: url(images/film.png) left top no-repeat; }
63
+ .jqueryFileTree LI.ext_mp3 { background: url(images/music.png) left top no-repeat; }
64
+ .jqueryFileTree LI.ext_mp4 { background: url(images/film.png) left top no-repeat; }
65
+ .jqueryFileTree LI.ext_mpg { background: url(images/film.png) left top no-repeat; }
66
+ .jqueryFileTree LI.ext_mpeg { background: url(images/film.png) left top no-repeat; }
67
+ .jqueryFileTree LI.ext_ogg { background: url(images/music.png) left top no-repeat; }
68
+ .jqueryFileTree LI.ext_pcx { background: url(images/picture.png) left top no-repeat; }
69
+ .jqueryFileTree LI.ext_pdf { background: url(images/pdf.png) left top no-repeat; }
70
+ .jqueryFileTree LI.ext_php { background: url(images/php.png) left top no-repeat; }
71
+ .jqueryFileTree LI.ext_png { background: url(images/picture.png) left top no-repeat; }
72
+ .jqueryFileTree LI.ext_ppt { background: url(images/ppt.png) left top no-repeat; }
73
+ .jqueryFileTree LI.ext_psd { background: url(images/psd.png) left top no-repeat; }
74
+ .jqueryFileTree LI.ext_pl { background: url(images/script.png) left top no-repeat; }
75
+ .jqueryFileTree LI.ext_py { background: url(images/script.png) left top no-repeat; }
76
+ .jqueryFileTree LI.ext_rb { background: url(images/ruby.png) left top no-repeat; }
77
+ .jqueryFileTree LI.ext_rbx { background: url(images/ruby.png) left top no-repeat; }
78
+ .jqueryFileTree LI.ext_rhtml { background: url(images/ruby.png) left top no-repeat; }
79
+ .jqueryFileTree LI.ext_rpm { background: url(images/linux.png) left top no-repeat; }
80
+ .jqueryFileTree LI.ext_ruby { background: url(images/ruby.png) left top no-repeat; }
81
+ .jqueryFileTree LI.ext_sql { background: url(images/db.png) left top no-repeat; }
82
+ .jqueryFileTree LI.ext_swf { background: url(images/flash.png) left top no-repeat; }
83
+ .jqueryFileTree LI.ext_tif { background: url(images/picture.png) left top no-repeat; }
84
+ .jqueryFileTree LI.ext_tiff { background: url(images/picture.png) left top no-repeat; }
85
+ .jqueryFileTree LI.ext_txt { background: url(images/txt.png) left top no-repeat; }
86
+ .jqueryFileTree LI.ext_vb { background: url(images/code.png) left top no-repeat; }
87
+ .jqueryFileTree LI.ext_wav { background: url(images/music.png) left top no-repeat; }
88
+ .jqueryFileTree LI.ext_wmv { background: url(images/film.png) left top no-repeat; }
89
+ .jqueryFileTree LI.ext_xls { background: url(images/xls.png) left top no-repeat; }
90
+ .jqueryFileTree LI.ext_xml { background: url(images/code.png) left top no-repeat; }
91
+ .jqueryFileTree LI.ext_zip { background: url(images/zip.png) left top no-repeat; }
assets/global/plugins/jqueryFileTree/jqueryFileTree.js CHANGED
@@ -1,223 +1,115 @@
1
- /*
2
- * jQueryFileTree Plugin
3
- *
4
- * @author - Cory S.N. LaViska - A Beautiful Site (http://abeautifulsite.net/) - 24 March 2008
5
- * @author - Dave Rogers - (https://github.com/daverogers/)
6
- *
7
- * Usage: $('.fileTreeDemo').fileTree({ options }, callback )
8
- *
9
- * TERMS OF USE
10
- *
11
- * This plugin is dual-licensed under the GNU General Public License and the MIT License and
12
- * is copyright 2008 A Beautiful Site, LLC.
13
- */
14
- var bind = function (fn, me) {
15
- return function () {
16
- return fn.apply(me, arguments);
17
- };
18
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
- (function ($, window) {
21
- var FileTree;
22
- FileTree = (function () {
23
- function FileTree(el, args, callback) {
24
- this.onEvent = bind(this.onEvent, this);
25
- var $el, _this, defaults;
26
- $el = $(el);
27
- _this = this;
28
- defaults = {
29
- root: '/',
30
- script: '/files/filetree',
31
- folderEvent: 'click',
32
- expandSpeed: 500,
33
- collapseSpeed: 500,
34
- expandEasing: 'swing',
35
- collapseEasing: 'swing',
36
- multiFolder: true,
37
- loadMessage: 'Loading...',
38
- errorMessage: 'Unable to get file tree information',
39
- multiSelect: false,
40
- onlyFolders: false,
41
- onlyFiles: false
42
- };
43
- this.jqft = {
44
- container: $el
45
- };
46
- this.options = $.extend(defaults, args);
47
- this.callback = callback;
48
- this.data = {};
49
- $el.html('<ul class="jqueryFileTree start"><li class="wait">' + this.options.loadMessage + '<li></ul>');
50
- _this.showTree($el, escape(this.options.root), function () {
51
- return _this._trigger('filetreeinitiated', {
52
- options: _this.options
53
- });
54
- });
55
- $el.delegate("li a", this.options.folderEvent, _this.onEvent);
56
- }
57
 
58
- FileTree.prototype.onEvent = function (event) {
59
- var $ev, _this, callback, jqft, options, ref, prevent;
60
- $ev = $(event.target);
61
- options = this.options;
62
- jqft = this.jqft;
63
- _this = this;
64
- callback = this.callback;
65
- _this.data = {};
66
- _this.data.li = $ev.closest('li');
67
- _this.data.type = (ref = _this.data.li.hasClass('directory')) != null ? ref : {
68
- 'directory': 'file'
69
- };
70
- _this.data.value = $ev.text();
71
- _this.data.rel = $ev.prop('rel');
72
- _this.data.container = jqft.container;
73
- _this.data.options = _this.options;
74
- prevent = _this._trigger('filetreeclick', _this.data);
75
- if (prevent === true) {
76
- return false;
77
- }
78
- if ($ev.parent().hasClass('directory')) {
79
- if ($ev.parent().hasClass('collapsed')) {
80
- if (!options.multiFolder) {
81
- $ev.parent().parent().find('UL').slideUp({
82
- duration: options.collapseSpeed,
83
- easing: options.collapseEasing
84
  });
85
- $ev.parent().parent().find('LI.directory').removeClass('expanded').addClass('collapsed');
86
- }
87
- $ev.parent().removeClass('collapsed').addClass('expanded');
88
- $ev.parent().find('UL').remove();
89
- return _this.showTree($ev.parent(), $ev.attr('rel'), function () {
90
- _this._trigger('filetreeexpanded', _this.data);
91
- return callback != null;
92
- });
93
- } else {
94
- return $ev.parent().find('UL').slideUp({
95
- duration: options.collapseSpeed,
96
- easing: options.collapseEasing,
97
- start: function () {
98
- return _this._trigger('filetreecollapse', _this.data);
99
- },
100
- complete: function () {
101
- $ev.parent().removeClass('expanded').addClass('collapsed');
102
- _this._trigger('filetreecollapsed', _this.data);
103
- return callback != null;
104
- }
105
- });
106
- }
107
- } else {
108
- if (!options.multiSelect) {
109
- jqft.container.find('li').removeClass('selected');
110
- $ev.parent().addClass('selected');
111
- } else {
112
- if ($ev.parent().find('input').is(':checked')) {
113
- $ev.parent().find('input').prop('checked', false);
114
- $ev.parent().removeClass('selected');
115
- } else {
116
- $ev.parent().find('input').prop('checked', true);
117
- $ev.parent().addClass('selected');
118
  }
119
- }
120
- _this._trigger('filetreeclicked', _this.data);
121
- return typeof callback === "function" ? callback($ev.attr('rel')) : void 0;
122
- }
123
- };
124
 
125
- FileTree.prototype.showTree = function (el, dir, finishCallback) {
126
- var $el, _this, data, handleFail, handleResult, options, result;
127
- $el = $(el);
128
- options = this.options;
129
- _this = this;
130
- $el.addClass('wait');
131
- $(".jqueryFileTree.start").remove();
132
- data = {
133
- dir: dir,
134
- onlyFolders: options.onlyFolders,
135
- onlyFiles: options.onlyFiles,
136
- multiSelect: options.multiSelect
137
- };
138
- handleResult = function (result) {
139
- var li;
140
- $el.find('.start').html('');
141
- $el.removeClass('wait').append(result);
142
- if (options.root === dir) {
143
- $el.find('UL:hidden').show();
144
- finishCallback();
145
- } else {
146
- if (jQuery.easing[options.expandEasing] === void 0) {
147
- console.log('Easing library not loaded. Include jQueryUI or 3rd party lib.');
148
- options.expandEasing = 'swing';
 
 
 
 
 
 
149
  }
150
- $el.find('UL:hidden').slideDown({
151
- duration: options.expandSpeed,
152
- easing: options.expandEasing,
153
- start: function () {
154
- return _this._trigger('filetreeexpand', _this.data);
155
- },
156
- complete: finishCallback
157
- });
158
- }
159
- li = $('[rel="' + decodeURIComponent(dir) + '"]').parent();
160
- if (options.multiSelect && li.children('input').is(':checked')) {
161
- li.find('ul li input').each(function () {
162
- $(this).prop('checked', true);
163
- return $(this).parent().addClass('selected');
164
- });
165
- }
166
- return false;
167
- };
168
- handleFail = function () {
169
- $el.find('.start').html('');
170
- $el.removeClass('wait');
171
- if (options.errorMessage) {
172
- $el.append("<p>" + options.errorMessage + "</p>");
173
- } else {
174
- $el.removeClass('expanded').addClass('collapsed');
175
- }
176
- return false;
177
- };
178
- if (typeof options.script === 'function') {
179
- result = options.script(data);
180
- if (typeof result === 'string' || result instanceof jQuery) {
181
- return handleResult(result);
182
- } else {
183
- return handleFail();
184
- }
185
- } else {
186
- return $.ajax({
187
- url: options.script,
188
- type: 'POST',
189
- dataType: 'HTML',
190
- data: data
191
- }).done(function (result) {
192
- return handleResult(result);
193
- }).fail(function () {
194
- return handleFail();
195
  });
196
  }
197
- };
198
-
199
- FileTree.prototype._trigger = function (eventType, data) {
200
- var $el;
201
- $el = this.jqft.container;
202
- return $el.triggerHandler(eventType, data);
203
- };
204
-
205
- return FileTree;
206
 
207
- })();
208
- return $.fn.extend({
209
- fileTree: function (args, callback) {
210
- return this.each(function () {
211
- var $this, data;
212
- $this = $(this);
213
- data = $this.data('fileTree');
214
- if (!data) {
215
- $this.data('fileTree', (data = new FileTree(this, args, callback)));
216
- }
217
- if (typeof args === 'string') {
218
- return data[option].apply(data);
219
- }
220
- });
221
- }
222
- });
223
- })(window.jQuery, window);
1
+ // jQuery File Tree Plugin
2
+ //
3
+ // Version 1.01
4
+ //
5
+ // Cory S.N. LaViska
6
+ // A Beautiful Site (http://abeautifulsite.net/)
7
+ // 24 March 2008
8
+ //
9
+ // Visit http://abeautifulsite.net/notebook.php?article=58 for more information
10
+ //
11
+ // Usage: $('.fileTreeDemo').fileTree( options, callback )
12
+ //
13
+ // Options: root - root folder to display; default = /
14
+ // script - location of the serverside AJAX file to use; default = jqueryFileTree.php
15
+ // folderEvent - event to trigger expand/collapse; default = click
16
+ // expandSpeed - default = 500 (ms); use -1 for no animation
17
+ // collapseSpeed - default = 500 (ms); use -1 for no animation
18
+ // expandEasing - easing function to use on expand (optional)
19
+ // collapseEasing - easing function to use on collapse (optional)
20
+ // multiFolder - whether or not to limit the browser to one subfolder at a time
21
+ // loadMessage - Message to display while initial tree loads (can be HTML)
22
+ //
23
+ // History:
24
+ //
25
+ // 1.01 - updated to work with foreign characters in directory/file names (12 April 2008)
26
+ // 1.00 - released (24 March 2008)
27
+ //
28
+ // TERMS OF USE
29
+ //
30
+ // This plugin is dual-licensed under the GNU General Public License and the MIT License and
31
+ // is copyright 2008 A Beautiful Site, LLC.
32
+ //
33
+ if (jQuery)
34
+ (function ($) {
35
 
36
+ $.extend($.fn, {
37
+ fileTree: function (o, h) {
38
+ // Defaults
39
+ if (!o)
40
+ var o = {};
41
+ if (o.root == undefined)
42
+ o.root = '/';
43
+ if (o.script == undefined)
44
+ o.script = 'jqueryFileTree.php';
45
+ if (o.folderEvent == undefined)
46
+ o.folderEvent = 'click';
47
+ if (o.expandSpeed == undefined)
48
+ o.expandSpeed = -1;
49
+ if (o.collapseSpeed == undefined)
50
+ o.collapseSpeed = -1;
51
+ if (o.expandEasing == undefined)
52
+ o.expandEasing = null;
53
+ if (o.collapseEasing == undefined)
54
+ o.collapseEasing = null;
55
+ if (o.multiFolder == undefined)
56
+ o.multiFolder = true;
57
+ if (o.loadMessage == undefined)
58
+ o.loadMessage = 'Loading...';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
+ $(this).each(function () {
61
+
62
+ function showTree(c, t) {
63
+ $(c).addClass('wait');
64
+ $(".jqueryFileTree.start").remove();
65
+ $.post(o.script, {dir: t}, function (data) {
66
+ $(c).find('.start').html('');
67
+ $(c).removeClass('wait').append(data);
68
+ if (o.root == t)
69
+ $(c).find('UL:hidden').show();
70
+ else
71
+ $(c).find('UL:hidden').slideDown({duration: o.expandSpeed, easing: o.expandEasing});
72
+ bindTree(c);
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
 
 
 
 
 
75
 
76
+ function bindTree(t) {
77
+ $(t).find('LI A').bind(o.folderEvent, function () {
78
+ if ($(this).parent().hasClass('directory')) {
79
+ if ($(this).parent().hasClass('collapsed')) {
80
+ // Expand
81
+ if (!o.multiFolder) {
82
+ $(this).parent().parent().find('UL').slideUp({duration: o.collapseSpeed, easing: o.collapseEasing});
83
+ $(this).parent().parent().find('LI.directory').removeClass('expanded').addClass('collapsed');
84
+ }
85
+ $(this).parent().find('UL').remove(); // cleanup
86
+ showTree($(this).parent(), escape($(this).attr('rel').match(/.*\//)));
87
+ $(this).parent().removeClass('collapsed').addClass('expanded');
88
+ } else {
89
+ // Collapse
90
+ $(this).parent().find('UL').slideUp({duration: o.collapseSpeed, easing: o.collapseEasing});
91
+ $(this).parent().removeClass('expanded').addClass('collapsed');
92
+ }
93
+ } else {
94
+ h($(this).attr('rel'));
95
+ }
96
+ return false;
97
+ });
98
+ // Prevent A from triggering the # on non-click events
99
+ if (o.folderEvent.toLowerCase != 'click')
100
+ $(t).find('LI A').bind('click', function () {
101
+ h($(this).attr('rel'));
102
+ //$(this).parents('#ux_wp_dir_browser').find('.active').removeClass('active');
103
+ //$(this).parent().addClass('active');
104
+ return false;
105
+ });
106
  }
107
+ // Loading message
108
+ $(this).html('<ul class="jqueryFileTree start"><li class="wait">' + o.loadMessage + '<li></ul>');
109
+ // Get the initial file list
110
+ showTree($(this), escape(o.root));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  });
112
  }
113
+ });
 
 
 
 
 
 
 
 
114
 
115
+ })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gallery-bank.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Photo Gallery Plugin for WordPress. Creates elegant responsive gallery widget, image gallery, media gallery, portfolio gallery and albums.
6
  * Author: Tech Banker
7
  * Author URI: https://gallery-bank.tech-banker.com
8
- * Version: 4.0.10
9
  * License: GPLv3
10
  * Text Domain: gallery-bank
11
  * Domain Path: /languages
5
  * Description: Photo Gallery Plugin for WordPress. Creates elegant responsive gallery widget, image gallery, media gallery, portfolio gallery and albums.
6
  * Author: Tech Banker
7
  * Author URI: https://gallery-bank.tech-banker.com
8
+ * Version: 4.0.11
9
  * License: GPLv3
10
  * Text Domain: gallery-bank
11
  * Domain Path: /languages
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
- === Gallery - Photo Gallery - Image Gallery - Photo Albums - WordPress Gallery Plugin ===
2
  Contributors: gallery-bank, contact-banker
3
  Donate link: https://gallery-bank.tech-banker.com/
4
- Tags: album, fancy gallery, fullscreen gallery, gallery, gallery lightbox, gallery plugin, gallery widget, grid gallery, image gallery, images, masonry gallery, media gallery, mosaic gallery, photo album, photo gallery, portfolio gallery, responsive gallery, thumbnail gallery, wordpress gallery, wordpress gallery plugin
5
  Requires at least: 3.3
6
  Tested up to: 4.9
7
  Stable tag: trunk
@@ -2479,6 +2479,11 @@ The following set of lists are the minimum requirements for installing Gallery B
2479
 
2480
  == Changelog ==
2481
 
 
 
 
 
 
2482
  = 4.0.10 =
2483
 
2484
  * TWEAK: PL Uploader updated to 2.3.1
1
+ === Gallery, Photo Gallery, Image Gallery, Photo Albums - WordPress Gallery Plugin ===
2
  Contributors: gallery-bank, contact-banker
3
  Donate link: https://gallery-bank.tech-banker.com/
4
+ Tags: gallery, photo gallery, gallery lightbox, gallery plugin, gallery widget, grid gallery, image gallery, images images, masonry gallery, media gallery, mosaic gallery, photo album, portfolio gallery, responsive gallery, thumbnail gallery, wordpress gallery, wordpress gallery plugin, album, fancy gallery
5
  Requires at least: 3.3
6
  Tested up to: 4.9
7
  Stable tag: trunk
2479
 
2480
  == Changelog ==
2481
 
2482
+ = 4.0.11 =
2483
+
2484
+ * FIX: jQUery Filtree Bugs
2485
+ * FIX: Minor Bugs
2486
+
2487
  = 4.0.10 =
2488
 
2489
  * TWEAK: PL Uploader updated to 2.3.1
views/premium-editions/premium-editions.php CHANGED
@@ -1488,7 +1488,7 @@ if (!is_user_logged_in()) {
1488
  <div class="gw-go-header-top">
1489
  <h3>PERSONAL</h3></div>
1490
  <div class="gw-go-header-bottom">
1491
- <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="29"><span data-id="currency">$</span><span data-id="amount">29</span></span><small>One Time Purchase</small></div>
1492
  </div>
1493
  </div>
1494
  <ul class="gw-go-body">
@@ -1757,7 +1757,7 @@ if (!is_user_logged_in()) {
1757
  <div class="gw-go-header-top">
1758
  <h3>BUSINESS</h3></div>
1759
  <div class="gw-go-header-bottom">
1760
- <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="38"><span data-id="currency">$</span><span data-id="amount">38</span></span><small>One Time Purchase</small></div>
1761
  </div>
1762
  </div>
1763
  <ul class="gw-go-body">
@@ -2025,7 +2025,7 @@ if (!is_user_logged_in()) {
2025
  <div class="gw-go-header-top">
2026
  <h3>DEVELOPER</h3></div>
2027
  <div class="gw-go-header-bottom">
2028
- <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="146"><span data-id="currency">$</span><span data-id="amount">146</span></span><small>One Time Purchase</small></div>
2029
  </div>
2030
  </div>
2031
  <ul class="gw-go-body">
1488
  <div class="gw-go-header-top">
1489
  <h3>PERSONAL</h3></div>
1490
  <div class="gw-go-header-bottom">
1491
+ <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="29"><span data-id="currency">€</span><span data-id="amount">29</span></span><small>One Time Purchase</small></div>
1492
  </div>
1493
  </div>
1494
  <ul class="gw-go-body">
1757
  <div class="gw-go-header-top">
1758
  <h3>BUSINESS</h3></div>
1759
  <div class="gw-go-header-bottom">
1760
+ <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="33"><span data-id="currency">€</span><span data-id="amount">33</span></span><small>One Time Purchase</small></div>
1761
  </div>
1762
  </div>
1763
  <ul class="gw-go-body">
2025
  <div class="gw-go-header-top">
2026
  <h3>DEVELOPER</h3></div>
2027
  <div class="gw-go-header-bottom">
2028
+ <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="129"><span data-id="currency">€</span><span data-id="amount">129</span></span><small>One Time Purchase</small></div>
2029
  </div>
2030
  </div>
2031
  <ul class="gw-go-body">
views/wizard/wizard.php CHANGED
@@ -1574,7 +1574,7 @@ if (!is_user_logged_in()) {
1574
  <div class="gw-go-header-top">
1575
  <h3>PERSONAL</h3></div>
1576
  <div class="gw-go-header-bottom">
1577
- <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="29"><span data-id="currency">$</span><span data-id="amount">29</span></span><small>One Time Purchase</small></div>
1578
  </div>
1579
  </div>
1580
  <ul class="gw-go-body">
@@ -1588,7 +1588,7 @@ if (!is_user_logged_in()) {
1588
  <div class="gw-go-body-cell" style="height: 19px;">1 Installation per License</div>
1589
  </li>
1590
  <li class="gw-go-even" data-row-index="3">
1591
- <div class="gw-go-body-cell" style="height: 37px;">1 week of Technical Support</div>
1592
  </li>
1593
  <li data-row-index="4">
1594
  <div class="gw-go-body-cell" style="height: 19px;">1 year of Free Updates</div>
@@ -1843,7 +1843,7 @@ if (!is_user_logged_in()) {
1843
  <div class="gw-go-header-top">
1844
  <h3>BUSINESS</h3></div>
1845
  <div class="gw-go-header-bottom">
1846
- <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="38"><span data-id="currency">$</span><span data-id="amount">38</span></span><small>One Time Purchase</small></div>
1847
  </div>
1848
  </div>
1849
  <ul class="gw-go-body">
@@ -2111,7 +2111,7 @@ if (!is_user_logged_in()) {
2111
  <div class="gw-go-header-top">
2112
  <h3>DEVELOPER</h3></div>
2113
  <div class="gw-go-header-bottom">
2114
- <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="146"><span data-id="currency">$</span><span data-id="amount">146</span></span><small>One Time Purchase</small></div>
2115
  </div>
2116
  </div>
2117
  <ul class="gw-go-body">
1574
  <div class="gw-go-header-top">
1575
  <h3>PERSONAL</h3></div>
1576
  <div class="gw-go-header-bottom">
1577
+ <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="29"><span data-id="currency">€</span><span data-id="amount">29</span></span><small>One Time Purchase</small></div>
1578
  </div>
1579
  </div>
1580
  <ul class="gw-go-body">
1588
  <div class="gw-go-body-cell" style="height: 19px;">1 Installation per License</div>
1589
  </li>
1590
  <li class="gw-go-even" data-row-index="3">
1591
+ <div class="gw-go-body-cell" style="height: 19px;">1 week of Technical Support</div>
1592
  </li>
1593
  <li data-row-index="4">
1594
  <div class="gw-go-body-cell" style="height: 19px;">1 year of Free Updates</div>
1843
  <div class="gw-go-header-top">
1844
  <h3>BUSINESS</h3></div>
1845
  <div class="gw-go-header-bottom">
1846
+ <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="33"><span data-id="currency">€</span><span data-id="amount">33</span></span><small>One Time Purchase</small></div>
1847
  </div>
1848
  </div>
1849
  <ul class="gw-go-body">
2111
  <div class="gw-go-header-top">
2112
  <h3>DEVELOPER</h3></div>
2113
  <div class="gw-go-header-bottom">
2114
+ <div class="gw-go-price-wrap"><span data-id="price" data-currency="{&quot;currency&quot;:&quot;USD&quot;,&quot;position&quot;:&quot;left&quot;,&quot;thousand-sep&quot;:&quot;,&quot;,&quot;decimal-sep&quot;:&quot;.&quot;,&quot;decimal-no&quot;:2}" data-price="129"><span data-id="currency">€</span><span data-id="amount">129</span></span><small>One Time Purchase</small></div>
2115
  </div>
2116
  </div>
2117
  <ul class="gw-go-body">