Last change
on this file since 11741 was
6772,
checked in by plg, 14 years ago
|
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.
|
File size:
696 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Bulk Manager |
---|
4 | Version: 2.1a |
---|
5 | Description: Bulk Manager new generation, for Piwigo 2.2 |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=440 |
---|
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 | define('BULKMANAGER_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
17 | |
---|
18 | /* Plugin admin */ |
---|
19 | add_event_handler('get_admin_plugin_menu_links', 'bulk_manager_admin_menu'); |
---|
20 | |
---|
21 | function 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.