aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-18 13:49:21 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-18 13:49:21 -0400
commit9af2f5496a5a0a76639ca56e931e7aee0e02c50c (patch)
tree8a8dc7d0b5e1973991122393b1b021dc1b9fb41f /mod/developers/start.php
parentee0fd055fab86ca205c048aa4490d3fd2e499bed (diff)
downloadelgg-9af2f5496a5a0a76639ca56e931e7aee0e02c50c.tar.gz
elgg-9af2f5496a5a0a76639ca56e931e7aee0e02c50c.tar.bz2
Fixes #3721 reorganized the developer tools menu items in the admin area
Diffstat (limited to 'mod/developers/start.php')
-rw-r--r--mod/developers/start.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/mod/developers/start.php b/mod/developers/start.php
index d9e1141e0..ab9a174a4 100644
--- a/mod/developers/start.php
+++ b/mod/developers/start.php
@@ -59,9 +59,17 @@ function developers_process_settings() {
function developers_setup_menu() {
if (elgg_in_context('admin')) {
- elgg_register_admin_menu_item('develop', 'settings', 'developers');
- elgg_register_admin_menu_item('develop', 'inspect', 'developers');
- elgg_register_admin_menu_item('develop', 'preview', 'developers');
+ elgg_register_admin_menu_item('develop', 'inspect', 'develop_tools');
+ elgg_register_admin_menu_item('develop', 'preview', 'develop_tools');
+
+ elgg_register_menu_item('page', array(
+ 'name' => 'dev_settings',
+ 'href' => 'admin/developers/settings',
+ 'text' => elgg_echo('settings'),
+ 'context' => 'admin',
+ 'priority' => 10,
+ 'section' => 'develop'
+ ));
}
}