summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-19 08:50:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-19 08:50:35 +0000
commitbc36b9d282aff16dfc794819919897103c94b9bd (patch)
tree1d3cec755afbf08a595c4164d47a219b2dfa7ed3 /templates
parentd560bb1c7b7e675ad72af0731df18757bf9d5700 (diff)
downloadampache-bc36b9d282aff16dfc794819919897103c94b9bd.tar.gz
ampache-bc36b9d282aff16dfc794819919897103c94b9bd.tar.bz2
ampache-bc36b9d282aff16dfc794819919897103c94b9bd.zip
added some basic random functionality, need to make the advanced page
Diffstat (limited to 'templates')
-rw-r--r--templates/sidebar_home.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php
index 4d97d6f9..0c711f95 100644
--- a/templates/sidebar_home.inc.php
+++ b/templates/sidebar_home.inc.php
@@ -6,4 +6,11 @@
<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>
+ <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'),'sb_home_random_album'); ?></li>
+ <li id="sb_home_random_artist"><?php echo Ajax::text('?page=random&action=artist',_('Artist'),'sb_home_random_artist'); ?></li>
+ <li id="sb_home_random_playlist"><?php echo Ajax::text('?page=random&action=playlist',_('Playlist'),'sb_home_random_playlist'); ?></li>
+ <li id="sb_home_random_advanced"><a href="<?php echo $web_path; ?>/random.php?action=advanced"><?php echo _('Advanced'); ?></a></li>
+ </ul>
</ul>