source: extensions/Add_tags_Mass/main.inc.php @ 26981

Last change on this file since 26981 was 26981, checked in by poulpix, 10 years ago
File size: 725 bytes
Line 
1<?php
2/*
3Plugin Name: Add tags mass
4Version: 2.6.1
5Description: Add tags mass
6Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=683
7Author: poulpix
8Author URI: http://fr.piwigo.org/forum/profile.php?id=7164
9*/
10
11if (!defined('PHPWG_ROOT_PATH'))
12{
13  die('Hacking attempt!');
14}
15
16define('ADDTM_PATH', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
17
18/* Plugin admin */
19add_event_handler('get_admin_plugin_menu_links', 'addtagsmass_admin_menu');
20function addtagsmass_admin_menu($menu)
21{
22  global $page;
23 
24  array_push(
25    $menu,
26    array(
27      'NAME' => 'Add tags mass',
28      'URL'  => get_root_url().'admin.php?page=plugin-Add_tags_mass'
29      )
30    );
31
32  return $menu;
33}
34?>
Note: See TracBrowser for help on using the repository browser.