summaryrefslogtreecommitdiffstats
path: root/templates/show_recently_played.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-02 01:48:15 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-12-02 01:48:15 +0000
commit66e0b8ea9dd675a778a5c5777cce547887b2720c (patch)
tree6a64838f552b37481d92f75bc6979d11b83bc13a /templates/show_recently_played.inc.php
parent0f4a9e4823d6aa92c3974c33f560a4897140dfbd (diff)
downloadampache-66e0b8ea9dd675a778a5c5777cce547887b2720c.tar.gz
ampache-66e0b8ea9dd675a778a5c5777cce547887b2720c.tar.bz2
ampache-66e0b8ea9dd675a778a5c5777cce547887b2720c.zip
fixed public registration, added ADD button to the recently played stuff
Diffstat (limited to 'templates/show_recently_played.inc.php')
-rw-r--r--templates/show_recently_played.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/show_recently_played.inc.php b/templates/show_recently_played.inc.php
index ed67bab3..f35f64cf 100644
--- a/templates/show_recently_played.inc.php
+++ b/templates/show_recently_played.inc.php
@@ -25,6 +25,7 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
?>
<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
+ <col id="col_add" />
<col id="col_username" />
<col id="col_song" />
<col id="col_album" />
@@ -32,6 +33,7 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
<col id="col_lastplayed" />
</colgroup>
<tr class="th-top">
+ <th class="cel_add"><?php echo _('Add'); ?></th>
<th class="cel_song"><?php echo _('Song'); ?></th>
<th class="cel_album"><?php echo _('Album'); ?></th>
<th class="cel_artist"><?php echo _('Artist'); ?></th>
@@ -69,6 +71,9 @@ $time_unit = array('',_('seconds ago'),_('minutes ago'),_('hours ago'),_('days a
$song->format();
?>
<tr class="<?php echo flip_class(); ?>">
+ <td class="cel_add">
+ <?php echo Ajax::button('?action=basket&type=song&id=' . $song->id,'add',_('Add'),'add_' . $song->id); ?>
+ </td>
<td class="cel_song"><?php echo $song->f_link; ?></td>
<td class="cel_album"><?php echo $song->f_album_link; ?></td>
<td class="cel_artist"><?php echo $song->f_artist_link; ?></td>