diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-02 01:48:15 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-12-02 01:48:15 +0000 |
commit | 66e0b8ea9dd675a778a5c5777cce547887b2720c (patch) | |
tree | 6a64838f552b37481d92f75bc6979d11b83bc13a /templates/show_recently_played.inc.php | |
parent | 0f4a9e4823d6aa92c3974c33f560a4897140dfbd (diff) | |
download | ampache-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.php | 5 |
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> |