From aa011b14603ba807121c811399685895a9c75d67 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 8 May 2010 03:42:23 +0000 Subject: Added new submenu system. Added elgg_http_url_is_identical(). Moved canvas_header/submenu* to navigation/submenu*. Added UI test for submenu. git-svn-id: http://code.elgg.org/elgg/trunk@5982 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/navigation/submenu_group.php | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 views/default/navigation/submenu_group.php (limited to 'views/default/navigation/submenu_group.php') diff --git a/views/default/navigation/submenu_group.php b/views/default/navigation/submenu_group.php new file mode 100644 index 000000000..08e417494 --- /dev/null +++ b/views/default/navigation/submenu_group.php @@ -0,0 +1,42 @@ + for a submenu and passes items one by one + * to navigation/submenu_item + * + * @uses $vars['group_name'] + * @uses $vars['items'] + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ + +$group = (isset($vars['group'])) ? $vars['group'] : 'default'; +$items = (isset($vars['items'])) ? $vars['items'] : array(); +$hidden = (isset($vars['hidden']) && $vars['hidden']) ? 'hidden' : ''; +$child = (isset($vars['child']) && $vars['child']) ? 'child' : ''; + +echo "\n"; \ No newline at end of file -- cgit v1.2.3