diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-12-28 02:44:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-12-28 02:44:31 +0000 |
commit | 223143ed3a95ad59ff2945f6746da73992012354 (patch) | |
tree | ea735da45550f98dbd6adc23f35df957ea13f84e /templates/show_now_playing.inc | |
parent | 936c78c2b8f0e5fdeaea81e9758d277a90ea62ad (diff) | |
download | ampache-223143ed3a95ad59ff2945f6746da73992012354.tar.gz ampache-223143ed3a95ad59ff2945f6746da73992012354.tar.bz2 ampache-223143ed3a95ad59ff2945f6746da73992012354.zip |
fixed display of now playing and fixed ordering of themes in preferences
Diffstat (limited to 'templates/show_now_playing.inc')
-rw-r--r-- | templates/show_now_playing.inc | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc index 2f06dece..5c0cc2b5 100644 --- a/templates/show_now_playing.inc +++ b/templates/show_now_playing.inc @@ -29,18 +29,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. if (count($results)) { ?> -<table class="box" cellspacing="0"> -<tr> - <td class="box-left-top"></td> - <td class="box-top"></td> - <td class="box-right-top"></td> -</tr> -<tr> - <td class="box-left" rowspan="2"></td> - <td class="box-title"><?php echo _('Now Playing'); ?></td> - <td class="box-right" rowspan="2"></td> -</tr> -<tr><td style="padding-top:3px;"> +<?php show_box_top(_('Now Playing')); ?> +<table> <?php foreach ($results as $item) { $song = $item['song']; @@ -50,15 +40,12 @@ foreach ($results as $item) { if (!is_object($song)) { continue; } if (!$np_user->fullname) { $np_user->fullname = "Ampache User"; } + echo '<tr class="np_row">'; require(conf('prefix') . '/templates/show_now_playing_row.inc.php'); + echo '</tr>'; } // end foreach ?> -</td></tr> -<tr> - <td class="box-left-bottom"></td> - <td class="box-bottom" style="width:100%;"></td> - <td class="box-right-bottom"></td> -</tr> </table> +<?php show_box_bottom(); ?> <?php } // end if count results ?> |