summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-01 07:22:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-05-01 07:22:07 +0000
commita02b8ce20746ef5449e661ac8ffdb4e1974e65c2 (patch)
treedb1e0b2a6ef1b9fa7bfaa65e2fdb8eb22286f063 /templates/show_localplay.inc.php
parentaf554e6296eff9ee08ad59597f27378e4b2a8db8 (diff)
downloadampache-a02b8ce20746ef5449e661ac8ffdb4e1974e65c2.tar.gz
ampache-a02b8ce20746ef5449e661ac8ffdb4e1974e65c2.tar.bz2
ampache-a02b8ce20746ef5449e661ac8ffdb4e1974e65c2.zip
fixed clean, added lang to installer (thx ros) and cleaned up catalog display a bit and mojoed lang list
Diffstat (limited to 'templates/show_localplay.inc.php')
-rw-r--r--templates/show_localplay.inc.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/show_localplay.inc.php b/templates/show_localplay.inc.php
index b9d126b9..e73a15cc 100644
--- a/templates/show_localplay.inc.php
+++ b/templates/show_localplay.inc.php
@@ -26,8 +26,12 @@ $songs = $localplay->get();
?>
<div class="text-box">
-<span class="header2"><?php echo _('Localplay'); ?></span>
-<!-- Yea I don't know what to put here... yet.. -->
+<span class="header2"><?php echo ucfirst($localplay->type); ?> <?php echo _('Localplay'); ?></span>
+<ul class="text-action">
+<?php if ($localplay->has_function('delete_all')) { ?>
+ <li><a href="<?php echo $web_path; ?>/localplay.php?action=delete_all"><?php echo _('Clear Playlist'); ?></a></li>
+<?php } ?>
+</ul>
</div>
<br />
<div class="text-box">
@@ -51,7 +55,7 @@ $songs = $localplay->get();
</tr>
<?php } if (!count($songs)) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td colspan="2"><span class="error"><?php echo _('No Records Found'); ?></span></td>
+ <td colspan="3"><span class="error"><?php echo _('No Records Found'); ?></span></td>
</tr>
<?php } ?>
</table>