summaryrefslogtreecommitdiffstats
path: root/templates/show_playlists.inc.php
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2007-02-16 00:05:09 +0000
committerpb1dft <pb1dft@ampache>2007-02-16 00:05:09 +0000
commit79d6b4b7e407a4bfa5fa2521df107114f082761d (patch)
tree8a7f9e595f61c94853d76c5d11da6780d5406555 /templates/show_playlists.inc.php
parent68917e09f5f47928ca31773a5ee17ad93bc9ab3c (diff)
downloadampache-79d6b4b7e407a4bfa5fa2521df107114f082761d.tar.gz
ampache-79d6b4b7e407a4bfa5fa2521df107114f082761d.tar.bz2
ampache-79d6b4b7e407a4bfa5fa2521df107114f082761d.zip
javascript modification/rss no_session fix/On useradd display right accesslevel(bounty1370)
Diffstat (limited to 'templates/show_playlists.inc.php')
-rw-r--r--templates/show_playlists.inc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/show_playlists.inc.php b/templates/show_playlists.inc.php
index ce679928..9383e2a5 100644
--- a/templates/show_playlists.inc.php
+++ b/templates/show_playlists.inc.php
@@ -28,8 +28,12 @@ $web_path = conf('web_path');
$title = $type . ' ' . _('Playlists');
?>
<?php show_box_top($title); ?>
+<form id="playlists<?php echo $type;?>" method="post" enctype="multipart/form-data" action="playlist.php">
<table class="tabledata" cellspacing="0" cellpadding="0" border="0"> <!-- Playlist Table -->
<tr class="table-header">
+ <th align="center">
+ &nbsp;&nbsp;<a href="#" onclick="check_select('playlist','<?php echo $type;?>'); return false;"><?php echo _('Select'); ?></a>
+ </th>
<th><?php echo _('Playlist Name'); ?></th>
<th><?php echo _('# Songs'); ?></th>
<th><?php echo _('Owner'); ?></th>
@@ -40,6 +44,9 @@ foreach ($playlists as $playlist) {
$playlist_user = new User($playlist->user);
$count = $playlist->get_song_count(); ?>
<tr class="<?php echo flip_class(); ?>">
+ <td align="center">
+ <input name="playlist[]" value="<?php echo $playlist->id; ?>" type="checkbox" />
+ </td>
<td>
<a href="<?php echo $web_path; ?>/playlist.php?action=show_playlist&amp;playlist_id=<?php echo $playlist->id; ?>">
<?php echo scrub_out($playlist->name); ?>
@@ -76,5 +83,6 @@ foreach ($playlists as $playlist) {
</tr>
<?php } ?>
</table>
+</form>
<?php show_box_bottom(); ?>