aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas_header
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/canvas_header')
-rw-r--r--views/default/canvas_header/submenu_template.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/default/canvas_header/submenu_template.php b/views/default/canvas_header/submenu_template.php
new file mode 100644
index 000000000..ff43ac153
--- /dev/null
+++ b/views/default/canvas_header/submenu_template.php
@@ -0,0 +1,10 @@
+<?php
+
+ if (isset($vars['selected']) && $vars['selected'] == true) {
+ $selected = "class=\"selected\"";
+ } else {
+ $selected = "";
+ }
+
+?>
+<li <?php echo $selected; ?>><a href="<?php echo $vars['href']; ?>"><?php echo $vars['label']; ?></a></li> \ No newline at end of file