Image Photo Gallery Final Tiles Grid - Version 2.0.14

Version Description

  • Fixed broken css for backends under SSL
Download this release

Release Info

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

Code changes from version 2.0.13 to 2.0.14

FinalTilesGalleryLite.php CHANGED
@@ -4,13 +4,13 @@ Plugin Name: Final Tiles Grid Gallery Lite
4
  Plugin URI: http://codecanyon.net/item/final-tiles-gallery-for-wordpress/5189351?ref=GreenTreeLabs
5
  Description: Wordpress Plugin for creating responsive image galleries. By: Green Tree Labs
6
  Author: Green Tree Labs
7
- Version: 2.0.13
8
  Author URI: http://codecanyon.net/user/GreenTreeLabs
9
  */
10
 
11
- define("FTGLITEVERSION", "2.0.13");
12
- define("PRO_CALL", "<span class='procall'>(<a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>available with PRO version</a>)</span>");
13
- define("PRO_UNLOCK", "<a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>Add unlimited images with PRO version</a>");
14
 
15
  if (!class_exists("FinalTiles_GalleryLite"))
16
  {
@@ -67,7 +67,7 @@ if (!class_exists("FinalTiles_GalleryLite"))
67
 
68
  $wp_admin_bar->add_menu( array(
69
  'id' => 'ftg-upgrade-bar',
70
- 'href' => 'http://www.final-tiles-gallery.com/wordpress/pro.html',
71
  'parent' => 'top-secondary',
72
  'title' => __('Upgrade to Final Tiles Grid Gallery PRO'),
73
  'meta' => array('class' => 'ftg-upgrade-to-pro', 'target' => '_blank' ),
@@ -300,15 +300,15 @@ if (!class_exists("FinalTiles_GalleryLite"))
300
  {
301
  wp_enqueue_script('jquery');
302
 
303
- wp_register_script('finalTilesGallery', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/scripts/script.js', array('jquery'), FTGLITEVERSION);
304
  wp_enqueue_script('finalTilesGallery');
305
 
306
 
307
- wp_register_style('finalTilesGallery_stylesheet', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/scripts/ftg.css', array(), FTGLITEVERSION);
308
  wp_enqueue_style('finalTilesGallery_stylesheet');
309
 
310
- wp_register_script('lightbox2_script', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/lightbox/lightbox2/js/script.js', array('jquery'));
311
- wp_register_style('lightbox2_stylesheet', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/lightbox/lightbox2/css/style.css');
312
 
313
  wp_register_style('fontawesome_stylesheet', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css');
314
  wp_enqueue_style('fontawesome_stylesheet');
@@ -340,13 +340,13 @@ if (!class_exists("FinalTiles_GalleryLite"))
340
  wp_enqueue_script('media-upload');
341
  wp_enqueue_script('thickbox');
342
 
343
- wp_register_style('final-tiles-gallery-admin', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/admin/css/style.css', array('colors'), FTGLITEVERSION);
344
  wp_enqueue_style('final-tiles-gallery-admin');
345
 
346
- wp_register_script('materialize', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/admin/scripts/materialize.min.js', array('jquery'));
347
  wp_enqueue_script('materialize');
348
 
349
- wp_register_script('final-tiles-gallery', WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/admin/scripts/final-tiles-gallery-admin.js', array('jquery','media-upload','thickbox', 'materialize'), FTGLITEVERSION);
350
  wp_enqueue_script('final-tiles-gallery');
351
 
352
  wp_enqueue_style('thickbox');
@@ -373,7 +373,7 @@ if (!class_exists("FinalTiles_GalleryLite"))
373
  //Create Admin Menu
374
  public function add_gallery_admin_menu()
375
  {
376
- $overview = add_menu_page('Final Tiles Gallery', 'Final Tiles Gallery', 'edit_posts', 'ftg-lite-gallery-admin', array($this, 'add_overview'), WP_PLUGIN_URL . '/final-tiles-grid-gallery-lite/admin/icon.png');
377
  $add_gallery = add_submenu_page('ftg-lite-gallery-admin', __('FinalTiles Gallery >> Add Gallery','FinalTiles-gallery'), __('Add Gallery','FinalTiles-gallery'), 'edit_posts', 'ftg-lite-add-gallery', array($this, 'add_gallery'));
378
  $plugins = add_submenu_page('ftg-lite-gallery-admin', __('FinalTiles Gallery >> Other galleries','FinalTiles-gallery'), __('Other galleries','FinalTiles-gallery'), 'edit_posts', 'ftg-lite-gallery-others', array($this, 'other_galleries'));
379
  $tutorial = add_submenu_page('ftg-lite-gallery-admin', __('FinalTiles Gallery >> Tutorial','FinalTiles-gallery'), __('Tutorial','FinalTiles-gallery'), 'edit_posts', 'ftg-lite-tutorial', array($this, 'tutorial'));
@@ -1054,7 +1054,7 @@ if (!class_exists("FinalTiles_GalleryLite"))
1054
  "lightbox" => array(
1055
  "name" => "Lightbox &amp; Links",
1056
  "type" => "select",
1057
- "description" => "Define here what happens when user click on the images.<br><strong><a href='http://www.final-tiles-gallery.com/wordpress/pro.html' target='_blank'>Buy a PRO license</a></strong> to unlock 5 more lightboxes.",
1058
  "values" => array(
1059
  "Link" => array("|No link", "direct|Direct link to image"),
1060
  "Lightboxes" => array("lightbox2|Lightbox")
4
  Plugin URI: http://codecanyon.net/item/final-tiles-gallery-for-wordpress/5189351?ref=GreenTreeLabs
5
  Description: Wordpress Plugin for creating responsive image galleries. By: Green Tree Labs
6
  Author: Green Tree Labs
7
+ Version: 2.0.14
8
  Author URI: http://codecanyon.net/user/GreenTreeLabs
9
  */
10
 
11
+ define("FTGLITEVERSION", "2.0.14");
12
+ define("PRO_CALL", "<span class='procall'>(<a href='http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351' target='_blank'>available with PRO version</a>)</span>");
13
+ define("PRO_UNLOCK", "<a href='http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351' target='_blank'>Add unlimited images with PRO version</a>");
14
 
15
  if (!class_exists("FinalTiles_GalleryLite"))
16
  {
67
 
68
  $wp_admin_bar->add_menu( array(
69
  'id' => 'ftg-upgrade-bar',
70
+ 'href' => 'http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351',
71
  'parent' => 'top-secondary',
72
  'title' => __('Upgrade to Final Tiles Grid Gallery PRO'),
73
  'meta' => array('class' => 'ftg-upgrade-to-pro', 'target' => '_blank' ),
300
  {
301
  wp_enqueue_script('jquery');
302
 
303
+ wp_register_script('finalTilesGallery', plugins_url() . '/final-tiles-grid-gallery-lite/scripts/script.js', array('jquery'), FTGLITEVERSION);
304
  wp_enqueue_script('finalTilesGallery');
305
 
306
 
307
+ wp_register_style('finalTilesGallery_stylesheet', plugins_url() . '/final-tiles-grid-gallery-lite/scripts/ftg.css', array(), FTGLITEVERSION);
308
  wp_enqueue_style('finalTilesGallery_stylesheet');
309
 
310
+ wp_register_script('lightbox2_script', plugins_url() . '/final-tiles-grid-gallery-lite/lightbox/lightbox2/js/script.js', array('jquery'));
311
+ wp_register_style('lightbox2_stylesheet', plugins_url() . '/final-tiles-grid-gallery-lite/lightbox/lightbox2/css/style.css');
312
 
313
  wp_register_style('fontawesome_stylesheet', '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css');
314
  wp_enqueue_style('fontawesome_stylesheet');
340
  wp_enqueue_script('media-upload');
341
  wp_enqueue_script('thickbox');
342
 
343
+ wp_register_style('final-tiles-gallery-admin', plugins_url() . '/final-tiles-grid-gallery-lite/admin/css/style.css', array('colors'), FTGLITEVERSION);
344
  wp_enqueue_style('final-tiles-gallery-admin');
345
 
346
+ wp_register_script('materialize', plugins_url() . '/final-tiles-grid-gallery-lite/admin/scripts/materialize.min.js', array('jquery'));
347
  wp_enqueue_script('materialize');
348
 
349
+ wp_register_script('final-tiles-gallery', plugins_url() . '/final-tiles-grid-gallery-lite/admin/scripts/final-tiles-gallery-admin.js', array('jquery','media-upload','thickbox', 'materialize'), FTGLITEVERSION);
350
  wp_enqueue_script('final-tiles-gallery');
351
 
352
  wp_enqueue_style('thickbox');
373
  //Create Admin Menu
374
  public function add_gallery_admin_menu()
375
  {
376
+ $overview = add_menu_page('Final Tiles Gallery', 'Final Tiles Gallery', 'edit_posts', 'ftg-lite-gallery-admin', array($this, 'add_overview'), plugins_url() . '/final-tiles-grid-gallery-lite/admin/icon.png');
377
  $add_gallery = add_submenu_page('ftg-lite-gallery-admin', __('FinalTiles Gallery >> Add Gallery','FinalTiles-gallery'), __('Add Gallery','FinalTiles-gallery'), 'edit_posts', 'ftg-lite-add-gallery', array($this, 'add_gallery'));
378
  $plugins = add_submenu_page('ftg-lite-gallery-admin', __('FinalTiles Gallery >> Other galleries','FinalTiles-gallery'), __('Other galleries','FinalTiles-gallery'), 'edit_posts', 'ftg-lite-gallery-others', array($this, 'other_galleries'));
379
  $tutorial = add_submenu_page('ftg-lite-gallery-admin', __('FinalTiles Gallery >> Tutorial','FinalTiles-gallery'), __('Tutorial','FinalTiles-gallery'), 'edit_posts', 'ftg-lite-tutorial', array($this, 'tutorial'));
1054
  "lightbox" => array(
1055
  "name" => "Lightbox &amp; Links",
1056
  "type" => "select",
1057
+ "description" => "Define here what happens when user click on the images.<br><strong><a href='http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351' target='_blank'>Buy a PRO license</a></strong> to unlock 5 more lightboxes.",
1058
  "values" => array(
1059
  "Link" => array("|No link", "direct|Direct link to image"),
1060
  "Lightboxes" => array("lightbox2|Lightbox")
admin/adv.php CHANGED
@@ -1,24 +0,0 @@
1
- <?php if (!class_exists("AviaryWP") && empty($_COOKIE["__gtl_av"]) ) : ?>
2
- <div class="updated fade" id="aviary-adv">
3
- <p>
4
- Hey, do you already know
5
- <strong>
6
- <a target="_blank" href="http://codecanyon.net/item/aviary-for-wordpress/5224791">Aviary Advanced Image Editor for WordPress</a></strong>?
7
- It's the best image editing tool for WordPress, you can resize, crop, adjust colors, add Instagram like
8
- effects and much more!
9
- <br />
10
- <br />
11
- <strong><a target="_blank" href="http://codecanyon.net/item/aviary-for-wordpress/5224791">Go to Aviary for WordPress</a></strong>
12
- or <a href="#" class="close">Dismiss this notice</a>
13
- </p>
14
- </div>
15
- <script>
16
- (function(e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){function n(e){return e}function r(e){return decodeURIComponent(e.replace(t," "))}function i(e){if(e.indexOf('"')===0){e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{return s.json?JSON.parse(e):e}catch(t){}}var t=/\+/g;var s=e.cookie=function(t,o,u){if(o!==undefined){u=e.extend({},s.defaults,u);if(typeof u.expires==="number"){var a=u.expires,f=u.expires=new Date;f.setDate(f.getDate()+a)}o=s.json?JSON.stringify(o):String(o);return document.cookie=[s.raw?t:encodeURIComponent(t),"=",s.raw?o:encodeURIComponent(o),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join("")}var l=s.raw?n:r;var c=document.cookie.split("; ");var h=t?undefined:{};for(var p=0,d=c.length;p<d;p++){var v=c[p].split("=");var m=l(v.shift());var g=l(v.join("="));if(t&&t===m){h=i(g);break}if(!t){h[m]=i(g)}}return h};s.defaults={};e.removeCookie=function(t,n){if(e.cookie(t)!==undefined){e.cookie(t,"",e.extend({},n,{expires:-1}));return true}return false}});
17
- jQuery("#aviary-adv .close").click(function (e) {
18
- e.preventDefault();
19
- jQuery("#aviary-adv").fadeOut(function () {
20
- jQuery.cookie("__gtl_av", "1", { expires: 365 });
21
- });
22
- });
23
- </script>
24
- <?php endif ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/edit-gallery.php CHANGED
@@ -20,7 +20,7 @@
20
  <?php if(! isset($_COOKIE['gtl'])) : ?>
21
  <div class="row">
22
  <div id="adv" class="col s12">
23
- <a href="http://modula.greentreelabs.net/ftg-lite.html" target="_blank">
24
  <img src="<?php print plugins_url('/images/modula-strip.jpg',__file__) ?>" alt="Modula Grid Gallery">
25
  </a>
26
  <a href="#close" class="close">Dismiss</a>
20
  <?php if(! isset($_COOKIE['gtl'])) : ?>
21
  <div class="row">
22
  <div id="adv" class="col s12">
23
+ <a href="http://modula.greentreelabs.net/?utm_source=ftglite&utm_medium=banner&utm_campaign=Final%20Tiles%20Gallery%20Lite" target="_blank">
24
  <img src="<?php print plugins_url('/images/modula-strip.jpg',__file__) ?>" alt="Modula Grid Gallery">
25
  </a>
26
  <a href="#close" class="close">Dismiss</a>
admin/galleries.php CHANGED
@@ -5,7 +5,7 @@
5
  <div class="col s12 m6 l6">
6
  <div class="card">
7
  <div class="card-image">
8
- <a href="http://modula.greentreelabs.net/ftg-lite.html" target="_blank">
9
  <img src="<?php echo plugins_url('',__file__) ?>/images/modula.jpg" alt="Modula Grid Gallery">
10
  </a>
11
  </div>
@@ -15,7 +15,7 @@
15
  <p>Modula is a New Multipurpose WordPress Plugin To Make Attention-Grabbing Photo Grid Galleries.</p>
16
  </div>
17
  <div class="cta">
18
- <a href="http://modula.greentreelabs.net/ftg-lite.html" target="_blank" class="waves-effect waves-light btn deep-orange darken-3">
19
  Find out more
20
  </a>
21
  </div>
5
  <div class="col s12 m6 l6">
6
  <div class="card">
7
  <div class="card-image">
8
+ <a href="http://modula.greentreelabs.net/?utm_source=ftglite&utm_medium=banner&utm_campaign=Final%20Tiles%20Gallery%20Lite" target="_blank">
9
  <img src="<?php echo plugins_url('',__file__) ?>/images/modula.jpg" alt="Modula Grid Gallery">
10
  </a>
11
  </div>
15
  <p>Modula is a New Multipurpose WordPress Plugin To Make Attention-Grabbing Photo Grid Galleries.</p>
16
  </div>
17
  <div class="cta">
18
+ <a href="http://modula.greentreelabs.net/?utm_source=ftglite&utm_medium=banner&utm_campaign=Final%20Tiles%20Gallery%20Lite" target="_blank" class="waves-effect waves-light btn deep-orange darken-3">
19
  Find out more
20
  </a>
21
  </div>
admin/include/edit-gallery.php CHANGED
@@ -167,7 +167,7 @@ $colors = array('indigo', 'blue', 'cyan', 'teal', 'purple' , 'green', 'lime', 'd
167
  <?php elseif($data["type"] == "PRO_FEATURE") : ?>
168
 
169
  <div class="pro-cell">
170
- <a href="http://www.final-tiles-gallery.com/wordpress/pro.html" target="_blank">Unlock this feature with a PRO license</a>
171
  </div>
172
 
173
  <?php elseif($data["type"] == "textarea") : ?>
@@ -176,7 +176,7 @@ $colors = array('indigo', 'blue', 'cyan', 'teal', 'purple' , 'green', 'lime', 'd
176
  </div>
177
  <?php elseif($data["type"] == "custom_isf") : ?>
178
  <div class="pro-cell">
179
- <a href="http://www.final-tiles-gallery.com/wordpress/pro.html" target="_blank"><i class="fa fa-graduation-cap"></i> Unlock this feature with a PRO license</a>
180
  </div>
181
  <?php endif ?>
182
  <div class="help">
167
  <?php elseif($data["type"] == "PRO_FEATURE") : ?>
168
 
169
  <div class="pro-cell">
170
+ <a href="http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351" target="_blank">Unlock this feature with a PRO license</a>
171
  </div>
172
 
173
  <?php elseif($data["type"] == "textarea") : ?>
176
  </div>
177
  <?php elseif($data["type"] == "custom_isf") : ?>
178
  <div class="pro-cell">
179
+ <a href="http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351" target="_blank"><i class="fa fa-graduation-cap"></i> Unlock this feature with a PRO license</a>
180
  </div>
181
  <?php endif ?>
182
  <div class="help">
admin/overview.php CHANGED
@@ -16,7 +16,7 @@
16
  <?php if(! isset($_COOKIE['gtl'])) : ?>
17
  <div class="row">
18
  <div id="adv" class="col s12">
19
- <a href="http://modula.greentreelabs.net/ftg-lite.html" target="_blank">
20
  <img src="<?php print plugins_url('/images/modula-strip.jpg',__file__) ?>" alt="Modula Grid Gallery">
21
  </a>
22
  <a href="#close" class="close">Dismiss</a>
16
  <?php if(! isset($_COOKIE['gtl'])) : ?>
17
  <div class="row">
18
  <div id="adv" class="col s12">
19
+ <a href="http://modula.greentreelabs.net/?utm_source=ftglite&utm_medium=banner&utm_campaign=Final%20Tiles%20Gallery%20Lite" target="_blank">
20
  <img src="<?php print plugins_url('/images/modula-strip.jpg',__file__) ?>" alt="Modula Grid Gallery">
21
  </a>
22
  <a href="#close" class="close">Dismiss</a>
admin/upgrade.php CHANGED
@@ -1,4 +1,4 @@
1
- <p>Redirecting to modula.greentreelabs.net</p>
2
  <script>
3
- location.href = "http://www.final-tiles-gallery.com/wordpress/pro.html";
4
  </script>
1
+ <p>Redirecting...</p>
2
  <script>
3
+ location.href = "http://1.envato.market/c/288541/275988/4415?u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Ffinal-tiles-wordpress-gallery%2F5189351";
4
  </script>
readme.txt CHANGED
@@ -3,16 +3,17 @@ Contributors: GreenTreeLabs
3
  Donate link: http://greentreelabs.net/blog/donate/
4
  Tags: gallery, grid gallery, thumbnail, slider, best gallery, free gallery, best grid gallery, gallery plugin, gallery grid plugin, best grid gallery plugin, social, share
5
  Requires at least: 3.8.0
6
- Tested up to: 4.5.3
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Gallery. Probably the best gallery around. Unique layout, you have to try it! Highly customizable, easy and fast.
12
 
13
  == Description ==
14
 
15
  Build galleries like a puzzle, not only you get awesome layouts, but it's also funny!
 
16
 
17
  = A Brand New Algorithm =
18
 
@@ -103,6 +104,9 @@ The PRO license bundles 7 different lightboxes. However you can use any other li
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 2.0.13 =
107
  * Added missing alt image attribute
108
 
3
  Donate link: http://greentreelabs.net/blog/donate/
4
  Tags: gallery, grid gallery, thumbnail, slider, best gallery, free gallery, best grid gallery, gallery plugin, gallery grid plugin, best grid gallery plugin, social, share
5
  Requires at least: 3.8.0
6
+ Tested up to: 4.6.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Gallery. Probably the best gallery around. Unique gallery layout, you have to try it! Highly customizable, easy and fast.
12
 
13
  == Description ==
14
 
15
  Build galleries like a puzzle, not only you get awesome layouts, but it's also funny!
16
+ [Image credits Freepik](http://www.freepik.com/free-psd/imac-mockup_800761.htm)
17
 
18
  = A Brand New Algorithm =
19
 
104
 
105
  == Changelog ==
106
 
107
+ = 2.0.14 =
108
+ * Fixed broken css for backends under SSL
109
+
110
  = 2.0.13 =
111
  * Added missing alt image attribute
112