source: extensions/delete_hit/main.inc.php @ 32537

Last change on this file since 32537 was 5824, checked in by ddtddt, 15 years ago

[extension] add delete_hit release 1.0.2

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 658 bytes
Line 
1<?php
2/*
3Plugin Name: Delete Hit
4Version: 1.0.2
5Description: delete hit
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=374
7Author: ddtddt
8Author URI: http://piwigo.org/
9*/
10
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12
13global $prefixeTable;
14
15define('HIT_DIR' , basename(dirname(__FILE__)));
16define('HIT_PATH' , PHPWG_PLUGINS_PATH . HIT_DIR . '/');
17load_language('plugin.lang', HIT_PATH);
18
19add_event_handler('get_admin_plugin_menu_links', 'hit_admin_menu');
20function hit_admin_menu($menu)
21{
22  array_push($menu, array(
23        'NAME' => 'Delete Hit',
24    'URL' => get_admin_plugin_menu_link(HIT_PATH . 'admin/admin.php')));
25  return $menu;
26}
27?>
Note: See TracBrowser for help on using the repository browser.