diff options
author | Andrew Dolgov <[email protected]> | 2007-08-15 03:49:55 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-15 03:49:55 +0100 |
commit | f541eb78f748e128620fa85c7c1c47c3cae2ee4e (patch) | |
tree | a7a01bdd6857dbaaaa106201f174a416c886db20 /modules | |
parent | eb7ab95260d92e8e6131594f9faef09bc1044a29 (diff) |
save configuration: localization fix
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pref-prefs.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 252db29d1..3584c622f 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -62,6 +62,8 @@ $_SESSION["prefs_cache"] = false; +// print_r($_POST); + foreach (array_keys($_POST) as $pref_name) { $pref_name = db_escape_string($pref_name); @@ -134,7 +136,7 @@ return prefs_js_redirect(); - } else if ($subop == "Change theme") { + } else if ($subop == __("Change theme")) { $theme = db_escape_string($_POST["theme"]); @@ -360,7 +362,7 @@ $value = __("No"); } - print_radio($pref_name, $value, array(__("Yes"), __("No"))); + print_radio($pref_name, $value, __("Yes"), array(__("Yes"), __("No"))); } else { print "<input class=\"editbox\" name=\"$pref_name\" value=\"$value\">"; |