<s> """<STR_LIT>""" <EOL> from django import forms <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> from modoboa . lib . form_utils import SeparatorField , YesNoField <EOL> from modoboa . lib . parameters import AdminParametersForm <EOL> class ParametersForm ( AdminParametersForm ) : <EOL> """<STR_LIT>""" <EOL> app = "<STR_LIT>" <EOL> defv_sep = SeparatorField ( label = _ ( "<STR_LIT>" ) ) <EOL> enable_admin_limits = YesNoField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = "<STR_LIT:yes>" , <EOL> help_text = _ ( "<STR_LIT>" ) <EOL> ) <EOL> deflt_user_domain_admins_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_user_domains_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_user_domain_aliases_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_user_mailboxes_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_user_mailbox_aliases_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> domain_limits_sep = SeparatorField ( label = _ ( "<STR_LIT>" ) ) <EOL> enable_domain_limits = YesNoField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = "<STR_LIT>" , <EOL> help_text = _ ( "<STR_LIT>" ) <EOL> ) <EOL> deflt_domain_domain_admins_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_domain_domain_aliases_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_domain_mailboxes_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> deflt_domain_mailbox_aliases_limit = forms . IntegerField ( <EOL> label = _ ( "<STR_LIT>" ) , <EOL> initial = <NUM_LIT:0> , <EOL> help_text = _ ( <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) , <EOL> widget = forms . widgets . TextInput ( <EOL> attrs = { "<STR_LIT:class>" : "<STR_LIT>" } ) <EOL> ) <EOL> visibility_rules = { <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> super ( AdminParametersForm , self ) . __init__ ( * args , ** kwargs ) <EOL> self . _load_extra_parameters ( '<STR_LIT:A>' ) </s>
