Added min/max values
authorMarcel Werk <burntime@woltlab.com>
Wed, 11 Jun 2014 22:03:02 +0000 (00:03 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 11 Jun 2014 22:03:02 +0000 (00:03 +0200)
com.woltlab.wcf/userGroupOption.xml

index eec0272d5a14fc750effb5f88ecd55a12ecfd3f8..48529d6d6b7ad8806d9b2b18b5b896b3ca78bc98 100644 (file)
                                <categoryname>user.message.attachment</categoryname>
                                <optiontype>fileSize</optiontype>
                                <defaultvalue>1000000</defaultvalue>
+                               <minvalue>10000</minvalue>
                        </option>
                        <option name="user.attachment.allowedExtensions">
                                <categoryname>user.message.attachment</categoryname>
@@ -331,6 +332,8 @@ pdf]]></defaultvalue>
                                <categoryname>user.message.attachment</categoryname>
                                <optiontype>integer</optiontype>
                                <defaultvalue>10</defaultvalue>
+                               <minvalue>1</minvalue>
+                               <maxvalue>100</maxvalue>
                        </option>
                        
                        <option name="admin.attachment.canManageAttachment">