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_row.inc.php | |
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_row.inc.php')
-rw-r--r-- | templates/show_now_playing_row.inc.php | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php index 50f32859..08ae5da5 100644 --- a/templates/show_now_playing_row.inc.php +++ b/templates/show_now_playing_row.inc.php @@ -26,26 +26,22 @@ $album = scrub_out(truncate_with_ellipse($song->f_album_full,'25')); $artist = scrub_out(truncate_with_ellipse($song->f_artist_full,'25')); ?> -<table class="np_row"> -<tr> - <td class="np_cell"><?php echo scrub_out($np_user->fullname); ?></td> - <td class="np_cell"> +<td class="np_cell"><?php echo scrub_out($np_user->fullname); ?></td> +<td class="np_cell"> <a title="<?php echo scrub_out($song->title); ?>" href="<?php echo $web_path; ?>/song.php?action=single_song&song_id=<?php echo $song->id; ?>"> <?php echo $title; ?> </a> - </td> - <td class="np_cell"> +</td> +<td class="np_cell"> <a title="<?php echo scrub_out($song->album_full); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $song->album; ?>"> <?php echo $album; ?></a> / <a title="<?php echo scrub_out($song->artist_full); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo $song->artist; ?>"> <?php echo $artist; ?> </a> - </td> +</td> <?php if (conf('play_album_art')) { ?> - <td 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> - </td> - <?php } // end play album art ?> -</tr> -</table> +</td> +<?php } // end play album art ?> |