[UI] change require of ipandport field in domains.add and domains.delete to one-of instead of all; fixes #1078
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -30,6 +30,7 @@ return [
|
||||
'title' => lng('admin.domain_add'),
|
||||
'image' => 'fa-solid fa-globe',
|
||||
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
|
||||
'id' => 'domain_add',
|
||||
'sections' => [
|
||||
'section_a' => [
|
||||
'title' => lng('domains.domainsettings'),
|
||||
@@ -139,8 +140,7 @@ return [
|
||||
'type' => 'checkbox',
|
||||
'values' => $ipsandports,
|
||||
'value' => explode(',', Settings::Get('system.defaultip')),
|
||||
'is_array' => 1,
|
||||
'mandatory' => true
|
||||
'is_array' => 1
|
||||
],
|
||||
'selectserveralias' => [
|
||||
'label' => lng('admin.selectserveralias'),
|
||||
|
||||
@@ -30,6 +30,7 @@ return [
|
||||
'title' => lng('admin.domain_edit'),
|
||||
'image' => 'fa-solid fa-globe',
|
||||
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
|
||||
'id' => 'domain_edit',
|
||||
'sections' => [
|
||||
'section_a' => [
|
||||
'title' => lng('domains.domainsettings'),
|
||||
@@ -153,8 +154,7 @@ return [
|
||||
'type' => 'checkbox',
|
||||
'values' => $ipsandports,
|
||||
'value' => $usedips,
|
||||
'is_array' => 1,
|
||||
'mandatory' => true
|
||||
'is_array' => 1
|
||||
],
|
||||
'selectserveralias' => [
|
||||
'label' => lng('admin.selectserveralias'),
|
||||
|
||||
Reference in New Issue
Block a user