1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:35:58 +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

@@ -1155,7 +1155,7 @@
return ((float)$usec + (float)$sec);
}
function print_radio($id, $default, $values, $attributes = "") {
function print_radio($id, $default, $true_is, $values, $attributes = "") {
foreach ($values as $v) {
if ($v == $default)
@@ -1163,7 +1163,7 @@
else
$sel = "";
if ($v == "Yes") {
if ($v == $true_is) {
$sel .= " value=\"1\"";
} else {
$sel .= " value=\"0\"";