diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.css | 1 | ||||
-rw-r--r-- | templates/show_now_playing_row.inc.php | 20 |
2 files changed, 11 insertions, 10 deletions
diff --git a/templates/default.css b/templates/default.css index 9bcac5a1..cb013347 100644 --- a/templates/default.css +++ b/templates/default.css @@ -594,7 +594,6 @@ li.current-rating{ display: block; } .np_cell { - display: inline; margin: 10px; } #tablist { diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php index bedca730..9046b719 100644 --- a/templates/show_now_playing_row.inc.php +++ b/templates/show_now_playing_row.inc.php @@ -20,24 +20,26 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ ?> -<span class="np_row"> - <span class="np_cell"><?php echo scrub_out($np_user->fullname); ?></span> - <span class="np_cell"> +<table class="np_row"> +<tr> + <td class="np_cell"><?php echo scrub_out($np_user->fullname); ?></td> + <td class="np_cell"> <a title="<?php echo scrub_out($song->f_title); ?>" href="<?php echo $web_path; ?>/song.php?action=single_song&song_id=<?php echo $song->id; ?>"> <?php echo scrub_out($song->f_title); ?> </a> - </span> - <span class="np_cell"> + </td> + <td class="np_cell"> <a title="<?php echo scrub_out($song->f_album); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $song->album; ?>"> <?php echo scrub_out($song->f_album); ?></a> / <a title="<?php echo scrub_out($song->f_artist); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo $song->artist; ?>"> <?php echo scrub_out($song->f_artist); ?> </a> - </span> + </td> <?php if (conf('play_album_art')) { ?> - <span class="np_cell"> + <td class="np_cell"> <a target="_blank" href="<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&type=popup" onclick="popup_art('<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&type=popup'); return false;"> <img align="middle" border="0" src="<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&fast=1&thumb=1" alt="Album Art" height="75" /></a> - </span> + </td> <?php } // end play album art ?> -</span> +</tr> +</table> |