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

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

[edit_gmaps] compatibility with piwigo 2.2

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