Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
4bf11863
Commit
4bf11863
authored
Sep 04, 2009
by
tbrehm
Browse files
Fixed a problem with maildir quota.
parent
cefa8d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/mail/mail_user_edit.php
View file @
4bf11863
...
@@ -105,7 +105,7 @@ class page_action extends tform_actions {
...
@@ -105,7 +105,7 @@ class page_action extends tform_actions {
unset
(
$tmp_user
);
unset
(
$tmp_user
);
// Convert quota from Bytes to MB
// Convert quota from Bytes to MB
$app
->
tpl
->
setVar
(
"quota"
,
$this
->
dataRecord
[
"quota"
]
/
1024
/
1024
);
if
(
$this
->
dataRecord
[
"quota"
]
!=
-
1
)
$app
->
tpl
->
setVar
(
"quota"
,
$this
->
dataRecord
[
"quota"
]
/
1024
/
1024
);
parent
::
onShowEnd
();
parent
::
onShowEnd
();
}
}
...
@@ -169,7 +169,7 @@ class page_action extends tform_actions {
...
@@ -169,7 +169,7 @@ class page_action extends tform_actions {
unset
(
$this
->
dataRecord
[
"email_domain"
]);
unset
(
$this
->
dataRecord
[
"email_domain"
]);
// Convert quota from MB to Bytes
// Convert quota from MB to Bytes
$this
->
dataRecord
[
"quota"
]
=
$this
->
dataRecord
[
"quota"
]
*
1024
*
1024
;
if
(
$this
->
dataRecord
[
"quota"
]
!=
-
1
)
$this
->
dataRecord
[
"quota"
]
=
$this
->
dataRecord
[
"quota"
]
*
1024
*
1024
;
// setting Maildir, Homedir, UID and GID
// setting Maildir, Homedir, UID and GID
$app
->
uses
(
'getconf'
);
$app
->
uses
(
'getconf'
);
...
...
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