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/sidebar.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/sidebar.inc.php')
-rw-r--r-- | templates/sidebar.inc.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php index ed2111bc..b939c7eb 100644 --- a/templates/sidebar.inc.php +++ b/templates/sidebar.inc.php @@ -26,17 +26,17 @@ * that have ['title'] ['url'] and ['active'] url assumes no conf('web_path') */ -$admin_items[] = array('title'=>_("Users"),'url'=>'admin/users.php','active'=>''); -$admin_items[] = array('title'=>_("Mail Users"),'url'=>'admin/mail.php','active'=>''); -$admin_items[] = array('title'=>_("Catalog"),'url'=>'admin/catalog.php','active'=>''); -$admin_items[] = array('title'=>_("Site Preferences"),'url'=>'admin/preferences.php','active'=>''); -$admin_items[] = array('title'=>_("Access List"),'url'=>'admin/access.php','active'=>''); +$admin_items[] = array('title'=>_("Users"),'url'=>'admin/users.php','active'=>$location['page']); +$admin_items[] = array('title'=>_("Mail Users"),'url'=>'admin/mail.php','active'=>$location['page']); +$admin_items[] = array('title'=>_("Catalog"),'url'=>'admin/catalog.php','active'=>$location['page']); +$admin_items[] = array('title'=>_("Site Preferences"),'url'=>'admin/preferences.php','active'=>$location['page']); +$admin_items[] = array('title'=>_("Access List"),'url'=>'admin/access.php','active'=>$location['page']); -$browse_items[] = array('title'=>_("Albums"),'url'=>'albums.php','active'=>''); -$browse_items[] = array('title'=>_("Artists"),'url'=>'artists.php','active'=>''); -$browse_items[] = array('title'=>_("Genre"),'url'=>'browse.php?action=genre','active'=>''); -$browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>''); -//$browse_items[] = array('title'=>'File','url'=>'files.php','active'=>''); +$browse_items[] = array('title'=>_("Albums"),'url'=>'albums.php','active'=>$location['page']); +$browse_items[] = array('title'=>_("Artists"),'url'=>'artists.php','active'=>$location['page']); +$browse_items[] = array('title'=>_("Genre"),'url'=>'browse.php?action=genre','active'=>$location['page']); +$browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>$location['page']); +//$browse_items[] = array('title'=>'File','url'=>'files.php','active'=>''); <!--pb1dft: this can be cleaned up --> $web_path = conf('web_path'); ?> @@ -46,7 +46,7 @@ $web_path = conf('web_path'); if ($location['page'] == "index.php"){ echo " id=\"activetopmenu\" "; }?>> - <a href="<?php echo $web_path; ?>/index.php" id="current"><?php echo _("Home"); ?></a> + <a href="<?php echo $web_path; ?>/index.php"><?php echo _("Home"); ?></a> </li> <?php if ($GLOBALS['user']->has_access(100)) { ?> <li<?php |