summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-20 13:20:20 +0300
committerAndrew Dolgov <[email protected]>2010-01-20 13:20:20 +0300
commit505f2f0e6cd16c885096c6f02273016fb9ab3c52 (patch)
treef6896d41b0ff9b82cffd5b5ac7bc9bb78bee2622 /modules
parent2bef21a79ff255b2c4bb01f7d41ab4546cf1402a (diff)
pref-prefs: show default update interval as a dropdown
Diffstat (limited to 'modules')
-rw-r--r--modules/pref-prefs.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php
index 9b58cdbb4..da5ae60bf 100644
--- a/modules/pref-prefs.php
+++ b/modules/pref-prefs.php
@@ -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") {