make search-result links a filter/search for the overview instead of the direct edit-link; show number of total entries in overview; show 'back to overview' button when showing search-result
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -27,6 +27,7 @@ return [
|
||||
'admin_list' => [
|
||||
'title' => $lng['admin']['admin'],
|
||||
'icon' => 'fa-solid fa-user',
|
||||
'self_overview' => ['section' => 'admins', 'page' => 'admins'],
|
||||
'columns' => [
|
||||
'adminid' => [
|
||||
'label' => '#',
|
||||
|
||||
@@ -27,6 +27,7 @@ return [
|
||||
'title' => $lng['admin']['customers'],
|
||||
'description' => 'Manage your customers',
|
||||
'icon' => 'fa-solid fa-user',
|
||||
'self_overview' => ['section' => 'customers', 'page' => 'customers'],
|
||||
'columns' => [
|
||||
'c.name' => [
|
||||
'label' => $lng['customer']['name'],
|
||||
|
||||
@@ -26,6 +26,7 @@ return [
|
||||
'title' => $lng['admin']['domains'],
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'empty_msg' => $lng['admin']['domain_nocustomeraddingavailable'],
|
||||
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
|
||||
'columns' => [
|
||||
'd.domain_ace' => [
|
||||
'label' => $lng['domains']['domainname'],
|
||||
|
||||
@@ -24,7 +24,11 @@ return [
|
||||
'fpmconf_list' => [
|
||||
'title' => $lng['menue']['phpsettings']['fpmdaemons'],
|
||||
'icon' => 'fa-brands fa-php',
|
||||
'self_overview' => ['section' => 'phpsettings', 'page' => 'fpmdaemons'],
|
||||
'columns' => [
|
||||
'id' => [
|
||||
'field' => 'id'
|
||||
],
|
||||
'description' => [
|
||||
'label' => $lng['admin']['phpsettings']['description'],
|
||||
'field' => 'description',
|
||||
|
||||
@@ -24,6 +24,7 @@ return [
|
||||
'ipsandports_list' => [
|
||||
'title' => $lng['admin']['ipsandports']['ipsandports'],
|
||||
'icon' => 'fa-solid fa-ethernet',
|
||||
'self_overview' => ['section' => 'ipsandports', 'page' => 'ipsandports'],
|
||||
'columns' => [
|
||||
'ip' => [
|
||||
'label' => $lng['admin']['ipsandports']['ip'],
|
||||
|
||||
@@ -25,6 +25,7 @@ return [
|
||||
'phpconf_list' => [
|
||||
'title' => $lng['menue']['phpsettings']['maintitle'],
|
||||
'icon' => 'fa-brands fa-php',
|
||||
'self_overview' => ['section' => 'phpsettings', 'page' => 'overview'],
|
||||
'columns' => [
|
||||
'c.description' => [
|
||||
'label' => $lng['admin']['phpsettings']['description'],
|
||||
|
||||
@@ -23,7 +23,11 @@ return [
|
||||
'domain_list' => [
|
||||
'title' => $lng['admin']['domains'],
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'self_overview' => ['section' => 'domains', 'page' => 'domains'],
|
||||
'columns' => [
|
||||
'ad.id' => [
|
||||
'field' => 'aliasdomainid'
|
||||
],
|
||||
'd.domain_ace' => [
|
||||
'label' => $lng['domains']['domainname'],
|
||||
'field' => 'domain_ace',
|
||||
@@ -92,8 +96,8 @@ return [
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
'page' => 'domains',
|
||||
'searchfield' => 'd.aliasdomain',
|
||||
'searchtext' => ':domainaliasid'
|
||||
'searchfield' => 'ad.id',
|
||||
'searchtext' => ':id'
|
||||
],
|
||||
'visible' => [Domain::class, 'canEditAlias']
|
||||
],
|
||||
|
||||
@@ -25,6 +25,7 @@ return [
|
||||
'email_list' => [
|
||||
'title' => $lng['menue']['email']['emails'],
|
||||
'icon' => 'fa-solid fa-envelope',
|
||||
'self_overview' => ['section' => 'email', 'page' => 'emails'],
|
||||
'columns' => [
|
||||
'm.email_full' => [
|
||||
'label' => $lng['emails']['emailaddress'],
|
||||
|
||||
@@ -24,6 +24,7 @@ return [
|
||||
'ftp_list' => [
|
||||
'title' => $lng['menue']['ftp']['accounts'],
|
||||
'icon' => 'fa-solid fa-users',
|
||||
'self_overview' => ['section' => 'ftp', 'page' => 'accounts'],
|
||||
'columns' => [
|
||||
'username' => [
|
||||
'label' => $lng['login']['username'],
|
||||
|
||||
@@ -24,6 +24,7 @@ return [
|
||||
'mysql_list' => [
|
||||
'title' => $lng['menue']['mysql']['databases'],
|
||||
'icon' => 'fa-solid fa-database',
|
||||
'self_overview' => ['section' => 'mysql', 'page' => 'mysqls'],
|
||||
'columns' => [
|
||||
'databasename' => [
|
||||
'label' => $lng['mysql']['databasename'],
|
||||
|
||||
Reference in New Issue
Block a user