Last change
on this file since 11731 was
11668,
checked in by plg, 13 years ago
|
new plugin: subscribe to Piwigo Showcase
initial import
|
File size:
611 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Showcase Subscribe |
---|
4 | Version: auto |
---|
5 | Description: Subscribe to Piwigo Showcase (piwigo.org/showcase) |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid= |
---|
7 | Author: plg |
---|
8 | Author URI: http://piwigo.wordpress.com |
---|
9 | */ |
---|
10 | |
---|
11 | if (!defined('PHPWG_ROOT_PATH')) |
---|
12 | { |
---|
13 | die('Hacking attempt!'); |
---|
14 | } |
---|
15 | |
---|
16 | /* Plugin admin */ |
---|
17 | add_event_handler('get_admin_plugin_menu_links', 'showcase_subscribe_menu'); |
---|
18 | function showcase_subscribe_menu($menu) |
---|
19 | { |
---|
20 | array_push( |
---|
21 | $menu, |
---|
22 | array( |
---|
23 | 'NAME' => 'Showcase', |
---|
24 | 'URL' => get_root_url().'admin.php?page=plugin-showcase_subscribe' |
---|
25 | ) |
---|
26 | ); |
---|
27 | |
---|
28 | return $menu; |
---|
29 | } |
---|
30 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.