diff options
author | nf <nf@ampache> | 2007-07-14 10:13:14 +0000 |
---|---|---|
committer | nf <nf@ampache> | 2007-07-14 10:13:14 +0000 |
commit | 6a929af1bf1953b74471220e22df22321b71630d (patch) | |
tree | c13fe6bfe68e3ec759aad37d0ca5911f65db3baf /templates/show_now_playing_row.inc.php | |
parent | 781af14ecf182f61edffb50d4e6edf8f43a7d97e (diff) | |
download | ampache-6a929af1bf1953b74471220e22df22321b71630d.tar.gz ampache-6a929af1bf1953b74471220e22df22321b71630d.tar.bz2 ampache-6a929af1bf1953b74471220e22df22321b71630d.zip |
Modified versions of now_playing_row.inc - Hopefully no bugs inside
Diffstat (limited to 'templates/show_now_playing_row.inc.php')
-rw-r--r-- | templates/show_now_playing_row.inc.php | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/templates/show_now_playing_row.inc.php b/templates/show_now_playing_row.inc.php index ef9a0b68..238d078f 100644 --- a/templates/show_now_playing_row.inc.php +++ b/templates/show_now_playing_row.inc.php @@ -24,26 +24,24 @@ $title = scrub_out(truncate_with_ellipse($song->title,'25')); $album = scrub_out(truncate_with_ellipse($song->f_album_full,'25')); $artist = scrub_out(truncate_with_ellipse($song->f_artist_full,'25')); ?> -<td class="np_cell"> - <a href="<?php echo $web_path; ?>/stats.php?action=show_user&user_id=<?php echo $np_user->id; ?>"> - <?php echo scrub_out($np_user->fullname); ?> - </a> +<td class="np_cell_left"><b><?php echo _('Username'); ?></b>:<br><?php echo scrub_out($np_user->fullname); ?><br><br><!-- ## modified ##--> + <b><?php echo _('Song'); ?></b><br /><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> + <?php if(conf('ratings')) { ?> + <br /><?php show_rating($song->id,'song'); ?> + <?php } ?> </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"> - <a title="<?php echo scrub_out($song->f_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->f_artist_full); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo $song->artist; ?>"> - <?php echo $artist; ?> - </a> +<td class="np_cell_m"> + <b><?php echo _('Artist'); ?></b><br /><a title="<?php echo scrub_out($song->f_artist_full); ?>" href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo $song->artist; ?>"> + <?php echo $artist; ?> + </a><br /><br /> + <b><?php echo _('Album'); ?></b><br /><a title="<?php echo scrub_out($song->f_album_full); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $song->album; ?>"> + <?php echo $album; ?></a> </td> <?php if (Config::get('show_album_art')) { ?> -<td class="np_cell"> - <a target="_blank" href="<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&type=popup&sid=<?php echo session_id(); ?>" onclick="popup_art('<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&type=popup&sid=<?php echo session_id(); ?>'); return false;"> - <img align="middle" border="0" src="<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&thumb=1&sid=<?php echo session_id(); ?>" alt="Album Art" height="75" width="75" /></a> +<td class="np_cell_right"> + <a target="_blank" href="<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&type=popup&sid=<?php echo session_id(); ?>" onclick="popup_art('<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&type=popup&sid=<?php echo session_id(); ?>'); return false;"> + <img align="middle" border="0" src="<?php echo $web_path; ?>/image.php?id=<?php echo $song->album; ?>&thumb=1&sid=<?php echo session_id(); ?>" alt="Album Art" height="75" width="75" /></a> </td> -<?php } // end play album art ?> +<?php } // end play album art ?>
\ No newline at end of file |