diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-22 16:47:22 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-22 16:47:22 +0000 |
commit | 472072028560aa178211ae248fc0dad4526533c7 (patch) | |
tree | 247111303a40c5e07fad73d10a3b4aff868c7c8d /templates/show_songs.inc.php | |
parent | b337d84d9af8a7db8e0171c9c0f4bedeae0ef05e (diff) | |
download | ampache-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.php | 4 |
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&type=song&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> |