aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/canvas_header/submenu_group.php14
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