source: extensions/virtualize/main.inc.php @ 27777

Last change on this file since 27777 was 16320, checked in by plg, 12 years ago

change version to "auto"

File size: 703 bytes
Line 
1<?php
2/*
3Plugin Name: Virtualize
4Version: auto
5Description: Make categories virtual and move photos from "galleries" to "upload"
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// define('COMMUNITY_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
17
18/* Plugin admin */
19add_event_handler('get_admin_plugin_menu_links', 'virtualize_admin_menu');
20function virtualize_admin_menu($menu)
21{
22  array_push(
23    $menu,
24    array(
25      'NAME' => 'Virtualize',
26      'URL'  => get_admin_plugin_menu_link(dirname(__FILE__).'/admin.php')
27      )
28    );
29
30  return $menu;
31}
32?>
Note: See TracBrowser for help on using the repository browser.