]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref-prefs: tweak display of DEFAULT_ARTICLE_LIMIT values
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 26 Nov 2010 12:57:43 +0000 (15:57 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 26 Nov 2010 12:57:43 +0000 (15:57 +0300)
modules/pref-prefs.php

index 879ef6fc79150dad0b1d0364b197ef1d7e0909a9..32b932e833d80d64a6538b9585d3e725d72ab108 100644 (file)
                                        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;