source: extensions/showcase_subscribe/main.inc.php @ 11668

Last change on this file since 11668 was 11668, checked in by plg, 9 years ago

new plugin: subscribe to Piwigo Showcase

initial import

File size: 611 bytes
Line 
1<?php
2/*
3Plugin Name: Showcase Subscribe
4Version: auto
5Description: Subscribe to Piwigo Showcase (piwigo.org/showcase)
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=
7Author: plg
8Author URI: http://piwigo.wordpress.com
9*/
10
11if (!defined('PHPWG_ROOT_PATH'))
12{
13  die('Hacking attempt!');
14}
15
16/* Plugin admin */
17add_event_handler('get_admin_plugin_menu_links', 'showcase_subscribe_menu');
18function 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.