aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/menu/default.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/default/navigation/menu/default.php b/views/default/navigation/menu/default.php
index d849fb80e..474d4cf8a 100644
--- a/views/default/navigation/menu/default.php
+++ b/views/default/navigation/menu/default.php
@@ -12,9 +12,9 @@ if (isset($vars['class'])) {
}
foreach ($vars['menu'] as $section => $menu_items) {
- echo "<ul class=\"$class\">";
- foreach ($menu_items as $menu_item) {
- echo elgg_view('navigation/menu/elements/item', array('item' => $menu_item));
- }
- echo '</ul>';
+ echo elgg_view('navigation/menu/elements/group', array(
+ 'section' => $section,
+ 'items' => $items,
+ 'class' => $class,
+ ));
}