Last change
on this file since 9002 was
8918,
checked in by cljosse, 14 years ago
|
[edit_gmaps] compatibility with piwigo 2.2
|
File size:
849 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Edit Maps&Earth |
---|
4 | Version: 2.1.4 |
---|
5 | Description: Editor for rv gmaps |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=330 |
---|
7 | Author: rvelices cljosse |
---|
8 | Author URI: http://cl.josse.free.fr/ |
---|
9 | */ |
---|
10 | |
---|
11 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
12 | if (!defined('EDIT_RV_PATH')) |
---|
13 | define( 'EDIT_RV_PATH', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/' ); |
---|
14 | |
---|
15 | add_event_handler('get_admin_plugin_menu_links', 'ed_rvm_plugin_admin_menu' ); |
---|
16 | function ed_rvm_plugin_admin_menu($menu) |
---|
17 | { |
---|
18 | include_once( dirname(__FILE__) .'/include/functions.php'); |
---|
19 | add_event_handler('invalidate_user_cache', 'clm_invalidate_cache' ); |
---|
20 | array_push($menu, |
---|
21 | array( |
---|
22 | 'NAME' => 'EDIT Maps & Earth', |
---|
23 | 'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/admin/admin.php') ) |
---|
24 | ); |
---|
25 | return $menu; |
---|
26 | } |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.