summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-30 22:49:36 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-30 22:49:36 +0000
commita145e33a37948eda1d83e0272ee46faf6148d0e7 (patch)
treef96c3b642cc650c6bbd9d3778922283dd9fa70e9 /templates
parentec19be3ef82d41cfae99d555ce3eef7e162d74c9 (diff)
downloadampache-a145e33a37948eda1d83e0272ee46faf6148d0e7.tar.gz
ampache-a145e33a37948eda1d83e0272ee46faf6148d0e7.tar.bz2
ampache-a145e33a37948eda1d83e0272ee46faf6148d0e7.zip
added ability to clear entire democratic playlist
Diffstat (limited to 'templates')
-rw-r--r--templates/show_tv.inc.php4
-rw-r--r--templates/show_tv_adminctl.inc.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/templates/show_tv.inc.php b/templates/show_tv.inc.php
index 8ca3b075..0db5f423 100644
--- a/templates/show_tv.inc.php
+++ b/templates/show_tv.inc.php
@@ -54,7 +54,9 @@ if (conf('refresh_limit') > 5) {
<!-- Left Col -->
<div id="tv_left">
<?php show_box_top(_('Controls')); ?>
-<a href="<?php echo conf('web_path'); ?>/index.php"><?php echo _('Home'); ?></a>
+<div class="text-action">
+ <a href="<?php echo conf('web_path'); ?>/index.php"><?php echo _('Home'); ?></a>
+</div>
<!-- Control DIV -->
<div id="tv_control">
<?php
diff --git a/templates/show_tv_adminctl.inc.php b/templates/show_tv_adminctl.inc.php
index 7eaceebc..09d0b773 100644
--- a/templates/show_tv_adminctl.inc.php
+++ b/templates/show_tv_adminctl.inc.php
@@ -32,7 +32,9 @@
else {
?>
-<?php echo _('Democratic Play Active'); ?>&nbsp;
+<div class="text-action">
+ <a href="<?php echo conf('web_path'); ?>/tv.php?action=clear_playlist&amp;tmp_playlist_id=<?php echo scrub_out($tmp_playlist->id); ?>"><?php echo _('Clear Playlist'); ?></a>
+</div>
<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">
<option value="localplay"><?php echo _('Localplay'); ?></option>