diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-14 10:47:17 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-14 10:47:17 +0000 |
commit | 26469396670f21e3f96922c839a397158956d351 (patch) | |
tree | fbecaac1c550af47639699a6f7a2037899fbe80b /views/default/canvas_header/submenu_group.php | |
parent | f19a6d8e1980e41988531cbef263a1351a7631ea (diff) | |
download | elgg-26469396670f21e3f96922c839a397158956d351.tar.gz elgg-26469396670f21e3f96922c839a397158956d351.tar.bz2 |
Added the facility to group submenus
git-svn-id: https://code.elgg.org/elgg/trunk@1915 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas_header/submenu_group.php')
-rw-r--r-- | views/default/canvas_header/submenu_group.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/canvas_header/submenu_group.php b/views/default/canvas_header/submenu_group.php new file mode 100644 index 000000000..4ce6bce50 --- /dev/null +++ b/views/default/canvas_header/submenu_group.php @@ -0,0 +1,14 @@ +<?php
+
+ if (isset($vars['group_name'])) {
+ $groupname = $vars['group_name'];
+ } else {
+ $groupname = "main";
+ }
+ if (isset($vars['submenu'])) {
+
+ echo "<div class=\"submenu_group\"><div class=\"submenu_group_{$groupname}\">{$vars['submenu']}</div></div>";
+
+ }
+
+?>
\ No newline at end of file |