diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-26 07:52:05 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-26 07:52:05 +0000 |
commit | cff8e731529103c63da1c2ef8e3dd0b91686b1c2 (patch) | |
tree | 3574642cbed6bdec1ca93f77d309cf941a6fa909 /templates/sidebar.inc.php | |
parent | 3ccf8570aa6c2070e15bcd03fa0fa0351a80fba5 (diff) | |
download | ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.tar.gz ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.tar.bz2 ampache-cff8e731529103c63da1c2ef8e3dd0b91686b1c2.zip |
fixed acls and improved the classic theme a little more
Diffstat (limited to 'templates/sidebar.inc.php')
-rw-r--r-- | templates/sidebar.inc.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php index e11e1b63..d47e2711 100644 --- a/templates/sidebar.inc.php +++ b/templates/sidebar.inc.php @@ -42,23 +42,14 @@ $browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>$locat $web_path = conf('web_path'); -/* Setup the Location page mojo for setting - * the active LI here - */ -switch ($location['page']) { - - - - -} // end switch on location page thingy - ?> <ul id="navlist"> + <h3></h3> <li<?php if ($location['page'] == "index.php"){ echo " id=\"activetopmenu\" "; }?>> - <a href="<?php echo $web_path; ?>/index.php"><?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 @@ -71,7 +62,7 @@ switch ($location['page']) { $location['page'] == 'admin/access.php' ){ echo " id=\"activetopmenu\" "; }?>> - <a href="<?php echo $web_path; ?>/admin/index.php"><?php echo _("Admin"); ?></a> + <a href="<?php echo $web_path; ?>/admin/index.php"><?php echo _('Admin'); ?></a> <?php if ($GLOBALS['theme']['submenu'] != 'simple') { show_submenu($admin_items); |