diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-07 20:35:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-07 20:35:49 +0000 |
commit | b6cfe134badb2d4393e9081b13b2dfca011ed736 (patch) | |
tree | 4f6213e626fa90b4b280b5e663e791559c4a7f8f /templates/sidebar.inc.php | |
parent | 90d2acbc54b24b6e8207e12f1cabcbc7541ca447 (diff) | |
download | ampache-b6cfe134badb2d4393e9081b13b2dfca011ed736.tar.gz ampache-b6cfe134badb2d4393e9081b13b2dfca011ed736.tar.bz2 ampache-b6cfe134badb2d4393e9081b13b2dfca011ed736.zip |
* Re-worked Main page of Ampache, adding Album of the moment.
* Moved stats to /stats.php page
* Fixed logic error in resize that could cause nothign to display
if resize was on, but it still failed
* Fixed Upload Album art from Find Album Art
* Added Menu to the TV page
* Fixed logic error that showed localplay if user had access
regardless of global config
* Changed default action of browse.php to song browse
Diffstat (limited to 'templates/sidebar.inc.php')
-rw-r--r-- | templates/sidebar.inc.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php index 06962c10..6f55def1 100644 --- a/templates/sidebar.inc.php +++ b/templates/sidebar.inc.php @@ -35,8 +35,6 @@ $browse_items[] = array('title'=>_("Albums"),'url'=>'albums.php','active'=>$loca $browse_items[] = array('title'=>_("Artists"),'url'=>'artists.php','active'=>$location['page'], 'cssclass'=>'sidebar_browse_artists'); $browse_items[] = array('title'=>_("Genre"),'url'=>'browse.php?action=genre','active'=>$location['page'], 'cssclass'=>'sidebar_browse_genre'); $browse_items[] = array('title'=>_('Song Title'),'url'=>'browse.php?action=song_title','active'=>$location['page'], 'cssclass'=>'sidebar_browse_song_title'); -$browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>$location['page'], 'cssclass'=>'sidebar_browse_lists'); -//$browse_items[] = array('title'=>'File','url'=>'files.php','active'=>''); <!--pb1dft: this can be cleaned up --> $web_path = conf('web_path'); @@ -165,7 +163,7 @@ $web_path = conf('web_path'); </form> </li> <?php } // end if ($GLOBALS['theme']['orientation'] != 'horizontal') ?> -<?php if ($GLOBALS['user']->prefs['localplay_level'] > 0) { ?> +<?php if ($GLOBALS['user']->prefs['localplay_level'] > 0 AND conf('allow_localplay_playback')) { ?> <li id="sidebar_localplay"> <a href="<?php echo $web_path; ?>/localplay.php"><?php echo _('Localplay'); ?></a> </li> |