source: extensions/edit_gmaps/main.inc.php @ 8918

Last change on this file since 8918 was 8918, checked in by cljosse, 10 years ago

[edit_gmaps] compatibility with piwigo 2.2

File size: 849 bytes
Line 
1<?php 
2/*
3Plugin Name: Edit Maps&Earth
4Version: 2.1.4
5Description:  Editor for rv gmaps
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=330
7Author: rvelices cljosse
8Author URI: http://cl.josse.free.fr/
9*/
10 
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12if (!defined('EDIT_RV_PATH')) 
13define(  'EDIT_RV_PATH',   PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/' );
14
15add_event_handler('get_admin_plugin_menu_links', 'ed_rvm_plugin_admin_menu' );
16function 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.