summaryrefslogtreecommitdiffstats
path: root/templates/show_recently_played.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-30 08:48:08 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-30 08:48:08 +0000
commit1938861afbcd29110341780e099cf9effe4c2b9a (patch)
tree2a08f15eaa40d6d6aff99f9273aa856a3b83cdb6 /templates/show_recently_played.inc.php
parent986c0f9ed8c7f58e7dfa078590dcc10debc47948 (diff)
downloadampache-1938861afbcd29110341780e099cf9effe4c2b9a.tar.gz
ampache-1938861afbcd29110341780e099cf9effe4c2b9a.tar.bz2
ampache-1938861afbcd29110341780e099cf9effe4c2b9a.zip
prep for tags/lyrics cleanup and recently playing tweaks
Diffstat (limited to 'templates/show_recently_played.inc.php')
-rw-r--r--templates/show_recently_played.inc.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index eeae6186..a3afad34 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -24,22 +24,19 @@
<tr class="table-header">
<td><?php echo _('Username'); ?></td>
<td><?php echo _('Song'); ?></td>
- <td><?php echo _('Date'); ?></td>
+ <td><?php echo _('Album'); ?></td>
+ <td><?php echo _('Artist'); ?></td>
</tr>
<?php foreach ($data as $row) {
$row_user = new User($row['user']);
$song = new Song($row['object_id']);
$song->format_song();
- /* Prepare the variables */
- $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'));
- $song_name = $title . ' - ' . $album . '/' . $artist;
?>
<tr>
<td><?php echo scrub_out($row_user->fullname); ?></td>
- <td><?php echo $song_name; ?></td>
- <td><?php echo date("d/m/Y H:i:s",$row['date']); ?></td>
+ <td><?php echo $song->f_link; ?></td>
+ <td><?php echo $song->f_album_link; ?></td>
+ <td><?php echo $song->f_artist_link; ?></td>
</tr>
<?php } ?>
</table>