summaryrefslogtreecommitdiffstats
path: root/templates/show_manage_democratic.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-10 05:24:59 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-10 05:24:59 +0000
commit311ac991126f68b12a6a29747091544de4acf6a1 (patch)
tree3e52ca25f8ba905e635c996cf31eafaff599ddde /templates/show_manage_democratic.inc.php
parent01a5512c04512a0d08d8de05705d87d6c9fe46d3 (diff)
downloadampache-311ac991126f68b12a6a29747091544de4acf6a1.tar.gz
ampache-311ac991126f68b12a6a29747091544de4acf6a1.tar.bz2
ampache-311ac991126f68b12a6a29747091544de4acf6a1.zip
minor fixes to the playlist, fixed up the democratic playlist kinda, still does not work completely
Diffstat (limited to 'templates/show_manage_democratic.inc.php')
-rw-r--r--templates/show_manage_democratic.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/show_manage_democratic.inc.php b/templates/show_manage_democratic.inc.php
index 8361e525..8498bebc 100644
--- a/templates/show_manage_democratic.inc.php
+++ b/templates/show_manage_democratic.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2007 Ampache.org
+ Copyright (c) 2001 - 2008 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -54,7 +54,8 @@ show_box_top(_('Manage Democratic Playlists')); ?>
<td><?php echo $democratic->f_primary; ?></td>
<td><?php echo $democratic->count_items(); ?></td>
<td>
- <?php echo Ajax::button('?page=democratic&action=send_playlist','all',_('Play'),'play_democratic'); ?>
+ <?php echo Ajax::button('?page=democratic&action=send_playlist&democratic_id=' . $democratic->id,'all',_('Play'),'play_democratic'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/democratic.php?action=delete&amp;democratic_id=<?php echo scrub_out($democratic->id); ?>"><?php echo get_user_icon('delete'); ?></a>
</td>
</tr>
<?php } if (!count($playlists)) { ?>