source: extensions/properties_mass_update/main.inc.php @ 21975

Last change on this file since 21975 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/*
3Plugin Name: Properties Mass Update
4Version: auto
5Description: Update many photo properties at once
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=630
7Author: plg
8Author URI: http://piwigo.org
9*/
10
11if (!defined('PHPWG_ROOT_PATH'))
12{
13  die('Hacking attempt!');
14}
15
16define('PPMU_PATH', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
17
18/* Plugin admin */
19add_event_handler('get_admin_plugin_menu_links', 'ppmu_admin_menu');
20function 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.