diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-15 18:24:25 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-06-15 18:24:25 +0000 |
commit | c6c2320170b488f64f1c67de23a35f4ca4de59de (patch) | |
tree | 961626970cbf6c709a15de8f703709cf8f0bf645 /templates/sidebar.inc.php | |
parent | 7db599b70d03cc288fcf499bebd9afb2485c930d (diff) | |
download | ampache-c6c2320170b488f64f1c67de23a35f4ca4de59de.tar.gz ampache-c6c2320170b488f64f1c67de23a35f4ca4de59de.tar.bz2 ampache-c6c2320170b488f64f1c67de23a35f4ca4de59de.zip |
few catalog tweaks, removed dead files, added stats link and readme for kajax
Diffstat (limited to 'templates/sidebar.inc.php')
-rw-r--r-- | templates/sidebar.inc.php | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php index 8520f863..f9a7ea92 100644 --- a/templates/sidebar.inc.php +++ b/templates/sidebar.inc.php @@ -40,6 +40,17 @@ $browse_items[] = array('title'=>_("Lists"),'url'=>'browse.php','active'=>$locat //$browse_items[] = array('title'=>'File','url'=>'files.php','active'=>''); <!--pb1dft: this can be cleaned up --> $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"> <li<?php @@ -114,14 +125,9 @@ $web_path = conf('web_path'); }?>> <a href="<?php echo $web_path; ?>/playlist.php"><?php echo _("Playlists"); ?></a> </li> -<?php if ($GLOBALS['user']->prefs['play_type'] == 'mpd') { ?> - <li<?php - if ($location['page'] == "mpd.php"){ - echo " id=\"activetopmenu\" "; - }?>> - <a href="<?php echo $web_path; ?>/mpd.php"><?php echo _("Local Play"); ?></a> + <li> + <a href="<?php echo $web_path; ?>/stats.php"><?php echo _('Statistics'); ?></a> </li> -<?php } // end if ($GLOBALS['user']->prefs['play_type'] == 'mpd') ?> <li<?php if ($location['page'] == "search.php"){ echo " id=\"activetopmenu\" "; |