summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 16:47:22 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-22 16:47:22 +0000
commit472072028560aa178211ae248fc0dad4526533c7 (patch)
tree247111303a40c5e07fad73d10a3b4aff868c7c8d /templates/show_songs.inc.php
parentb337d84d9af8a7db8e0171c9c0f4bedeae0ef05e (diff)
downloadampache-472072028560aa178211ae248fc0dad4526533c7.tar.gz
ampache-472072028560aa178211ae248fc0dad4526533c7.tar.bz2
ampache-472072028560aa178211ae248fc0dad4526533c7.zip
corrected ajax but introduced with prototype, tweaked how ajax stuff is done, now uses ajax:: class also replaced player with a logout icon
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r--templates/show_songs.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index 24687b10..224b552f 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -48,8 +48,8 @@ $ajax_url = Config::get('ajax_url');
$song->format();
?>
<tr class="<?php echo flip_class(); ?>">
- <td onclick="ajaxPut('<?php echo $ajax_url; ?>?action=basket&amp;type=song&amp;id=<?php echo $song->id; ?>');return true;">
- <?php echo get_user_icon('add'); ?>
+ <td>
+ <?php echo Ajax::button('?action=basket&atype=song&id=' . $song->id,'add',_('Add'),'add_' . $song->id); ?>
</td>
<td><?php echo $song->f_link; ?></td>
<td><?php echo $song->f_artist_link; ?></td>