Gallery Bank: WordPress Photo Gallery Plugin - Version 3.0.37

Version Description

  • Major Bug Fixed related to Saving of Images
  • Major Bug Fixed related to Editing of existing Albums
Download this release

Release Info

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

Code changes from version 3.0.36 to 3.0.37

.idea/.name ADDED
@@ -0,0 +1 @@
 
1
+ gallery-bank
.idea/encodings.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
.idea/gallery-bank.iml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
9
+
.idea/misc.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" />
4
+ </project>
5
+
.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/gallery-bank.iml" filepath="$PROJECT_DIR$/.idea/gallery-bank.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
.idea/scopes/scope_settings.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="" />
5
+ </component>
6
+ </project>
7
+
.idea/workspace.xml ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="4969357f-cc8a-488d-88a4-cf5bc6b07a4c" name="Default" comment="" />
5
+ <ignored path="gallery-bank.iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <option name="TRACKING_ENABLED" value="true" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
+ <component name="CreatePatchCommitExecutor">
15
+ <option name="PATCH_PATH" value="" />
16
+ </component>
17
+ <component name="DaemonCodeAnalyzer">
18
+ <disable_hints />
19
+ </component>
20
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
21
+ <component name="FavoritesManager">
22
+ <favorites_list name="gallery-bank" />
23
+ </component>
24
+ <component name="FileEditorManager">
25
+ <leaf>
26
+ <file leaf-file-name="edit-album.php" pinned="false" current="false" current-in-tab="false">
27
+ <entry file="file://$PROJECT_DIR$/views/edit-album.php">
28
+ <provider selected="true" editor-type-id="text-editor">
29
+ <state line="487" column="172" selection-start="25233" selection-end="25233" vertical-scroll-proportion="-9.653846" vertical-offset="8028" max-vertical-offset="10693">
30
+ <folding>
31
+ <marker date="1402309759168" expanded="true" signature="27966:27984" placeholder="..." />
32
+ </folding>
33
+ </state>
34
+ </provider>
35
+ </entry>
36
+ </file>
37
+ <file leaf-file-name="add-new-album-class.php" pinned="false" current="true" current-in-tab="true">
38
+ <entry file="file://$PROJECT_DIR$/lib/add-new-album-class.php">
39
+ <provider selected="true" editor-type-id="text-editor">
40
+ <state line="175" column="17" selection-start="8428" selection-end="8428" vertical-scroll-proportion="0.5206738" vertical-offset="2635" max-vertical-offset="5508">
41
+ <folding />
42
+ </state>
43
+ </provider>
44
+ </entry>
45
+ </file>
46
+ <file leaf-file-name="includes_common_before.php" pinned="false" current="false" current-in-tab="false">
47
+ <entry file="file://$PROJECT_DIR$/front_views/includes_common_before.php">
48
+ <provider selected="true" editor-type-id="text-editor">
49
+ <state line="412" column="34" selection-start="15511" selection-end="15511" vertical-scroll-proportion="-151.84616" vertical-offset="3056" max-vertical-offset="13872">
50
+ <folding />
51
+ </state>
52
+ </provider>
53
+ </entry>
54
+ </file>
55
+ <file leaf-file-name="masonry-gallery.php" pinned="false" current="false" current-in-tab="false">
56
+ <entry file="file://$PROJECT_DIR$/front_views/masonry-gallery.php">
57
+ <provider selected="true" editor-type-id="text-editor">
58
+ <state line="33" column="116" selection-start="883" selection-end="901" vertical-scroll-proportion="-13.730769" vertical-offset="204" max-vertical-offset="2312">
59
+ <folding />
60
+ </state>
61
+ </provider>
62
+ </entry>
63
+ </file>
64
+ </leaf>
65
+ </component>
66
+ <component name="FindManager">
67
+ <FindUsagesManager>
68
+ <setting name="OPEN_NEW_TAB" value="false" />
69
+ </FindUsagesManager>
70
+ </component>
71
+ <component name="IdeDocumentHistory">
72
+ <option name="changedFiles">
73
+ <list>
74
+ <option value="$PROJECT_DIR$/lib/gallery-bank-class.php" />
75
+ <option value="$PROJECT_DIR$/views/edit-album.php" />
76
+ <option value="$PROJECT_DIR$/lib/add-new-album-class.php" />
77
+ </list>
78
+ </option>
79
+ </component>
80
+ <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
81
+ <component name="ProjectFrameBounds">
82
+ <option name="x" value="-8" />
83
+ <option name="y" value="-8" />
84
+ <option name="width" value="1616" />
85
+ <option name="height" value="876" />
86
+ </component>
87
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
88
+ <OptionsSetting value="true" id="Add" />
89
+ <OptionsSetting value="true" id="Remove" />
90
+ <OptionsSetting value="true" id="Checkout" />
91
+ <OptionsSetting value="true" id="Update" />
92
+ <OptionsSetting value="true" id="Status" />
93
+ <OptionsSetting value="true" id="Edit" />
94
+ <ConfirmationsSetting value="0" id="Add" />
95
+ <ConfirmationsSetting value="0" id="Remove" />
96
+ </component>
97
+ <component name="ProjectReloadState">
98
+ <option name="STATE" value="0" />
99
+ </component>
100
+ <component name="ProjectView">
101
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
102
+ <flattenPackages />
103
+ <showMembers />
104
+ <showModules />
105
+ <showLibraryContents />
106
+ <hideEmptyPackages />
107
+ <abbreviatePackageNames />
108
+ <autoscrollToSource />
109
+ <autoscrollFromSource />
110
+ <sortByType />
111
+ </navigator>
112
+ <panes>
113
+ <pane id="Scope" />
114
+ <pane id="ProjectPane">
115
+ <subPane>
116
+ <PATH>
117
+ <PATH_ELEMENT>
118
+ <option name="myItemId" value="gallery-bank" />
119
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
120
+ </PATH_ELEMENT>
121
+ </PATH>
122
+ <PATH>
123
+ <PATH_ELEMENT>
124
+ <option name="myItemId" value="gallery-bank" />
125
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
126
+ </PATH_ELEMENT>
127
+ <PATH_ELEMENT>
128
+ <option name="myItemId" value="gallery-bank" />
129
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
130
+ </PATH_ELEMENT>
131
+ </PATH>
132
+ <PATH>
133
+ <PATH_ELEMENT>
134
+ <option name="myItemId" value="gallery-bank" />
135
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
136
+ </PATH_ELEMENT>
137
+ <PATH_ELEMENT>
138
+ <option name="myItemId" value="gallery-bank" />
139
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
140
+ </PATH_ELEMENT>
141
+ <PATH_ELEMENT>
142
+ <option name="myItemId" value="views" />
143
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
144
+ </PATH_ELEMENT>
145
+ </PATH>
146
+ <PATH>
147
+ <PATH_ELEMENT>
148
+ <option name="myItemId" value="gallery-bank" />
149
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
150
+ </PATH_ELEMENT>
151
+ <PATH_ELEMENT>
152
+ <option name="myItemId" value="gallery-bank" />
153
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
154
+ </PATH_ELEMENT>
155
+ <PATH_ELEMENT>
156
+ <option name="myItemId" value="lib" />
157
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
158
+ </PATH_ELEMENT>
159
+ </PATH>
160
+ <PATH>
161
+ <PATH_ELEMENT>
162
+ <option name="myItemId" value="gallery-bank" />
163
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
164
+ </PATH_ELEMENT>
165
+ <PATH_ELEMENT>
166
+ <option name="myItemId" value="gallery-bank" />
167
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
168
+ </PATH_ELEMENT>
169
+ <PATH_ELEMENT>
170
+ <option name="myItemId" value="front_views" />
171
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
172
+ </PATH_ELEMENT>
173
+ </PATH>
174
+ </subPane>
175
+ </pane>
176
+ </panes>
177
+ </component>
178
+ <component name="PropertiesComponent">
179
+ <property name="options.splitter.main.proportions" value="0.3" />
180
+ <property name="WebServerToolWindowFactoryState" value="false" />
181
+ <property name="options.lastSelected" value="web-ide.project.structure" />
182
+ <property name="options.searchVisible" value="true" />
183
+ <property name="options.splitter.details.proportions" value="0.2" />
184
+ </component>
185
+ <component name="PublishConfig">
186
+ <servers>
187
+ <server id="8edf2c37-9e78-4559-a8a8-0f1fb7f54ca7">
188
+ <serverdata>
189
+ <mappings>
190
+ <mapping local="$PROJECT_DIR$" />
191
+ </mappings>
192
+ </serverdata>
193
+ </server>
194
+ <server id="a6657919-38ac-4e3b-8875-48e6769d12f9">
195
+ <serverdata>
196
+ <mappings>
197
+ <mapping local="$PROJECT_DIR$" />
198
+ </mappings>
199
+ </serverdata>
200
+ </server>
201
+ </servers>
202
+ </component>
203
+ <component name="RunManager">
204
+ <configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
205
+ <TestRunner />
206
+ <method />
207
+ </configuration>
208
+ <configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console">
209
+ <method />
210
+ </configuration>
211
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true">
212
+ <method />
213
+ </configuration>
214
+ <configuration default="true" type="PhpUnitRemoteRunConfigurationType" factoryName="PHPUnit on Server">
215
+ <method />
216
+ </configuration>
217
+ <list size="0" />
218
+ </component>
219
+ <component name="ShelveChangesManager" show_recycled="false" />
220
+ <component name="TaskManager">
221
+ <task active="true" id="Default" summary="Default task">
222
+ <changelist id="4969357f-cc8a-488d-88a4-cf5bc6b07a4c" name="Default" comment="" />
223
+ <created>1402287906307</created>
224
+ <updated>1402287906307</updated>
225
+ </task>
226
+ <servers />
227
+ </component>
228
+ <component name="ToolWindowManager">
229
+ <frame x="-8" y="-8" width="1616" height="876" extended-state="6" />
230
+ <editor active="true" />
231
+ <layout>
232
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
233
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
234
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
235
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
236
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
237
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24967825" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
238
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
239
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
240
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
241
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
242
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
243
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
244
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
245
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
246
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
247
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
248
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
249
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
250
+ </layout>
251
+ </component>
252
+ <component name="VcsContentAnnotationSettings">
253
+ <option name="myLimit" value="2678400000" />
254
+ </component>
255
+ <component name="VcsManagerConfiguration">
256
+ <option name="myTodoPanelSettings">
257
+ <TodoPanelSettings />
258
+ </option>
259
+ </component>
260
+ <component name="XDebuggerManager">
261
+ <breakpoint-manager />
262
+ </component>
263
+ <component name="editorHistoryManager">
264
+ <entry file="file://$PROJECT_DIR$/views/dashboard.php">
265
+ <provider selected="true" editor-type-id="text-editor">
266
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="7752">
267
+ <folding />
268
+ </state>
269
+ </provider>
270
+ </entry>
271
+ <entry file="jar://$APPLICATION_HOME_DIR$/plugins/php/lib/php.jar!/com/jetbrains/php/lang/psi/stubs/data/_superglobals.php">
272
+ <provider selected="true" editor-type-id="text-editor">
273
+ <state line="106" column="0" selection-start="3315" selection-end="3315" vertical-scroll-proportion="0.34534535" vertical-offset="1572" max-vertical-offset="3944">
274
+ <folding />
275
+ </state>
276
+ </provider>
277
+ </entry>
278
+ <entry file="file://$PROJECT_DIR$/gallery-bank.php">
279
+ <provider selected="true" editor-type-id="text-editor">
280
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.45891473" vertical-offset="296" max-vertical-offset="2448">
281
+ <folding />
282
+ </state>
283
+ </provider>
284
+ </entry>
285
+ <entry file="file://$PROJECT_DIR$/lib/gallery-bank-class.php">
286
+ <provider selected="true" editor-type-id="text-editor">
287
+ <state line="64" column="22" selection-start="2933" selection-end="2933" vertical-scroll-proportion="0.20826952" vertical-offset="952" max-vertical-offset="5763">
288
+ <folding />
289
+ </state>
290
+ </provider>
291
+ </entry>
292
+ <entry file="file://$PROJECT_DIR$/views/header.php">
293
+ <provider selected="true" editor-type-id="text-editor">
294
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-2.5926492" vertical-offset="1693" max-vertical-offset="2346">
295
+ <folding>
296
+ <marker date="1402287808725" expanded="true" signature="-1:-1" placeholder="..." />
297
+ <marker date="1402287808725" expanded="true" signature="-1:-1" placeholder="..." />
298
+ <marker date="1402287808725" expanded="true" signature="-1:-1" placeholder="..." />
299
+ </folding>
300
+ </state>
301
+ </provider>
302
+ </entry>
303
+ <entry file="file://$PROJECT_DIR$/lib/front-view-all-albums-class.php">
304
+ <provider selected="true" editor-type-id="text-editor">
305
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="692">
306
+ <folding />
307
+ </state>
308
+ </provider>
309
+ </entry>
310
+ <entry file="file://$PROJECT_DIR$/front_views/includes_common_after.php">
311
+ <provider selected="true" editor-type-id="text-editor">
312
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="-0.536036" vertical-offset="357" max-vertical-offset="4284">
313
+ <folding />
314
+ </state>
315
+ </provider>
316
+ </entry>
317
+ <entry file="file://$PROJECT_DIR$/front_views/grid-albums.php">
318
+ <provider selected="true" editor-type-id="text-editor">
319
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1700">
320
+ <folding>
321
+ <element signature="n#style#0;n#button#0;n#!!top" expanded="true" />
322
+ </folding>
323
+ </state>
324
+ </provider>
325
+ </entry>
326
+ <entry file="file://$PROJECT_DIR$/front_views/includes_common_before.php">
327
+ <provider selected="true" editor-type-id="text-editor">
328
+ <state line="412" column="34" selection-start="15511" selection-end="15511" vertical-scroll-proportion="-151.84616" vertical-offset="3056" max-vertical-offset="13872">
329
+ <folding />
330
+ </state>
331
+ </provider>
332
+ </entry>
333
+ <entry file="file://$PROJECT_DIR$/front_views/masonry-gallery.php">
334
+ <provider selected="true" editor-type-id="text-editor">
335
+ <state line="33" column="116" selection-start="883" selection-end="901" vertical-scroll-proportion="-13.730769" vertical-offset="204" max-vertical-offset="2312">
336
+ <folding />
337
+ </state>
338
+ </provider>
339
+ </entry>
340
+ <entry file="file://$PROJECT_DIR$/views/edit-album.php">
341
+ <provider selected="true" editor-type-id="text-editor">
342
+ <state line="487" column="172" selection-start="25233" selection-end="25233" vertical-scroll-proportion="-9.653846" vertical-offset="8028" max-vertical-offset="10693">
343
+ <folding>
344
+ <marker date="1402309759168" expanded="true" signature="27966:27984" placeholder="..." />
345
+ </folding>
346
+ </state>
347
+ </provider>
348
+ </entry>
349
+ <entry file="file://$PROJECT_DIR$/lib/add-new-album-class.php">
350
+ <provider selected="true" editor-type-id="text-editor">
351
+ <state line="175" column="17" selection-start="8428" selection-end="8428" vertical-scroll-proportion="0.5206738" vertical-offset="2635" max-vertical-offset="5508">
352
+ <folding />
353
+ </state>
354
+ </provider>
355
+ </entry>
356
+ </component>
357
+ </project>
358
+
gallery-bank.php CHANGED
@@ -4,7 +4,7 @@
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.0.36
8
  Author URI: http://tech-banker.com
9
  */
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.0.37
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
lib/add-new-album-class.php CHANGED
@@ -29,7 +29,7 @@ if (!current_user_can($user_role_permission))
29
  return;
30
  }
31
  else
32
- {
33
  if (isset($_REQUEST["param"])) {
34
  if ($_REQUEST["param"] == "add_new_dynamic_row_for_image") {
35
  $img_path = esc_attr($_REQUEST["img_path"]);
@@ -104,7 +104,7 @@ else
104
  $albumId = intval($_REQUEST["albumid"]);
105
  $ux_edit_album_name1 = htmlspecialchars(esc_attr($_REQUEST["edit_album_name"]));
106
  $ux_edit_album_name = ($ux_edit_album_name1 == "") ? "Untitled Album" : $ux_edit_album_name1;
107
- $ux_edit_description = html_entity_decode(esc_attr($_REQUEST["uxEditDescription"]));
108
  $wpdb->query
109
  (
110
  $wpdb->prepare
@@ -119,59 +119,64 @@ else
119
  }
120
  else if ($_REQUEST["param"] == "update_pic")
121
  {
122
- $album_data = json_decode(stripcslashes($_REQUEST["album_data"]),true);
123
- foreach($album_data as $element)
124
- {
125
- $field = explode("|", $element);
126
- if ($field[0] == "image") {
127
- if ($field[3] == "checked") {
128
- $wpdb->query
129
- (
130
- $wpdb->prepare
131
- (
132
- "UPDATE " . gallery_bank_pics() . " SET title = %s, description = %s, url = %s, date = CURDATE(), tags = %s, album_cover = %d WHERE pic_id = %d",
133
- $field[4],
134
- $field[5],
135
- $field[7],
136
- $field[6],
137
- 1,
138
- $field[1]
139
- )
140
- );
141
- process_album_upload($field[2], $field[8], $field[9]);
142
- } else {
143
- $wpdb->query
144
- (
145
- $wpdb->prepare
146
- (
147
- "UPDATE " . gallery_bank_pics() . " SET title = %s, description = %s, url = %s, date = CURDATE(), tags = %s, album_cover = %d WHERE pic_id = %d",
148
- $field[4],
149
- $field[5],
150
- $field[7],
151
- $field[6],
152
- 0,
153
- $field[1]
154
- )
155
- );
156
- }
157
- } else {
158
- $wpdb->query
159
- (
160
- $wpdb->prepare
161
- (
162
- "UPDATE " . gallery_bank_pics() . " SET title = %s, description = %s, date = CURDATE(), tags = %s, album_cover = %d WHERE pic_id = %d",
163
- $field[4],
164
- $field[5],
165
- $field[6],
166
- 0,
167
- $field[1]
168
- )
169
- );
170
- }
171
-
172
- }
173
- die();
174
- }
 
 
 
 
 
175
  else if ($_REQUEST["param"] == "delete_pic")
176
  {
177
  $delete_array = (html_entity_decode($_REQUEST["delete_array"]));
@@ -288,9 +293,9 @@ function generate_thumbnail($source_image_path, $thumbnail_image_path, $imageWid
288
  imagefilledrectangle($thumbnail_gd_image, 0, 0, $real_width, $real_height, $transparent);
289
  }
290
  else
291
- {
292
  $bg_color = imagecolorallocate($thumbnail_gd_image, 255, 255, 255);
293
- imagefilledrectangle($thumbnail_gd_image, 0, 0, $real_width, $real_height, $bg_color);
294
  }
295
  imagecopyresampled($thumbnail_gd_image, $source_gd_image, 0, 0, 0, 0, $real_width, $real_height, $source_image_width, $source_image_height);
296
  switch ($source_image_type)
29
  return;
30
  }
31
  else
32
+ {
33
  if (isset($_REQUEST["param"])) {
34
  if ($_REQUEST["param"] == "add_new_dynamic_row_for_image") {
35
  $img_path = esc_attr($_REQUEST["img_path"]);
104
  $albumId = intval($_REQUEST["albumid"]);
105
  $ux_edit_album_name1 = htmlspecialchars(esc_attr($_REQUEST["edit_album_name"]));
106
  $ux_edit_album_name = ($ux_edit_album_name1 == "") ? "Untitled Album" : $ux_edit_album_name1;
107
+ $ux_edit_description = htmlspecialchars($_REQUEST["uxEditDescription"]);
108
  $wpdb->query
109
  (
110
  $wpdb->prepare
119
  }
120
  else if ($_REQUEST["param"] == "update_pic")
121
  {
122
+ $album_data = json_decode(stripcslashes($_REQUEST["album_data"]),true);
123
+ foreach($album_data as $field)
124
+ {
125
+ echo $field[0];
126
+ if ($field[0] == "image")
127
+ {
128
+ if ($field[3] == "checked")
129
+ {
130
+ $wpdb->query
131
+ (
132
+ $wpdb->prepare
133
+ (
134
+ "UPDATE " . gallery_bank_pics() . " SET title = %s, description = %s, url = %s, date = CURDATE(), tags = %s, album_cover = %d WHERE pic_id = %d",
135
+ htmlspecialchars($field[4]),
136
+ htmlspecialchars($field[5]),
137
+ $field[7],
138
+ htmlspecialchars($field[6]),
139
+ 1,
140
+ $field[1]
141
+ )
142
+ );
143
+ process_album_upload($field[2], $field[8], $field[9]);
144
+ }
145
+ else
146
+ {
147
+ $wpdb->query
148
+ (
149
+ $wpdb->prepare
150
+ (
151
+ "UPDATE " . gallery_bank_pics() . " SET title = %s, description = %s, url = %s, date = CURDATE(), tags = %s, album_cover = %d WHERE pic_id = %d",
152
+ htmlspecialchars($field[4]),
153
+ htmlspecialchars($field[5]),
154
+ $field[7],
155
+ htmlspecialchars($field[6]),
156
+ 0,
157
+ $field[1]
158
+ )
159
+ );
160
+ }
161
+ }
162
+ else
163
+ {
164
+ $wpdb->query
165
+ (
166
+ $wpdb->prepare
167
+ (
168
+ "UPDATE " . gallery_bank_pics() . " SET title = %s, description = %s, date = CURDATE(), tags = %s, album_cover = %d WHERE pic_id = %d",
169
+ htmlspecialchars($field[4]),
170
+ htmlspecialchars($field[5]),
171
+ htmlspecialchars($field[6]),
172
+ 0,
173
+ $field[1]
174
+ )
175
+ );
176
+ }
177
+ }
178
+ die();
179
+ }
180
  else if ($_REQUEST["param"] == "delete_pic")
181
  {
182
  $delete_array = (html_entity_decode($_REQUEST["delete_array"]));
293
  imagefilledrectangle($thumbnail_gd_image, 0, 0, $real_width, $real_height, $transparent);
294
  }
295
  else
296
+ {
297
  $bg_color = imagecolorallocate($thumbnail_gd_image, 255, 255, 255);
298
+ imagefilledrectangle($thumbnail_gd_image, 0, 0, $real_width, $real_height, $bg_color);
299
  }
300
  imagecopyresampled($thumbnail_gd_image, $source_gd_image, 0, 0, 0, 0, $real_width, $real_height, $source_image_width, $source_image_height);
301
  switch ($source_image_type)
lib/gallery-bank-class.php CHANGED
@@ -62,7 +62,7 @@ function save_album()
62
  (
63
  "SELECT count(album_id) FROM ".gallery_bank_albums()
64
  );
65
- if($album_count < 3)
66
  {
67
  global $wpdb;
68
  include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
@@ -70,11 +70,7 @@ function save_album()
70
  }
71
  else
72
  {
73
- ?>
74
- <script type="text/javascript">
75
- window.location.href="admin.php?page=gallery_bank";
76
- </script>
77
- <?php
78
  }
79
  }
80
 
62
  (
63
  "SELECT count(album_id) FROM ".gallery_bank_albums()
64
  );
65
+ if($album_count <= 3)
66
  {
67
  global $wpdb;
68
  include_once GALLERY_BK_PLUGIN_DIR . "/views/header.php";
70
  }
71
  else
72
  {
73
+ header("Location:admin.php?page=gallery_bank");
 
 
 
 
74
  }
75
  }
76
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: contact-banker,Gallery-Bank
3
  Tags: admin, AJAX, album, albums, best gallery plugin, best portfolio plugin, comments, easy media gallery, filterable gallery, filterable portfolio, flash, foto, fotoalbum, gallery, gallery album, gallery bank, gallery image, gallery wordpress plugin, grid gallery, image, image album, image slider, images, lightbox, links, media, modal, multiple pictures, nextgen, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, picture, pictures, plugin, portfolio, portfolio gallery, portfolio wordpress plugin, Post, posts, responsive gallery, seo image, sidebar, slideshow, thumbnails, videos, website gallery, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
4
  Requires at least: 3.3
5
  Tested up to: 3.9.1
6
- Stable tag: 3.0.36
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -48,7 +48,7 @@ It provides a powerful engine for uploading and managing galleries of images & v
48
 
49
  Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
50
 
51
- ***June 7, 2014: We're happy to announce that Gallery Bank reached 135,700+ plugin downloads in only 12 months. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
52
 
53
  <a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
54
 
@@ -482,7 +482,12 @@ is False in shortcode.
482
 
483
  == Changelog ==
484
 
485
- = 3.0.35 =
 
 
 
 
 
486
 
487
  * Bug Fixed related to Saving of Albums
488
 
3
  Tags: admin, AJAX, album, albums, best gallery plugin, best portfolio plugin, comments, easy media gallery, filterable gallery, filterable portfolio, flash, foto, fotoalbum, gallery, gallery album, gallery bank, gallery image, gallery wordpress plugin, grid gallery, image, image album, image slider, images, lightbox, links, media, modal, multiple pictures, nextgen, page, pagination gallery, pagination portfolio, photo, photo album, photo albums, photo gallery, Photo Slider, photoalbum, photogallery, photos, picture, pictures, plugin, portfolio, portfolio gallery, portfolio wordpress plugin, Post, posts, responsive gallery, seo image, sidebar, slideshow, thumbnails, videos, website gallery, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
4
  Requires at least: 3.3
5
  Tested up to: 3.9.1
6
+ Stable tag: 3.0.37
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
48
 
49
  Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
50
 
51
+ ***June 9, 2014: We're happy to announce that Gallery Bank reached 136,400+ plugin downloads in only 12 months. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
52
 
53
  <a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
54
 
482
 
483
  == Changelog ==
484
 
485
+ = 3.0.37 =
486
+
487
+ * Major Bug Fixed related to Saving of Images
488
+ * Major Bug Fixed related to Editing of existing Albums
489
+
490
+ = 3.0.36 =
491
 
492
  * Bug Fixed related to Saving of Albums
493
 
views/edit-album.php CHANGED
@@ -41,7 +41,7 @@ if($album_count < 3)
41
  );
42
  }
43
  else
44
- {
45
  $album = $wpdb->get_row
46
  (
47
  $wpdb->prepare
@@ -49,7 +49,7 @@ if($album_count < 3)
49
  "SELECT * FROM " . gallery_bank_albums() . " where album_id = %d",
50
  $album_id
51
  )
52
- );
53
  }
54
  }
55
  $pics = $wpdb->get_results
@@ -436,18 +436,18 @@ if (count($album_css) != 0)
436
  if(class_exists("ckeditor_wordpress"))
437
  {
438
  ?>
439
- var uxEditDescription = encodeURIComponent(CKEDITOR.instances.ux_edit_description.getData());
440
- <?php
441
- }
442
- else
443
- {
444
- ?>
445
- var uxEditDescription = jQuery("#wp-ux_edit_description-wrap").hasClass("tmce-active") ?
446
- encodeURIComponent(tinyMCE.get("ux_edit_description").getContent())
447
- : encodeURIComponent(jQuery("#ux_edit_description").val());
448
- <?php
449
- }
450
- ?>
451
 
452
  var edit_album_name = encodeURIComponent(jQuery("#ux_edit_title").val());
453
  jQuery.post(ajaxurl, "albumid=" + albumid + "&edit_album_name=" + edit_album_name + "&uxEditDescription=" + uxEditDescription + "&param=update_album&action=add_new_album_library", function () {
@@ -462,29 +462,36 @@ if (count($album_css) != 0)
462
  var tags = "";
463
  var urlRedirect = "";
464
  var picId = "";
465
- var row_data = "";
466
 
467
- controlType = jQuery(value.cells[1]).find("img").attr("type");
468
- picId = jQuery(value.cells[1]).find("img").attr("imageId");
469
- img_gb_path = encodeURIComponent(jQuery(value.cells[1]).find("img").attr("imgpath"));
470
- isAlbumCoverSet = jQuery(value.cells[1]).find("input:radio").attr("checked");
471
- title = encodeURIComponent(jQuery(value.cells[2]).find("input:text").eq(0).val());
472
- description = encodeURIComponent(jQuery(value.cells[2]).find("textarea").eq(0).val());
473
- tags = jQuery(value.cells[3]).find("input:text").eq(0).val();
474
- urlRedirect = jQuery(value.cells[4]).find("input:text").eq(0).val();
475
-
476
- row_data = controlType +"|"+picId+"|"+img_gb_path+"|"+isAlbumCoverSet+"|"+title+"|"+description+
477
- "|"+tags+"|"+urlRedirect+"|"+cover_width+"|"+cover_height;
 
 
 
 
 
 
 
478
 
479
- array_album_data.push(row_data);
480
  });
481
- jQuery.post(ajaxurl, "album_data="+JSON.stringify(array_album_data)+ "&param=update_pic&action=add_new_album_library", function () {
482
- setTimeout(function () {
483
- jQuery("#update_album_success_message").css("display", "none");
484
- window.location.href = "admin.php?page=gallery_bank";
485
- }, 10000);
486
  });
487
-
488
  });
489
  }
490
  });
41
  );
42
  }
43
  else
44
+ {
45
  $album = $wpdb->get_row
46
  (
47
  $wpdb->prepare
49
  "SELECT * FROM " . gallery_bank_albums() . " where album_id = %d",
50
  $album_id
51
  )
52
+ );
53
  }
54
  }
55
  $pics = $wpdb->get_results
436
  if(class_exists("ckeditor_wordpress"))
437
  {
438
  ?>
439
+ var uxEditDescription = encodeURIComponent(CKEDITOR.instances.ux_edit_description.getData());
440
+ <?php
441
+ }
442
+ else
443
+ {
444
+ ?>
445
+ var uxEditDescription = jQuery("#wp-ux_edit_description-wrap").hasClass("tmce-active") ?
446
+ encodeURIComponent(tinyMCE.get("ux_edit_description").getContent())
447
+ : encodeURIComponent(jQuery("#ux_edit_description").val());
448
+ <?php
449
+ }
450
+ ?>
451
 
452
  var edit_album_name = encodeURIComponent(jQuery("#ux_edit_title").val());
453
  jQuery.post(ajaxurl, "albumid=" + albumid + "&edit_album_name=" + edit_album_name + "&uxEditDescription=" + uxEditDescription + "&param=update_album&action=add_new_album_library", function () {
462
  var tags = "";
463
  var urlRedirect = "";
464
  var picId = "";
465
+ var row_data = [];
466
 
467
+ controlType = jQuery(value.cells[1]).find("img").attr("type");
468
+ picId = jQuery(value.cells[1]).find("img").attr("imageId");
469
+ img_gb_path = (jQuery(value.cells[1]).find("img").attr("imgpath"));
470
+ isAlbumCoverSet = jQuery(value.cells[1]).find("input:radio").attr("checked");
471
+ title = (jQuery(value.cells[2]).find("input:text").eq(0).val());
472
+ description =(jQuery(value.cells[2]).find("textarea").eq(0).val());
473
+ tags = jQuery(value.cells[3]).find("input:text").eq(0).val();
474
+ urlRedirect = jQuery(value.cells[4]).find("input:text").eq(0).val();
475
+ row_data.push(controlType);
476
+ row_data.push(picId);
477
+ row_data.push(img_gb_path);
478
+ row_data.push(isAlbumCoverSet);
479
+ row_data.push(title);
480
+ row_data.push(description);
481
+ row_data.push(tags);
482
+ row_data.push(urlRedirect);
483
+ row_data.push(cover_width);
484
+ row_data.push(cover_height);
485
 
486
+ array_album_data.push(row_data);
487
  });
488
+ jQuery.post(ajaxurl, "album_data="+encodeURIComponent(JSON.stringify(array_album_data))+ "&param=update_pic&action=add_new_album_library", function (data) {
489
+ setTimeout(function () {
490
+ jQuery("#update_album_success_message").css("display", "none");
491
+ window.location.href = "admin.php?page=gallery_bank";
492
+ }, 10000);
493
  });
494
+
495
  });
496
  }
497
  });