show necessary dns entries for mail/antispan also in admin-view of domain

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-11-30 11:19:25 +01:00
parent b018319b8a
commit 604078ddc6
3 changed files with 159 additions and 157 deletions

View File

@@ -433,15 +433,17 @@ return [
'section_d' => [
'title' => lng('admin.nameserversettings'),
'image' => 'icons/domain_edit.png',
'visible' => Settings::Get('system.bind_enable') == '1' && $userinfo['change_serversettings'] == '1',
'visible' => $userinfo['change_serversettings'] == '1',
'fields' => [
'isbinddomain' => [
'visible' => Settings::Get('system.bind_enable') == '1',
'label' => lng('admin.createzonefile'),
'type' => 'checkbox',
'value' => '1',
'checked' => $result['isbinddomain']
],
'zonefile' => [
'visible' => Settings::Get('system.bind_enable') == '1',
'label' => lng('admin.custombindzone'),
'desc' => lng('admin.bindzonewarning'),
'type' => 'text',