summaryrefslogtreecommitdiffstats
path: root/templates/show_localplay.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 05:39:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-09-28 05:39:50 +0000
commitebdb7573bf4176b81264d2c66dd567fa3c3ee0bd (patch)
treef16da64cdfec967a34bc71d5902ca59c64d7b9ac /templates/show_localplay.inc.php
parent6232e0f8d78c2555e64672341c54916cc0e8b3ed (diff)
downloadampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.tar.gz
ampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.tar.bz2
ampache-ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd.zip
fixed up localplay a little more, to the point of it basicly working... added check for mysql on installer langue page, tweaked some css as well
Diffstat (limited to 'templates/show_localplay.inc.php')
-rw-r--r--templates/show_localplay.inc.php21
1 files changed, 14 insertions, 7 deletions
diff --git a/templates/show_localplay.inc.php b/templates/show_localplay.inc.php
index 72fa4c51..0ad5938c 100644
--- a/templates/show_localplay.inc.php
+++ b/templates/show_localplay.inc.php
@@ -24,15 +24,22 @@ $web_path = conf('web_path');
$localplay = init_localplay();
$songs = $localplay->get();
?>
-
<?php show_box_top(ucfirst($localplay->type) . ' ' . _('Localplay')); ?>
-<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>
-<?php require_once(conf('prefix') . '/templates/show_localplay_status.inc.php'); ?>
+<table>
+<tr>
+ <td valign="top">
+ <strong><?php echo _('Actions'); ?>:</strong><br />
+ <?php if ($localplay->has_function('delete_all')) { ?>
+ &nbsp;&nbsp;&nbsp;<a href="<?php echo $web_path; ?>/localplay.php?action=delete_all"><?php echo _('Clear Playlist'); ?></a>
+ <?php } ?>
+ </td><td>
+ <?php require_once(conf('prefix') . '/templates/show_localplay_status.inc.php'); ?>
+ </td>
+</tr>
+</table>
<?php show_box_bottom(); ?>
+
+
<?php show_box_top(_('Current Playlist')); ?>
<table class="border" cellspacing="0" border="0">
<tr class="table-header">