@@ -168,7 +168,7 @@ class Domain
|
||||
public static function editSSLButtons(array $attributes): array
|
||||
{
|
||||
$result = [
|
||||
'icon' => 'fa fa-shield',
|
||||
'icon' => 'fa-solid fa-shield',
|
||||
'title' => lng('panel.ssleditor'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
|
||||
@@ -31,7 +31,7 @@ return [
|
||||
'url' => 'customer_email.php',
|
||||
'label' => lng('menue.email.email'),
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'email')),
|
||||
'icon' => 'fa fa-envelope',
|
||||
'icon' => 'fa-solid fa-envelope',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'customer_email.php?page=emails',
|
||||
@@ -56,7 +56,7 @@ return [
|
||||
'url' => 'customer_mysql.php',
|
||||
'label' => lng('menue.mysql.mysql'),
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'mysql')),
|
||||
'icon' => 'fa fa-database',
|
||||
'icon' => 'fa-solid fa-database',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'customer_mysql.php?page=mysqls',
|
||||
@@ -76,7 +76,7 @@ return [
|
||||
'url' => 'customer_domains.php',
|
||||
'label' => lng('menue.domains.domains'),
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'domains')),
|
||||
'icon' => 'fa fa-globe',
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'customer_domains.php?page=domains',
|
||||
@@ -92,7 +92,7 @@ return [
|
||||
'url' => 'customer_ftp.php',
|
||||
'label' => lng('menue.ftp.ftp'),
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'ftp')),
|
||||
'icon' => 'fa fa-users',
|
||||
'icon' => 'fa-solid fa-users',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'customer_ftp.php?page=accounts',
|
||||
@@ -110,7 +110,7 @@ return [
|
||||
'url' => 'customer_extras.php',
|
||||
'label' => lng('menue.extras.extras'),
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'extras')),
|
||||
'icon' => 'fa fa-wrench',
|
||||
'icon' => 'fa-solid fa-wrench',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'customer_extras.php?page=htpasswds',
|
||||
@@ -138,7 +138,7 @@ return [
|
||||
'url' => 'customer_traffic.php',
|
||||
'label' => lng('menue.traffic.traffic'),
|
||||
'show_element' => (!Settings::IsInList('panel.customer_hide_options', 'traffic')),
|
||||
'icon' => 'fa fa-area-chart',
|
||||
'icon' => 'fa-solid fa-area-chart',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'customer_traffic.php?page=current',
|
||||
@@ -155,7 +155,7 @@ return [
|
||||
'resources' => [
|
||||
'label' => lng('admin.resources'),
|
||||
'required_resources' => 'customers',
|
||||
'icon' => 'fa fa-box',
|
||||
'icon' => 'fa-solid fa-box',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'admin_customers.php?page=customers',
|
||||
@@ -201,7 +201,7 @@ return [
|
||||
'traffic' => [
|
||||
'label' => lng('admin.traffic'),
|
||||
'required_resources' => 'customers',
|
||||
'icon' => 'fa fa-area-chart',
|
||||
'icon' => 'fa-solid fa-area-chart',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'admin_traffic.php?page=customers',
|
||||
@@ -213,7 +213,7 @@ return [
|
||||
'server' => [
|
||||
'label' => lng('admin.server'),
|
||||
'required_resources' => 'change_serversettings',
|
||||
'icon' => 'fa fa-server',
|
||||
'icon' => 'fa-solid fa-server',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'admin_configfiles.php?page=configfiles',
|
||||
@@ -290,7 +290,7 @@ return [
|
||||
],
|
||||
'misc' => [
|
||||
'label' => lng('admin.misc'),
|
||||
'icon' => 'fa fa-wrench',
|
||||
'icon' => 'fa-solid fa-wrench',
|
||||
'elements' => [
|
||||
[
|
||||
'url' => 'admin_settings.php?page=integritycheck',
|
||||
|
||||
@@ -114,13 +114,13 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'show' => [
|
||||
'icon' => 'fa fa-eye',
|
||||
'icon' => 'fa-solid fa-eye',
|
||||
'title' => lng('usersettings.custom_notes.title'),
|
||||
'modal' => [Text::class, 'customerNoteDetailModal'],
|
||||
'visible' => [Customer::class, 'hasNote']
|
||||
],
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'admins',
|
||||
@@ -130,7 +130,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -59,7 +59,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'cronjobs',
|
||||
|
||||
@@ -154,13 +154,13 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'show' => [
|
||||
'icon' => 'fa fa-eye',
|
||||
'icon' => 'fa-solid fa-eye',
|
||||
'title' => lng('usersettings.custom_notes.title'),
|
||||
'modal' => [Text::class, 'customerNoteDetailModal'],
|
||||
'visible' => [Customer::class, 'hasNote']
|
||||
],
|
||||
'unlock' => [
|
||||
'icon' => 'fa fa-unlock',
|
||||
'icon' => 'fa-solid fa-unlock',
|
||||
'title' => lng('panel.unlock'),
|
||||
'class' => 'btn-outline-secondary',
|
||||
'href' => [
|
||||
@@ -172,7 +172,7 @@ return [
|
||||
'visible' => [Customer::class, 'isLocked']
|
||||
],
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'customers',
|
||||
@@ -182,7 +182,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -148,7 +148,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -158,7 +158,7 @@ return [
|
||||
],
|
||||
],
|
||||
'logfiles' => [
|
||||
'icon' => 'fa fa-file',
|
||||
'icon' => 'fa-solid fa-file',
|
||||
'title' => lng('panel.viewlogs'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -168,7 +168,7 @@ return [
|
||||
'visible' => [Domain::class, 'canViewLogs']
|
||||
],
|
||||
'domaindnseditor' => [
|
||||
'icon' => 'fa fa-globe',
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'title' => lng('dnseditor.edit'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -181,12 +181,12 @@ return [
|
||||
'callback' => [Domain::class, 'editSSLButtons'],
|
||||
],
|
||||
'letsencrypt' => [
|
||||
'icon' => 'fa fa-shield',
|
||||
'icon' => 'fa-solid fa-shield',
|
||||
'title' => lng('panel.letsencrypt'),
|
||||
'visible' => [Domain::class, 'hasLetsEncryptActivated']
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -41,7 +41,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'templates',
|
||||
@@ -51,7 +51,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -68,7 +68,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'phpsettings',
|
||||
@@ -79,7 +79,7 @@ return [
|
||||
'visible' => [Admin::class, 'canChangeServerSettings']
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -141,7 +141,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'ipsandports',
|
||||
@@ -151,7 +151,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -46,7 +46,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'templates',
|
||||
@@ -57,7 +57,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -62,7 +62,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'mysqlserver',
|
||||
@@ -73,7 +73,7 @@ return [
|
||||
'visible' => [Admin::class, 'canChangeServerSettings']
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -73,7 +73,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'phpsettings',
|
||||
@@ -84,7 +84,7 @@ return [
|
||||
'visible' => [Admin::class, 'canChangeServerSettings']
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -62,7 +62,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'plans',
|
||||
@@ -72,7 +72,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -62,7 +62,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.abort'),
|
||||
'class' => 'btn-warning',
|
||||
'href' => [
|
||||
|
||||
@@ -87,7 +87,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -98,7 +98,7 @@ return [
|
||||
'visible' => [Domain::class, 'canEdit']
|
||||
],
|
||||
'logfiles' => [
|
||||
'icon' => 'fa fa-file',
|
||||
'icon' => 'fa-solid fa-file',
|
||||
'title' => lng('panel.viewlogs'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -108,7 +108,7 @@ return [
|
||||
'visible' => [Domain::class, 'canViewLogs']
|
||||
],
|
||||
'domaindnseditor' => [
|
||||
'icon' => 'fa fa-globe',
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'title' => lng('dnseditor.edit'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -121,12 +121,12 @@ return [
|
||||
'callback' => [Domain::class, 'editSSLButtons'],
|
||||
],
|
||||
'letsencrypt' => [
|
||||
'icon' => 'fa fa-shield',
|
||||
'icon' => 'fa-solid fa-shield',
|
||||
'title' => lng('panel.letsencrypt'),
|
||||
'visible' => [Domain::class, 'hasLetsEncryptActivated']
|
||||
],
|
||||
'haslias' => [
|
||||
'icon' => 'fa fa-arrow-up-right-from-square',
|
||||
'icon' => 'fa-solid fa-arrow-up-right-from-square',
|
||||
'title' => lng('domains.hasaliasdomains'),
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
@@ -137,12 +137,12 @@ return [
|
||||
'visible' => [Domain::class, 'canEditAlias']
|
||||
],
|
||||
'isassigned' => [
|
||||
'icon' => 'fa fa-check-to-slot',
|
||||
'icon' => 'fa-solid fa-check-to-slot',
|
||||
'title' => lng('domains.isassigneddomain'),
|
||||
'visible' => [Domain::class, 'isAssigned']
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -69,7 +69,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'email',
|
||||
@@ -79,7 +79,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -60,7 +60,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'ftp',
|
||||
@@ -70,7 +70,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -72,7 +72,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'extras',
|
||||
@@ -82,7 +82,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -48,7 +48,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'extras',
|
||||
@@ -58,7 +58,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -62,7 +62,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'edit' => [
|
||||
'icon' => 'fa fa-edit',
|
||||
'icon' => 'fa-solid fa-edit',
|
||||
'title' => lng('panel.edit'),
|
||||
'href' => [
|
||||
'section' => 'mysql',
|
||||
@@ -72,7 +72,7 @@ return [
|
||||
],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -68,12 +68,12 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'show' => [
|
||||
'icon' => 'fa fa-eye',
|
||||
'icon' => 'fa-solid fa-eye',
|
||||
'title' => lng('apikeys.clicktoview'),
|
||||
'modal' => [Text::class, 'apikeyDetailModal'],
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -66,7 +66,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'text-danger',
|
||||
'href' => [
|
||||
|
||||
@@ -65,7 +65,7 @@ return [
|
||||
]),
|
||||
'actions' => [
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
'icon' => 'fa-solid fa-trash',
|
||||
'title' => lng('panel.delete'),
|
||||
'class' => 'btn-danger',
|
||||
'href' => [
|
||||
|
||||
Reference in New Issue
Block a user