diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-03 06:26:44 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-03 06:26:44 +0000 |
commit | eeeece05dbbcee311d9909d73a3f0b7c9bcecad4 (patch) | |
tree | 0aea1273e965dbd092f8f4be091315474404edb4 /templates/show_playlist_song_row.inc.php | |
parent | 8d863f33df12760f335b1e347d510a80fdf25d7d (diff) | |
download | ampache-eeeece05dbbcee311d9909d73a3f0b7c9bcecad4.tar.gz ampache-eeeece05dbbcee311d9909d73a3f0b7c9bcecad4.tar.bz2 ampache-eeeece05dbbcee311d9909d73a3f0b7c9bcecad4.zip |
added the ability to delete songs from a playlist, now if you could only add them
Diffstat (limited to 'templates/show_playlist_song_row.inc.php')
-rw-r--r-- | templates/show_playlist_song_row.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/show_playlist_song_row.inc.php b/templates/show_playlist_song_row.inc.php index 354f8419..50af6dec 100644 --- a/templates/show_playlist_song_row.inc.php +++ b/templates/show_playlist_song_row.inc.php @@ -32,4 +32,7 @@ <?php echo get_user_icon('download',_('Download')); ?> </a> <?php } ?> + <?php if ($playlist->has_access()) { ?> + <?php echo Ajax::button('?page=playlist&action=delete_track&playlist_id=' . $playlist->id . '&track=' . $object['track_id'],'delete',_('Delete'),'track_del_' . $object['track_id']); ?> + <?php } ?> </td> |