summaryrefslogtreecommitdiffstats
path: root/templates/show_tv_adminctl.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-17 06:30:36 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-17 06:30:36 +0000
commitc522a2c1e97518d21e351821c27a9188e0cb3a1d (patch)
treea4a2ece3b050d4624ea9737a20bb9d2e0bf9dfb8 /templates/show_tv_adminctl.inc.php
parent4fb9dbd3ef5b0b613efb32c5e02ca64db37d336a (diff)
downloadampache-c522a2c1e97518d21e351821c27a9188e0cb3a1d.tar.gz
ampache-c522a2c1e97518d21e351821c27a9188e0cb3a1d.tar.bz2
ampache-c522a2c1e97518d21e351821c27a9188e0cb3a1d.zip
some bug fixes and tweaks
Diffstat (limited to 'templates/show_tv_adminctl.inc.php')
-rw-r--r--templates/show_tv_adminctl.inc.php18
1 files changed, 15 insertions, 3 deletions
diff --git a/templates/show_tv_adminctl.inc.php b/templates/show_tv_adminctl.inc.php
index 10dd004a..b71c82fc 100644
--- a/templates/show_tv_adminctl.inc.php
+++ b/templates/show_tv_adminctl.inc.php
@@ -5,9 +5,8 @@
All rights reserved.
This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or (at your option) any later version.
+ modify it under the terms of the GNU General Public License v2
+ as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -34,6 +33,19 @@
else {
?>
<?php echo _('Democratic Play Active'); ?>&nbsp;
+<form method="post" style="Display:inline;" action="<?php echo conf('web_path'); ?>/tv.php?action=send_playlist&amp;tmp_playlist_id=<?php echo scrub_out($tmp_playlist->id); ?>" enctype="multipart/form-data">
+<select name="play_type">
+ <?php
+ $controllers = get_localplay_controllers();
+ foreach ($controllers as $controller) {
+ ?>
+ <option value="__<?php echo $controller; ?>"><?php echo ucfirst($controller); ?></option>
+ <?php } // end foreach ?>
+ <option value="stream"><?php echo _('Stream'); ?></option>
+ <option value="downsample"><?php echo _('Downsample'); ?></option>
+</select>
+<input type="submit" value="<?php echo _('Play'); ?>" />
+</form>
<a href="<?php echo $tmp_playlist->get_vote_url(); ?>"><?php echo _('Play'); ?></a><br />
<?php echo _('Base Playlist'); ?>:
<form method="post" style="Display:inline;" action="<?php echo conf('web_path'); ?>/tv.php?action=update_playlist&amp;playlist_id=<?php echo $tmp_playlist->base_playlist; ?>" enctype="multipart/form-data">