diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-11 02:15:22 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-11 02:15:22 +0000 |
commit | 239691e4507756985f6d54c002df7d8772e790c4 (patch) | |
tree | 800cfc4943265011f6cfe37a8af7410a5da96c84 /engine/lib/admin.php | |
parent | 45d1a0ec7c96297f204744a5ca8e340c08ba8ea9 (diff) | |
download | elgg-239691e4507756985f6d54c002df7d8772e790c4.tar.gz elgg-239691e4507756985f6d54c002df7d8772e790c4.tar.bz2 |
Fix admin area for overview and appearance.
git-svn-id: http://code.elgg.org/elgg/trunk@5997 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/admin.php')
-rw-r--r-- | engine/lib/admin.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engine/lib/admin.php b/engine/lib/admin.php index 81ef69baf..6a64bc19a 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -88,6 +88,9 @@ function elgg_add_admin_submenu_item($section_id, $section_title, $parent_id = N // in the admin section parents never have links if ($parent_id) { $href = "{$CONFIG->url}pg/admin/$parent_id/$section_id"; + } elseif ($section_id == 'overview') { + $href = "{$CONFIG->url}pg/admin/$section_id"; + } else { $href = NULL; } @@ -122,12 +125,14 @@ function admin_init() { // admin area overview and basic site settings elgg_add_admin_submenu_item('overview', elgg_echo('admin:overview')); + elgg_add_admin_submenu_item('site', elgg_echo('admin:site')); - elgg_add_admin_submenu_item('basic', elgg_echo('admin:site:basic'), 'admin:overview:site'); - elgg_add_admin_submenu_item('advanced', elgg_echo('admin:site:advanced'), 'admin:overview:site'); + elgg_add_admin_submenu_item('basic', elgg_echo('admin:site:basic'), 'site'); + elgg_add_admin_submenu_item('advanced', elgg_echo('admin:site:advanced'), 'site'); // appearance elgg_add_admin_submenu_item('appearance', elgg_echo('admin:appearance')); + //elgg_add_admin_submenu_item('basic', elgg_echo('admin:appearance'), 'appearance'); elgg_add_admin_submenu_item('menu_items', elgg_echo('admin:menu_items'), 'appearance'); |