diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 16:59:00 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 16:59:00 +0000 |
commit | c94eb1a1cc386d58980357c63300e3479487f475 (patch) | |
tree | 2bd890a21456cec120794ef10710129988302477 /views/default/canvas_header/submenu_template.php | |
parent | 55bc92537a7bd0fde6e860551ee70edd4fae34a3 (diff) | |
download | elgg-c94eb1a1cc386d58980357c63300e3479487f475.tar.gz elgg-c94eb1a1cc386d58980357c63300e3479487f475.tar.bz2 |
Introducing the submenu
git-svn-id: https://code.elgg.org/elgg/trunk@1371 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas_header/submenu_template.php')
-rw-r--r-- | views/default/canvas_header/submenu_template.php | 10 |
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 |