greylisting 2.0
This commit is contained in:
@@ -52,7 +52,13 @@ return [
|
||||
'type' => 'checkbox',
|
||||
'value' => '1',
|
||||
'checked' => false
|
||||
]
|
||||
],
|
||||
'disablegreylist' => [
|
||||
'label' => lng('emails.disablegreylist'),
|
||||
'type' => 'checkbox',
|
||||
'value' => '1',
|
||||
'checked' => false
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -102,6 +102,19 @@ return [
|
||||
]
|
||||
]
|
||||
],
|
||||
'mail_disablegreylist' => [
|
||||
'label' => lng('emails.greylist'),
|
||||
'type' => 'label',
|
||||
'value' => ((int)$result['disablegreylist'] == 0 ? lng('panel.no') : lng('panel.yes')),
|
||||
'next_to' => [
|
||||
'add_link' => [
|
||||
'type' => 'link',
|
||||
'href' => $filename . '?page=' . $page . '&domainid=' . $result['domainid'] . '&action=togglegreylist&id=' . $result['id'],
|
||||
'label' => '<i class="fa-solid fa-arrow-right-arrow-left"></i> ' . lng('panel.toggle'),
|
||||
'classes' => 'btn btn-sm btn-secondary'
|
||||
]
|
||||
]
|
||||
],
|
||||
'mail_fwds' => [
|
||||
'label' => lng('emails.forwarders') . ' (' . $forwarders_count . ')',
|
||||
'type' => 'itemlist',
|
||||
|
||||
Reference in New Issue
Block a user