Added min/max values
authorMarcel Werk <burntime@woltlab.com>
Wed, 11 Jun 2014 21:57:29 +0000 (23:57 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 11 Jun 2014 21:57:29 +0000 (23:57 +0200)
option.xml

index 4976cde12b74e7d3a5c5aef672f561e07698439b..507134dc4b7c4e1bb05b7ff02387864074518e44 100644 (file)
                        <option name="conversations_per_page">
                                <categoryname>message.conversation</categoryname>
                                <optiontype>integer</optiontype>
-                               <defaultvalue><![CDATA[10]]></defaultvalue>
+                               <defaultvalue>10</defaultvalue>
+                               <minvalue>5</minvalue>
+                               <maxvalue>40</maxvalue>
                        </option>
                        <option name="conversation_messages_per_page">
                                <categoryname>message.conversation</categoryname>
                                <optiontype>integer</optiontype>
-                               <defaultvalue><![CDATA[20]]></defaultvalue>
+                               <defaultvalue>20</defaultvalue>
+                               <minvalue>5</minvalue>
+                               <maxvalue>40</maxvalue>
                        </option>
                        
                        <option name="conversation_reply_show_messages_max">
                                <categoryname>message.conversation</categoryname>
                                <optiontype>integer</optiontype>
                                <defaultvalue>10</defaultvalue>
+                               <minvalue>5</minvalue>
+                               <maxvalue>40</maxvalue>
                        </option>
                        
                        <option name="conversation_list_default_sort_field">