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
1 changed files with 2 additions and 2 deletions

View File

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