1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

preferences editor

This commit is contained in:
Andrew Dolgov
2005-11-17 06:26:54 +01:00
parent 541492a9ce
commit 77e9671919
4 changed files with 144 additions and 3 deletions

View File

@@ -454,4 +454,17 @@
return ((float)$usec + (float)$sec);
}
function print_radio($id, $default, $values, $attributes = "") {
foreach ($values as $v) {
if ($v == $default)
$sel = "checked value=\"1\"";
else
$sel = "value=\"0\"";
print "<input type=\"radio\" $sel $attributes name=\"$id\">&nbsp;$v&nbsp;";
}
}
?>