From 6412a94c3c21ce163c68546e33bdeb9c8650e9f9 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 13:36:33 +0000 Subject: page menu using the new menu system - admin menu updated git-svn-id: http://code.elgg.org/elgg/trunk@7738 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/menu/page.php | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 views/default/navigation/menu/page.php (limited to 'views/default/navigation/menu/page.php') diff --git a/views/default/navigation/menu/page.php b/views/default/navigation/menu/page.php new file mode 100644 index 000000000..00fa1ef51 --- /dev/null +++ b/views/default/navigation/menu/page.php @@ -0,0 +1,29 @@ +getParent(); + while ($parent) { + $parent->setSelected(); + $parent = $parent->getParent(); + } +} + +foreach ($vars['menu'] as $section => $menu_items) { + echo elgg_view('navigation/menu/elements/group', array( + 'items' => $menu_items, + 'section' => $section, + 'class' => $class, + )); +} -- cgit v1.2.3