source: extensions/Icons_Set/main.inc.php @ 10297

Last change on this file since 10297 was 10297, checked in by flop25, 10 years ago

plugin in dev

File size: 750 bytes
Line 
1<?php
2/*
3Plugin Name: Icons Set
4Version: auto
5Description: Allow you to use other icons for any themes
6Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=
7Author: Flop25
8Author URI: http://www.planete-flop.fr/
9*/
10
11if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
12define('ICONSET_DIR' , basename(dirname(__FILE__)));
13define('ICONSET_PATH' , PHPWG_PLUGINS_PATH . ICONSET_DIR . '/');
14define('ICONS_PATH' , PHPWG_PLUGINS_PATH . ICONSET_DIR . '/icons/');
15
16add_event_handler('get_admin_plugin_menu_links', 'iconset_admin_menu');
17function iconset_admin_menu($menu)
18{
19  global $conf;
20
21  array_push($menu, array(
22    'NAME' => 'Icons Set',
23    'URL' => get_root_url().'admin.php?page=plugin-'.ICONSET_DIR
24    )
25  );
26  return $menu;
27}
28
29?>
Note: See TracBrowser for help on using the repository browser.