From ad745e050da855d326d1b6bc3df8032c05574392 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 20 Mar 2010 20:21:44 +0000 Subject: Moved toolbar dropdown menu to main nav. Added CSS for main nav dropdown. Emptied navigation/topbar_tools view. git-svn-id: http://code.elgg.org/elgg/trunk@5455 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/site_nav.php | 71 +++++++++++++++++++++++++++---- views/default/navigation/topbar_tools.php | 34 +-------------- 2 files changed, 63 insertions(+), 42 deletions(-) (limited to 'views/default/navigation') diff --git a/views/default/navigation/site_nav.php b/views/default/navigation/site_nav.php index 965eb7e63..15b35a118 100644 --- a/views/default/navigation/site_nav.php +++ b/views/default/navigation/site_nav.php @@ -1,22 +1,75 @@ menu_items['featured_urls']; -$current_context = get_context(); +$nav_items = elgg_get_nav_items(); +$featured = $nav_items['featured']; +$more = $nav_items['more']; -echo '
-
+___END; +?> diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php index 2e48a4a85..044dc6608 100644 --- a/views/default/navigation/topbar_tools.php +++ b/views/default/navigation/topbar_tools.php @@ -1,7 +1,6 @@ menu_items['toolbar']; - -if (is_array($menu) && sizeof($menu) > 0) { - $alphamenu = array(); - foreach($menu as $item) { - $alphamenu[$item->name] = $item; - } - ksort($alphamenu); - -?> - - - - - -