pref-prefs: tweak display of DEFAULT_ARTICLE_LIMIT values

This commit is contained in:
Andrew Dolgov 2010-11-26 15:57:43 +03:00
parent 533c0ea6ec
commit f25959e653
1 changed files with 7 additions and 0 deletions

View File

@ -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;