From c66831fa5138a277a9729174caf14c7eb323fb07 Mon Sep 17 00:00:00 2001 From: brettp Date: Fri, 16 Oct 2009 20:26:12 +0000 Subject: Standardizing views.` git-svn-id: http://code.elgg.org/elgg/trunk@3555 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/topbar_tools.php | 68 +++++++++++++++---------------- 1 file changed, 33 insertions(+), 35 deletions(-) (limited to 'views/default/navigation/topbar_tools.php') diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php index 49dacde72..897a827d6 100644 --- a/views/default/navigation/topbar_tools.php +++ b/views/default/navigation/topbar_tools.php @@ -1,47 +1,45 @@ 0) { + $alphamenu = array(); + foreach($menu as $item) { + $alphamenu[$item->name] = $item; + } + ksort($alphamenu); - if (is_array($menu) && sizeof($menu) > 0) { - $alphamenu = array(); - foreach($menu as $item) { - $alphamenu[$item->name] = $item; - } - ksort($alphamenu); - ?> +} \ No newline at end of file -- cgit v1.2.3