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