summaryrefslogtreecommitdiffstats
path: root/templates/show_playlist_song_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-03 06:26:44 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-03 06:26:44 +0000
commiteeeece05dbbcee311d9909d73a3f0b7c9bcecad4 (patch)
tree0aea1273e965dbd092f8f4be091315474404edb4 /templates/show_playlist_song_row.inc.php
parent8d863f33df12760f335b1e347d510a80fdf25d7d (diff)
downloadampache-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.php3
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>