summaryrefslogtreecommitdiffstats
path: root/templates/sidebar_home.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-10 19:05:42 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-11-10 19:05:42 +0000
commit0e26226af811a2a92c300ff28f3aa1ad47ae19f0 (patch)
treeb5c083da4160cc61d0ac3aec21d9129f54f49937 /templates/sidebar_home.inc.php
parent7114792a08c65a5429bfdf6bfaba267b9f88b019 (diff)
downloadampache-0e26226af811a2a92c300ff28f3aa1ad47ae19f0.tar.gz
ampache-0e26226af811a2a92c300ff28f3aa1ad47ae19f0.tar.bz2
ampache-0e26226af811a2a92c300ff28f3aa1ad47ae19f0.zip
initial work on democratic play, not finished, added drop down select for playtype switching back in, thinking about changing it and making it a row of icons... not sure
Diffstat (limited to 'templates/sidebar_home.inc.php')
-rw-r--r--templates/sidebar_home.inc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php
index 62cf9a37..840fbfe1 100644
--- a/templates/sidebar_home.inc.php
+++ b/templates/sidebar_home.inc.php
@@ -6,6 +6,14 @@
<li id="sb_home_info_AddStationRadio"><a href="<?php echo $web_path; ?>/radio.php?action=show_create"><?php echo _('Add Radio Station'); ?></a></li>
</ul>
</li>
+<?php if (Config::get('allow_democratic_playback')) { ?>
+ <li><h4><?php echo _('Democratic'); ?></h4>
+ <ul class="sb3" id="sb_home_democratic">
+ <li id="sb_home_democratic_playlist"><a href="<?php echo $web_path; ?>/democratic.php?action=show_playlist"><?php echo _('Show Playlist'); ?></a></li>
+ <li id="sb_home_democratic_playlist"><a href="<?php echo $web_path; ?>/democratic.php?action=manage_playlists"><?php echo _('Manage Playlist'); ?></a></li>
+ </ul>
+ </li>
+<?php } ?>
<li><h4><?php echo _('Random'); ?></h4>
<ul class="sb3" id="sb_home_random">
<li id="sb_home_random_album"><?php echo Ajax::text('?page=random&action=album',_('Album'),'home_random_album'); ?></li>