group email-domains in overview if there are email addresses for multiple domains
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -29,7 +29,7 @@ return [
|
||||
'emails_edit' => [
|
||||
'title' => lng('emails.emails_edit'),
|
||||
'image' => 'fa-solid fa-pen',
|
||||
'self_overview' => ['section' => 'email', 'page' => 'emails'],
|
||||
'self_overview' => ['section' => 'email', 'page' => 'email_domain', 'domainid' => $email_domainid ?: 1],
|
||||
'sections' => [
|
||||
'section_a' => [
|
||||
'title' => lng('emails.emails_edit'),
|
||||
@@ -48,13 +48,13 @@ return [
|
||||
'next_to' => [
|
||||
'edit_link' => [
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=accounts&action=changepw&id=' . $result['id'],
|
||||
'href' => $filename . '?page=accounts&domainid=' . $result['domainid'] . '&action=changepw&id=' . $result['id'],
|
||||
'label' => lng('menue.main.changepassword'),
|
||||
'classes' => 'btn btn-sm btn-secondary'
|
||||
],
|
||||
'del_link' => [
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=accounts&action=delete&id=' . $result['id'],
|
||||
'href' => $filename . '?page=accounts&domainid=' . $result['domainid'] . '&action=delete&id=' . $result['id'],
|
||||
'label' => lng('emails.account_delete'),
|
||||
'classes' => 'btn btn-sm btn-danger'
|
||||
]
|
||||
@@ -68,7 +68,7 @@ return [
|
||||
'next_to' => [
|
||||
'add_link' => [
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=accounts&action=add&id=' . $result['id'],
|
||||
'href' => $filename . '?page=accounts&domainid=' . $result['domainid'] . '&action=add&id=' . $result['id'],
|
||||
'label' => lng('emails.account_add'),
|
||||
'classes' => 'btn btn-sm btn-primary'
|
||||
]
|
||||
@@ -83,7 +83,7 @@ return [
|
||||
'add_link' => [
|
||||
'visible' => ((int)$result['popaccountid'] != 0 && Settings::Get('system.mail_quota_enabled')),
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=accounts&action=changequota&id=' . $result['id'],
|
||||
'href' => $filename . '?page=accounts&domainid=' . $result['domainid'] . '&action=changequota&id=' . $result['id'],
|
||||
'label' => lng('emails.quota_edit'),
|
||||
'classes' => 'btn btn-sm btn-secondary'
|
||||
]
|
||||
@@ -96,7 +96,7 @@ return [
|
||||
'next_to' => [
|
||||
'add_link' => [
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=' . $page . '&action=togglecatchall&id=' . $result['id'],
|
||||
'href' => $filename . '?page=' . $page . '&domainid=' . $result['domainid'] . '&action=togglecatchall&id=' . $result['id'],
|
||||
'label' => '<i class="fa-solid fa-arrow-right-arrow-left"></i> ' . lng('panel.toggle'),
|
||||
'classes' => 'btn btn-sm btn-secondary'
|
||||
]
|
||||
@@ -109,7 +109,7 @@ return [
|
||||
'next_to' => [
|
||||
'add_link' => [
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=forwarders&action=add&id=' . $result['id'],
|
||||
'href' => $filename . '?page=forwarders&domainid=' . $result['domainid'] . '&action=add&id=' . $result['id'],
|
||||
'label' => lng('emails.forwarder_add'),
|
||||
'classes' => 'btn btn-sm btn-primary'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user