diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-18 08:39:13 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-18 08:39:13 +0000 |
commit | e2a9f3e557eda5a76abff96bb8b48432a8962e97 (patch) | |
tree | 95bcee3be52e73d439aebcef43c81526f1de0e8e /templates/subnavbar.inc.php | |
parent | 5f8db40a3247a38644a8aa07e62b1e6e4a71b1f5 (diff) | |
download | ampache-e2a9f3e557eda5a76abff96bb8b48432a8962e97.tar.gz ampache-e2a9f3e557eda5a76abff96bb8b48432a8962e97.tar.bz2 ampache-e2a9f3e557eda5a76abff96bb8b48432a8962e97.zip |
fixed the 0 rating hover and removed some redudent definitions from the stylesheet
Diffstat (limited to 'templates/subnavbar.inc.php')
-rw-r--r-- | templates/subnavbar.inc.php | 9 |
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> |