pref-prefs: tweak display of DEFAULT_ARTICLE_LIMIT values
This commit is contained in:
parent
533c0ea6ec
commit
f25959e653
|
@ -424,6 +424,13 @@
|
||||||
print "<button dojoType=\"dijit.form.Button\"
|
print "<button dojoType=\"dijit.form.Button\"
|
||||||
onclick=\"customizeCSS()\">" . __('Customize') . "</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") {
|
} else if ($pref_name == "DEFAULT_UPDATE_INTERVAL") {
|
||||||
|
|
||||||
global $update_intervals_nodefault;
|
global $update_intervals_nodefault;
|
||||||
|
|
Loading…
Reference in New Issue