diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-26 13:59:30 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-26 13:59:30 +0000 |
commit | 547a686381738fcb93a16894a331d96cdfba6f82 (patch) | |
tree | 15ebc109ac17a9f9d189945527b6ed3a3bbb42e1 /views/default/navigation/topbar_tools.php | |
parent | abacefd475ad96223bf5733ac0ce4896814b2df0 (diff) | |
download | elgg-547a686381738fcb93a16894a331d96cdfba6f82.tar.gz elgg-547a686381738fcb93a16894a331d96cdfba6f82.tar.bz2 |
Closes #304: Thanks for the patch!
git-svn-id: https://code.elgg.org/elgg/trunk@2043 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/topbar_tools.php')
-rw-r--r-- | views/default/navigation/topbar_tools.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/views/default/navigation/topbar_tools.php b/views/default/navigation/topbar_tools.php index 18320d1b7..7a39a0540 100644 --- a/views/default/navigation/topbar_tools.php +++ b/views/default/navigation/topbar_tools.php @@ -17,17 +17,17 @@ //var_export($menu); - if (is_array($menu) && sizeof($menu) > 0) {
- $alphamenu = array();
- foreach($menu as $item) {
- $alphamenu[$item->name] = $item;
- }
+ if (is_array($menu) && sizeof($menu) > 0) { + $alphamenu = array(); + foreach($menu as $item) { + $alphamenu[$item->name] = $item; + } ksort($alphamenu); ?> <ul id="topbardropdownmenu"> - <li class="drop"><a href="#">Tools<!--[if IE 7]><!--></a><!--<![endif]--> + <li class="drop"><a href="#"><?php echo(elgg_echo('tools')); ?><!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <?php |