source: extensions/bulk_manager/main.inc.php @ 27726

Revision 6772, 696 bytes checked in by plg, 10 years ago (diff)

feature 1802 added: filtering system. Only 3 filters available, more to come
later. Ability to add/remove filters on the fly.

When an administrator displays the "caddie" content, it means bulk manager
with a single filter "prefilter=caddie". Same principle for the photos of a
given album.

Line 
1<?php
2/*
3Plugin Name: Bulk Manager
4Version: 2.1a
5Description: Bulk Manager new generation, for Piwigo 2.2
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=440
7Author: plg
8Author URI: http://piwigo.wordpress.com
9*/
10
11if (!defined('PHPWG_ROOT_PATH'))
12{
13  die('Hacking attempt!');
14}
15
16define('BULKMANAGER_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
17
18/* Plugin admin */
19add_event_handler('get_admin_plugin_menu_links', 'bulk_manager_admin_menu');
20
21function bulk_manager_admin_menu($menu)
22{
23  array_push(
24    $menu,
25    array(
26      'NAME' => 'Bulk Manager',
27      'URL'  => get_admin_plugin_menu_link(dirname(__FILE__).'/element_set.php')
28      )
29    );
30
31  return $menu;
32}
33
34?>
Note: See TracBrowser for help on using the repository browser.