* @license https://files.froxlor.org/misc/COPYING.txt GPLv2 */ use Froxlor\UI\Callbacks\Impersonate; use Froxlor\UI\Callbacks\Style; use Froxlor\UI\Callbacks\Text; use Froxlor\UI\Listing; return [ 'emaildomain_list' => [ 'title' => lng('menue.email.emailsoverview'), 'icon' => 'fa-solid fa-envelope', 'self_overview' => ['section' => 'email', 'page' => 'overview'], 'default_sorting' => ['d.domain_ace' => 'asc'], 'columns' => [ 'd.domain_ace' => [ 'label' => 'Domain', 'field' => 'domain', ], 'addresses' => [ 'label' => '# ' . lng('emails.emails'), 'field' => 'addresses', 'searchable' => false, ], 'accounts' => [ 'label' => '# ' . lng('emails.accounts'), 'field' => 'accounts', 'searchable' => false, ], 'forwarder' => [ 'label' => '# ' . lng('emails.forwarders'), 'field' => 'forwarder', 'searchable' => false, ], ], 'visible_columns' => Listing::getVisibleColumnsForListing('emaildomain_list', [ 'd.domain_ace', 'addresses', 'accounts', 'forwarder', ]), 'actions' => [ 'show' => [ 'icon' => 'fa-solid fa-eye', 'title' => lng('apikeys.clicktoview'), 'href' => [ 'section' => 'email', 'page' => 'email_domain', 'domainid' => ':domainid' ], ], ], ] ];