Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
34a3f8a1
Commit
34a3f8a1
authored
Aug 19, 2009
by
tbrehm
Browse files
Fixed: FS#850 - Unlimitred mailbox quota when value = 0
parent
7467f9fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/form/mail_user.tform.php
View file @
34a3f8a1
...
...
@@ -93,6 +93,9 @@ $form["tabs"]['mailuser'] = array (
'formtype'
=>
'TEXT'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'ISINT'
,
'errmsg'
=>
'quota_error_isint'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^(-1)|([1-9][0-9]*)$/'
,
'errmsg'
=>
'quota_error_value'
),
),
'default'
=>
'0'
,
'value'
=>
''
,
...
...
interface/web/mail/lib/lang/en_mail_user.lng
View file @
34a3f8a1
...
...
@@ -28,4 +28,5 @@ $wb["welcome_mail_message"] = "Welcome to your new email account. Your webmaster
$wb
[
"disableimap_txt"
]
=
'Disable IMAP'
;
$wb
[
"disablepop3_txt"
]
=
'Disable POP3'
;
$wb
[
"duplicate_alias_or_forward_txt"
]
=
'There is already an alias or forwrd with this email address.'
;
$wb
[
"quota_error_value"
]
=
'Invalid quota value. Allowed values are: -1 for unlimited or numbers > 1'
;
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment