Last change
on this file since 19923 was
17670,
checked in by plg, 12 years ago
|
plugin added in the Extension Manager on Piwigo.org
|
File size:
689 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Properties Mass Update |
---|
4 | Version: auto |
---|
5 | Description: Update many photo properties at once |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=630 |
---|
7 | Author: plg |
---|
8 | Author URI: http://piwigo.org |
---|
9 | */ |
---|
10 | |
---|
11 | if (!defined('PHPWG_ROOT_PATH')) |
---|
12 | { |
---|
13 | die('Hacking attempt!'); |
---|
14 | } |
---|
15 | |
---|
16 | define('PPMU_PATH', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
17 | |
---|
18 | /* Plugin admin */ |
---|
19 | add_event_handler('get_admin_plugin_menu_links', 'ppmu_admin_menu'); |
---|
20 | function ppmu_admin_menu($menu) |
---|
21 | { |
---|
22 | global $page; |
---|
23 | |
---|
24 | array_push( |
---|
25 | $menu, |
---|
26 | array( |
---|
27 | 'NAME' => 'Properties Mass Update', |
---|
28 | 'URL' => get_root_url().'admin.php?page=plugin-properties_mass_update' |
---|
29 | ) |
---|
30 | ); |
---|
31 | |
---|
32 | return $menu; |
---|
33 | } |
---|
34 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.