summaryrefslogtreecommitdiffstats
path: root/templates/show_edit_playlist_row.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_edit_playlist_row.inc.php')
-rw-r--r--templates/show_edit_playlist_row.inc.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/show_edit_playlist_row.inc.php b/templates/show_edit_playlist_row.inc.php
index edc8e63f..3a1e6161 100644
--- a/templates/show_edit_playlist_row.inc.php
+++ b/templates/show_edit_playlist_row.inc.php
@@ -19,13 +19,19 @@
*/
?>
-<td colspan="5">
-<form method="post" id="edit_playlist_<?php echo $playlist->id; ?>" action="#">
+<td colspan="6">
+<form method="post" id="edit_playlist_<?php echo $playlist->id; ?>" action="javascript:void(0);">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
- <input type="textbox" name="name" size="9" value="<?php echo scrub_out($playlist->name); ?>" />
+ <input type="textbox" name="name" size="9" value="<?php echo scrub_out($playlist->name); ?>" />
</td>
+ <td>
+ <?php $name = 'select_' . $playlist->type; ${$name} = ' selected="selected"'; ?>
+ <select name="pl_type">
+ <option value="public"<?php echo $select_public; ?>><?php echo _('Public'); ?></option>
+ <option value="private"<?php echo $select_private; ?>><?php echo _('Private'); ?></option>
+ </select>
<td>
<input type="hidden" name="id" value="<?php echo $playlist->id; ?>" />
<input type="hidden" name="type" value="playlist" />