Image Photo Gallery Final Tiles Grid - Version 3.4.17

Version Description

  • Fix and update tooltips
Download this release

Release Info

Developer giucu91
Plugin Icon 128x128 Image Photo Gallery Final Tiles Grid
Version 3.4.17
Comparing to
See all releases

Code changes from version 3.4.16 to 3.4.17

Files changed (223) hide show
  1. FinalTilesGalleryLite.php +3 -339
  2. admin/css/gutenberg_block.css +0 -0
  3. admin/css/style.css +47 -0
  4. admin/images/photoblocks.png +0 -0
  5. admin/include/edit-gallery.php +1194 -1121
  6. admin/include/fields.php +0 -0
  7. admin/scripts/admin.js +0 -0
  8. admin/scripts/final-tiles-gallery-admin.js +36 -35
  9. admin/tutorial/tutorial-add-image-size.png +0 -0
  10. admin/tutorial/tutorial-add-image.png +0 -0
  11. admin/tutorial/tutorial-add-page.jpg +0 -0
  12. admin/tutorial/tutorial-add.png +0 -0
  13. admin/tutorial/tutorial-dashboard.png +0 -0
  14. admin/tutorial/tutorial-edit-list.jpg +0 -0
  15. admin/tutorial/tutorial-image-added.jpg +0 -0
  16. admin/tutorial/tutorial-image-edit.jpg +0 -0
  17. admin/tutorial/tutorial-image-panel.JPG +0 -0
  18. admin/tutorial/tutorial-images-tab.png +0 -0
  19. admin/tutorial/tutorial-tabs.jpg +0 -0
  20. freemius/LICENSE.txt +0 -0
  21. freemius/README.md +0 -0
  22. freemius/assets/css/admin/account.css +0 -0
  23. freemius/assets/css/admin/add-ons.css +0 -0
  24. freemius/assets/css/admin/affiliation.css +0 -0
  25. freemius/assets/css/admin/checkout.css +0 -0
  26. freemius/assets/css/admin/common.css +0 -0
  27. freemius/assets/css/admin/connect.css +0 -0
  28. freemius/assets/css/admin/deactivation-feedback.css +0 -0
  29. freemius/assets/css/admin/debug.css +0 -0
  30. freemius/assets/css/admin/dialog-boxes.css +0 -0
  31. freemius/assets/css/admin/gdpr-optin-notice.css +0 -0
  32. freemius/assets/css/admin/index.php +0 -0
  33. freemius/assets/css/admin/license-activation.css +0 -0
  34. freemius/assets/css/customizer.css +0 -0
  35. freemius/assets/css/index.php +0 -0
  36. freemius/assets/img/final-tiles-grid-gallery-lite.png +0 -0
  37. freemius/assets/img/index.php +0 -0
  38. freemius/assets/img/plugin-icon.png +0 -0
  39. freemius/assets/img/theme-icon.png +0 -0
  40. freemius/assets/index.php +0 -0
  41. freemius/assets/js/index.php +0 -0
  42. freemius/assets/js/nojquery.ba-postmessage.js +0 -0
  43. freemius/assets/js/nojquery.ba-postmessage.min.js +0 -0
  44. freemius/assets/js/postmessage.js +0 -0
  45. freemius/assets/scss/_colors.scss +0 -0
  46. freemius/assets/scss/_functions.scss +0 -0
  47. freemius/assets/scss/_load.scss +0 -0
  48. freemius/assets/scss/_mixins.scss +0 -0
  49. freemius/assets/scss/_start.scss +0 -0
  50. freemius/assets/scss/_vars.scss +0 -0
  51. freemius/assets/scss/admin/_ajax-loader.scss +0 -0
  52. freemius/assets/scss/admin/_auto-install.scss +0 -0
  53. freemius/assets/scss/admin/_deactivation-feedback.scss +0 -0
  54. freemius/assets/scss/admin/_gdpr-consent.scss +0 -0
  55. freemius/assets/scss/admin/_license-activation.scss +0 -0
  56. freemius/assets/scss/admin/_license-key-resend.scss +0 -0
  57. freemius/assets/scss/admin/_modal-common.scss +0 -0
  58. freemius/assets/scss/admin/_multisite-options.scss +0 -0
  59. freemius/assets/scss/admin/_themes.scss +0 -0
  60. freemius/assets/scss/admin/_tooltip.scss +0 -0
  61. freemius/assets/scss/admin/account.scss +0 -0
  62. freemius/assets/scss/admin/add-ons.scss +0 -0
  63. freemius/assets/scss/admin/affiliation.scss +0 -0
  64. freemius/assets/scss/admin/checkout.scss +0 -0
  65. freemius/assets/scss/admin/common.scss +0 -0
  66. freemius/assets/scss/admin/connect.scss +0 -0
  67. freemius/assets/scss/admin/debug.scss +0 -0
  68. freemius/assets/scss/admin/dialog-boxes.scss +0 -0
  69. freemius/assets/scss/admin/gdpr-optin-notice.scss +0 -0
  70. freemius/assets/scss/admin/index.php +0 -0
  71. freemius/assets/scss/customizer.scss +0 -0
  72. freemius/assets/scss/index.php +0 -0
  73. freemius/composer.json +0 -0
  74. freemius/config.php +0 -0
  75. freemius/gulpfile.js +0 -0
  76. freemius/includes/class-freemius-abstract.php +0 -0
  77. freemius/includes/class-freemius.php +0 -0
  78. freemius/includes/class-fs-admin-notices.php +0 -0
  79. freemius/includes/class-fs-api.php +0 -0
  80. freemius/includes/class-fs-logger.php +0 -0
  81. freemius/includes/class-fs-options.php +0 -0
  82. freemius/includes/class-fs-plugin-updater.php +0 -0
  83. freemius/includes/class-fs-security.php +0 -0
  84. freemius/includes/class-fs-storage.php +0 -0
  85. freemius/includes/class-fs-user-lock.php +0 -0
  86. freemius/includes/customizer/class-fs-customizer-support-section.php +0 -0
  87. freemius/includes/customizer/class-fs-customizer-upsell-control.php +0 -0
  88. freemius/includes/customizer/index.php +0 -0
  89. freemius/includes/debug/class-fs-debug-bar-panel.php +0 -0
  90. freemius/includes/debug/debug-bar-start.php +0 -0
  91. freemius/includes/debug/index.php +0 -0
  92. freemius/includes/entities/class-fs-affiliate-terms.php +0 -0
  93. freemius/includes/entities/class-fs-affiliate.php +0 -0
  94. freemius/includes/entities/class-fs-billing.php +0 -0
  95. freemius/includes/entities/class-fs-entity.php +0 -0
  96. freemius/includes/entities/class-fs-payment.php +0 -0
  97. freemius/includes/entities/class-fs-plugin-info.php +0 -0
  98. freemius/includes/entities/class-fs-plugin-license.php +0 -0
  99. freemius/includes/entities/class-fs-plugin-plan.php +0 -0
  100. freemius/includes/entities/class-fs-plugin-tag.php +0 -0
  101. freemius/includes/entities/class-fs-plugin.php +0 -0
  102. freemius/includes/entities/class-fs-pricing.php +0 -0
  103. freemius/includes/entities/class-fs-scope-entity.php +0 -0
  104. freemius/includes/entities/class-fs-site.php +0 -0
  105. freemius/includes/entities/class-fs-subscription.php +0 -0
  106. freemius/includes/entities/class-fs-user.php +0 -0
  107. freemius/includes/entities/index.php +0 -0
  108. freemius/includes/fs-core-functions.php +0 -0
  109. freemius/includes/fs-essential-functions.php +0 -0
  110. freemius/includes/fs-plugin-info-dialog.php +0 -0
  111. freemius/includes/i18n.php +0 -0
  112. freemius/includes/index.php +0 -0
  113. freemius/includes/l10n.php +0 -0
  114. freemius/includes/managers/class-fs-admin-menu-manager.php +0 -0
  115. freemius/includes/managers/class-fs-admin-notice-manager.php +0 -0
  116. freemius/includes/managers/class-fs-cache-manager.php +0 -0
  117. freemius/includes/managers/class-fs-gdpr-manager.php +0 -0
  118. freemius/includes/managers/class-fs-key-value-storage.php +0 -0
  119. freemius/includes/managers/class-fs-license-manager.php +0 -0
  120. freemius/includes/managers/class-fs-option-manager.php +0 -0
  121. freemius/includes/managers/class-fs-plan-manager.php +0 -0
  122. freemius/includes/managers/class-fs-plugin-manager.php +0 -0
  123. freemius/includes/managers/index.php +0 -0
  124. freemius/includes/sdk/Exceptions/ArgumentNotExistException.php +0 -0
  125. freemius/includes/sdk/Exceptions/EmptyArgumentException.php +0 -0
  126. freemius/includes/sdk/Exceptions/Exception.php +0 -0
  127. freemius/includes/sdk/Exceptions/InvalidArgumentException.php +0 -0
  128. freemius/includes/sdk/Exceptions/OAuthException.php +0 -0
  129. freemius/includes/sdk/Exceptions/index.php +0 -0
  130. freemius/includes/sdk/FreemiusBase.php +0 -0
  131. freemius/includes/sdk/FreemiusWordPress.php +0 -0
  132. freemius/includes/sdk/LICENSE.txt +0 -0
  133. freemius/includes/sdk/index.php +0 -0
  134. freemius/includes/supplements/fs-essential-functions-1.1.7.1.php +0 -0
  135. freemius/includes/supplements/fs-essential-functions-2.2.1.php +0 -0
  136. freemius/includes/supplements/index.php +0 -0
  137. freemius/index.php +0 -0
  138. freemius/languages/freemius-da_DK.mo +0 -0
  139. freemius/languages/freemius-da_DK.po +0 -0
  140. freemius/languages/freemius-en.mo +0 -0
  141. freemius/languages/freemius-en.po +0 -0
  142. freemius/languages/freemius-es_ES.mo +0 -0
  143. freemius/languages/freemius-es_ES.po +0 -0
  144. freemius/languages/freemius-fr_FR.mo +0 -0
  145. freemius/languages/freemius-fr_FR.po +0 -0
  146. freemius/languages/freemius-he_IL.mo +0 -0
  147. freemius/languages/freemius-he_IL.po +0 -0
  148. freemius/languages/freemius-hu_HU.mo +0 -0
  149. freemius/languages/freemius-hu_HU.po +0 -0
  150. freemius/languages/freemius-it_IT.mo +0 -0
  151. freemius/languages/freemius-it_IT.po +0 -0
  152. freemius/languages/freemius-ja_JP.mo +0 -0
  153. freemius/languages/freemius-ja_JP.po +0 -0
  154. freemius/languages/freemius-nl_NL.mo +0 -0
  155. freemius/languages/freemius-nl_NL.po +0 -0
  156. freemius/languages/freemius-ru_RU.mo +0 -0
  157. freemius/languages/freemius-ru_RU.po +0 -0
  158. freemius/languages/freemius.pot +0 -0
  159. freemius/languages/index.php +0 -0
  160. freemius/package.json +0 -0
  161. freemius/require.php +0 -0
  162. freemius/start.php +0 -0
  163. freemius/templates/account.php +0 -0
  164. freemius/templates/account/billing.php +0 -0
  165. freemius/templates/account/index.php +0 -0
  166. freemius/templates/account/partials/activate-license-button.php +0 -0
  167. freemius/templates/account/partials/addon.php +0 -0
  168. freemius/templates/account/partials/deactivate-license-button.php +0 -0
  169. freemius/templates/account/partials/index.php +0 -0
  170. freemius/templates/account/partials/site.php +0 -0
  171. freemius/templates/account/payments.php +0 -0
  172. freemius/templates/add-ons.php +0 -0
  173. freemius/templates/add-trial-to-pricing.php +0 -0
  174. freemius/templates/admin-notice.php +0 -0
  175. freemius/templates/ajax-loader.php +0 -0
  176. freemius/templates/auto-installation.php +0 -0
  177. freemius/templates/checkout.php +0 -0
  178. freemius/templates/connect.php +0 -0
  179. freemius/templates/contact.php +0 -0
  180. freemius/templates/debug.php +0 -0
  181. freemius/templates/debug/api-calls.php +0 -0
  182. freemius/templates/debug/index.php +0 -0
  183. freemius/templates/debug/logger.php +0 -0
  184. freemius/templates/debug/plugins-themes-sync.php +0 -0
  185. freemius/templates/debug/scheduled-crons.php +0 -0
  186. freemius/templates/email.php +0 -0
  187. freemius/templates/firewall-issues-js.php +0 -0
  188. freemius/templates/forms/affiliation.php +0 -0
  189. freemius/templates/forms/deactivation/contact.php +0 -0
  190. freemius/templates/forms/deactivation/form.php +0 -0
  191. freemius/templates/forms/deactivation/index.php +0 -0
  192. freemius/templates/forms/deactivation/retry-skip.php +0 -0
  193. freemius/templates/forms/index.php +0 -0
  194. freemius/templates/forms/license-activation.php +0 -0
  195. freemius/templates/forms/optout.php +0 -0
  196. freemius/templates/forms/premium-versions-upgrade-handler.php +0 -0
  197. freemius/templates/forms/premium-versions-upgrade-metadata.php +0 -0
  198. freemius/templates/forms/resend-key.php +0 -0
  199. freemius/templates/forms/subscription-cancellation.php +0 -0
  200. freemius/templates/forms/trial-start.php +0 -0
  201. freemius/templates/gdpr-optin-js.php +0 -0
  202. freemius/templates/index.php +0 -0
  203. freemius/templates/js/index.php +0 -0
  204. freemius/templates/js/jquery.content-change.php +0 -0
  205. freemius/templates/js/open-license-activation.php +0 -0
  206. freemius/templates/js/style-premium-theme.php +0 -0
  207. freemius/templates/partials/network-activation.php +0 -0
  208. freemius/templates/plugin-icon.php +0 -0
  209. freemius/templates/plugin-info/description.php +0 -0
  210. freemius/templates/plugin-info/features.php +0 -0
  211. freemius/templates/plugin-info/index.php +0 -0
  212. freemius/templates/plugin-info/screenshots.php +0 -0
  213. freemius/templates/powered-by.php +0 -0
  214. freemius/templates/pricing.php +0 -0
  215. freemius/templates/secure-https-header.php +0 -0
  216. freemius/templates/sticky-admin-notice-js.php +0 -0
  217. freemius/templates/tabs-capture-js.php +0 -0
  218. freemius/templates/tabs.php +0 -0
  219. languages/final-tiles-grid-gallery-lite-it_IT.mo +0 -0
  220. languages/final-tiles-grid-gallery-lite-it_IT.po +0 -0
  221. readme.txt +4 -1
  222. scripts/gutenberg_block.js +0 -0
  223. scripts/jquery.finalTilesGallery.js +0 -0
FinalTilesGalleryLite.php CHANGED
@@ -2,9 +2,10 @@
2
  /**
3
  * Plugin Name: Final Tiles Grid Gallery - Image Gallery
4
  * Description: Wordpress Plugin for creating responsive image galleries.
5
- * Version: 3.4.16
6
  * Author: MachoThemes
7
  * Author URI: https://www.machothemes.com
 
8
  * Requires: 4.9 or higher
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -24,344 +25,7 @@
24
  */
25
 
26
 
27
- define( "FTGVERSION", "3.4.16" );
28
- /*
29
- Changelog:
30
- 3.4.16
31
- Gallery skips non existent images
32
- 3.4.15
33
- Fixed filters + lightbox
34
- 3.4.14
35
- Fixed links on mobile
36
- 3.4.13
37
- Updated Freemius SDK
38
- 3.4.12
39
- Fixed image drag and drop
40
- Fixed edit video
41
- 3.4.11
42
- Fixed add video
43
- 3.4.10
44
- Fixed lightbox
45
- 3.4.9
46
- Fixed "no link" on mobile
47
- 3.4.8
48
- Edit Alt attribute
49
- Fixed "no link" on mobile
50
- 3.4.7
51
- Removed unnecessary translation functions
52
- 3.4.6
53
- Fixed image source selection
54
- 3.4.5
55
- Fixed JS conflict in admin
56
- 3.4.4
57
- Fixed missing message after new gallery
58
- 3.4.3
59
- New admin dashboard
60
- 3.4.2
61
- Fix empty image source
62
- 3.4.1
63
- Added Italian
64
- 3.4.0
65
- Revamped UI
66
- Gutenmberg blocks
67
- 3.3.59
68
- Fixed missing link target in cloned images
69
- 3.3.58
70
- Fixed missing link in cloned images
71
- 3.3.57
72
- Security fix
73
- 3.3.56
74
- Enhancement: SwipeBox shows captions on mobile
75
- 3.3.55
76
- Fix: fixed Safari loosing filters when editing a gallery
77
- 3.3.54
78
- Fix: fixed pre-selected filter "All" loosing "selected" class
79
- Fix: fixed clickable hidden images
80
- 3.3.53
81
- Restored filters on premium versions
82
- 3.3.52
83
- Fixed database installation
84
- 3.3.49
85
- Fixed multisite activation
86
- 3.3.48
87
- Fixed mobile lightbox options
88
- 3.3.47
89
- Fixed issue when activating the premium version
90
- 3.3.46
91
- Better compatibility with external lazy loading scripts
92
- 3.3.45
93
- Fixed lazy loading
94
- 3.3.44
95
- WooCommerce Fix
96
- 3.3.43
97
- Admin UI tweaks
98
- 3.3.42
99
- Fix: lightbox params
100
- 3.3.41
101
- New feature: lightbox params
102
- 3.3.40
103
- Improved performances
104
- 3.3.39
105
- Updated LightGallery
106
- 3.3.38
107
- Fixed Fatal error "Cannot redeclare ftg_admin_script()"
108
- Use custom taxonomy as filters in post galleries
109
- 3.3.37
110
- PhotoBlocks banners
111
- 3.3.36
112
- PHP 7.1 compatibility
113
- 3.3.35
114
- Updated Freemius library
115
- 3.3.34
116
- Fix: fixed lightbox skipping images bug
117
- 3.3.30
118
- Fix: fixed wrong image order when using Masonry layout
119
- 3.3.29
120
- Fix: fixed path to library
121
- 3.3.28
122
- Fix: filters with groups
123
- 3.3.27
124
- Enhancement: compatibility with JetPack Photon
125
- 3.3.26
126
- New feature: use custom fields as captions
127
- 3.3.25
128
- Fixed recent posts galleries
129
- 3.3.24
130
- Fixed missing captions on mobile
131
- 3.3.23
132
- Added "ask for review" functionality
133
- 3.3.22
134
- Fixed issue with filters
135
- 3.3.21
136
- Fixed disabled hover rotation field
137
- 3.3.20
138
- Fixed disabled caption behaviour field
139
- 3.3.19
140
- Fixed ignored caption font size
141
- 3.3.18
142
- Fixed issue with iconv function
143
- 3.3.17
144
- Fixed issues in admin panel
145
- 3.3.16
146
- Fixed plugin name
147
- 3.3.15
148
- Fixed minor issue
149
- 3.3.14
150
- Fixed bug
151
- 3.3.13
152
- Fixed menu slug
153
- 3.3.12
154
- Lite version code merged with premium
155
- 3.3.10
156
- Bug fix (wrong behaviour on mobile with columns layout)
157
- 3.3.9
158
- Extended support for PHP versions
159
- 3.3.8
160
- Bug fix (Woocommerce categories were ignored)
161
- 3.3.7
162
- Bug fix (Youtube videos not showing in lightboxes)
163
- 3.3.6
164
- Bug fix (Vimeo videos not showing in lightboxes)
165
- 3.3.5
166
- Enhanced compatibility with EverlightBox
167
- 3.3.4
168
- Bug fix (woocommerce 3.1.x galleries not working)
169
- Admin UI minor fixes
170
- 3.3.3
171
- Bug fix (wrong behaviour of captions on mobile devices)
172
- 3.3.2
173
- Bug fix (videos not using the masonry layout)
174
- 3.3.1
175
- Bug fix (videos not visible)
176
- 3.3.0
177
- Use gallery options inside shortcode
178
- Enhanced backend UI
179
- Added new caption behaviours
180
- Fix FitVid conflicts
181
- Added Hover effects and Image loaded effects presets
182
- Added hover effect duration
183
- Added new feature: disable grid size below given screen width
184
- Added title and description to LightGallery
185
- 3.2.9
186
- Added support for EverlightBox
187
- Renamed get_image_sizes function to avoid conflicts
188
- 3.2.8
189
- Minor Bug fix
190
- 3.2.7
191
- Minor Bug fix
192
- 3.2.6
193
- Bug fix
194
- New feature: choose image size for lightbox
195
- 3.2.5
196
- SwipeBox now supports filters
197
- Download the full size from LighGallery
198
- Ajax loading (beta)
199
- 3.2.4
200
- Bug fix
201
- 3.2.3
202
- Bug fix
203
- 3.2.2
204
- Bug fix
205
- 3.2.1
206
- Bug fix
207
- 3.2.0
208
- Lightbox groups
209
- Hidden images
210
- 3.1.32
211
- Added date filter to media panel
212
- Added support to Enhanced Media Panel
213
- Lazy loading with multiple image loading
214
- Pre-selected filter
215
- 3.1.31
216
- Enhanced compatibility with other plugins and themes by adding data-class attribute on images
217
- 3.1.30
218
- Fixed jQuery issue
219
- 3.1.29
220
- Minor bug fix
221
- 3.1.28
222
- Bug fix
223
- 3.1.27
224
- Alt tag
225
- 3.1.26
226
- Bug fix
227
- 3.1.25
228
- Bug fix
229
- 3.1.24
230
- Bug fix
231
- 3.1.23
232
- Fixed bug occuring with Lazy load + Filters
233
- 3.1.22
234
- Lazy load
235
- 3.1.21
236
- New layout Masonry
237
- 3.1.20
238
- Max number of posts for "Recent posts" galleries
239
- 3.1.19
240
- Open videos in lightbox
241
- 3.1.18
242
- Admin panel enhancements
243
- Fixed issue about Magnific Popup being loaded even when not needed
244
- 3.1.17
245
- New lightbox added: Lightgallery
246
- Fixed minor bug in Custom CSS (removed slashes)
247
- 3.1.16
248
- Fixed bug in 'Recent posts' galleries, now it's possible to link posts
249
- 3.1.15
250
- Added new lightbox: LightGallery
251
- 3.1.14
252
- Import/Export features, Set title font size, select images by filter (backend), choose mobile lightbox
253
- 3.1.13
254
- Fixed issue with some lightboxes on pages with more than one gallery
255
- 3.1.12
256
- Solved conflicts with FitVids
257
- 3.1.11
258
- [Backend] edit gallery by clicking the tile
259
- 3.1.10
260
- Bug fix
261
- 3.1.9
262
- Load gallery with a selected filter, choose to reload page after clicking a filter,
263
- choose gallery from text editor, load scripts from footer for enhanced page load
264
- 3.1.8
265
- Updated material design fonts
266
- 3.1.7
267
- Fix grid size 0
268
- 3.1.6
269
- Minor bug fix
270
- 3.1.5
271
- Image loaded effects
272
- 3.1.4
273
- Bug fix
274
- 3.1.3
275
- Set a custom label for "All" filter, Choose size of images in admin panel, Loading bar color, Loading bar background color, Caption font size, Sequential image loading
276
- 3.1.2
277
- PrettyPhoto security fix
278
- 3.1.1
279
- Minor bug fix
280
- 3.1.0
281
- New Backoffice
282
- Wizard
283
- WooCommerce products
284
- New caption styles
285
- Earn money with referral
286
- 3.0.21
287
- Bug fix
288
- 3.0.20
289
- Support for Social Gallery plugin by EpicPlugins
290
- 3.0.19
291
- Bug fix
292
- 3.0.18
293
- Posts galleries can use lightboxes
294
- 3.0.17
295
- Bug fix
296
- 3.0.16
297
- Filters available with recent posts
298
- 3.0.15
299
- bug fix
300
- 3.1.14
301
- New customization fields: before gallery text and after gallery text
302
- 3.0.13
303
- Removed unused gallery properties
304
- Read "Description" field from media panel
305
- Added delay control
306
- 3.0.12
307
- minor bug fix
308
- 3.0.11
309
- Image width and height attributes are now ignored
310
- 3.0.10
311
- Added compatibility with Cherry themes
312
- 3.0.9
313
- Minor bug fix
314
- 3.0.8
315
- Minor bug fix
316
- 3.0.7
317
- Minor bug fix
318
- 3.0.6
319
- Added filters in media panel
320
- 3.0.5
321
- Minor bug fix
322
- 3.0.4
323
- Minor bug fix
324
- 3.0.3
325
- Bug fix
326
- 3.0.2
327
- Bug fix
328
- 3.0.1
329
- Bug fix
330
- 3.0
331
- New grid layout algorithm
332
- Video support, reverse order option
333
- Automatic gallery with recent posts, toggle HTML compression, caption behavior on mobile devices, custom caption icon, update to FontAwesone 4.1.0
334
- 2.1.10
335
- Lazy loading
336
- 2.1.9
337
- Fixed issue with single quote character in captions
338
- 2.1.8
339
- Re-activated html compression
340
- 2.1.7
341
- Fixed notice messages
342
- 2.1.6
343
- Magnific Popup and Lightbox now work with gallery filters
344
- 2.1.5
345
- New feature: dynamic image size factor
346
- 2.1.4
347
- New fields: CSS class and REL on A tag
348
- 2.1.3
349
- Social icons bug fix
350
-
351
- 2.1.2
352
- Show empty captions
353
- Inverted captions (visible then hidden on mouse over)
354
- Icons in captions
355
- Admin redesign UI
356
- Enable/Disable effects on mouse over
357
- Caption auto height
358
- Set color of social sharing icons
359
- Fixed captions
360
- Loading progress bar
361
- Minor bugs fixes
362
- Page with support request instructions
363
- Page with instructions
364
- */
365
  // Create a helper function for easy SDK access.
366
 
367
  if ( !function_exists( "ftg_fs" ) ) {
2
  /**
3
  * Plugin Name: Final Tiles Grid Gallery - Image Gallery
4
  * Description: Wordpress Plugin for creating responsive image galleries.
5
+ * Version: 3.4.17
6
  * Author: MachoThemes
7
  * Author URI: https://www.machothemes.com
8
+ * Tested up to: 5.2
9
  * Requires: 4.9 or higher
10
  * License: GPLv3 or later
11
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
25
  */
26
 
27
 
28
+ define( "FTGVERSION", "3.4.17" );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  // Create a helper function for easy SDK access.
30
 
31
  if ( !function_exists( "ftg_fs" ) ) {
admin/css/gutenberg_block.css CHANGED
File without changes
admin/css/style.css CHANGED
@@ -582,8 +582,14 @@ h2.ftg-subtitle {
582
  border-bottom-right-radius: 6px;
583
  padding: 10px 10px 0 10px;
584
  color: #666;
 
 
 
585
  display: none;
586
  }
 
 
 
587
  .collapsible li div.help .ftg-code {
588
  display: block;
589
  padding-top: 10px;
@@ -1092,4 +1098,45 @@ padding: 10px;
1092
  .no-thank-you {
1093
  float: right;
1094
  margin-top: 7px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1095
  }
582
  border-bottom-right-radius: 6px;
583
  padding: 10px 10px 0 10px;
584
  color: #666;
585
+ /*display: none;*/
586
+ }
587
+ .collapsible li div.help span code {
588
  display: none;
589
  }
590
+ .collapsible li div.help span.visible code {
591
+ display: inline-block;
592
+ }
593
  .collapsible li div.help .ftg-code {
594
  display: block;
595
  padding-top: 10px;
1098
  .no-thank-you {
1099
  float: right;
1100
  margin-top: 7px;
1101
+ }
1102
+
1103
+ /* Tabs tooltips */
1104
+ .ftg-tooltip {
1105
+ position: relative;
1106
+ display: inline-block;
1107
+ }
1108
+ .ftg-tooltip > span {
1109
+ cursor: pointer;
1110
+ color: #0073aa;
1111
+ text-decoration: underline;
1112
+ margin-left: 5px;
1113
+ }
1114
+ .ftg-tooltip .ftg-tooltip-content {
1115
+ display: none;
1116
+ position: absolute;
1117
+ top: 50%;
1118
+ right: -10px;
1119
+ transform: translate( 100% ,-50% );
1120
+ width: 300px;
1121
+ background: #000;
1122
+ color: #fff;
1123
+ padding: 10px;
1124
+ box-sizing: border-box;
1125
+ z-index: 99;
1126
+ }
1127
+ .ftg-tooltip .ftg-tooltip-content:before {
1128
+ content: '';
1129
+ width: 0px;
1130
+ height: 0px;
1131
+ border-style: solid;
1132
+ border-width: 8px 8px 8px 0;
1133
+ border-color: transparent #000 transparent transparent;
1134
+ display: block;
1135
+ position: absolute;
1136
+ top: 50%;
1137
+ left: -8px;
1138
+ transform: translateY( -50% );
1139
+ }
1140
+ .ftg-tooltip:hover .ftg-tooltip-content {
1141
+ display: block;
1142
  }
admin/images/photoblocks.png CHANGED
File without changes
admin/include/edit-gallery.php CHANGED
@@ -1,80 +1,74 @@
1
  <?php
2
 
3
- if ( !function_exists( 'ftg_p' ) ) {
4
- function ftg_p( $gallery, $field, $default = NULL )
5
- {
6
- global $ftg_options ;
7
-
8
- if ( $ftg_options ) {
9
- if ( array_key_exists( $field, $ftg_options ) ) {
10
- print stripslashes( $ftg_options[$field] );
11
  }
12
  return;
13
  }
14
-
15
-
16
- if ( $gallery == NULL || $gallery->{$field} === NULL ) {
17
-
18
- if ( $default === NULL ) {
19
  print "";
20
  } else {
21
- print stripslashes( $default );
22
  }
23
-
24
  } else {
25
- print stripslashes( $gallery->{$field} );
26
  }
27
-
28
  }
29
-
30
  function ftg_sel(
31
  $gallery,
32
  $field,
33
  $value,
34
  $type = "selected"
35
- )
36
- {
37
- global $ftg_options ;
38
-
39
- if ( $ftg_options && $ftg_options[$field] == $value ) {
40
  print $type;
41
  return;
42
  }
43
-
44
-
45
- if ( $gallery == NULL || !isset( $gallery->{$field} ) ) {
46
  print "";
47
  } else {
48
- if ( $gallery->{$field} == $value ) {
49
  print $type;
50
  }
51
  }
52
-
53
  }
54
-
55
- function ftg_checkFieldDisabled( $options )
56
- {
57
- if ( is_array( $options ) && count( $options ) == 3 && $options[2] == "disabled" ) {
58
  return "disabled";
59
  }
60
  return "";
61
  }
62
-
63
- function ftg_checkDisabledOption( $plan )
64
- {
65
  return "disabled";
66
  return "";
67
  }
68
-
69
- function ftg_printPro( $plan )
70
- {
71
  return " (upgrade to unlock)";
72
  return "";
73
  }
74
-
75
- function ftg_printFieldPro( $options )
76
- {
77
- if ( is_array( $options ) && count( $options ) == 3 && $options[2] == "disabled" ) {
78
  return " (upgrade to unlock)";
79
  }
80
  return "";
@@ -82,1108 +76,1187 @@ if ( !function_exists( 'ftg_p' ) ) {
82
 
83
  }
84
 
85
- global $ftg_parent_page ;
86
- global $ftg_fields ;
87
  $filters = array();
88
  //print_r($gallery);
89
  $idx = 0;
90
- function ftgSortByName( $a, $b )
91
- {
92
  return $a["name"] > $b["name"];
93
  }
94
 
95
  ?>
96
-
97
- <div class="row">
98
- <div class="col s9">
99
- <ul class="collapsible" id="all-settings" data-collapsible="accordion">
100
- <li id="images" class="active">
101
- <div class="collapsible-header">
102
- <i class="fa fa-picture-o light-green darken-1 white-text ftg-section-icon"></i> <?php
103
- _e( 'Images', 'final-tiles-grid-gallery-lite' );
104
- ?>
105
- </div>
106
- <div class="collapsible-body" style="display:block">
107
- <div class="actions">
108
- <div class="images-bar">
109
- <select name="ftg_source" class="browser-default">
110
- <option <?php
111
- ftg_sel( $gallery, "source", "images" );
112
- ?> value="images"><?php
113
- _e( 'User images', 'final-tiles-grid-gallery-lite' );
114
- ?></option>
115
- <option <?php
116
- ftg_sel( $gallery, "source", "posts" );
117
- ?> value="posts" <?php
118
- echo ftg_checkDisabledOption( 'ultimate' ) ;
119
- ?>><?php
120
- _e( 'Recent posts with featured image', 'final-tiles-grid-gallery-lite' );
121
- echo ftg_printPro( 'ultimate' ) ;
122
- ?></option>
123
- <?php
124
-
125
- if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
126
- ?>
127
- <option <?php
128
- ftg_sel( $gallery, "source", "woocommerce" );
129
- ?> value="woocommerce" <?php
130
- echo ftg_checkDisabledOption( 'ultimate' ) ;
131
- ?>><?php
132
- _e( 'WooCommerce products', 'final-tiles-grid-gallery-lite' );
133
- echo ftg_printPro( 'ultimate' ) ;
134
- ?></option>
135
- <?php
136
- }
137
 
138
- ?>
139
- </select>
140
- <select class="current-image-size browser-default">
141
- <?php
142
- foreach ( $this->list_thumbnail_sizes() as $size => $atts ) {
143
- print '<option ' . (( $size == 'large' ? 'selected' : '' )) . ' value="' . $size . '">' . $size . " (" . implode( 'x', $atts ) . ")</option>";
144
- }
145
- ?>
146
- </select>
147
-
148
- <a href="#" class="open-media-panel button">
149
- <?php
150
- _e( 'Add images', 'final-tiles-grid-gallery-lite' );
151
- ?>
152
- </a>
153
- <?php
154
- ?>
155
- <a onclick="alert('Upgrade to unlock')" href="#" class=" button"><?php
156
- _e( 'Add video', 'final-tiles-grid-gallery-lite' );
157
- ?></a>
158
- <?php
159
- ?>
160
- <a class="button button-delete" data-remove-images href="#!"><?php
161
- _e( 'Remove selected', 'final-tiles-grid-gallery-lite' );
162
- ?></a>
163
- </div>
164
- <div class="row selection-row">
165
- <div class="bulk options">
166
- <span>
167
- <a class="button" href="#" data-action="select"><?php
168
- _e( 'Select all', 'final-tiles-grid-gallery-lite' );
169
- ?></a>
170
- <a class="button" href="#" data-action="deselect"><?php
171
- _e( 'Deselect all', 'final-tiles-grid-gallery-lite' );
172
- ?></a>
173
- <a class="button" href="#" data-action="toggle"><?php
174
- _e( 'Toggle selection', 'final-tiles-grid-gallery-lite' );
175
- ?></a>
176
- </span>
177
- <span>
178
- <?php
179
- ?>
180
- <?php
181
- ?>
182
- </span>
183
- <span>
184
- <a class="button" href="#" data-action="show-hide"><?php
185
- _e( 'Toggle visibility', 'final-tiles-grid-gallery-lite' );
186
- ?></a>
187
- </span>
188
- </div>
189
- </div>
190
- <?php
191
-
192
- if ( is_array( $filters ) && count( $filters ) > 1 ) {
193
- ?>
194
- <div class="row filter-list">
195
- <b> <?php
196
- _e( 'Select by filter:', 'final-tiles-grid-gallery-lite' );
197
- ?> </b>
198
- <span class="filter-select-control">
199
- <?php
200
- foreach ( $filters as $filter ) {
201
- ?>
202
- <em class='button filter-item' ><?php
203
- print $filter;
204
- ?></em>
205
- <?php
206
- }
207
- ?>
208
- </span>
209
- </div>
210
- <?php
211
- }
212
 
213
- ?>
214
- </div>
215
- <div id="image-list" class="row"></div>
216
-
217
- <div class="actions">
218
- <div class="row">
219
- <?php
220
- _e( 'Add links by clicking the EDIT (pencil) button', 'final-tiles-grid-gallery-lite' );
221
- ?><br>
222
- <?php
223
- _e( 'Drag the images to change their order.', 'final-tiles-grid-gallery-lite' );
224
- ?>
225
- </div>
226
- </div>
227
- <div id="images" class="ftg-section form-fields">
228
- <div class="actions source-posts source-panel">
229
- <div class="row">
230
- <label>Taxonomy operator</label>
231
- <select name="ftg_taxonomyOperator" class="browser-default js-ajax-loading-control">
232
- <option <?php
233
- ftg_sel( $gallery, "taxonomyOperator", "OR" );
234
- ?> value="OR">OR: all posts matching 1 ore more selected taxonomies</option>
235
- <option <?php
236
- ftg_sel( $gallery, "taxonomyOperator", "AND" );
237
- ?> value="AND">AND: all posts matching all the selected taxonomies</option>
238
- </select>
239
- </div>
240
- <div class="row">
241
- <label>Taxonomy as filter</label>
242
- <select name="ftg_taxonomyAsFilter" class="browser-default js-ajax-loading-control">
243
- <option></option>
244
- <?php
245
- foreach ( get_taxonomies( array(), "objects" ) as $taxonomy => $t ) {
246
- ?>
247
- <?php
248
-
249
- if ( $t->publicly_queryable ) {
250
- ?>
251
- <option <?php
252
- ftg_sel( $gallery, "taxonomyAsFilter", $t->label );
253
- ?> value="<?php
254
- _e( $t->label );
255
- ?>"><?php
256
- _e( $t->label );
257
- ?></option>
258
- <?php
259
- }
260
-
261
- ?>
262
- <?php
263
- }
264
- ?>
265
- </select>
266
- </div>
267
- <div class="row checkboxes">
268
- <strong class="label"><?php
269
- _e( 'Post type:', 'final-tiles-grid-gallery-lite' );
270
- ?></strong>
271
- <span>
272
- <?php
273
- $idx = 0;
274
- ?>
275
- <?php
276
- foreach ( get_post_types( '', 'names' ) as $t ) {
277
- ?>
278
- <?php
279
-
280
- if ( !in_array( $t, $excluded_post_types ) ) {
281
- ?>
282
- <span class="tax-item">
283
- <input class="browser-default" id="post-type-<?php
284
- _e( $idx );
285
- ?>" type="checkbox" name="post_types" value="<?php
286
- _e( $t );
287
- ?>">
288
- <label for="post-type-<?php
289
- _e( $idx );
290
- ?>"><?php
291
- _e( $t );
292
- ?></label>
293
- </span>
294
- <?php
295
- $idx++;
296
- ?>
297
- <?php
298
- }
299
-
300
- ?>
301
- <?php
302
- }
303
- ?>
304
- <input type="hidden" name="ftg_post_types" value="<?php
305
- _e( $gallery->post_types );
306
- ?>" />
307
- </span>
308
- </div>
309
- <?php
310
- //print_r(get_taxonomies(array(), "objects")); exit();
311
- ?>
312
- <?php
313
- foreach ( get_taxonomies( array(), "objects" ) as $taxonomy => $t ) {
314
- ?>
315
- <?php
316
-
317
- if ( $t->publicly_queryable ) {
318
- ?>
319
- <?php
320
- $items = get_terms( $taxonomy, array(
321
- "hide_empty" => false,
322
- ) );
323
- ?>
324
- <?php
325
-
326
- if ( count( $items ) > 0 ) {
327
- ?>
328
- <?php
329
- //print_r($items);
330
- ?>
331
- <div class="row checkboxes">
332
- <strong class="label"><?php
333
- echo $t->label ;
334
- ?></strong>
335
- <span>
336
- <?php
337
- $idx = 0;
338
- ?>
339
- <?php
340
- foreach ( $items as $c ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
341
  ?>
342
- <span class="tax-item">
343
- <input id="post-tax-<?php
344
- _e( $c->term_id );
345
- ?>" type="checkbox" name="post_taxonomy" data-taxonomy="<?php
346
- _e( $t->name );
347
- ?>" value="<?php
348
- _e( $c->term_id );
349
- ?>">
350
- <label for="post-tax-<?php
351
- _e( $c->term_id );
352
- ?>"><?php
353
- _e( $c->name );
354
- ?></label>
355
- </span>
356
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  $idx++;
358
  ?>
359
- <?php
360
  }
361
- ?>
362
- </span>
363
- </div>
364
- <?php
365
- }
366
-
367
- ?>
368
- <?php
369
- }
370
-
371
- ?>
372
- <?php
373
- }
374
- ?>
375
- <input type="hidden" name="ftg_post_taxonomies" value="<?php
376
- _e( $gallery->post_taxonomies );
377
- ?>" />
378
- <div class="row checkboxes">
379
- <strong class="label"><?php
380
- _e( 'Max posts:', 'final-tiles-grid-gallery-lite' );
381
- ?></strong>
382
- <span class="aside">
383
- <input type="text" name="ftg_max_posts" value="<?php
384
- echo $gallery->max_posts ;
385
- ?>">
386
- <span><?php
387
- _e( '(enter 0 for unlimited posts)', 'final-tiles-grid-gallery-lite' );
388
- ?></span>
389
- </span>
390
- </div>
391
- </div>
392
- <?php
393
-
394
- if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
395
- ?>
396
- <div class="actions source-woocommerce source-panel">
397
- <div class="row checkboxes">
398
- <strong class="label"><?php
399
- _e( 'Categories', 'final-tiles-grid-gallery-lite' );
400
- ?>:</strong>
401
- <span>
402
- <?php
403
- $idx = 0;
404
- ?>
405
- <?php
406
- foreach ( $woo_categories as $c ) {
407
- ?>
408
- <input class="browser-default" id="woo-cat-<?php
409
- _e( $idx );
410
- ?>" type="checkbox" name="woo_cat" value="<?php
411
- _e( $c->term_id );
412
- ?>">
413
- <label for="woo-cat-<?php
414
- _e( $idx );
415
- ?>"><?php
416
- _e( $c->cat_name );
417
- ?></label>
418
- <?php
419
- $idx++;
420
- ?>
421
- <?php
422
- }
423
- ?>
424
- <input type="hidden" name="ftg_woo_categories" value="<?php
425
- _e( $gallery->woo_categories );
426
- ?>" />
427
- </span>
428
- </div>
429
- </div>
430
- <?php
431
- }
432
-
433
- ?>
434
- </div>
435
- </div>
436
- </li>
437
- <?php
438
- foreach ( $ftg_fields as $section => $s ) {
439
- ?>
440
- <li id="<?php
441
- _e( FinalTiles_Gallery::slugify( $section ) );
442
- ?>">
443
- <div class="collapsible-header">
444
- <i class="<?php
445
- echo $s["icon"] ;
446
- ?> light-green darken-1 white-text ftg-section-icon"></i> <?php
447
- _e( $section, 'final-tiles-grid-gallery-lite' );
448
- ?>
449
- </div>
450
- <div class="collapsible-body tab form-fields">
451
- <div class="jump-head">
452
- <?php
453
- $jumpFields = array();
454
- foreach ( $s["fields"] as $f => $data ) {
455
- $jumpFields[$f] = $data;
456
- $jumpFields[$f]['_code'] = $f;
457
- }
458
- unset( $f );
459
- unset( $data );
460
- usort( $jumpFields, "ftgSortByName" );
461
- ?>
462
- <select class="browser-default jump">
463
- <option><?php
464
- _e( 'Jump to setting', 'final-tiles-grid-gallery-lite' );
465
- ?></option>
466
- <?php
467
- foreach ( $jumpFields as $f => $data ) {
468
- ?>
469
- <?php
470
-
471
- if ( is_array( $data["excludeFrom"] ) && !in_array( $ftg_parent_page, $data["excludeFrom"] ) ) {
472
  ?>
473
- <option value="<?php
474
- _e( $data['_code'], 'final-tiles-grid-gallery-lite' );
475
- ?>">
476
- <?php
477
- _e( $data["name"], 'final-tiles-grid-gallery-lite' );
478
- ?>
479
- </option>
480
- <?php
481
- }
482
-
483
- ?>
484
- <?php
485
- }
486
- ?>
487
- </select>
488
-
489
- <?php
490
-
491
- if ( array_key_exists( "presets", $s ) ) {
492
- ?>
493
- <select class="browser-default presets" data-field-idx="<?php
494
- echo $idx ;
495
- ?>">
496
- <option value="">Select preset</option>
497
- <?php
498
- foreach ( $s["presets"] as $preset => $data ) {
499
  ?>
500
- <option><?php
501
- echo $preset ;
502
- ?></option>
503
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
  }
 
505
  ?>
506
- </select>
507
- <?php
508
- }
509
-
510
- ?>
511
- </div>
512
- <table>
513
- <tbody>
514
- <?php
515
- foreach ( $s["fields"] as $f => $data ) {
516
- ?>
517
- <?php
518
-
519
- if ( is_array( $data["excludeFrom"] ) && !in_array( $ftg_parent_page, $data["excludeFrom"] ) ) {
520
- ?>
521
-
522
- <tr class="field-row row-<?php
523
- print $f;
524
- ?> <?php
525
- print $data["type"];
526
- ?>">
527
- <th scope="row">
528
- <label><?php
529
- _e( $data["name"], 'final-tiles-grid-gallery-lite' );
530
- ?>
531
- <?php
532
-
533
- if ( $data["mu"] ) {
534
- ?>
535
- (<?php
536
- _e( $data["mu"] );
537
- ?>)
538
- <?php
539
- }
540
-
541
- ?>
542
-
543
- <?php
544
-
545
- if ( strlen( $data["description"] ) ) {
546
- ?>
547
- <a data-field="<?php
548
- echo $f ;
549
- ?>" data-tooltip="<?php
550
- _e( 'Show help', 'final-tiles-grid-gallery-lite' );
551
- ?>" class="field-help" href="#"><i class="fa fa-question"></i></a>
552
- <?php
553
- }
554
-
555
- ?>
556
- </label>
557
- </th>
558
- <td>
559
- <div class="field <?php
560
- echo ( in_array( 'shortcode', $data["excludeFrom"] ) ? "" : "js-update-shortcode" ) ;
561
- ?>">
562
- <?php
563
-
564
- if ( $data["type"] == "text" ) {
565
- ?>
566
- <div class="text">
567
- <input type="text" size="30" name="ftg_<?php
568
- print $f;
569
- ?>" value="<?php
570
- ftg_p( $gallery, $f, $data["default"] );
571
- ?>" />
572
- </div>
573
- <?php
574
- } elseif ( $data["type"] == "cta" ) {
575
- ?>
576
- <div class="text">
577
- <a class="in-table-cta" href="<?php
578
- echo ftg_fs()->get_upgrade_url() ;
579
- ?>"><i class="mdi mdi-bell-ring-outline"></i>
580
- <?php
581
- _e( 'Unlock this feature. Upgrade Now!', 'final-tiles-grid-gallery-lite' );
582
- ?>
583
- </a>
584
- </div>
585
- <?php
586
- } elseif ( $data["type"] == "select" ) {
587
- ?>
588
- <div class="text">
589
- <select class="browser-default" name="ftg_<?php
590
- print $f;
591
- ?>">
592
- <?php
593
- foreach ( array_keys( $data["values"] ) as $optgroup ) {
594
  ?>
595
- <optgroup label="<?php
596
- print $optgroup;
597
- ?>">
598
- <?php
599
- foreach ( $data["values"][$optgroup] as $option ) {
600
- ?>
601
-
602
- <?php
603
- $v = explode( "|", $option );
604
- ?>
605
-
606
- <option <?php
607
- echo ftg_checkFieldDisabled( $v ) ;
608
- ?> <?php
609
- ftg_sel( $gallery, $f, $v[0] );
610
- ?> value="<?php
611
- print $v[0];
612
- ?>"><?php
613
- _e( $v[1], 'final-tiles-grid-gallery-lite' );
614
- echo ftg_printFieldPro( $v ) ;
615
- ?></option>
616
- <?php
617
- }
 
618
  ?>
619
- </optgroup>
620
- <?php
621
- }
622
- ?>
623
- </select>
624
- <?php
625
-
626
- if ( $f == "lightbox" ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
627
  ?>
628
- <div class="col s12 ftg-everlightbox-settings">
629
- <?php
630
-
631
- if ( class_exists( 'Everlightbox_Public' ) ) {
632
- ?>
633
- <div class="card-panel light-green lighten-4">
634
- <a href="?page=everlightbox_options" target="_blank"><?php
635
- _e( 'EverlightBox settings', 'final-tiles-grid-gallery-lite' );
636
- ?></a>
637
- </div>
638
- <?php
639
- } else {
640
- ?>
641
- <div class="card-panel yellow lighten-3">
642
- <?php
643
- _e( 'EverlightBox not installed', 'final-tiles-grid-gallery-lite' );
644
- ?>. <a target="_blank" class="open-checkout" href="https://checkout.freemius.com/mode/dialog/plugin/1981/plan/2954/"><?php
645
- _e( 'Purchase', 'final-tiles-grid-gallery-lite' );
646
- ?></a>
647
- </div>
648
- <?php
649
- }
650
-
651
- ?>
652
- </div>
653
- <?php
654
- }
655
-
656
- ?>
657
- </div>
658
- <?php
659
- } elseif ( $data["type"] == "toggle" ) {
660
- ?>
661
- <div class="switch">
662
- <label>
663
- Off
664
- <input disabled type="checkbox" id="ftg_<?php
665
- print $f;
666
- ?>" name="ftg_<?php
667
- print $f;
668
- ?>" value="<?php
669
- ftg_p( $gallery, $f, $data["default"] );
670
- ?>" <?php
671
- ftg_sel(
672
- $gallery,
673
- $f,
674
- "T",
675
- "checked"
676
- );
677
- ?> >
678
- <span class="lever"></span>
679
- On
680
- </label>
681
- </div>
682
- <?php
683
- } elseif ( $data["type"] == "slider" ) {
684
- ?>
685
-
686
- <div class="text">
687
- <b id="preview-<?php
688
- print $f;
689
- ?>" class="range-preview"><?php
690
- ftg_p( $gallery, $f, $data["default"] );
691
- ?></b>
692
- <p class="range-field">
693
- <input data-preview="<?php
694
- echo $f ;
695
- ?>" name="ftg_<?php
696
- print $f;
697
- ?>" value="<?php
698
- ftg_p( $gallery, $f, $data["default"] );
699
- ?>" type="range" min="<?php
700
- print $data["min"];
701
- ?>" max="<?php
702
- print $data["max"];
703
- ?>" />
704
- </p>
705
- </div>
706
-
707
- <?php
708
- } elseif ( $data["type"] == "number" ) {
709
- ?>
710
- <div class="text">
711
- <input type="text" name="ftg_<?php
712
- print $f;
713
- ?>" class="integer-only" value="<?php
714
- ftg_p( $gallery, $f, $data["default"] );
715
- ?>" >
716
- </div>
717
-
718
- <?php
719
- } elseif ( $data["type"] == "color" ) {
720
- ?>
721
- <div class="text">
722
- <input type="text" size="6" data-default-color="<?php
723
- print $data["default"];
724
- ?>" name="ftg_<?php
725
- print $f;
726
- ?>" value="<?php
727
- ftg_p( $gallery, $f, $data["default"] );
728
- ?>" class='pickColor' /> </div>
729
-
730
- <?php
731
- } elseif ( $data["type"] == "filter" ) {
732
- ?>
733
-
734
- <div class="filters gallery-filters dynamic-table">
735
- <div class="text"></div>
736
- <a href="#" class="add button"><?php
737
- _e( 'Add filter', 'final-tiles-grid-gallery-lite' );
738
- ?></a>
739
- <a href="#" class="reset-default-filter button"><?php
740
- _e( 'Reset selected filter', 'final-tiles-grid-gallery-lite' );
741
- ?></a>
742
- <input type="hidden" name="ftg_filters" value="<?php
743
- ftg_p( $gallery, "filters" );
744
- ?>" />
745
- <input type="hidden" name="filter_def" value="<?php
746
- ftg_p( $gallery, "defaultFilter" );
747
- ?>" />
748
- </div>
749
-
750
- <?php
751
- } elseif ( $data["type"] == "textarea" ) {
752
- ?>
753
- <div class="text">
754
- <textarea name="ftg_<?php
755
- print $f;
756
- ?>"><?php
757
- ftg_p( $gallery, $f );
758
- ?></textarea>
759
- </div>
760
- <?php
761
- } elseif ( $data["type"] == "custom_isf" ) {
762
- ?>
763
- <div class="custom_isf dynamic-table">
764
- <table class="striped">
765
- <thead>
766
- <tr>
767
- <th></th>
768
- <th><?php
769
- _e( 'Resolution', 'final-tiles-grid-gallery-lite' );
770
- ?> (px)</th>
771
- <th><?php
772
- _e( 'Size factor', 'final-tiles-grid-gallery-lite' );
773
- ?> (%)</th>
774
- </tr>
775
- </thead>
776
- <tbody>
777
- </tbody>
778
- </table>
779
- <input type="hidden" name="ftg_imageSizeFactorCustom" value="<?php
780
- ftg_p( $gallery, "imageSizeFactorCustom" );
781
- ?>" />
782
- <a href="#" class="add button">
783
- <?php
784
- _e( 'Add resolution', 'final-tiles-grid-gallery-lite' );
785
- ?></a>
786
- </div>
787
- <?php
788
- }
789
-
790
- ?>
791
- <div class="help" id="help-<?php
792
- echo $f ;
793
- ?>">
794
- <?php
795
-
796
- if ( strlen( $data["description"] ) ) {
797
- ?>
798
- <p><?php
799
- echo $data["description"] ;
800
- ?></p>
801
- <?php
802
- }
803
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  ?>
805
- <?php
806
-
807
- if ( !in_array( 'shortcode', $data["excludeFrom"] ) && $data["type"] != "cta" ) {
808
- ?>
809
- <div class="ftg-code">
810
- <a href="#" class="toggle-shortcode" data-code="<?php
811
- print $f;
812
- ?>"><i class="fa fa-cog"></i></a>
813
- <span id="shortcode-<?php
814
- print $f;
815
- ?>">
816
- <?php
817
- _e( 'Shortcode attribute', 'final-tiles-grid-gallery-lite' );
818
- ?>:
819
- <input type="text" class="shortcode-val" readonly="" value='<?php
820
- _e( FinalTilesGalleryUtils::fieldNameToShortcode( $f ) );
821
- ?>="<?php
822
- ftg_p( $gallery, $f, $data["default"] );
823
- ?>"'>
824
- </span>
825
- </div>
826
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
827
  }
828
-
829
- ?>
830
- </div>
831
-
832
- </div>
833
- </td>
834
- </tr>
835
- <?php
836
  }
837
-
838
- ?>
839
- <?php
840
  }
841
  ?>
842
- </tbody>
843
- </table>
844
- </div>
845
- </li>
846
- <?php
847
- $idx++;
848
- ?>
849
- <?php
850
- }
851
- ?>
852
-
853
- </ul>
854
- </div>
855
- <div class="col s3">
856
- <?php
857
-
858
- if ( ftg_fs()->is_not_paying() ) {
859
- ?>
860
- <ul class="collapsible gallery-actions">
861
- <li class="active">
862
- <div class="collapsible-header"><?php
863
- _e( 'Upgrade', 'final-tiles-grid-gallery-lite' );
864
- ?>: <?php
865
- _e( 'unlock features', 'final-tiles-grid-gallery-lite' );
866
- ?></div>
867
- <div class="collapsible-body">
868
- <div class="ftg-upsell">
869
- <a href="<?php
870
- echo ftg_fs()->get_upgrade_url() ;
871
- ?>"><i class="fa fa-hand-o-right"></i> <?php
872
- _e( 'Upgrade', 'final-tiles-grid-gallery-lite' );
873
- ?></a>
874
- </div>
875
- <p>or save 30% purchasing the <strong>BUNDLE</strong>:</p>
876
- <div class="ftg-upsell">
877
- <a target="_blank" href="https://www.final-tiles-gallery.com/wordpress/bundle">
878
- <i class="fa fa-star"></i>
879
- Bundle: 30% <?php
880
- _e( 'discount', 'final-tiles-grid-gallery-lite' );
881
- ?></a>
882
- </div>
883
- <p class="upsell-info">
884
- <?php
885
- _e( 'GET 3 plugins', 'final-tiles-grid-gallery-lite' );
886
- ?>: Final Tiles Gallery Ultimate + EverlightBox + PostSnippet
887
- </p>
888
- </div>
889
- </li>
890
- </ul>
891
- <?php
892
- }
893
 
894
- ?>
895
- <ul class="collapsible gallery-actions">
896
- <li class="active">
897
- <div class="collapsible-header"><?php
898
- _e( 'Publish', 'final-tiles-grid-gallery-lite' );
899
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
900
- <div class="collapsible-body">
901
- <div><input readonly="" type="text" value="[FinalTilesGallery id='<?php
902
- print $gid;
903
- ?>']"></div>
904
- <div>
905
- <button data-update-gallery class="button components-button is-primary"><?php
906
- _e( 'Save gallery', 'final-tiles-grid-gallery-lite' );
907
- ?></button>
908
- </div>
909
- </div>
910
- </li>
911
- <li>
912
- <div class="collapsible-header"><?php
913
- _e( 'Import settings', 'final-tiles-grid-gallery-lite' );
914
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
915
- <div class="collapsible-body">
916
- <p><?php
917
- _e( 'Paste Here the configuration code', 'final-tiles-grid-gallery-lite' );
918
- ?></p>
919
- <div><textarea data-import-text></textarea></div>
920
- <button data-ftg-import class="button"><i class="fa fa-upload"></i> <?php
921
- _e( 'Import', 'final-tiles-grid-gallery-lite' );
922
- ?></button>
923
- </div>
924
- </li>
925
- <li>
926
- <div class="collapsible-header"><?php
927
- _e( 'Export settings', 'final-tiles-grid-gallery-lite' );
928
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
929
- <div class="collapsible-body">
930
- <p><?php
931
- _e( 'Settings', 'final-tiles-grid-gallery-lite' );
932
- ?></p>
933
- <div><textarea readonly id="ftg-export-code"></textarea></div>
934
- <button id="ftg-export" class="button"><i class="fa fa-download"></i> <?php
935
- _e( 'Refresh code', 'final-tiles-grid-gallery-lite' );
936
- ?></button>
937
- </div>
938
- </li>
939
- <li>
940
- <div class="collapsible-header"><?php
941
- _e( 'Help', 'final-tiles-grid-gallery-lite' );
942
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
943
- <div class="collapsible-body">
944
- <ul class="collection">
945
- <li class="collection-item">
946
- <i class="fa fa-chevron-right"></i>
947
- <a href="http://issuu.com/greentreelabs/docs/finaltilesgridgallery-documentation?e=17859916/13243836" target="_blank"><?php
948
- _e( 'Documentation', 'final-tiles-grid-gallery-lite' );
949
- ?></a></li>
950
- <li class="collection-item">
951
- <i class="fa fa-chevron-right"></i>
952
- <a target="_blank" href="https://www.youtube.com/watch?v=RNT4JGjtyrs">
953
- <?php
954
- _e( 'Tutorial', 'final-tiles-grid-gallery-lite' );
955
- ?></a>
956
- </li>
957
- <li class="collection-item">
958
- <i class="fa fa-chevron-right"></i>
959
- <a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/" target="_blank"><?php
960
- _e( 'How to add additional image sizes', 'final-tiles-grid-gallery-lite' );
961
- ?></a>
962
- </li>
963
- </ul>
964
- </div>
965
- </li>
966
- </ul>
967
- <ul class="collapsible gallery-actions">
968
- <li>
969
- <div class="collapsible-header"><?php
970
- _e( 'FAQ', 'final-tiles-grid-gallery-lite' );
971
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
972
- <div class="collapsible-body">
973
- <ul class="collapsible gallery-actions">
974
- <li>
975
- <div class="collapsible-header"><?php
976
- _e( 'How can I change the grid on mobile?', 'final-tiles-grid-gallery-lite' );
977
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
978
- <div class="collapsible-body">
979
- <p><?php
980
- _e( 'You can customize the aspect of your galleries for any device. Find the options "Image size factor" into the "Advanced" section. Set a lower value to make images smaller and a higher value to make images larger.' );
981
- ?></p>
982
- </div>
983
- </li>
984
- <li>
985
- <div class="collapsible-header"><?php
986
- _e( 'How to add a link to a picture?', 'final-tiles-grid-gallery-lite' );
987
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
988
- <div class="collapsible-body">
989
- <p><?php
990
- _e( 'Click the edit (pencil) icon on the image and insert the link inside the "Link" field', 'final-tiles-grid-gallery-lite' );
991
- ?></p>
992
- </div>
993
- </li>
994
- <li>
995
- <div class="collapsible-header"><?php
996
- _e( 'Why my images look blurry?', 'final-tiles-grid-gallery-lite' );
997
- ?> <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><g><path fill="none" d="M0,0h24v24H0V0z"></path></g><g><path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path></g></svg></div>
998
- <div class="collapsible-body">
999
- <p><?php
1000
- _e( 'You probably have chosen a small image size. Click the edit (pencil) icon on the blurry image and choose a larger size. Remember, you can choose the size before adding the images to the gallery', 'final-tiles-grid-gallery-lite' );
1001
- ?></p>
1002
- </div>
1003
- </li>
1004
- </ul>
1005
- </div>
1006
- </li>
1007
- </ul>
1008
- </div>
1009
- </div>
1010
-
1011
-
1012
-
1013
- <!-- video panel -->
1014
- <div id="video-panel-model" class="modal">
1015
- <div class="modal-content">
1016
- <p><?php
1017
- _e( 'Paste here the embed code (it must be an ', 'final-tiles-grid-gallery-lite' );
1018
- ?><strong><?php
1019
- _e( 'iframe', 'final-tiles-grid-gallery-lite' );
1020
- ?></strong>
1021
- <?php
1022
- _e( 'and it must contain the attributes', 'final-tiles-grid-gallery-lite' );
1023
- ?> <strong><?php
1024
- _e( 'width', 'final-tiles-grid-gallery-lite' );
1025
- ?></strong> <?php
1026
- _e( 'and', 'final-tiles-grid-gallery-lite' );
1027
- ?><strong><?php
1028
- _e( ' height', 'final-tiles-grid-gallery-lite' );
1029
- ?></strong>)</p>
1030
- <div class="text dark">
1031
- <textarea></textarea>
1032
- </div>
1033
- <div class="field video-filters clearfix" ></div>
1034
- <input type="hidden" id="filter-video" value="<?php
1035
- print $gallery->filters;
1036
- ?>">
1037
- </div>
1038
- <input type="hidden" id="video-panel-action" >
1039
- <div class="field buttons modal-footer">
1040
- <a href="#" data-action="edit" class="action positive save modal-action modal-close waves-effect waves-green btn-flat"><?php
1041
- _e( 'Save', 'final-tiles-grid-gallery-lite' );
1042
- ?></a>
1043
- <a href="#" data-action="cancel" class="action neutral modal-action modal-close waves-effect waves-yellow btn-flat"><?php
1044
- _e( 'Cancel', 'final-tiles-grid-gallery-lite' );
1045
- ?></a>
1046
- </div>
1047
- </div>
1048
-
1049
-
1050
- <!-- image panel -->
1051
- <div id="image-panel-model" class="modal">
1052
- <div class="modal-content cf">
1053
- <h4><?php
1054
- _e( 'Edit image', 'final-tiles-grid-gallery-lite' );
1055
- ?></h4>
1056
- <div class="left">
1057
- <div class="figure"></div>
1058
- <div class="field sizes"></div>
1059
- </div>
1060
- <div class="right-side">
1061
- <div class="field">
1062
- <label><?php
1063
- _e( 'Title', 'final-tiles-grid-gallery-lite' );
1064
- ?></label>
1065
- <div class="text">
1066
- <textarea name="imageTitle"></textarea>
1067
- </div>
1068
- </div>
1069
- <div class="field">
1070
- <label><?php
1071
- _e( 'Caption', 'final-tiles-grid-gallery-lite' );
1072
- ?></label>
1073
- <div class="text">
1074
- <textarea name="description"></textarea>
1075
- </div>
1076
- </div>
1077
- <div class="field">
1078
- <label><?php
1079
- _e( 'Alt', 'final-tiles-grid-gallery-lite' );
1080
- ?> <?php
1081
- _e( '(leave empty to use title or description as ALT attribute)', 'final-tiles-grid-gallery-lite' );
1082
- ?></label>
1083
- <div class="text">
1084
- <input type="text" name="alt" />
1085
- </div>
1086
- </div>
1087
- <div class="field">
1088
- <input class="browser-default" id="hidden-image" type="checkbox" name="hidden" value="T" />
1089
- <label for="hidden-image">
1090
- <?php
1091
- _e( 'Hidden, visible only with lightbox', 'final-tiles-grid-gallery-lite' );
1092
- ?>
1093
- </label>
1094
- </div>
1095
- <div class="field js-no-hidden">
1096
-
1097
- <table>
1098
- <tr>
1099
- <td style="width: 60%">
1100
- <label><?php
1101
- _e( 'Link', 'final-tiles-grid-gallery-lite' );
1102
- ?></label><br>
1103
- <input type="text" size="20" value="" name="link" />
1104
- </td>
1105
- <td>
1106
- <label><?php
1107
- _e( 'Link target', 'final-tiles-grid-gallery-lite' );
1108
- ?></label>
1109
- <select name="target" class="browser-default">
1110
- <option value="default"><?php
1111
- _e( 'Default target', 'final-tiles-grid-gallery-lite' );
1112
- ?></option>
1113
- <option value="_self"><?php
1114
- _e( 'Open in same page', 'final-tiles-grid-gallery-lite' );
1115
- ?></option>
1116
- <option value="_blank"><?php
1117
- _e( 'Open in _blank', 'final-tiles-grid-gallery-lite' );
1118
- ?></option>
1119
- <option value="_lightbox"><?php
1120
- _e( 'Open in lightbox (when using a lightbox)', 'final-tiles-grid-gallery-lite' );
1121
- ?></option>
1122
- </select>
1123
- </td>
1124
- </tr>
1125
- </table>
1126
- </div>
1127
- <?php
1128
- ?>
1129
- </div>
1130
- </div>
1131
- <div class="field buttons modal-footer">
1132
- <a href="#" data-action="cancel" class="modal-close action button"><i class="mdi-content-reply"></i> <?php
1133
- _e( 'Cancel', 'final-tiles-grid-gallery-lite' );
1134
- ?></a>
1135
- <a href="#" data-action="save" class="modal-close button components-button is-primary"><i class="fa fa-save"></i> <?php
1136
- _e( 'Save', 'final-tiles-grid-gallery-lite' );
1137
- ?></a>
1138
- </div>
1139
- </div>
1140
-
1141
- <div class="preloader-wrapper big active" id="spinner">
1142
- <div class="spinner-layer spinner-blue-only">
1143
- <div class="circle-clipper left">
1144
- <div class="circle"></div>
1145
- </div><div class="gap-patch">
1146
- <div class="circle"></div>
1147
- </div><div class="circle-clipper right">
1148
- <div class="circle"></div>
1149
- </div>
1150
- </div>
1151
- </div>
1152
- <!-- images section -->
1153
-
1154
- <div class="overlay" style="display:none"></div>
1155
-
1156
- <script>
1157
- var presets = {};
1158
- <?php
1159
- $presetIdx = 0;
1160
- foreach ( $ftg_fields as $section => $s ) {
1161
- if ( array_key_exists( "presets", $s ) ) {
1162
- foreach ( $s["presets"] as $preset => $values ) {
1163
- echo "presets['preset_" . $presetIdx . "_" . $preset . "'] = " . json_encode( $values ) . ";\n" ;
1164
- }
1165
- }
1166
- $presetIdx++;
1167
- }
1168
- ?>
1169
-
1170
- var ftg_wp_caption_field = '<?php
1171
- ftg_p( $gallery, "wp_field_caption" );
1172
- ?>';
1173
- (function ($) {
1174
- $("[name=captionFullHeight]").change(function () {
1175
- if($(this).val() == "F")
1176
- $("[name=captionEffect]").val("fade");
1177
- });
1178
- $("[name=captionEffect]").change(function () {
1179
- if($(this).val() != "fade" && $("[name=captionFullHeight]").val() == "F") {
1180
- $(this).val("fade");
1181
- alert("Cannot set this effect if 'Caption full height' is switched off.");
1182
- }
1183
- });
1184
-
1185
- <?php
1186
- ?>
1187
-
1188
- })(jQuery);
1189
- </script>
1
  <?php
2
 
3
+ if (!function_exists('ftg_p')) {
4
+ function ftg_p($gallery, $field, $default = NULL) {
5
+ global $ftg_options;
6
+
7
+ if ($ftg_options) {
8
+ if (array_key_exists($field, $ftg_options)) {
9
+ print stripslashes($ftg_options[$field]);
 
10
  }
11
  return;
12
  }
13
+
14
+
15
+ if ($gallery == NULL || $gallery->{$field} === NULL) {
16
+
17
+ if ($default === NULL) {
18
  print "";
19
  } else {
20
+ print stripslashes($default);
21
  }
22
+
23
  } else {
24
+ print stripslashes($gallery->{$field});
25
  }
26
+
27
  }
28
+
29
  function ftg_sel(
30
  $gallery,
31
  $field,
32
  $value,
33
  $type = "selected"
34
+ ) {
35
+ global $ftg_options;
36
+
37
+ if ($ftg_options && $ftg_options[$field] == $value) {
 
38
  print $type;
39
  return;
40
  }
41
+
42
+
43
+ if ($gallery == NULL || !isset($gallery->{$field})) {
44
  print "";
45
  } else {
46
+ if ($gallery->{$field} == $value) {
47
  print $type;
48
  }
49
  }
50
+
51
  }
52
+
53
+ function ftg_checkFieldDisabled($options) {
54
+ if (is_array($options) && count($options) == 3 && $options[2] == "disabled") {
 
55
  return "disabled";
56
  }
57
  return "";
58
  }
59
+
60
+ function ftg_checkDisabledOption($plan) {
 
61
  return "disabled";
62
  return "";
63
  }
64
+
65
+ function ftg_printPro($plan) {
 
66
  return " (upgrade to unlock)";
67
  return "";
68
  }
69
+
70
+ function ftg_printFieldPro($options) {
71
+ if (is_array($options) && count($options) == 3 && $options[2] == "disabled") {
 
72
  return " (upgrade to unlock)";
73
  }
74
  return "";
76
 
77
  }
78
 
79
+ global $ftg_parent_page;
80
+ global $ftg_fields;
81
  $filters = array();
82
  //print_r($gallery);
83
  $idx = 0;
84
+ function ftgSortByName($a, $b) {
 
85
  return $a["name"] > $b["name"];
86
  }
87
 
88
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
+ <div class="row">
91
+ <div class="col s9">
92
+ <ul class="collapsible" id="all-settings" data-collapsible="accordion">
93
+ <li id="images" class="active">
94
+ <div class="collapsible-header">
95
+ <i class="fa fa-picture-o light-green darken-1 white-text ftg-section-icon"></i> <?php
96
+ _e('Images', 'final-tiles-grid-gallery-lite');
97
+ ?>
98
+ </div>
99
+ <div class="collapsible-body" style="display:block">
100
+ <div class="actions">
101
+ <div class="images-bar">
102
+ <select name="ftg_source" class="browser-default">
103
+ <option <?php
104
+ ftg_sel($gallery, "source", "images");
105
+ ?> value="images"><?php
106
+ _e('User images', 'final-tiles-grid-gallery-lite');
107
+ ?></option>
108
+ <option <?php
109
+ ftg_sel($gallery, "source", "posts");
110
+ ?> value="posts" <?php
111
+ echo ftg_checkDisabledOption('ultimate');
112
+ ?>><?php
113
+ _e('Recent posts with featured image', 'final-tiles-grid-gallery-lite');
114
+ echo ftg_printPro('ultimate');
115
+ ?></option>
116
+ <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
 
118
+ if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
119
+ ?>
120
+ <option <?php
121
+ ftg_sel($gallery, "source", "woocommerce");
122
+ ?> value="woocommerce" <?php
123
+ echo ftg_checkDisabledOption('ultimate');
124
+ ?>><?php
125
+ _e('WooCommerce products', 'final-tiles-grid-gallery-lite');
126
+ echo ftg_printPro('ultimate');
127
+ ?></option>
128
+ <?php
129
+ }
130
+
131
+ ?>
132
+ </select>
133
+ <select class="current-image-size browser-default">
134
+ <?php
135
+ foreach ($this->list_thumbnail_sizes() as $size => $atts) {
136
+ print '<option ' . (($size == 'large' ? 'selected' : '')) . ' value="' . $size . '">' . $size . " (" . implode('x', $atts) . ")</option>";
137
+ }
138
+ ?>
139
+ </select>
140
+
141
+ <a href="#" class="open-media-panel button">
142
+ <?php
143
+ _e('Add images', 'final-tiles-grid-gallery-lite');
144
+ ?>
145
+ </a>
146
+ <?php
147
+ ?>
148
+ <a onclick="alert('Upgrade to unlock')" href="#" class=" button"><?php
149
+ _e('Add video', 'final-tiles-grid-gallery-lite');
150
+ ?></a>
151
+ <?php
152
+ ?>
153
+ <a class="button button-delete" data-remove-images href="#!"><?php
154
+ _e('Remove selected', 'final-tiles-grid-gallery-lite');
155
+ ?></a>
156
+ </div>
157
+ <div class="row selection-row">
158
+ <div class="bulk options">
159
+ <span>
160
+ <a class="button" href="#" data-action="select"><?php
161
+ _e('Select all', 'final-tiles-grid-gallery-lite');
162
+ ?></a>
163
+ <a class="button" href="#" data-action="deselect"><?php
164
+ _e('Deselect all', 'final-tiles-grid-gallery-lite');
165
+ ?></a>
166
+ <a class="button" href="#" data-action="toggle"><?php
167
+ _e('Toggle selection', 'final-tiles-grid-gallery-lite');
168
+ ?></a>
169
+ </span>
170
+ <span>
171
+ <?php
172
+ ?>
173
+ <?php
174
+ ?>
175
+ </span>
176
+ <span>
177
+ <a class="button" href="#" data-action="show-hide"><?php
178
+ _e('Toggle visibility', 'final-tiles-grid-gallery-lite');
179
+ ?></a>
180
+ </span>
181
+ </div>
182
+ </div>
183
+ <?php
184
+
185
+ if (is_array($filters) && count($filters) > 1) {
186
+ ?>
187
+ <div class="row filter-list">
188
+ <b> <?php
189
+ _e('Select by filter:', 'final-tiles-grid-gallery-lite');
190
+ ?> </b>
191
+ <span class="filter-select-control">
192
+ <?php
193
+ foreach ($filters as $filter) {
194
+ ?>
195
+ <em class='button filter-item'><?php
196
+ print $filter;
197
+ ?></em>
198
+ <?php
199
+ }
200
+ ?>
201
+ </span>
202
+ </div>
203
+ <?php
204
+ }
205
+
206
+ ?>
207
+ </div>
208
+ <div id="image-list" class="row"></div>
209
+
210
+ <div class="actions">
211
+ <div class="row">
212
+ <?php
213
+ _e('Add links by clicking the EDIT (pencil) button', 'final-tiles-grid-gallery-lite');
214
+ ?><br>
215
+ <?php
216
+ _e('Drag the images to change their order.', 'final-tiles-grid-gallery-lite');
217
+ ?>
218
+ </div>
219
+ </div>
220
+ <div id="images" class="ftg-section form-fields">
221
+ <div class="actions source-posts source-panel">
222
+ <div class="row">
223
+ <label>Taxonomy operator</label>
224
+ <select name="ftg_taxonomyOperator" class="browser-default js-ajax-loading-control">
225
+ <option <?php
226
+ ftg_sel($gallery, "taxonomyOperator", "OR");
227
+ ?> value="OR">OR: all posts matching 1 ore more selected taxonomies
228
+ </option>
229
+ <option <?php
230
+ ftg_sel($gallery, "taxonomyOperator", "AND");
231
+ ?> value="AND">AND: all posts matching all the selected taxonomies
232
+ </option>
233
+ </select>
234
+ </div>
235
+ <div class="row">
236
+ <label>Taxonomy as filter</label>
237
+ <select name="ftg_taxonomyAsFilter" class="browser-default js-ajax-loading-control">
238
+ <option></option>
239
+ <?php
240
+ foreach (get_taxonomies(array(), "objects") as $taxonomy => $t) {
241
+ ?>
242
+ <?php
243
+
244
+ if ($t->publicly_queryable) {
245
+ ?>
246
+ <option <?php
247
+ ftg_sel($gallery, "taxonomyAsFilter", $t->label);
248
+ ?> value="<?php
249
+ _e($t->label);
250
+ ?>"><?php
251
+ _e($t->label);
252
+ ?></option>
253
+ <?php
254
+ }
255
+
256
+ ?>
257
+ <?php
258
+ }
259
+ ?>
260
+ </select>
261
+ </div>
262
+ <div class="row checkboxes">
263
+ <strong class="label"><?php
264
+ _e('Post type:', 'final-tiles-grid-gallery-lite');
265
+ ?></strong>
266
+ <span>
267
+ <?php
268
+ $idx = 0;
269
+ ?>
270
+ <?php
271
+ foreach (get_post_types('', 'names') as $t) {
272
+ ?>
273
+ <?php
274
+
275
+ if (!in_array($t, $excluded_post_types)) {
276
+ ?>
277
+ <span class="tax-item">
278
+ <input class="browser-default" id="post-type-<?php
279
+ _e($idx);
280
+ ?>" type="checkbox" name="post_types" value="<?php
281
+ _e($t);
282
+ ?>">
283
+ <label for="post-type-<?php
284
+ _e($idx);
285
+ ?>"><?php
286
+ _e($t);
287
+ ?></label>
288
+ </span>
289
+ <?php
290
+ $idx++;
291
+ ?>
292
+ <?php
293
+ }
294
+
295
+ ?>
296
+ <?php
297
+ }
298
+ ?>
299
+ <input type="hidden" name="ftg_post_types" value="<?php
300
+ _e($gallery->post_types);
301
+ ?>"/>
302
+ </span>
303
+ </div>
304
+ <?php
305
+ //print_r(get_taxonomies(array(), "objects")); exit();
306
+ ?>
307
+ <?php
308
+ foreach (get_taxonomies(array(), "objects") as $taxonomy => $t) {
309
+ ?>
310
+ <?php
311
+
312
+ if ($t->publicly_queryable) {
313
+ ?>
314
+ <?php
315
+ $items = get_terms($taxonomy, array(
316
+ "hide_empty" => false,
317
+ ));
318
+ ?>
319
+ <?php
320
+
321
+ if (count($items) > 0) {
322
+ ?>
323
+ <?php
324
+ //print_r($items);
325
+ ?>
326
+ <div class="row checkboxes">
327
+ <strong class="label"><?php
328
+ echo $t->label;
329
+ ?></strong>
330
+ <span>
331
+ <?php
332
+ $idx = 0;
333
+ ?>
334
+ <?php
335
+ foreach ($items as $c) {
336
+ ?>
337
+ <span class="tax-item">
338
+ <input id="post-tax-<?php
339
+ _e($c->term_id);
340
+ ?>" type="checkbox" name="post_taxonomy" data-taxonomy="<?php
341
+ _e($t->name);
342
+ ?>" value="<?php
343
+ _e($c->term_id);
344
+ ?>">
345
+ <label for="post-tax-<?php
346
+ _e($c->term_id);
347
+ ?>"><?php
348
+ _e($c->name);
349
+ ?></label>
350
+ </span>
351
+ <?php
352
+ $idx++;
353
+ ?>
354
+ <?php
355
+ }
356
+ ?>
357
+ </span>
358
+ </div>
359
+ <?php
360
+ }
361
+
362
+ ?>
363
+ <?php
364
+ }
365
+
366
+ ?>
367
+ <?php
368
+ }
369
+ ?>
370
+ <input type="hidden" name="ftg_post_taxonomies" value="<?php
371
+ _e($gallery->post_taxonomies);
372
+ ?>"/>
373
+ <div class="row checkboxes">
374
+ <strong class="label"><?php
375
+ _e('Max posts:', 'final-tiles-grid-gallery-lite');
376
+ ?></strong>
377
+ <span class="aside">
378
+ <input type="text" name="ftg_max_posts" value="<?php
379
+ echo $gallery->max_posts;
380
+ ?>">
381
+ <span><?php
382
+ _e('(enter 0 for unlimited posts)', 'final-tiles-grid-gallery-lite');
383
+ ?></span>
384
+ </span>
385
+ </div>
386
+ </div>
387
+ <?php
388
+
389
+ if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
390
+ ?>
391
+ <div class="actions source-woocommerce source-panel">
392
+ <div class="row checkboxes">
393
+ <strong class="label"><?php
394
+ _e('Categories', 'final-tiles-grid-gallery-lite');
395
+ ?>:</strong>
396
+ <span>
397
+ <?php
398
+ $idx = 0;
399
+ ?>
400
+ <?php
401
+ foreach ($woo_categories as $c) {
402
+ ?>
403
+ <input class="browser-default" id="woo-cat-<?php
404
+ _e($idx);
405
+ ?>" type="checkbox" name="woo_cat" value="<?php
406
+ _e($c->term_id);
407
+ ?>">
408
+ <label for="woo-cat-<?php
409
+ _e($idx);
410
+ ?>"><?php
411
+ _e($c->cat_name);
412
+ ?></label>
413
+ <?php
414
+ $idx++;
415
+ ?>
416
+ <?php
417
+ }
418
+ ?>
419
+ <input type="hidden" name="ftg_woo_categories" value="<?php
420
+ _e($gallery->woo_categories);
421
+ ?>"/>
422
+ </span>
423
+ </div>
424
+ </div>
425
+ <?php
426
+ }
427
+
428
+ ?>
429
+ </div>
430
+ </div>
431
+ </li>
432
+ <?php
433
+ foreach ($ftg_fields as $section => $s) {
434
  ?>
435
+ <li id="<?php
436
+ _e(FinalTiles_Gallery::slugify($section));
437
+ ?>">
438
+ <div class="collapsible-header">
439
+ <i class="<?php
440
+ echo $s["icon"];
441
+ ?> light-green darken-1 white-text ftg-section-icon"></i> <?php
442
+ _e($section, 'final-tiles-grid-gallery-lite');
443
+ ?>
444
+ </div>
445
+ <div class="collapsible-body tab form-fields">
446
+ <div class="jump-head">
447
+ <?php
448
+ $jumpFields = array();
449
+ foreach ($s["fields"] as $f => $data) {
450
+ $jumpFields[$f] = $data;
451
+ $jumpFields[$f]['_code'] = $f;
452
+ }
453
+ unset($f);
454
+ unset($data);
455
+ usort($jumpFields, "ftgSortByName");
456
+ ?>
457
+ <select class="browser-default jump">
458
+ <option><?php
459
+ _e('Jump to setting', 'final-tiles-grid-gallery-lite');
460
+ ?></option>
461
+ <?php
462
+ foreach ($jumpFields as $f => $data) {
463
+ ?>
464
+ <?php
465
+
466
+ if (is_array($data["excludeFrom"]) && !in_array($ftg_parent_page, $data["excludeFrom"])) {
467
+ ?>
468
+ <option value="<?php
469
+ _e($data['_code'], 'final-tiles-grid-gallery-lite');
470
+ ?>">
471
+ <?php
472
+ _e($data["name"], 'final-tiles-grid-gallery-lite');
473
+ ?>
474
+ </option>
475
+ <?php
476
+ }
477
+
478
+ ?>
479
+ <?php
480
+ }
481
+ ?>
482
+ </select>
483
+
484
+ <?php
485
+
486
+ if (array_key_exists("presets", $s)) {
487
+ ?>
488
+ <select class="browser-default presets" data-field-idx="<?php
489
+ echo $idx;
490
+ ?>">
491
+ <option value="">Select preset</option>
492
+ <?php
493
+ foreach ($s["presets"] as $preset => $data) {
494
+ ?>
495
+ <option><?php
496
+ echo $preset;
497
+ ?></option>
498
+ <?php
499
+ }
500
+ ?>
501
+ </select>
502
+ <?php
503
+ }
504
+
505
+ ?>
506
+ </div>
507
+ <table>
508
+ <tbody>
509
+ <?php
510
+ foreach ($s["fields"] as $f => $data) {
511
+ ?>
512
+ <?php
513
+
514
+ if (is_array($data["excludeFrom"]) && !in_array($ftg_parent_page, $data["excludeFrom"])) {
515
+ ?>
516
+
517
+ <tr class="field-row row-<?php
518
+ print $f;
519
+ ?> <?php
520
+ print $data["type"];
521
+ ?>">
522
+ <th scope="row">
523
+ <label><?php
524
+ _e($data["name"], 'final-tiles-grid-gallery-lite');
525
+ ?>
526
+ <?php
527
+
528
+ if ($data["mu"]) {
529
+ ?>
530
+ (<?php
531
+ _e($data["mu"]);
532
+ ?>)
533
+ <?php
534
+ }
535
+
536
+ ?>
537
+
538
+ <?php
539
+ if (strlen($data["description"])) {
540
+ ?>
541
+ <div class="tab-header-tooltip-container ftg-tooltip">
542
+ <span>[?]</span>
543
+ <div class="tab-header-description ftg-tooltip-content">
544
+ <?php echo wp_kses_post($data["description"]); ?>
545
+ </div>
546
+ </div>
547
+ <?php
548
+ }
549
+
550
+ ?>
551
+ </label>
552
+ </th>
553
+ <td>
554
+ <div class="field <?php
555
+ echo(in_array('shortcode', $data["excludeFrom"]) ? "" : "js-update-shortcode");
556
+ ?>">
557
+ <?php
558
+
559
+ if ($data["type"] == "text") {
560
+ ?>
561
+ <div class="text">
562
+ <input type="text" size="30" name="ftg_<?php
563
+ print $f;
564
+ ?>" value="<?php
565
+ ftg_p($gallery, $f, $data["default"]);
566
+ ?>"/>
567
+ </div>
568
+ <?php
569
+ } elseif ($data["type"] == "cta") {
570
+ ?>
571
+ <div class="text">
572
+ <a class="in-table-cta" href="<?php
573
+ echo ftg_fs()->get_upgrade_url();
574
+ ?>"><i class="mdi mdi-bell-ring-outline"></i>
575
+ <?php
576
+ _e('Unlock this feature. Upgrade Now!', 'final-tiles-grid-gallery-lite');
577
+ ?>
578
+ </a>
579
+ </div>
580
+ <?php
581
+ } elseif ($data["type"] == "select") {
582
+ ?>
583
+ <div class="text">
584
+ <select class="browser-default" name="ftg_<?php
585
+ print $f;
586
+ ?>">
587
+ <?php
588
+ foreach (array_keys($data["values"]) as $optgroup) {
589
+ ?>
590
+ <optgroup label="<?php
591
+ print $optgroup;
592
+ ?>">
593
+ <?php
594
+ foreach ($data["values"][$optgroup] as $option) {
595
+ ?>
596
+
597
+ <?php
598
+ $v = explode("|", $option);
599
+ ?>
600
+
601
+ <option <?php
602
+ echo ftg_checkFieldDisabled($v);
603
+ ?> <?php
604
+ ftg_sel($gallery, $f, $v[0]);
605
+ ?> value="<?php
606
+ print $v[0];
607
+ ?>"><?php
608
+ _e($v[1], 'final-tiles-grid-gallery-lite');
609
+ echo ftg_printFieldPro($v);
610
+ ?></option>
611
+ <?php
612
+ }
613
+ ?>
614
+ </optgroup>
615
+ <?php
616
+ }
617
+ ?>
618
+ </select>
619
+ <?php
620
+
621
+ if ($f == "lightbox") {
622
+ ?>
623
+ <div class="col s12 ftg-everlightbox-settings">
624
+ <?php
625
+
626
+ if (class_exists('Everlightbox_Public')) {
627
+ ?>
628
+ <div class="card-panel light-green lighten-4">
629
+ <a href="?page=everlightbox_options"
630
+ target="_blank"><?php
631
+ _e('EverlightBox settings', 'final-tiles-grid-gallery-lite');
632
+ ?></a>
633
+ </div>
634
+ <?php
635
+ } else {
636
+ ?>
637
+ <div class="card-panel yellow lighten-3">
638
+ <?php
639
+ _e('EverlightBox not installed', 'final-tiles-grid-gallery-lite');
640
+ ?>. <a target="_blank" class="open-checkout"
641
+ href="https://checkout.freemius.com/mode/dialog/plugin/1981/plan/2954/"><?php
642
+ _e('Purchase', 'final-tiles-grid-gallery-lite');
643
+ ?></a>
644
+ </div>
645
+ <?php
646
+ }
647
+
648
+ ?>
649
+ </div>
650
+ <?php
651
+ }
652
+
653
+ ?>
654
+ </div>
655
+ <?php
656
+ } elseif ($data["type"] == "toggle") {
657
+ ?>
658
+ <div class="switch">
659
+ <label>
660
+ Off
661
+ <input disabled type="checkbox" id="ftg_<?php
662
+ print $f;
663
+ ?>" name="ftg_<?php
664
+ print $f;
665
+ ?>" value="<?php
666
+ ftg_p($gallery, $f, $data["default"]);
667
+ ?>" <?php
668
+ ftg_sel(
669
+ $gallery,
670
+ $f,
671
+ "T",
672
+ "checked"
673
+ );
674
+ ?> >
675
+ <span class="lever"></span>
676
+ On
677
+ </label>
678
+ </div>
679
+ <?php
680
+ } elseif ($data["type"] == "slider") {
681
+ ?>
682
+
683
+ <div class="text">
684
+ <b id="preview-<?php
685
+ print $f;
686
+ ?>" class="range-preview"><?php
687
+ ftg_p($gallery, $f, $data["default"]);
688
+ ?></b>
689
+ <p class="range-field">
690
+ <input data-preview="<?php
691
+ echo $f;
692
+ ?>" name="ftg_<?php
693
+ print $f;
694
+ ?>" value="<?php
695
+ ftg_p($gallery, $f, $data["default"]);
696
+ ?>" type="range" min="<?php
697
+ print $data["min"];
698
+ ?>" max="<?php
699
+ print $data["max"];
700
+ ?>"/>
701
+ </p>
702
+ </div>
703
+
704
+ <?php
705
+ } elseif ($data["type"] == "number") {
706
+ ?>
707
+ <div class="text">
708
+ <input type="text" name="ftg_<?php
709
+ print $f;
710
+ ?>" class="integer-only" value="<?php
711
+ ftg_p($gallery, $f, $data["default"]);
712
+ ?>">
713
+ </div>
714
+
715
+ <?php
716
+ } elseif ($data["type"] == "color") {
717
+ ?>
718
+ <div class="text">
719
+ <input type="text" size="6" data-default-color="<?php
720
+ print $data["default"];
721
+ ?>" name="ftg_<?php
722
+ print $f;
723
+ ?>" value="<?php
724
+ ftg_p($gallery, $f, $data["default"]);
725
+ ?>" class='pickColor'/></div>
726
+
727
+ <?php
728
+ } elseif ($data["type"] == "filter") {
729
+ ?>
730
+
731
+ <div class="filters gallery-filters dynamic-table">
732
+ <div class="text"></div>
733
+ <a href="#" class="add button"><?php
734
+ _e('Add filter', 'final-tiles-grid-gallery-lite');
735
+ ?></a>
736
+ <a href="#" class="reset-default-filter button"><?php
737
+ _e('Reset selected filter', 'final-tiles-grid-gallery-lite');
738
+ ?></a>
739
+ <input type="hidden" name="ftg_filters" value="<?php
740
+ ftg_p($gallery, "filters");
741
+ ?>"/>
742
+ <input type="hidden" name="filter_def" value="<?php
743
+ ftg_p($gallery, "defaultFilter");
744
+ ?>"/>
745
+ </div>
746
+
747
+ <?php
748
+ } elseif ($data["type"] == "textarea") {
749
+ ?>
750
+ <div class="text">
751
+ <textarea name="ftg_<?php
752
+ print $f;
753
+ ?>"><?php
754
+ ftg_p($gallery, $f);
755
+ ?></textarea>
756
+ </div>
757
+ <?php
758
+ } elseif ($data["type"] == "custom_isf") {
759
+ ?>
760
+ <div class="custom_isf dynamic-table">
761
+ <table class="striped">
762
+ <thead>
763
+ <tr>
764
+ <th></th>
765
+ <th><?php
766
+ _e('Resolution', 'final-tiles-grid-gallery-lite');
767
+ ?> (px)
768
+ </th>
769
+ <th><?php
770
+ _e('Size factor', 'final-tiles-grid-gallery-lite');
771
+ ?> (%)
772
+ </th>
773
+ </tr>
774
+ </thead>
775
+ <tbody>
776
+ </tbody>
777
+ </table>
778
+ <input type="hidden" name="ftg_imageSizeFactorCustom"
779
+ value="<?php
780
+ ftg_p($gallery, "imageSizeFactorCustom");
781
+ ?>"/>
782
+ <a href="#" class="add button">
783
+ <?php
784
+ _e('Add resolution', 'final-tiles-grid-gallery-lite');
785
+ ?></a>
786
+ </div>
787
+ <?php
788
+ }
789
+
790
+ ?>
791
+ <div class="help" id="help-<?php
792
+ echo $f;
793
+ ?>">
794
+ <?php
795
+
796
+ if (!in_array('shortcode', $data["excludeFrom"]) && $data["type"] != "cta") {
797
+ ?>
798
+ <div class="ftg-code">
799
+ <a href="#" class="toggle-shortcode"
800
+ data-code="<?php print $f; ?>">
801
+ <i class="fa fa-eye-slash"></i>
802
+ </a>
803
+ <span id="shortcode-<?php print $f; ?>">
804
+ <?php _e('Shortcode attribute', 'final-tiles-grid-gallery-lite'); ?>:
805
+ <!--<input type="text" class="shortcode-val" readonly="" value='<?php
806
+ /* _e(FinalTilesGalleryUtils::fieldNameToShortcode($f));
807
+ */?>="<?php
808
+ /* ftg_p($gallery, $f, $data["default"]);
809
+ */?>"'>-->
810
+ <code class="shortcode-val"><?php _e(FinalTilesGalleryUtils::fieldNameToShortcode($f)); ?>="<?php ftg_p($gallery, $f, $data["default"]); ?>"</code>
811
+ </span>
812
+ </div>
813
+ <?php
814
+ }
815
+
816
+ ?>
817
+ </div>
818
+
819
+ </div>
820
+ </td>
821
+ </tr>
822
+ <?php
823
+ }
824
+
825
+ ?>
826
+ <?php
827
+ }
828
+ ?>
829
+ </tbody>
830
+ </table>
831
+ </div>
832
+ </li>
833
+ <?php
834
  $idx++;
835
  ?>
836
+ <?php
837
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
838
  ?>
839
+
840
+ </ul>
841
+ </div>
842
+ <div class="col s3">
843
+ <?php
844
+
845
+ if (ftg_fs()->is_not_paying()) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
846
  ?>
847
+ <ul class="collapsible gallery-actions">
848
+ <li class="active">
849
+ <div class="collapsible-header"><?php
850
+ _e('Upgrade', 'final-tiles-grid-gallery-lite');
851
+ ?>: <?php
852
+ _e('unlock features', 'final-tiles-grid-gallery-lite');
853
+ ?></div>
854
+ <div class="collapsible-body">
855
+ <div class="ftg-upsell">
856
+ <a href="<?php
857
+ echo ftg_fs()->get_upgrade_url();
858
+ ?>"><i class="fa fa-hand-o-right"></i> <?php
859
+ _e('Upgrade', 'final-tiles-grid-gallery-lite');
860
+ ?></a>
861
+ </div>
862
+ <p>or save 30% purchasing the <strong>BUNDLE</strong>:</p>
863
+ <div class="ftg-upsell">
864
+ <a target="_blank" href="https://www.final-tiles-gallery.com/wordpress/bundle">
865
+ <i class="fa fa-star"></i>
866
+ Bundle: 30% <?php
867
+ _e('discount', 'final-tiles-grid-gallery-lite');
868
+ ?></a>
869
+ </div>
870
+ <p class="upsell-info">
871
+ <?php
872
+ _e('GET 3 plugins', 'final-tiles-grid-gallery-lite');
873
+ ?>: Final Tiles Gallery Ultimate + EverlightBox + PostSnippet
874
+ </p>
875
+ </div>
876
+ </li>
877
+ </ul>
878
+ <?php
879
  }
880
+
881
  ?>
882
+ <ul class="collapsible gallery-actions">
883
+ <li class="active">
884
+ <div class="collapsible-header"><?php
885
+ _e('Publish', 'final-tiles-grid-gallery-lite');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
886
  ?>
887
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
888
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
889
+ <g>
890
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
891
+ </g>
892
+ <g>
893
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
894
+ </g>
895
+ </svg>
896
+ </div>
897
+ <div class="collapsible-body">
898
+ <div><input readonly="" type="text" value="[FinalTilesGallery id='<?php
899
+ print $gid;
900
+ ?>']"></div>
901
+ <div>
902
+ <button data-update-gallery class="button components-button is-primary"><?php
903
+ _e('Save gallery', 'final-tiles-grid-gallery-lite');
904
+ ?></button>
905
+ </div>
906
+ </div>
907
+ </li>
908
+ <li>
909
+ <div class="collapsible-header"><?php
910
+ _e('Import settings', 'final-tiles-grid-gallery-lite');
911
  ?>
912
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
913
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
914
+ <g>
915
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
916
+ </g>
917
+ <g>
918
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
919
+ </g>
920
+ </svg>
921
+ </div>
922
+ <div class="collapsible-body">
923
+ <p><?php
924
+ _e('Paste Here the configuration code', 'final-tiles-grid-gallery-lite');
925
+ ?></p>
926
+ <div><textarea data-import-text></textarea></div>
927
+ <button data-ftg-import class="button"><i class="fa fa-upload"></i> <?php
928
+ _e('Import', 'final-tiles-grid-gallery-lite');
929
+ ?></button>
930
+ </div>
931
+ </li>
932
+ <li>
933
+ <div class="collapsible-header"><?php
934
+ _e('Export settings', 'final-tiles-grid-gallery-lite');
935
  ?>
936
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
937
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
938
+ <g>
939
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
940
+ </g>
941
+ <g>
942
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
943
+ </g>
944
+ </svg>
945
+ </div>
946
+ <div class="collapsible-body">
947
+ <p><?php
948
+ _e('Settings', 'final-tiles-grid-gallery-lite');
949
+ ?></p>
950
+ <div><textarea readonly id="ftg-export-code"></textarea></div>
951
+ <button id="ftg-export" class="button"><i class="fa fa-download"></i> <?php
952
+ _e('Refresh code', 'final-tiles-grid-gallery-lite');
953
+ ?></button>
954
+ </div>
955
+ </li>
956
+ <li>
957
+ <div class="collapsible-header"><?php
958
+ _e('Help', 'final-tiles-grid-gallery-lite');
959
+ ?>
960
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
961
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
962
+ <g>
963
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
964
+ </g>
965
+ <g>
966
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
967
+ </g>
968
+ </svg>
969
+ </div>
970
+ <div class="collapsible-body">
971
+ <ul class="collection">
972
+ <li class="collection-item">
973
+ <i class="fa fa-chevron-right"></i>
974
+ <a href="http://issuu.com/greentreelabs/docs/finaltilesgridgallery-documentation?e=17859916/13243836"
975
+ target="_blank"><?php
976
+ _e('Documentation', 'final-tiles-grid-gallery-lite');
977
+ ?></a></li>
978
+ <li class="collection-item">
979
+ <i class="fa fa-chevron-right"></i>
980
+ <a target="_blank" href="https://www.youtube.com/watch?v=RNT4JGjtyrs">
981
+ <?php
982
+ _e('Tutorial', 'final-tiles-grid-gallery-lite');
983
+ ?></a>
984
+ </li>
985
+ <li class="collection-item">
986
+ <i class="fa fa-chevron-right"></i>
987
+ <a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/"
988
+ target="_blank"><?php
989
+ _e('How to add additional image sizes', 'final-tiles-grid-gallery-lite');
990
+ ?></a>
991
+ </li>
992
+ </ul>
993
+ </div>
994
+ </li>
995
+ </ul>
996
+ <ul class="collapsible gallery-actions">
997
+ <li>
998
+ <div class="collapsible-header"><?php
999
+ _e('FAQ', 'final-tiles-grid-gallery-lite');
1000
+ ?>
1001
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
1002
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
1003
+ <g>
1004
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
1005
+ </g>
1006
+ <g>
1007
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
1008
+ </g>
1009
+ </svg>
1010
+ </div>
1011
+ <div class="collapsible-body">
1012
+ <ul class="collapsible gallery-actions">
1013
+ <li>
1014
+ <div class="collapsible-header"><?php
1015
+ _e('How can I change the grid on mobile?', 'final-tiles-grid-gallery-lite');
1016
+ ?>
1017
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
1018
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
1019
+ <g>
1020
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
1021
+ </g>
1022
+ <g>
1023
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
1024
+ </g>
1025
+ </svg>
1026
+ </div>
1027
+ <div class="collapsible-body">
1028
+ <p><?php
1029
+ _e('You can customize the aspect of your galleries for any device. Find the options "Image size factor" into the "Advanced" section. Set a lower value to make images smaller and a higher value to make images larger.');
1030
+ ?></p>
1031
+ </div>
1032
+ </li>
1033
+ <li>
1034
+ <div class="collapsible-header"><?php
1035
+ _e('How to add a link to a picture?', 'final-tiles-grid-gallery-lite');
1036
+ ?>
1037
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
1038
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
1039
+ <g>
1040
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
1041
+ </g>
1042
+ <g>
1043
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
1044
+ </g>
1045
+ </svg>
1046
+ </div>
1047
+ <div class="collapsible-body">
1048
+ <p><?php
1049
+ _e('Click the edit (pencil) icon on the image and insert the link inside the "Link" field', 'final-tiles-grid-gallery-lite');
1050
+ ?></p>
1051
+ </div>
1052
+ </li>
1053
+ <li>
1054
+ <div class="collapsible-header"><?php
1055
+ _e('Why my images look blurry?', 'final-tiles-grid-gallery-lite');
1056
+ ?>
1057
+ <svg class="components-panel__arrow" width="24px" height="24px" viewBox="0 0 24 24"
1058
+ xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false">
1059
+ <g>
1060
+ <path fill="none" d="M0,0h24v24H0V0z"></path>
1061
+ </g>
1062
+ <g>
1063
+ <path d="M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"></path>
1064
+ </g>
1065
+ </svg>
1066
+ </div>
1067
+ <div class="collapsible-body">
1068
+ <p><?php
1069
+ _e('You probably have chosen a small image size. Click the edit (pencil) icon on the blurry image and choose a larger size. Remember, you can choose the size before adding the images to the gallery', 'final-tiles-grid-gallery-lite');
1070
+ ?></p>
1071
+ </div>
1072
+ </li>
1073
+ </ul>
1074
+ </div>
1075
+ </li>
1076
+ </ul>
1077
+ </div>
1078
+ </div>
1079
+
1080
+
1081
+ <!-- video panel -->
1082
+ <div id="video-panel-model" class="modal">
1083
+ <div class="modal-content">
1084
+ <p><?php
1085
+ _e('Paste here the embed code (it must be an ', 'final-tiles-grid-gallery-lite');
1086
+ ?><strong><?php
1087
+ _e('iframe', 'final-tiles-grid-gallery-lite');
1088
+ ?></strong>
1089
+ <?php
1090
+ _e('and it must contain the attributes', 'final-tiles-grid-gallery-lite');
1091
+ ?> <strong><?php
1092
+ _e('width', 'final-tiles-grid-gallery-lite');
1093
+ ?></strong> <?php
1094
+ _e('and', 'final-tiles-grid-gallery-lite');
1095
+ ?><strong><?php
1096
+ _e(' height', 'final-tiles-grid-gallery-lite');
1097
+ ?></strong>)</p>
1098
+ <div class="text dark">
1099
+ <textarea></textarea>
1100
+ </div>
1101
+ <div class="field video-filters clearfix"></div>
1102
+ <input type="hidden" id="filter-video" value="<?php
1103
+ print $gallery->filters;
1104
+ ?>">
1105
+ </div>
1106
+ <input type="hidden" id="video-panel-action">
1107
+ <div class="field buttons modal-footer">
1108
+ <a href="#" data-action="edit"
1109
+ class="action positive save modal-action modal-close waves-effect waves-green btn-flat"><?php
1110
+ _e('Save', 'final-tiles-grid-gallery-lite');
1111
+ ?></a>
1112
+ <a href="#" data-action="cancel"
1113
+ class="action neutral modal-action modal-close waves-effect waves-yellow btn-flat"><?php
1114
+ _e('Cancel', 'final-tiles-grid-gallery-lite');
1115
+ ?></a>
1116
+ </div>
1117
+ </div>
1118
+
1119
+
1120
+ <!-- image panel -->
1121
+ <div id="image-panel-model" class="modal">
1122
+ <div class="modal-content cf">
1123
+ <h4><?php
1124
+ _e('Edit image', 'final-tiles-grid-gallery-lite');
1125
+ ?></h4>
1126
+ <div class="left">
1127
+ <div class="figure"></div>
1128
+ <div class="field sizes"></div>
1129
+ </div>
1130
+ <div class="right-side">
1131
+ <div class="field">
1132
+ <label><?php
1133
+ _e('Title', 'final-tiles-grid-gallery-lite');
1134
+ ?></label>
1135
+ <div class="text">
1136
+ <textarea name="imageTitle"></textarea>
1137
+ </div>
1138
+ </div>
1139
+ <div class="field">
1140
+ <label><?php
1141
+ _e('Caption', 'final-tiles-grid-gallery-lite');
1142
+ ?></label>
1143
+ <div class="text">
1144
+ <textarea name="description"></textarea>
1145
+ </div>
1146
+ </div>
1147
+ <div class="field">
1148
+ <label><?php
1149
+ _e('Alt', 'final-tiles-grid-gallery-lite');
1150
+ ?><?php
1151
+ _e('(leave empty to use title or description as ALT attribute)', 'final-tiles-grid-gallery-lite');
1152
+ ?></label>
1153
+ <div class="text">
1154
+ <input type="text" name="alt"/>
1155
+ </div>
1156
+ </div>
1157
+ <div class="field">
1158
+ <input class="browser-default" id="hidden-image" type="checkbox" name="hidden" value="T"/>
1159
+ <label for="hidden-image">
1160
+ <?php
1161
+ _e('Hidden, visible only with lightbox', 'final-tiles-grid-gallery-lite');
1162
+ ?>
1163
+ </label>
1164
+ </div>
1165
+ <div class="field js-no-hidden">
1166
+
1167
+ <table>
1168
+ <tr>
1169
+ <td style="width: 60%">
1170
+ <label><?php
1171
+ _e('Link', 'final-tiles-grid-gallery-lite');
1172
+ ?></label><br>
1173
+ <input type="text" size="20" value="" name="link"/>
1174
+ </td>
1175
+ <td>
1176
+ <label><?php
1177
+ _e('Link target', 'final-tiles-grid-gallery-lite');
1178
+ ?></label>
1179
+ <select name="target" class="browser-default">
1180
+ <option value="default"><?php
1181
+ _e('Default target', 'final-tiles-grid-gallery-lite');
1182
+ ?></option>
1183
+ <option value="_self"><?php
1184
+ _e('Open in same page', 'final-tiles-grid-gallery-lite');
1185
+ ?></option>
1186
+ <option value="_blank"><?php
1187
+ _e('Open in _blank', 'final-tiles-grid-gallery-lite');
1188
+ ?></option>
1189
+ <option value="_lightbox"><?php
1190
+ _e('Open in lightbox (when using a lightbox)', 'final-tiles-grid-gallery-lite');
1191
+ ?></option>
1192
+ </select>
1193
+ </td>
1194
+ </tr>
1195
+ </table>
1196
+ </div>
1197
+ <?php
1198
  ?>
1199
+ </div>
1200
+ </div>
1201
+ <div class="field buttons modal-footer">
1202
+ <a href="#" data-action="cancel" class="modal-close action button"><i class="mdi-content-reply"></i> <?php
1203
+ _e('Cancel', 'final-tiles-grid-gallery-lite');
1204
+ ?></a>
1205
+ <a href="#" data-action="save" class="modal-close button components-button is-primary"><i
1206
+ class="fa fa-save"></i> <?php
1207
+ _e('Save', 'final-tiles-grid-gallery-lite');
1208
+ ?></a>
1209
+ </div>
1210
+ </div>
1211
+
1212
+ <div class="preloader-wrapper big active" id="spinner">
1213
+ <div class="spinner-layer spinner-blue-only">
1214
+ <div class="circle-clipper left">
1215
+ <div class="circle"></div>
1216
+ </div>
1217
+ <div class="gap-patch">
1218
+ <div class="circle"></div>
1219
+ </div>
1220
+ <div class="circle-clipper right">
1221
+ <div class="circle"></div>
1222
+ </div>
1223
+ </div>
1224
+ </div>
1225
+ <!-- images section -->
1226
+
1227
+ <div class="overlay" style="display:none"></div>
1228
+
1229
+ <script>
1230
+ var presets = {};
1231
+ <?php
1232
+ $presetIdx = 0;
1233
+ foreach ($ftg_fields as $section => $s) {
1234
+ if (array_key_exists("presets", $s)) {
1235
+ foreach ($s["presets"] as $preset => $values) {
1236
+ echo "presets['preset_" . $presetIdx . "_" . $preset . "'] = " . json_encode($values) . ";\n";
1237
  }
 
 
 
 
 
 
 
 
1238
  }
1239
+ $presetIdx++;
 
 
1240
  }
1241
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1242
 
1243
+ var ftg_wp_caption_field = '<?php
1244
+ ftg_p($gallery, "wp_field_caption");
1245
+ ?>';
1246
+ (function ($) {
1247
+ $("[name=captionFullHeight]").change(function () {
1248
+ if ($(this).val() == "F")
1249
+ $("[name=captionEffect]").val("fade");
1250
+ });
1251
+ $("[name=captionEffect]").change(function () {
1252
+ if ($(this).val() != "fade" && $("[name=captionFullHeight]").val() == "F") {
1253
+ $(this).val("fade");
1254
+ alert("Cannot set this effect if 'Caption full height' is switched off.");
1255
+ }
1256
+ });
1257
+
1258
+ <?php
1259
+ ?>
1260
+
1261
+ })(jQuery);
1262
+ </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/include/fields.php CHANGED
File without changes
admin/scripts/admin.js CHANGED
File without changes
admin/scripts/final-tiles-gallery-admin.js CHANGED
@@ -46,8 +46,8 @@ var FTG = function($) {
46
  FinalTiles_gallery: $('#FinalTiles_gallery').val(),
47
  gid: $("#gallery-id").val()
48
  };
49
-
50
- /* Premium Code Stripped by Freemius */
51
 
52
  $.post(ajaxurl, data, function(html) {
53
  $("#image-list").empty().append(html);
@@ -131,19 +131,19 @@ var FTG = function($) {
131
  });
132
  },
133
  update_filters: function() {
134
-
135
- /* Premium Code Stripped by Freemius */
136
 
137
  },
138
  update_custom_isf: function() {
139
  var isf = [];
140
-
141
- /* Premium Code Stripped by Freemius */
142
 
143
  },
144
  add_filter: function(value) {
145
-
146
- /* Premium Code Stripped by Freemius */
147
 
148
  },
149
  add_isf: function(value) {
@@ -167,18 +167,18 @@ var FTG = function($) {
167
 
168
  var source = $('[name="ftg_source"]').val();
169
 
170
-
171
- /* Premium Code Stripped by Freemius */
172
 
173
  },
174
  refresh_woocommerce: function() {
175
-
176
- /* Premium Code Stripped by Freemius */
177
 
178
  },
179
  refresh_posts: function() {
180
-
181
- /* Premium Code Stripped by Freemius */
182
 
183
  },
184
  save_gallery: function() {
@@ -542,8 +542,8 @@ var FTG = function($) {
542
  e.preventDefault();
543
  FTG.save_gallery();
544
  });
545
-
546
- /* Premium Code Stripped by Freemius */
547
 
548
  $("#image-list").on("click", ".item .thumb", function() {
549
  $(this).parents(".item").toggleClass("selected");
@@ -622,8 +622,8 @@ var FTG = function($) {
622
  else
623
  $(".js-no-hidden").show();
624
 
625
-
626
- /* Premium Code Stripped by Freemius */
627
 
628
 
629
  var link = $item.find("[name=link]").val();
@@ -684,8 +684,8 @@ var FTG = function($) {
684
  $("[data-action='remove']").show();
685
  }
686
 
687
-
688
- /* Premium Code Stripped by Freemius */
689
 
690
  });
691
 
@@ -712,8 +712,8 @@ var FTG = function($) {
712
  }, 500);
713
  });
714
 
715
-
716
- /* Premium Code Stripped by Freemius */
717
 
718
  $("body").on("click", "[name=click_action]", function() {
719
  if ($(this).val() == "url") {
@@ -914,18 +914,19 @@ var FTG = function($) {
914
  if($("#preview-" + code).length) {
915
  $("#preview-" + code).text(val);
916
  }
917
- var shortcode = $("#shortcode-" + code + " input").val().split("=");
918
- $("#shortcode-" + code + " input").val(shortcode[0] + '="' + val + '"');
919
  });
920
  //$("input[type=range]").change()
921
  $("body").on("click", ".toggle-shortcode", function(e) {
922
  e.preventDefault();
 
923
  var code = $(this).data("code");
924
  $("#shortcode-" + code).toggleClass("visible");
925
  });
926
 
927
-
928
- /* Premium Code Stripped by Freemius */
929
 
930
 
931
  $(".open-media-panel").on("click", function(e) {
@@ -1075,21 +1076,21 @@ var FTGWizard = function($) {
1075
  $(this).text("Save");
1076
  if (branch == 'images') {
1077
  $(".select-images").show();
1078
-
1079
- /* Premium Code Stripped by Freemius */
1080
 
1081
  //$("[name=ftg_max_posts]").val(0);
1082
  } else if (branch == 'posts') {
1083
  $(".select-images").hide();
1084
  $("[name=enc_images]").val("");
1085
-
1086
- /* Premium Code Stripped by Freemius */
1087
 
1088
  } else {
1089
  $(".select-images").hide();
1090
  $("[name=enc_images]").val("");
1091
-
1092
- /* Premium Code Stripped by Freemius */
1093
 
1094
  }
1095
  } else {
@@ -1198,9 +1199,9 @@ jQuery(function() {
1198
  var color = ui.color.toString();
1199
 
1200
  if($(element).parents(".field").hasClass("js-update-shortcode")) {
1201
- var $input = $(element).parents(".field").find(".shortcode-val");
1202
- var shortcode = $input.val().split("=");
1203
- $input.val(shortcode[0] + '="' + color + '"');
1204
  }
1205
  },
1206
  });
46
  FinalTiles_gallery: $('#FinalTiles_gallery').val(),
47
  gid: $("#gallery-id").val()
48
  };
49
+
50
+ /* Premium Code Stripped by Freemius */
51
 
52
  $.post(ajaxurl, data, function(html) {
53
  $("#image-list").empty().append(html);
131
  });
132
  },
133
  update_filters: function() {
134
+
135
+ /* Premium Code Stripped by Freemius */
136
 
137
  },
138
  update_custom_isf: function() {
139
  var isf = [];
140
+
141
+ /* Premium Code Stripped by Freemius */
142
 
143
  },
144
  add_filter: function(value) {
145
+
146
+ /* Premium Code Stripped by Freemius */
147
 
148
  },
149
  add_isf: function(value) {
167
 
168
  var source = $('[name="ftg_source"]').val();
169
 
170
+
171
+ /* Premium Code Stripped by Freemius */
172
 
173
  },
174
  refresh_woocommerce: function() {
175
+
176
+ /* Premium Code Stripped by Freemius */
177
 
178
  },
179
  refresh_posts: function() {
180
+
181
+ /* Premium Code Stripped by Freemius */
182
 
183
  },
184
  save_gallery: function() {
542
  e.preventDefault();
543
  FTG.save_gallery();
544
  });
545
+
546
+ /* Premium Code Stripped by Freemius */
547
 
548
  $("#image-list").on("click", ".item .thumb", function() {
549
  $(this).parents(".item").toggleClass("selected");
622
  else
623
  $(".js-no-hidden").show();
624
 
625
+
626
+ /* Premium Code Stripped by Freemius */
627
 
628
 
629
  var link = $item.find("[name=link]").val();
684
  $("[data-action='remove']").show();
685
  }
686
 
687
+
688
+ /* Premium Code Stripped by Freemius */
689
 
690
  });
691
 
712
  }, 500);
713
  });
714
 
715
+
716
+ /* Premium Code Stripped by Freemius */
717
 
718
  $("body").on("click", "[name=click_action]", function() {
719
  if ($(this).val() == "url") {
914
  if($("#preview-" + code).length) {
915
  $("#preview-" + code).text(val);
916
  }
917
+ var shortcode = $("#shortcode-" + code + " code").text().split("=");
918
+ $("#shortcode-" + code + " code").text(shortcode[0] + '="' + val + '"');
919
  });
920
  //$("input[type=range]").change()
921
  $("body").on("click", ".toggle-shortcode", function(e) {
922
  e.preventDefault();
923
+ $(this).find('i').toggleClass('fa-eye fa-eye-slash');
924
  var code = $(this).data("code");
925
  $("#shortcode-" + code).toggleClass("visible");
926
  });
927
 
928
+
929
+ /* Premium Code Stripped by Freemius */
930
 
931
 
932
  $(".open-media-panel").on("click", function(e) {
1076
  $(this).text("Save");
1077
  if (branch == 'images') {
1078
  $(".select-images").show();
1079
+
1080
+ /* Premium Code Stripped by Freemius */
1081
 
1082
  //$("[name=ftg_max_posts]").val(0);
1083
  } else if (branch == 'posts') {
1084
  $(".select-images").hide();
1085
  $("[name=enc_images]").val("");
1086
+
1087
+ /* Premium Code Stripped by Freemius */
1088
 
1089
  } else {
1090
  $(".select-images").hide();
1091
  $("[name=enc_images]").val("");
1092
+
1093
+ /* Premium Code Stripped by Freemius */
1094
 
1095
  }
1096
  } else {
1199
  var color = ui.color.toString();
1200
 
1201
  if($(element).parents(".field").hasClass("js-update-shortcode")) {
1202
+ var code = $(element).parents(".field").find(".shortcode-val");
1203
+ var shortcode = $input.text().split("=");
1204
+ $input.text(shortcode[0] + '="' + color + '"');
1205
  }
1206
  },
1207
  });
admin/tutorial/tutorial-add-image-size.png CHANGED
File without changes
admin/tutorial/tutorial-add-image.png CHANGED
File without changes
admin/tutorial/tutorial-add-page.jpg CHANGED
File without changes
admin/tutorial/tutorial-add.png CHANGED
File without changes
admin/tutorial/tutorial-dashboard.png CHANGED
File without changes
admin/tutorial/tutorial-edit-list.jpg CHANGED
File without changes
admin/tutorial/tutorial-image-added.jpg CHANGED
File without changes
admin/tutorial/tutorial-image-edit.jpg CHANGED
File without changes
admin/tutorial/tutorial-image-panel.JPG CHANGED
File without changes
admin/tutorial/tutorial-images-tab.png CHANGED
File without changes
admin/tutorial/tutorial-tabs.jpg CHANGED
File without changes
freemius/LICENSE.txt CHANGED
File without changes
freemius/README.md CHANGED
File without changes
freemius/assets/css/admin/account.css CHANGED
File without changes
freemius/assets/css/admin/add-ons.css CHANGED
File without changes
freemius/assets/css/admin/affiliation.css CHANGED
File without changes
freemius/assets/css/admin/checkout.css CHANGED
File without changes
freemius/assets/css/admin/common.css CHANGED
File without changes
freemius/assets/css/admin/connect.css CHANGED
File without changes
freemius/assets/css/admin/deactivation-feedback.css CHANGED
File without changes
freemius/assets/css/admin/debug.css CHANGED
File without changes
freemius/assets/css/admin/dialog-boxes.css CHANGED
File without changes
freemius/assets/css/admin/gdpr-optin-notice.css CHANGED
File without changes
freemius/assets/css/admin/index.php CHANGED
File without changes
freemius/assets/css/admin/license-activation.css CHANGED
File without changes
freemius/assets/css/customizer.css CHANGED
File without changes
freemius/assets/css/index.php CHANGED
File without changes
freemius/assets/img/final-tiles-grid-gallery-lite.png CHANGED
File without changes
freemius/assets/img/index.php CHANGED
File without changes
freemius/assets/img/plugin-icon.png CHANGED
File without changes
freemius/assets/img/theme-icon.png CHANGED
File without changes
freemius/assets/index.php CHANGED
File without changes
freemius/assets/js/index.php CHANGED
File without changes
freemius/assets/js/nojquery.ba-postmessage.js CHANGED
File without changes
freemius/assets/js/nojquery.ba-postmessage.min.js CHANGED
File without changes
freemius/assets/js/postmessage.js CHANGED
File without changes
freemius/assets/scss/_colors.scss CHANGED
File without changes
freemius/assets/scss/_functions.scss CHANGED
File without changes
freemius/assets/scss/_load.scss CHANGED
File without changes
freemius/assets/scss/_mixins.scss CHANGED
File without changes
freemius/assets/scss/_start.scss CHANGED
File without changes
freemius/assets/scss/_vars.scss CHANGED
File without changes
freemius/assets/scss/admin/_ajax-loader.scss CHANGED
File without changes
freemius/assets/scss/admin/_auto-install.scss CHANGED
File without changes
freemius/assets/scss/admin/_deactivation-feedback.scss CHANGED
File without changes
freemius/assets/scss/admin/_gdpr-consent.scss CHANGED
File without changes
freemius/assets/scss/admin/_license-activation.scss CHANGED
File without changes
freemius/assets/scss/admin/_license-key-resend.scss CHANGED
File without changes
freemius/assets/scss/admin/_modal-common.scss CHANGED
File without changes
freemius/assets/scss/admin/_multisite-options.scss CHANGED
File without changes
freemius/assets/scss/admin/_themes.scss CHANGED
File without changes
freemius/assets/scss/admin/_tooltip.scss CHANGED
File without changes
freemius/assets/scss/admin/account.scss CHANGED
File without changes
freemius/assets/scss/admin/add-ons.scss CHANGED
File without changes
freemius/assets/scss/admin/affiliation.scss CHANGED
File without changes
freemius/assets/scss/admin/checkout.scss CHANGED
File without changes
freemius/assets/scss/admin/common.scss CHANGED
File without changes
freemius/assets/scss/admin/connect.scss CHANGED
File without changes
freemius/assets/scss/admin/debug.scss CHANGED
File without changes
freemius/assets/scss/admin/dialog-boxes.scss CHANGED
File without changes
freemius/assets/scss/admin/gdpr-optin-notice.scss CHANGED
File without changes
freemius/assets/scss/admin/index.php CHANGED
File without changes
freemius/assets/scss/customizer.scss CHANGED
File without changes
freemius/assets/scss/index.php CHANGED
File without changes
freemius/composer.json CHANGED
File without changes
freemius/config.php CHANGED
File without changes
freemius/gulpfile.js CHANGED
File without changes
freemius/includes/class-freemius-abstract.php CHANGED
File without changes
freemius/includes/class-freemius.php CHANGED
File without changes
freemius/includes/class-fs-admin-notices.php CHANGED
File without changes
freemius/includes/class-fs-api.php CHANGED
File without changes
freemius/includes/class-fs-logger.php CHANGED
File without changes
freemius/includes/class-fs-options.php CHANGED
File without changes
freemius/includes/class-fs-plugin-updater.php CHANGED
File without changes
freemius/includes/class-fs-security.php CHANGED
File without changes
freemius/includes/class-fs-storage.php CHANGED
File without changes
freemius/includes/class-fs-user-lock.php CHANGED
File without changes
freemius/includes/customizer/class-fs-customizer-support-section.php CHANGED
File without changes
freemius/includes/customizer/class-fs-customizer-upsell-control.php CHANGED
File without changes
freemius/includes/customizer/index.php CHANGED
File without changes
freemius/includes/debug/class-fs-debug-bar-panel.php CHANGED
File without changes
freemius/includes/debug/debug-bar-start.php CHANGED
File without changes
freemius/includes/debug/index.php CHANGED
File without changes
freemius/includes/entities/class-fs-affiliate-terms.php CHANGED
File without changes
freemius/includes/entities/class-fs-affiliate.php CHANGED
File without changes
freemius/includes/entities/class-fs-billing.php CHANGED
File without changes
freemius/includes/entities/class-fs-entity.php CHANGED
File without changes
freemius/includes/entities/class-fs-payment.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-info.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-license.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-plan.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin-tag.php CHANGED
File without changes
freemius/includes/entities/class-fs-plugin.php CHANGED
File without changes
freemius/includes/entities/class-fs-pricing.php CHANGED
File without changes
freemius/includes/entities/class-fs-scope-entity.php CHANGED
File without changes
freemius/includes/entities/class-fs-site.php CHANGED
File without changes
freemius/includes/entities/class-fs-subscription.php CHANGED
File without changes
freemius/includes/entities/class-fs-user.php CHANGED
File without changes
freemius/includes/entities/index.php CHANGED
File without changes
freemius/includes/fs-core-functions.php CHANGED
File without changes
freemius/includes/fs-essential-functions.php CHANGED
File without changes
freemius/includes/fs-plugin-info-dialog.php CHANGED
File without changes
freemius/includes/i18n.php CHANGED
File without changes
freemius/includes/index.php CHANGED
File without changes
freemius/includes/l10n.php CHANGED
File without changes
freemius/includes/managers/class-fs-admin-menu-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-admin-notice-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-cache-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-gdpr-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-key-value-storage.php CHANGED
File without changes
freemius/includes/managers/class-fs-license-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-option-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-plan-manager.php CHANGED
File without changes
freemius/includes/managers/class-fs-plugin-manager.php CHANGED
File without changes
freemius/includes/managers/index.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/ArgumentNotExistException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/EmptyArgumentException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/Exception.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/InvalidArgumentException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/OAuthException.php CHANGED
File without changes
freemius/includes/sdk/Exceptions/index.php CHANGED
File without changes
freemius/includes/sdk/FreemiusBase.php CHANGED
File without changes
freemius/includes/sdk/FreemiusWordPress.php CHANGED
File without changes
freemius/includes/sdk/LICENSE.txt CHANGED
File without changes
freemius/includes/sdk/index.php CHANGED
File without changes
freemius/includes/supplements/fs-essential-functions-1.1.7.1.php CHANGED
File without changes
freemius/includes/supplements/fs-essential-functions-2.2.1.php CHANGED
File without changes
freemius/includes/supplements/index.php CHANGED
File without changes
freemius/index.php CHANGED
File without changes
freemius/languages/freemius-da_DK.mo CHANGED
File without changes
freemius/languages/freemius-da_DK.po CHANGED
File without changes
freemius/languages/freemius-en.mo CHANGED
File without changes
freemius/languages/freemius-en.po CHANGED
File without changes
freemius/languages/freemius-es_ES.mo CHANGED
File without changes
freemius/languages/freemius-es_ES.po CHANGED
File without changes
freemius/languages/freemius-fr_FR.mo CHANGED
File without changes
freemius/languages/freemius-fr_FR.po CHANGED
File without changes
freemius/languages/freemius-he_IL.mo CHANGED
File without changes
freemius/languages/freemius-he_IL.po CHANGED
File without changes
freemius/languages/freemius-hu_HU.mo CHANGED
File without changes
freemius/languages/freemius-hu_HU.po CHANGED
File without changes
freemius/languages/freemius-it_IT.mo CHANGED
File without changes
freemius/languages/freemius-it_IT.po CHANGED
File without changes
freemius/languages/freemius-ja_JP.mo CHANGED
File without changes
freemius/languages/freemius-ja_JP.po CHANGED
File without changes
freemius/languages/freemius-nl_NL.mo CHANGED
File without changes
freemius/languages/freemius-nl_NL.po CHANGED
File without changes
freemius/languages/freemius-ru_RU.mo CHANGED
File without changes
freemius/languages/freemius-ru_RU.po CHANGED
File without changes
freemius/languages/freemius.pot CHANGED
File without changes
freemius/languages/index.php CHANGED
File without changes
freemius/package.json CHANGED
File without changes
freemius/require.php CHANGED
File without changes
freemius/start.php CHANGED
File without changes
freemius/templates/account.php CHANGED
File without changes
freemius/templates/account/billing.php CHANGED
File without changes
freemius/templates/account/index.php CHANGED
File without changes
freemius/templates/account/partials/activate-license-button.php CHANGED
File without changes
freemius/templates/account/partials/addon.php CHANGED
File without changes
freemius/templates/account/partials/deactivate-license-button.php CHANGED
File without changes
freemius/templates/account/partials/index.php CHANGED
File without changes
freemius/templates/account/partials/site.php CHANGED
File without changes
freemius/templates/account/payments.php CHANGED
File without changes
freemius/templates/add-ons.php CHANGED
File without changes
freemius/templates/add-trial-to-pricing.php CHANGED
File without changes
freemius/templates/admin-notice.php CHANGED
File without changes
freemius/templates/ajax-loader.php CHANGED
File without changes
freemius/templates/auto-installation.php CHANGED
File without changes
freemius/templates/checkout.php CHANGED
File without changes
freemius/templates/connect.php CHANGED
File without changes
freemius/templates/contact.php CHANGED
File without changes
freemius/templates/debug.php CHANGED
File without changes
freemius/templates/debug/api-calls.php CHANGED
File without changes
freemius/templates/debug/index.php CHANGED
File without changes
freemius/templates/debug/logger.php CHANGED
File without changes
freemius/templates/debug/plugins-themes-sync.php CHANGED
File without changes
freemius/templates/debug/scheduled-crons.php CHANGED
File without changes
freemius/templates/email.php CHANGED
File without changes
freemius/templates/firewall-issues-js.php CHANGED
File without changes
freemius/templates/forms/affiliation.php CHANGED
File without changes
freemius/templates/forms/deactivation/contact.php CHANGED
File without changes
freemius/templates/forms/deactivation/form.php CHANGED
File without changes
freemius/templates/forms/deactivation/index.php CHANGED
File without changes
freemius/templates/forms/deactivation/retry-skip.php CHANGED
File without changes
freemius/templates/forms/index.php CHANGED
File without changes
freemius/templates/forms/license-activation.php CHANGED
File without changes
freemius/templates/forms/optout.php CHANGED
File without changes
freemius/templates/forms/premium-versions-upgrade-handler.php CHANGED
File without changes
freemius/templates/forms/premium-versions-upgrade-metadata.php CHANGED
File without changes
freemius/templates/forms/resend-key.php CHANGED
File without changes
freemius/templates/forms/subscription-cancellation.php CHANGED
File without changes
freemius/templates/forms/trial-start.php CHANGED
File without changes
freemius/templates/gdpr-optin-js.php CHANGED
File without changes
freemius/templates/index.php CHANGED
File without changes
freemius/templates/js/index.php CHANGED
File without changes
freemius/templates/js/jquery.content-change.php CHANGED
File without changes
freemius/templates/js/open-license-activation.php CHANGED
File without changes
freemius/templates/js/style-premium-theme.php CHANGED
File without changes
freemius/templates/partials/network-activation.php CHANGED
File without changes
freemius/templates/plugin-icon.php CHANGED
File without changes
freemius/templates/plugin-info/description.php CHANGED
File without changes
freemius/templates/plugin-info/features.php CHANGED
File without changes
freemius/templates/plugin-info/index.php CHANGED
File without changes
freemius/templates/plugin-info/screenshots.php CHANGED
File without changes
freemius/templates/powered-by.php CHANGED
File without changes
freemius/templates/pricing.php CHANGED
File without changes
freemius/templates/secure-https-header.php CHANGED
File without changes
freemius/templates/sticky-admin-notice-js.php CHANGED
File without changes
freemius/templates/tabs-capture-js.php CHANGED
File without changes
freemius/templates/tabs.php CHANGED
File without changes
languages/final-tiles-grid-gallery-lite-it_IT.mo CHANGED
File without changes
languages/final-tiles-grid-gallery-lite-it_IT.po CHANGED
File without changes
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: machothemes, silkalns
3
  Tags: gallery, grid gallery, best gallery plugin, free gallery, gallery plugin, gallery grid plugin, masonry, photo gallery, image gallery, social gallery, portfolio gallery, lightbox, justified gallery
4
  Requires at least: 3.8.2
5
  Tested up to: 5.2
6
- Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -134,6 +134,9 @@ Currently galleries made with Envira, FooGallery, Instagram, NextGen, JetPack, M
134
 
135
  == Changelog ==
136
 
 
 
 
137
  = 3.4.16 =
138
  * [Enhancement] Gallery skips non existent images
139
  * [Enhancement] Gallery shows proper message when id doesn't exist
3
  Tags: gallery, grid gallery, best gallery plugin, free gallery, gallery plugin, gallery grid plugin, masonry, photo gallery, image gallery, social gallery, portfolio gallery, lightbox, justified gallery
4
  Requires at least: 3.8.2
5
  Tested up to: 5.2
6
+ Stable tag: 3.4.17
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
134
 
135
  == Changelog ==
136
 
137
+ = 3.4.17 =
138
+ * Fix and update tooltips
139
+
140
  = 3.4.16 =
141
  * [Enhancement] Gallery skips non existent images
142
  * [Enhancement] Gallery shows proper message when id doesn't exist
scripts/gutenberg_block.js CHANGED
File without changes
scripts/jquery.finalTilesGallery.js CHANGED
File without changes