1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-24 06:57:10 +00:00

fix theme changing with non-english translation (closes #209)

This commit is contained in:
Andrew Dolgov
2008-05-23 11:50:31 +01:00
parent 352e19418d
commit 1a66dd9f8b

View File

@@ -151,7 +151,7 @@
return;
} else if ($subop == __("Change theme")) {
} else if ($subop == "change-theme") {
$theme = db_escape_string($_POST["theme"]);
@@ -323,7 +323,7 @@
print "</select></td></tr>";
print "</table>";
print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">";
print "<input type=\"hidden\" name=\"subop\" value=\"Change theme\">";
print "<input type=\"hidden\" name=\"subop\" value=\"change-theme\">";
print "<p><input class=\"button\" type=\"submit\"
value=\"".__('Change theme')."\">";
print "</form>";