aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/menu/elements/section.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/navigation/menu/elements/section.php')
-rw-r--r--views/default/navigation/menu/elements/section.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/navigation/menu/elements/section.php b/views/default/navigation/menu/elements/section.php
new file mode 100644
index 000000000..f72db847f
--- /dev/null
+++ b/views/default/navigation/menu/elements/section.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Menu group
+ *
+ * @uses $vars['items']
+ * @uses $vars['class']
+ */
+
+$class = elgg_extract('class', $vars, '');
+
+echo "<ul class=\"$class\">";
+foreach ($vars['items'] as $menu_item) {
+ echo elgg_view('navigation/menu/elements/item', array('item' => $menu_item));
+}
+echo '</ul>';