diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-14 01:38:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-01-14 01:38:50 +0000 |
commit | d7c3ede9e757dab9889503a415d78c7937a311b3 (patch) | |
tree | 4311b7aac78600968bdb151c6873eaca80caee5f /templates/show_edit_playlist_row.inc.php | |
parent | fda4bd6deb683fc937f1ae831d9c8ed5b4748eaf (diff) | |
download | ampache-d7c3ede9e757dab9889503a415d78c7937a311b3.tar.gz ampache-d7c3ede9e757dab9889503a415d78c7937a311b3.tar.bz2 ampache-d7c3ede9e757dab9889503a415d78c7937a311b3.zip |
fixed public/private aspect of playlists, default is to filter out non-owned private playlists now
Diffstat (limited to 'templates/show_edit_playlist_row.inc.php')
-rw-r--r-- | templates/show_edit_playlist_row.inc.php | 12 |
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" /> |