From: Andrew Dolgov Date: Fri, 26 Nov 2010 12:57:43 +0000 (+0300) Subject: pref-prefs: tweak display of DEFAULT_ARTICLE_LIMIT values X-Git-Tag: 1.5.0~35 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f25959e65335d17680d85426813813bd4ab4d91c;p=tt-rss.git pref-prefs: tweak display of DEFAULT_ARTICLE_LIMIT values --- diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 879ef6fc..32b932e8 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -424,6 +424,13 @@ print ""; + } else if ($pref_name == "DEFAULT_ARTICLE_LIMIT") { + + $limits = array(15, 30, 45, 60); + + print_select($pref_name, $value, $limits, + 'dojoType="dijit.form.Select"'); + } else if ($pref_name == "DEFAULT_UPDATE_INTERVAL") { global $update_intervals_nodefault;