aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 22:13:48 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 22:13:48 +0000
commit6b9a1a85147b1dff645381e89e0439f2d0c0fb13 (patch)
tree41b2e661eb1ac2388247a1d9acb5e630f6df1748
parent67d881e0dc3098800038127441836189f84b4322 (diff)
downloadelgg-6b9a1a85147b1dff645381e89e0439f2d0c0fb13.tar.gz
elgg-6b9a1a85147b1dff645381e89e0439f2d0c0fb13.tar.bz2
added admin utilities menu item
git-svn-id: http://code.elgg.org/elgg/trunk@7760 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/admin.php3
-rw-r--r--languages/en.php2
-rw-r--r--mod/logbrowser/start.php2
-rw-r--r--mod/reportedcontent/start.php2
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";