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

Last change on this file since 12627 was 9562, checked in by plg, 14 years ago

initial version, no filter on categories, very basic

File size: 704 bytes
Line 
1<?php
2/*
3Plugin Name: Virtualize
4Version: 2.1.a
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.