aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/admin.php13
-rw-r--r--views/default/admin/plugins.php (renamed from views/default/admin/plugins/advanced.php)0
2 files changed, 10 insertions, 3 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php
index 8016a2fd6..7c41fc24e 100644
--- a/engine/lib/admin.php
+++ b/engine/lib/admin.php
@@ -262,11 +262,18 @@ function admin_init() {
// configure
// plugins
- elgg_register_admin_menu_item('configure', 'plugins', null, 10);
- elgg_register_admin_menu_item('configure', 'simple', 'plugins', 10);
- elgg_register_admin_menu_item('configure', 'advanced', 'plugins', 20);
+ elgg_register_menu_item('page', array(
+ 'name' => 'plugins',
+ 'href' => 'admin/plugins',
+ 'text' => elgg_echo('admin:plugins'),
+ 'context' => 'admin',
+ 'priority' => 75,
+ 'section' => 'configure'
+ ));
// settings
+ elgg_register_admin_menu_item('configure', 'appearance', null, 50);
+ elgg_register_admin_menu_item('configure', 'settings', null, 100);
elgg_register_admin_menu_item('configure', 'basic', 'settings', 10);
elgg_register_admin_menu_item('configure', 'advanced', 'settings', 20);
elgg_register_admin_menu_item('configure', 'menu_items', 'appearance', 30);
diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins.php
index 9f426fae2..9f426fae2 100644
--- a/views/default/admin/plugins/advanced.php
+++ b/views/default/admin/plugins.php