summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-22 05:45:15 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-22 05:45:15 +0000
commit185630d92c74356946a2a0fe19748b41c9ba57de (patch)
tree9350caa11a10b59be8a5a720a4910242f5078a01 /templates
parentdf348122a7092a24a4ae5c04cf0b5b85bd750ae0 (diff)
downloadampache-185630d92c74356946a2a0fe19748b41c9ba57de.tar.gz
ampache-185630d92c74356946a2a0fe19748b41c9ba57de.tar.bz2
ampache-185630d92c74356946a2a0fe19748b41c9ba57de.zip
bedtime, added random box back in does not do anything thou... well besides taunt you with its not doing anythingness
Diffstat (limited to 'templates')
-rw-r--r--templates/show_random.inc.php (renamed from templates/show_random_play.inc)11
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/show_random_play.inc b/templates/show_random.inc.php
index dffadd22..684ced98 100644
--- a/templates/show_random_play.inc
+++ b/templates/show_random.inc.php
@@ -21,7 +21,7 @@
?>
-<form id="random" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ?>/song.php">
+<form id="random" method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/random.php">
<?php show_box_top(_('Play Random Selection')); ?>
<table>
<tr>
@@ -42,7 +42,7 @@
</td>
<td rowspan="4" valign="top"><?php echo _('From genre'); ?></td>
<td rowspan="4">
- <?php show_genre_pulldown('genre','','5'); ?>
+ <?php show_genre_select('genre','','5'); ?>
</td>
</tr>
<tr>
@@ -60,7 +60,7 @@
<tr>
<td nowrap="nowrap"><?php echo _('From catalog'); ?></td>
<td>
- <?php show_catalog_pulldown('catalog',''); ?>
+ <?php show_catalog_select('catalog',''); ?>
</td>
</tr>
<tr>
@@ -78,11 +78,6 @@
</tr>
<tr>
<td colspan="4">
- <input type="hidden" name="action" value="random" />
- <input class="button" type="button" value="<?php echo _('Play'); ?>" onclick="return SubmitToPage('random','<?php echo conf('web_path'); ?>/song.php?action=random&amp;method=stream');" />
- <?php if (batch_ok()) { ?>
- <input class="button" type="button" value="<?php echo _('Download'); ?>" onclick="return SubmitToPage('random','<?php echo conf('web_path'); ?>/song.php?action=random&amp;method=download');" />
- <?php } ?>
</td>
</tr>
</table>