aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/menu/elements/section.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 18:54:37 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 18:54:37 +0000
commit165fa6558c1bfd0a7261bdd51b027b54a46961b6 (patch)
tree0de59bfce5f64f7d1fb0e9951d0aea809a83d91d /views/default/navigation/menu/elements/section.php
parent49c91aa389416ee8cb66dbb4d3d7a2512c411790 (diff)
downloadelgg-165fa6558c1bfd0a7261bdd51b027b54a46961b6.tar.gz
elgg-165fa6558c1bfd0a7261bdd51b027b54a46961b6.tar.bz2
Refs #3021: elgg-section-$section => elgg-menu-$menu-$section
Added elgg-menu-hz for horizontal menus git-svn-id: http://code.elgg.org/elgg/trunk@8535 36083f99-b078-4883-b0ff-0f9b5a30f544
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>';