1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 08:51:29 +00:00

save configuration: localization fix

This commit is contained in:
Andrew Dolgov
2007-08-15 03:49:55 +01:00
parent eb7ab95260
commit f541eb78f7
2 changed files with 6 additions and 4 deletions

View File

@@ -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\">";