[dw-free] More sensible defaults/limits for poll creator
[commit: http://hg.dwscoalition.org/dw-free/rev/24c7ee121bf3]
http://bugs.dwscoalition.org/show_bug.cgi?id=610
Up limits on poll creator.
Patch by
rho.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=610
Up limits on poll creator.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/poll/create.bml
-------------------------------------------------------------------------------- diff -r 5cde73204900 -r 24c7ee121bf3 htdocs/poll/create.bml --- a/htdocs/poll/create.bml Wed Apr 01 04:32:41 2009 +0000 +++ b/htdocs/poll/create.bml Wed Apr 01 04:42:20 2009 +0000 @@ -10,13 +10,13 @@ # some rules used for error checking %RULES = ( "elements" => { - "max" => 15, # maximum total number of elements allowed + "max" => 255, # maximum total number of elements allowed }, "items" => { "min" => 1, # minimum number of options "start" => 5, # number of items shown at start - "max" => 15, # max number of options - "maxlength" => 500, # max length of an option's textual value, min is implicitly 0 + "max" => 255, # max number of options + "maxlength" => 1000, # max length of an option's textual value, min is implicitly 0 "more" => 5, # number of items to add when requesting more }, "question" => { @@ -26,8 +26,8 @@ "maxlength" => 1000, # maximum length of poll name allowed }, "text" => { - "size" => 30, # default size of a text element - "maxlength" => 50, # default maxlength of a text element + "size" => 50, # default size of a text element + "maxlength" => 255, # default maxlength of a text element }, "size" => { "min" => 1, # minimum allowed size value for a text element --------------------------------------------------------------------------------
no subject
Thank you, thank you, thank you!