enhance listing of customer domains; add third openbasedir-option to make 'parentdirectory of domain-docroot' value possible (refs #515); corrected some formfield definitions

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-11-01 15:36:21 +01:00
parent 0f218914a2
commit a052333296
16 changed files with 43 additions and 18 deletions

View File

@@ -181,7 +181,8 @@ if ($page == 'overview' || $page == 'domains') {
$openbasedir = [
0 => lng('domain.docroot'),
1 => lng('domain.homedir')
1 => lng('domain.homedir'),
2 => lng('domain.docparent')
];
$pathSelect = FileDir::makePathfield($userinfo['documentroot'], $userinfo['guid'], $userinfo['guid']);
@@ -302,7 +303,8 @@ if ($page == 'overview' || $page == 'domains') {
$openbasedir = [
0 => lng('domain.docroot'),
1 => lng('domain.homedir')
1 => lng('domain.homedir'),
2 => lng('domain.docparent')
];
// create serveralias options