Version Description
- Fix and update tooltips
Download this release
Release Info
Developer | giucu91 |
Plugin | 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
- FinalTilesGalleryLite.php +3 -339
- admin/css/gutenberg_block.css +0 -0
- admin/css/style.css +47 -0
- admin/images/photoblocks.png +0 -0
- admin/include/edit-gallery.php +1194 -1121
- admin/include/fields.php +0 -0
- admin/scripts/admin.js +0 -0
- admin/scripts/final-tiles-gallery-admin.js +36 -35
- admin/tutorial/tutorial-add-image-size.png +0 -0
- admin/tutorial/tutorial-add-image.png +0 -0
- admin/tutorial/tutorial-add-page.jpg +0 -0
- admin/tutorial/tutorial-add.png +0 -0
- admin/tutorial/tutorial-dashboard.png +0 -0
- admin/tutorial/tutorial-edit-list.jpg +0 -0
- admin/tutorial/tutorial-image-added.jpg +0 -0
- admin/tutorial/tutorial-image-edit.jpg +0 -0
- admin/tutorial/tutorial-image-panel.JPG +0 -0
- admin/tutorial/tutorial-images-tab.png +0 -0
- admin/tutorial/tutorial-tabs.jpg +0 -0
- freemius/LICENSE.txt +0 -0
- freemius/README.md +0 -0
- freemius/assets/css/admin/account.css +0 -0
- freemius/assets/css/admin/add-ons.css +0 -0
- freemius/assets/css/admin/affiliation.css +0 -0
- freemius/assets/css/admin/checkout.css +0 -0
- freemius/assets/css/admin/common.css +0 -0
- freemius/assets/css/admin/connect.css +0 -0
- freemius/assets/css/admin/deactivation-feedback.css +0 -0
- freemius/assets/css/admin/debug.css +0 -0
- freemius/assets/css/admin/dialog-boxes.css +0 -0
- freemius/assets/css/admin/gdpr-optin-notice.css +0 -0
- freemius/assets/css/admin/index.php +0 -0
- freemius/assets/css/admin/license-activation.css +0 -0
- freemius/assets/css/customizer.css +0 -0
- freemius/assets/css/index.php +0 -0
- freemius/assets/img/final-tiles-grid-gallery-lite.png +0 -0
- freemius/assets/img/index.php +0 -0
- freemius/assets/img/plugin-icon.png +0 -0
- freemius/assets/img/theme-icon.png +0 -0
- freemius/assets/index.php +0 -0
- freemius/assets/js/index.php +0 -0
- freemius/assets/js/nojquery.ba-postmessage.js +0 -0
- freemius/assets/js/nojquery.ba-postmessage.min.js +0 -0
- freemius/assets/js/postmessage.js +0 -0
- freemius/assets/scss/_colors.scss +0 -0
- freemius/assets/scss/_functions.scss +0 -0
- freemius/assets/scss/_load.scss +0 -0
- freemius/assets/scss/_mixins.scss +0 -0
- freemius/assets/scss/_start.scss +0 -0
- freemius/assets/scss/_vars.scss +0 -0
- freemius/assets/scss/admin/_ajax-loader.scss +0 -0
- freemius/assets/scss/admin/_auto-install.scss +0 -0
- freemius/assets/scss/admin/_deactivation-feedback.scss +0 -0
- freemius/assets/scss/admin/_gdpr-consent.scss +0 -0
- freemius/assets/scss/admin/_license-activation.scss +0 -0
- freemius/assets/scss/admin/_license-key-resend.scss +0 -0
- freemius/assets/scss/admin/_modal-common.scss +0 -0
- freemius/assets/scss/admin/_multisite-options.scss +0 -0
- freemius/assets/scss/admin/_themes.scss +0 -0
- freemius/assets/scss/admin/_tooltip.scss +0 -0
- freemius/assets/scss/admin/account.scss +0 -0
- freemius/assets/scss/admin/add-ons.scss +0 -0
- freemius/assets/scss/admin/affiliation.scss +0 -0
- freemius/assets/scss/admin/checkout.scss +0 -0
- freemius/assets/scss/admin/common.scss +0 -0
- freemius/assets/scss/admin/connect.scss +0 -0
- freemius/assets/scss/admin/debug.scss +0 -0
- freemius/assets/scss/admin/dialog-boxes.scss +0 -0
- freemius/assets/scss/admin/gdpr-optin-notice.scss +0 -0
- freemius/assets/scss/admin/index.php +0 -0
- freemius/assets/scss/customizer.scss +0 -0
- freemius/assets/scss/index.php +0 -0
- freemius/composer.json +0 -0
- freemius/config.php +0 -0
- freemius/gulpfile.js +0 -0
- freemius/includes/class-freemius-abstract.php +0 -0
- freemius/includes/class-freemius.php +0 -0
- freemius/includes/class-fs-admin-notices.php +0 -0
- freemius/includes/class-fs-api.php +0 -0
- freemius/includes/class-fs-logger.php +0 -0
- freemius/includes/class-fs-options.php +0 -0
- freemius/includes/class-fs-plugin-updater.php +0 -0
- freemius/includes/class-fs-security.php +0 -0
- freemius/includes/class-fs-storage.php +0 -0
- freemius/includes/class-fs-user-lock.php +0 -0
- freemius/includes/customizer/class-fs-customizer-support-section.php +0 -0
- freemius/includes/customizer/class-fs-customizer-upsell-control.php +0 -0
- freemius/includes/customizer/index.php +0 -0
- freemius/includes/debug/class-fs-debug-bar-panel.php +0 -0
- freemius/includes/debug/debug-bar-start.php +0 -0
- freemius/includes/debug/index.php +0 -0
- freemius/includes/entities/class-fs-affiliate-terms.php +0 -0
- freemius/includes/entities/class-fs-affiliate.php +0 -0
- freemius/includes/entities/class-fs-billing.php +0 -0
- freemius/includes/entities/class-fs-entity.php +0 -0
- freemius/includes/entities/class-fs-payment.php +0 -0
- freemius/includes/entities/class-fs-plugin-info.php +0 -0
- freemius/includes/entities/class-fs-plugin-license.php +0 -0
- freemius/includes/entities/class-fs-plugin-plan.php +0 -0
- freemius/includes/entities/class-fs-plugin-tag.php +0 -0
- freemius/includes/entities/class-fs-plugin.php +0 -0
- freemius/includes/entities/class-fs-pricing.php +0 -0
- freemius/includes/entities/class-fs-scope-entity.php +0 -0
- freemius/includes/entities/class-fs-site.php +0 -0
- freemius/includes/entities/class-fs-subscription.php +0 -0
- freemius/includes/entities/class-fs-user.php +0 -0
- freemius/includes/entities/index.php +0 -0
- freemius/includes/fs-core-functions.php +0 -0
- freemius/includes/fs-essential-functions.php +0 -0
- freemius/includes/fs-plugin-info-dialog.php +0 -0
- freemius/includes/i18n.php +0 -0
- freemius/includes/index.php +0 -0
- freemius/includes/l10n.php +0 -0
- freemius/includes/managers/class-fs-admin-menu-manager.php +0 -0
- freemius/includes/managers/class-fs-admin-notice-manager.php +0 -0
- freemius/includes/managers/class-fs-cache-manager.php +0 -0
- freemius/includes/managers/class-fs-gdpr-manager.php +0 -0
- freemius/includes/managers/class-fs-key-value-storage.php +0 -0
- freemius/includes/managers/class-fs-license-manager.php +0 -0
- freemius/includes/managers/class-fs-option-manager.php +0 -0
- freemius/includes/managers/class-fs-plan-manager.php +0 -0
- freemius/includes/managers/class-fs-plugin-manager.php +0 -0
- freemius/includes/managers/index.php +0 -0
- freemius/includes/sdk/Exceptions/ArgumentNotExistException.php +0 -0
- freemius/includes/sdk/Exceptions/EmptyArgumentException.php +0 -0
- freemius/includes/sdk/Exceptions/Exception.php +0 -0
- freemius/includes/sdk/Exceptions/InvalidArgumentException.php +0 -0
- freemius/includes/sdk/Exceptions/OAuthException.php +0 -0
- freemius/includes/sdk/Exceptions/index.php +0 -0
- freemius/includes/sdk/FreemiusBase.php +0 -0
- freemius/includes/sdk/FreemiusWordPress.php +0 -0
- freemius/includes/sdk/LICENSE.txt +0 -0
- freemius/includes/sdk/index.php +0 -0
- freemius/includes/supplements/fs-essential-functions-1.1.7.1.php +0 -0
- freemius/includes/supplements/fs-essential-functions-2.2.1.php +0 -0
- freemius/includes/supplements/index.php +0 -0
- freemius/index.php +0 -0
- freemius/languages/freemius-da_DK.mo +0 -0
- freemius/languages/freemius-da_DK.po +0 -0
- freemius/languages/freemius-en.mo +0 -0
- freemius/languages/freemius-en.po +0 -0
- freemius/languages/freemius-es_ES.mo +0 -0
- freemius/languages/freemius-es_ES.po +0 -0
- freemius/languages/freemius-fr_FR.mo +0 -0
- freemius/languages/freemius-fr_FR.po +0 -0
- freemius/languages/freemius-he_IL.mo +0 -0
- freemius/languages/freemius-he_IL.po +0 -0
- freemius/languages/freemius-hu_HU.mo +0 -0
- freemius/languages/freemius-hu_HU.po +0 -0
- freemius/languages/freemius-it_IT.mo +0 -0
- freemius/languages/freemius-it_IT.po +0 -0
- freemius/languages/freemius-ja_JP.mo +0 -0
- freemius/languages/freemius-ja_JP.po +0 -0
- freemius/languages/freemius-nl_NL.mo +0 -0
- freemius/languages/freemius-nl_NL.po +0 -0
- freemius/languages/freemius-ru_RU.mo +0 -0
- freemius/languages/freemius-ru_RU.po +0 -0
- freemius/languages/freemius.pot +0 -0
- freemius/languages/index.php +0 -0
- freemius/package.json +0 -0
- freemius/require.php +0 -0
- freemius/start.php +0 -0
- freemius/templates/account.php +0 -0
- freemius/templates/account/billing.php +0 -0
- freemius/templates/account/index.php +0 -0
- freemius/templates/account/partials/activate-license-button.php +0 -0
- freemius/templates/account/partials/addon.php +0 -0
- freemius/templates/account/partials/deactivate-license-button.php +0 -0
- freemius/templates/account/partials/index.php +0 -0
- freemius/templates/account/partials/site.php +0 -0
- freemius/templates/account/payments.php +0 -0
- freemius/templates/add-ons.php +0 -0
- freemius/templates/add-trial-to-pricing.php +0 -0
- freemius/templates/admin-notice.php +0 -0
- freemius/templates/ajax-loader.php +0 -0
- freemius/templates/auto-installation.php +0 -0
- freemius/templates/checkout.php +0 -0
- freemius/templates/connect.php +0 -0
- freemius/templates/contact.php +0 -0
- freemius/templates/debug.php +0 -0
- freemius/templates/debug/api-calls.php +0 -0
- freemius/templates/debug/index.php +0 -0
- freemius/templates/debug/logger.php +0 -0
- freemius/templates/debug/plugins-themes-sync.php +0 -0
- freemius/templates/debug/scheduled-crons.php +0 -0
- freemius/templates/email.php +0 -0
- freemius/templates/firewall-issues-js.php +0 -0
- freemius/templates/forms/affiliation.php +0 -0
- freemius/templates/forms/deactivation/contact.php +0 -0
- freemius/templates/forms/deactivation/form.php +0 -0
- freemius/templates/forms/deactivation/index.php +0 -0
- freemius/templates/forms/deactivation/retry-skip.php +0 -0
- freemius/templates/forms/index.php +0 -0
- freemius/templates/forms/license-activation.php +0 -0
- freemius/templates/forms/optout.php +0 -0
- freemius/templates/forms/premium-versions-upgrade-handler.php +0 -0
- freemius/templates/forms/premium-versions-upgrade-metadata.php +0 -0
- freemius/templates/forms/resend-key.php +0 -0
- freemius/templates/forms/subscription-cancellation.php +0 -0
- freemius/templates/forms/trial-start.php +0 -0
- freemius/templates/gdpr-optin-js.php +0 -0
- freemius/templates/index.php +0 -0
- freemius/templates/js/index.php +0 -0
- freemius/templates/js/jquery.content-change.php +0 -0
- freemius/templates/js/open-license-activation.php +0 -0
- freemius/templates/js/style-premium-theme.php +0 -0
- freemius/templates/partials/network-activation.php +0 -0
- freemius/templates/plugin-icon.php +0 -0
- freemius/templates/plugin-info/description.php +0 -0
- freemius/templates/plugin-info/features.php +0 -0
- freemius/templates/plugin-info/index.php +0 -0
- freemius/templates/plugin-info/screenshots.php +0 -0
- freemius/templates/powered-by.php +0 -0
- freemius/templates/pricing.php +0 -0
- freemius/templates/secure-https-header.php +0 -0
- freemius/templates/sticky-admin-notice-js.php +0 -0
- freemius/templates/tabs-capture-js.php +0 -0
- freemius/templates/tabs.php +0 -0
- languages/final-tiles-grid-gallery-lite-it_IT.mo +0 -0
- languages/final-tiles-grid-gallery-lite-it_IT.po +0 -0
- readme.txt +4 -1
- scripts/gutenberg_block.js +0 -0
- 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.
|
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.
|
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" );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 (
|
4 |
-
function ftg_p(
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
print stripslashes( $ftg_options[$field] );
|
11 |
}
|
12 |
return;
|
13 |
}
|
14 |
-
|
15 |
-
|
16 |
-
if (
|
17 |
-
|
18 |
-
if (
|
19 |
print "";
|
20 |
} else {
|
21 |
-
print stripslashes(
|
22 |
}
|
23 |
-
|
24 |
} else {
|
25 |
-
print stripslashes(
|
26 |
}
|
27 |
-
|
28 |
}
|
29 |
-
|
30 |
function ftg_sel(
|
31 |
$gallery,
|
32 |
$field,
|
33 |
$value,
|
34 |
$type = "selected"
|
35 |
-
)
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
if ( $ftg_options && $ftg_options[$field] == $value ) {
|
40 |
print $type;
|
41 |
return;
|
42 |
}
|
43 |
-
|
44 |
-
|
45 |
-
if (
|
46 |
print "";
|
47 |
} else {
|
48 |
-
if (
|
49 |
print $type;
|
50 |
}
|
51 |
}
|
52 |
-
|
53 |
}
|
54 |
-
|
55 |
-
function ftg_checkFieldDisabled(
|
56 |
-
|
57 |
-
if ( is_array( $options ) && count( $options ) == 3 && $options[2] == "disabled" ) {
|
58 |
return "disabled";
|
59 |
}
|
60 |
return "";
|
61 |
}
|
62 |
-
|
63 |
-
function ftg_checkDisabledOption(
|
64 |
-
{
|
65 |
return "disabled";
|
66 |
return "";
|
67 |
}
|
68 |
-
|
69 |
-
function ftg_printPro(
|
70 |
-
{
|
71 |
return " (upgrade to unlock)";
|
72 |
return "";
|
73 |
}
|
74 |
-
|
75 |
-
function ftg_printFieldPro(
|
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
|
86 |
-
global
|
87 |
$filters = array();
|
88 |
//print_r($gallery);
|
89 |
$idx = 0;
|
90 |
-
function ftgSortByName(
|
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 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
?>
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
_e(
|
162 |
-
|
163 |
-
|
164 |
-
|
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 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
_e(
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
$idx++;
|
358 |
?>
|
359 |
-
|
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 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
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 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
504 |
}
|
|
|
505 |
?>
|
506 |
-
|
507 |
-
|
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 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
?>
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
|
|
618 |
?>
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
?>
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
?>
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
_e(
|
785 |
-
?></
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
?>
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
- |