Gallery – Photo Gallery – Image Gallery - Version 1.0.5

Version Description

  • Added handy links on plugins page
Download this release

Release Info

Developer GreenTreeLabs
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

Files changed (2) hide show
  1. Modula.php +16 -1
  2. README.txt +3 -0
Modula.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Modula Grid Gallery Lite
4
  Plugin URI: http://modula.greentreelabs.net
5
  Description: The Best Wordpress Gallery.
6
  Author: GreenTreeLabs
7
- Version: 1.0.4
8
  Author URI: http://modula.greentreelabs.net
9
  */
10
 
@@ -87,6 +87,8 @@ if (!class_exists("ModulaLite"))
87
  add_action('wp_ajax_mtg_shortcode_editor', array($this, 'mtg_shortcode_editor'));
88
  add_action('wp_ajax_modula_get_config', array($this, 'get_config'));
89
  add_action('wp_ajax_modula_update_config', array($this, 'update_config'));
 
 
90
  }
91
 
92
  //Define textdomain
@@ -115,6 +117,19 @@ if (!class_exists("ModulaLite"))
115
  }
116
 
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  //delete gallery
119
  function delete_gallery()
120
  {
4
  Plugin URI: http://modula.greentreelabs.net
5
  Description: The Best Wordpress Gallery.
6
  Author: GreenTreeLabs
7
+ Version: 1.0.5
8
  Author URI: http://modula.greentreelabs.net
9
  */
10
 
87
  add_action('wp_ajax_mtg_shortcode_editor', array($this, 'mtg_shortcode_editor'));
88
  add_action('wp_ajax_modula_get_config', array($this, 'get_config'));
89
  add_action('wp_ajax_modula_update_config', array($this, 'update_config'));
90
+
91
+ add_filter( 'plugin_row_meta',array( $this, 'register_links' ),10,2);
92
  }
93
 
94
  //Define textdomain
117
  }
118
 
119
 
120
+ public function register_links($links, $file)
121
+ {
122
+ $base = plugin_basename(__FILE__);
123
+ if ($file == $base) {
124
+ $links[] = '<a href="admin.php?page=Modula-admin" title="Modula Grid Gallery Dashboard">Dashboard</a>';
125
+ $links[] = '<a href="https://twitter.com/greentreelabs" title="@GreenTreeLabs on Twitter">Twitter</a>';
126
+ $links[] = '<a href="https://www.facebook.com/greentreelabs" title="GreenTreeLabs on Facebook">Facebook</a>';
127
+ $links[] = '<a href="https://www.google.com/+GreentreelabsNetjs" title="GreenTreeLabs on Google+">Google+</a>';
128
+ }
129
+ return $links;
130
+
131
+ }
132
+
133
  //delete gallery
134
  function delete_gallery()
135
  {
README.txt CHANGED
@@ -64,6 +64,9 @@ The simplest way to install is to click on \'Plugins\' then \'Add\' and type \'M
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 1.0.4 =
68
  * Updated pot file for translations
69
 
64
 
65
  == Changelog ==
66
 
67
+ = 1.0.5 =
68
+ * Added handy links on plugins page
69
+
70
  = 1.0.4 =
71
  * Updated pot file for translations
72