From 6b9a1a85147b1dff645381e89e0439f2d0c0fb13 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 22:13:48 +0000 Subject: added admin utilities menu item git-svn-id: http://code.elgg.org/elgg/trunk@7760 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/admin.php | 3 +++ languages/en.php | 2 +- mod/logbrowser/start.php | 2 +- mod/reportedcontent/start.php | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 0fa3c95a5..0938b0565 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -141,6 +141,9 @@ function admin_init() { elgg_add_admin_menu_item('plugins_simple', elgg_echo('admin:plugins:simple'), 'plugins'); elgg_add_admin_menu_item('plugins_advanced', elgg_echo('admin:plugins:advanced'), 'plugins'); + // plugins + elgg_add_admin_menu_item('utilities', elgg_echo('admin:utilities')); + register_page_handler('admin', 'admin_settings_page_handler'); } diff --git a/languages/en.php b/languages/en.php index 2f946a945..94bf38c2a 100644 --- a/languages/en.php +++ b/languages/en.php @@ -542,8 +542,8 @@ $english = array( 'admin:description' => "The admin panel allows you to control all aspects of the system, from user management to how plugins behave. Choose an option below to get started.", 'admin:overview' => 'Overview', - 'admin:appearance' => 'Appearance', + 'admin:utilities' => 'Utilities', 'admin:users' => "Users", 'admin:users:online' => 'Currently Online', diff --git a/mod/logbrowser/start.php b/mod/logbrowser/start.php index 9a254ba11..4e44cd0b8 100644 --- a/mod/logbrowser/start.php +++ b/mod/logbrowser/start.php @@ -16,7 +16,7 @@ function logbrowser_init() { elgg_register_plugin_hook_handler('register', 'menu:user_hover', 'logbrowser_user_hover_menu'); - elgg_add_admin_menu_item('logbrowser', elgg_echo('logbrowser'), 'overview'); + elgg_add_admin_menu_item('logbrowser', elgg_echo('logbrowser'), 'utilities'); } /** diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php index 872cf82ea..15c1b7cae 100644 --- a/mod/reportedcontent/start.php +++ b/mod/reportedcontent/start.php @@ -26,7 +26,7 @@ function reportedcontent_init() { } // Add admin menu item - elgg_add_admin_menu_item('reportedcontent', elgg_echo('reportedcontent'), 'overview'); + elgg_add_admin_menu_item('reportedcontent', elgg_echo('reportedcontent'), 'utilities'); // Register actions $action_path = elgg_get_plugin_path() . "reportedcontent/actions"; -- cgit v1.2.3