diff options
Diffstat (limited to 'views/default/navigation/menu')
-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>'; |