aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/add_index/main.admin.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-02-12 06:09:05 +0000
committerrub <rub@piwigo.org>2007-02-12 06:09:05 +0000
commit62c1993adcfc257d98e47dc7efa8633209dbac3b (patch)
tree7b9c52ad8f30d0b2384b8c52d788da8372f0b6ad /plugins/add_index/main.admin.inc.php
parentf02ef033adf044e22cc142123da640a9ec9bc67d (diff)
add_index plugin cleanup
Fix reading html mail on webmail (like webmail free) git-svn-id: http://piwigo.org/svn/trunk@1808 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/add_index/main.admin.inc.php')
-rw-r--r--plugins/add_index/main.admin.inc.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/plugins/add_index/main.admin.inc.php b/plugins/add_index/main.admin.inc.php
index a79d1f237..93421854f 100644
--- a/plugins/add_index/main.admin.inc.php
+++ b/plugins/add_index/main.admin.inc.php
@@ -36,6 +36,7 @@ class AdminAddIndex extends AddIndex
function load_params()
{
global $conf;
+
// Name of index file (index.php or index.htm or index.html)
if (!isset($conf['add_index_filename']))
{
@@ -83,17 +84,6 @@ class AdminAddIndex extends AddIndex
return $site_manager_plugin_links;
}
-
- function plugin_admin_menu($menu)
- {
- array_push($menu,
- array(
- 'NAME' => l10n('Menu_Add_Index'),
- 'URL' => get_admin_plugin_menu_link(dirname(__FILE__).'/admin/admin_menu.php')
- )
- );
- return $menu;
- }
}
// Create object
@@ -106,6 +96,5 @@ $add_index->load_params();
add_event_handler('loading_lang', array(&$add_index, 'loading_lang'));
add_event_handler('get_admin_advanced_features_links', array(&$add_index, 'get_admin_advanced_features_links'));
add_event_handler('get_admins_site_links', array(&$add_index, 'get_admins_site_links'), EVENT_HANDLER_PRIORITY_NEUTRAL, 3);
-add_event_handler('get_admin_plugin_menu_links', array(&$add_index, 'plugin_admin_menu') );
?> \ No newline at end of file