diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-28 05:39:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-09-28 05:39:50 +0000 |
commit | ebdb7573bf4176b81264d2c66dd567fa3c3ee0bd (patch) | |
tree | f16da64cdfec967a34bc71d5902ca59c64d7b9ac /templates/show_localplay.inc.php | |
parent | 6232e0f8d78c2555e64672341c54916cc0e8b3ed (diff) | |
download | ampache-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.php | 21 |
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')) { ?> + <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"> |