diff options
author | Andrew Dolgov <[email protected]> | 2010-11-26 15:57:43 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-26 15:57:43 +0300 |
commit | f25959e65335d17680d85426813813bd4ab4d91c (patch) | |
tree | d9a7a1dadbabfea3ff28b44ee72936af698da06b | |
parent | 533c0ea6ec2a833585f50535e6d16594f5371711 (diff) |
pref-prefs: tweak display of DEFAULT_ARTICLE_LIMIT values
-rw-r--r-- | modules/pref-prefs.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 879ef6fc7..32b932e83 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -424,6 +424,13 @@ print "<button dojoType=\"dijit.form.Button\" onclick=\"customizeCSS()\">" . __('Customize') . "</button>"; + } 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; |