summaryrefslogtreecommitdiffstats
path: root/lib/preferences.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-03 07:23:10 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-03 07:23:10 +0000
commit32180a41a11c46f30d24b6ac497601c577bf10cd (patch)
tree9f6007ca388156c28b949aeb5a204df149a4dd4c /lib/preferences.php
parenteeeece05dbbcee311d9909d73a3f0b7c9bcecad4 (diff)
downloadampache-32180a41a11c46f30d24b6ac497601c577bf10cd.tar.gz
ampache-32180a41a11c46f30d24b6ac497601c577bf10cd.tar.bz2
ampache-32180a41a11c46f30d24b6ac497601c577bf10cd.zip
added ability to save playlists based on the active playlist, fixed the send on add playlist preference, send and clear still does not work, but its progress
Diffstat (limited to 'lib/preferences.php')
-rw-r--r--lib/preferences.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/preferences.php b/lib/preferences.php
index fe404331..6ab531fc 100644
--- a/lib/preferences.php
+++ b/lib/preferences.php
@@ -339,10 +339,11 @@ function create_preference_input($name,$value) {
echo "</select>\n";
break;
case 'playlist_method':
+ ${$value} = ' selected="selected"';
echo "<select name=\"$name\">\n";
- echo "\t<option value=\"send\">" . _('Send on Add') . "</option>\n";
- echo "\t<option value=\"send\">" . _('Send and Clear') . "</option>\n";
- echo "\t<option value=\"default\">" . _('Default') . "</option>\n";
+ echo "\t<option value=\"send\"$send>" . _('Send on Add') . "</option>\n";
+ echo "\t<option value=\"send_clear\"$send_clear>" . _('Send and Clear') . "</option>\n";
+ echo "\t<option value=\"default\"$default>" . _('Default') . "</option>\n";
echo "</select>\n";
break;
case 'transcode':