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
|
Rev | Line | |
---|
[8501] | 1 | <?php |
---|
| 2 | /* |
---|
[4547] | 3 | Plugin Name: Edit Maps&Earth |
---|
[8918] | 4 | Version: 2.1.4 |
---|
[4558] | 5 | Description: Editor for rv gmaps |
---|
[4557] | 6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=330 |
---|
[4547] | 7 | Author: rvelices cljosse |
---|
[4558] | 8 | Author URI: http://cl.josse.free.fr/ |
---|
[4547] | 9 | */ |
---|
[8501] | 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__)).'/' ); |
---|
[4558] | 14 | |
---|
[4547] | 15 | add_event_handler('get_admin_plugin_menu_links', 'ed_rvm_plugin_admin_menu' ); |
---|
| 16 | function ed_rvm_plugin_admin_menu($menu) |
---|
| 17 | { |
---|
[8918] | 18 | include_once( dirname(__FILE__) .'/include/functions.php'); |
---|
| 19 | add_event_handler('invalidate_user_cache', 'clm_invalidate_cache' ); |
---|
[4547] | 20 | array_push($menu, |
---|
[8501] | 21 | array( |
---|
[4547] | 22 | 'NAME' => 'EDIT Maps & Earth', |
---|
[8501] | 23 | 'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/admin/admin.php') ) |
---|
[4547] | 24 | ); |
---|
| 25 | return $menu; |
---|
| 26 | } |
---|
[4556] | 27 | |
---|
[6445] | 28 | |
---|
[4558] | 29 | |
---|
[4547] | 30 | |
---|
| 31 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.