Image Photo Gallery Final Tiles Grid - Version 2.0.9

Version Description

  • Now you can go to the "edit gallery" page by clicking the whole card on the dashboard
Download this release

Release Info

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

Code changes from version 2.0.8 to 2.0.9

FinalTilesGalleryLite.php CHANGED
@@ -4,11 +4,11 @@ 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.8
8
  Author URI: http://codecanyon.net/user/GreenTreeLabs
9
  */
10
 
11
- define("FTGLITEVERSION", "2.0.8");
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
 
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.9
8
  Author URI: http://codecanyon.net/user/GreenTreeLabs
9
  */
10
 
11
+ define("FTGLITEVERSION", "2.0.9");
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
 
admin/css/style.css CHANGED
@@ -15,9 +15,20 @@
15
  color: #fff;
16
  }
17
  #adv {
18
- padding: 10px 20px;
19
  margin-top:20px;
 
20
  }
 
 
 
 
 
 
 
 
 
 
 
21
  #adv i {
22
  font-size: 18px;
23
  }
@@ -218,6 +229,9 @@
218
  background: rgba(0, 0, 0, .5);
219
  transition:all .2s;
220
  }
 
 
 
221
  #gallery-list .card:hover .card-content {
222
  background: rgba(0, 0, 0, 0);
223
  }
@@ -228,7 +242,7 @@
228
  #gallery-list .card .card-action {
229
  padding: 10px 20px;
230
  text-align: right;
231
- border:0;
232
  }
233
  #gallery-list .card .card-action a {
234
  margin: 0 10px;
15
  color: #fff;
16
  }
17
  #adv {
 
18
  margin-top:20px;
19
+ position: relative;
20
  }
21
+ #adv img {
22
+ width:100%;
23
+ }
24
+ #adv .close {
25
+ position: absolute;
26
+ z-index: 10;
27
+ color:#fff;
28
+ right: 1rem;
29
+ bottom: 5px;
30
+ }
31
+
32
  #adv i {
33
  font-size: 18px;
34
  }
229
  background: rgba(0, 0, 0, .5);
230
  transition:all .2s;
231
  }
232
+ #gallery-list .card .card-content {
233
+ cursor: pointer;
234
+ }
235
  #gallery-list .card:hover .card-content {
236
  background: rgba(0, 0, 0, 0);
237
  }
242
  #gallery-list .card .card-action {
243
  padding: 10px 20px;
244
  text-align: right;
245
+ border:0;
246
  }
247
  #gallery-list .card .card-action a {
248
  margin: 0 10px;
admin/edit-gallery.php CHANGED
@@ -17,6 +17,16 @@
17
  <?php include "header.php" ?>
18
 
19
  <div class='bd'>
 
 
 
 
 
 
 
 
 
 
20
 
21
  <header class="gallery-hd">
22
  <code>[FinalTilesGallery id='<?php print $gid ?>']</code>
@@ -31,7 +41,7 @@
31
  </ul>
32
  </header>
33
 
34
-
35
 
36
  <div id="settings">
37
  <form name="gallery_form" id="edit-gallery" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>" method="post">
17
  <?php include "header.php" ?>
18
 
19
  <div class='bd'>
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>
27
+ </div>
28
+ </div>
29
+ <?php endif ?>
30
 
31
  <header class="gallery-hd">
32
  <code>[FinalTilesGallery id='<?php print $gid ?>']</code>
41
  </ul>
42
  </header>
43
 
44
+
45
 
46
  <div id="settings">
47
  <form name="gallery_form" id="edit-gallery" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>" method="post">
admin/images/modula-strip.jpg ADDED
Binary file
admin/overview.php CHANGED
@@ -14,9 +14,12 @@
14
 
15
  <div class="bd">
16
  <?php if(! isset($_COOKIE['gtl'])) : ?>
17
- <div class="row">
18
- <div id="adv" class="col yellow accent-4">
19
- <i class="mdi mdi-comment-alert-outline"></i> <span>Click <a href="?page=ftg-lite-gallery-others">here</a> to see other gorgeous gallery plugins from GreenTreeLabs.</span> <a href="#close">Dismiss this notice</a>
 
 
 
20
  </div>
21
  </div>
22
  <?php endif ?>
@@ -37,7 +40,7 @@
37
  ?>
38
  <?php wp_nonce_field('FinalTiles_gallery', 'FinalTiles_gallery'); ?>
39
  <div class="col s12 m3">
40
- <div class="card <?php print $withImage ? "with-image" : "" ?> <?php print $colors[$idx % count($colors)] ?> darken-2" id="gallery-<?php print $gallery->Id ?>">
41
  <div class="data" style="background-image:<?php print $bg ?>">
42
  <div class="card-content white-text">
43
  <span class="card-title"><?php print $gallery->name ?></span>
@@ -170,5 +173,9 @@
170
  docCookies.setItem('gtl', '1', Infinity);
171
  $(this).parents("#adv").remove();
172
  });
 
 
 
 
173
  })(jQuery);
174
  </script>
14
 
15
  <div class="bd">
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>
23
  </div>
24
  </div>
25
  <?php endif ?>
40
  ?>
41
  <?php wp_nonce_field('FinalTiles_gallery', 'FinalTiles_gallery'); ?>
42
  <div class="col s12 m3">
43
+ <div class="card <?php print $withImage ? "with-image" : "" ?> <?php print $colors[$idx % count($colors)] ?> darken-2" id="gallery-<?php print $gallery->Id ?>" data-gid="<?php print $gallery->Id ?>">
44
  <div class="data" style="background-image:<?php print $bg ?>">
45
  <div class="card-content white-text">
46
  <span class="card-title"><?php print $gallery->name ?></span>
173
  docCookies.setItem('gtl', '1', Infinity);
174
  $(this).parents("#adv").remove();
175
  });
176
+ $("body").on("click", ".card-content", function () {
177
+ var gid = $(this).parents(".card").data("gid");
178
+ location.href = "?page=ftg-lite-gallery-admin&id=" + gid;
179
+ });
180
  })(jQuery);
181
  </script>
readme.txt CHANGED
@@ -103,6 +103,9 @@ The PRO license bundles 6 different lightboxes. However you can use any other li
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 2.0.8 =
107
  * Admin panel enhancements: now you can see the preview image for each gallery on the dashboard
108
 
103
 
104
  == Changelog ==
105
 
106
+ = 2.0.9 =
107
+ * Now you can go to the "edit gallery" page by clicking the whole card on the dashboard
108
+
109
  = 2.0.8 =
110
  * Admin panel enhancements: now you can see the preview image for each gallery on the dashboard
111