Last change
on this file since 31898 was
10363,
checked in by grum, 14 years ago
|
forgotten index.php file + PHP5 syntax
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[4905] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | * ----------------------------------------------------------------------------- |
---|
| 4 | * Plugin Name: Advanced MetaData |
---|
| 5 | * ----------------------------------------------------------------------------- |
---|
| 6 | * Author : Grum |
---|
| 7 | * email : grum@piwigo.org |
---|
| 8 | * website : http://photos.grum.fr |
---|
| 9 | * PWG user : http://forum.piwigo.org/profile.php?id=3706 |
---|
| 10 | * |
---|
| 11 | * << May the Little SpaceFrog be with you ! >> |
---|
| 12 | * |
---|
| 13 | * ----------------------------------------------------------------------------- |
---|
| 14 | * |
---|
| 15 | * See main.inc.php for release information |
---|
| 16 | * |
---|
| 17 | * AMD_AIM : classe to manage plugin integration into plugin menu |
---|
| 18 | * |
---|
| 19 | * ----------------------------------------------------------------------------- |
---|
| 20 | */ |
---|
| 21 | |
---|
| 22 | if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); } |
---|
| 23 | |
---|
| 24 | include_once('amd_root.class.inc.php'); |
---|
| 25 | |
---|
| 26 | class AMD_AIM extends AMD_root |
---|
| 27 | { |
---|
[10363] | 28 | function __construct($prefixeTable, $filelocation) |
---|
[4905] | 29 | { |
---|
| 30 | parent::__construct($prefixeTable, $filelocation); |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | /* |
---|
| 34 | initialize events call for the plugin |
---|
| 35 | */ |
---|
[5935] | 36 | function initEvents() |
---|
[4905] | 37 | { |
---|
[5935] | 38 | parent::initEvents(); |
---|
| 39 | add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') ); |
---|
[4905] | 40 | } |
---|
| 41 | |
---|
| 42 | } // amd_aim class |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.