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

Last change on this file since 16511 was 15389, checked in by ddtddt, 12 years ago

[extensions] - properties_mass_update - plg plugin

File size: 641 bytes
Line 
1<?php
2/*
3Plugin Name: Properties Mass Update
4Version: auto
5Description: Update many photo properties at once
6Plugin URI:
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.