diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-28 22:05:11 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-28 22:05:11 +0000 |
commit | 36ef78825c5050ac67336577fcb651659e998024 (patch) | |
tree | 8c3368c658d2d7185f9a25f5ab971a37e8893608 /views/default/navigation | |
parent | 8cfe10202ab6bad5d1ee9e2711e0587dba454a73 (diff) | |
download | elgg-36ef78825c5050ac67336577fcb651659e998024.tar.gz elgg-36ef78825c5050ac67336577fcb651659e998024.tar.bz2 |
Fixes for several menu issues
git-svn-id: http://code.elgg.org/elgg/trunk@8511 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation')
-rw-r--r-- | views/default/navigation/menu/site.php | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/views/default/navigation/menu/site.php b/views/default/navigation/menu/site.php index 0b3a47a62..41c81de03 100644 --- a/views/default/navigation/menu/site.php +++ b/views/default/navigation/menu/site.php @@ -12,15 +12,17 @@ foreach ($vars['menu']['default'] as $menu_item) { } if (isset($vars['menu']['more'])) { - $more = elgg_echo('more'); - $arrow = elgg_view_icon('arrow-s'); echo '<li class="elgg-more">'; - echo "<a class='subnav' title=\"$more\">$arrow $more</a>"; - echo '<ul>'; - foreach ($vars['menu']['more'] as $menu_item) { - echo elgg_view('navigation/menu/elements/item', array('item' => $menu_item)); - } - echo '</ul>'; + + $more = elgg_echo('more'); + echo "<a title=\"$more\">$more</a>"; + + echo elgg_view('navigation/menu/elements/group', array( + 'class' => 'elgg-menu', + 'section' => 'more', + 'items' => $vars['menu']['more'], + )); + echo '</li>'; } echo '</ul>'; |