summaryrefslogtreecommitdiffstats
path: root/templates/subnavbar.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/subnavbar.inc.php')
-rw-r--r--templates/subnavbar.inc.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/templates/subnavbar.inc.php b/templates/subnavbar.inc.php
index 2f36704d..552f17c2 100644
--- a/templates/subnavbar.inc.php
+++ b/templates/subnavbar.inc.php
@@ -29,10 +29,9 @@
<ul class="subnavside">
<?php
foreach ($items as $item) {
- if ($item['active']) {
- $li_id = "id=\"subactive\"";
- $a_id = "id=\"subcurrent\"";
+ if ($item['url'] == $item['active']) {
+ $li_id = "id=\"activesubmenu\"";
} ?>
- <li <?php echo $li_id; ?>><a href="<?php echo conf('web_path') . "/" . $item['url']; ?>" <?php echo $a_id; ?>><?php echo $item['title']; ?></a></li>
- <?php unset($li_id,$a_id); } // END foreach ($items as $item) ?>
+ <li <?php echo $li_id; ?>><a href="<?php echo conf('web_path') . "/" . $item['url']; ?>"><?php echo $item['title']; ?></a></li>
+ <?php unset($li_id); } // END foreach ($items as $item) ?>
</ul>