1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-04 01:59:13 +00:00

pref-prefs: show default update interval as a dropdown

This commit is contained in:
Andrew Dolgov
2010-01-20 13:20:20 +03:00
parent 2bef21a79f
commit 505f2f0e6c
2 changed files with 17 additions and 1 deletions

View File

@@ -368,7 +368,13 @@
print "<td class=\"prefValue\">";
if ($type_name == "bool") {
if ($pref_name == "DEFAULT_UPDATE_INTERVAL") {
global $update_intervals_nodefault;
print_select_hash($pref_name, $value, $update_intervals_nodefault);
} else if ($type_name == "bool") {
// print_select($pref_name, $value, array("true", "false"));
if ($value == "true") {