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.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/subnavbar.inc.php b/templates/subnavbar.inc.php
index 3618ef9c..5c9b8473 100644
--- a/templates/subnavbar.inc.php
+++ b/templates/subnavbar.inc.php
@@ -28,11 +28,11 @@
?>
<ul class="subnavside">
-<?php
- foreach ($items as $item) {
- if ($item['url'] == $item['active']) {
+<?php
+ foreach ($items as $item) {
+ if ($item['url'] == $item['active']) {
$li_class = "class=\"activesubmenu\"";
- }
+ }
$li_id = "id=\"" . $item['cssclass'] . "\"";
?>
<li <?php echo $li_class; echo $li_id; ?>><a href="<?php echo Config::get('web_path') . "/" . $item['url']; ?>"><?php echo $item['title']; ?></a></li>