improve description of resources assignment in admins and customers

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-07-24 14:28:08 +02:00
parent 5f05478c76
commit e071365cd6
6 changed files with 42 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ return [
'fields' => [
'diskspace' => [
'label' => lng('customer.diskspace') . ' (' . lng('customer.mib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 16,
@@ -194,6 +195,7 @@ return [
],
'traffic' => [
'label' => lng('customer.traffic') . ' (' . lng('customer.gib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 14,
@@ -201,6 +203,7 @@ return [
],
'subdomains' => [
'label' => lng('customer.subdomains'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@@ -208,6 +211,7 @@ return [
],
'emails' => [
'label' => lng('customer.emails'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@@ -215,6 +219,7 @@ return [
],
'email_accounts' => [
'label' => lng('customer.accounts'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@@ -222,6 +227,7 @@ return [
],
'email_forwarders' => [
'label' => lng('customer.forwarders'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@@ -229,6 +235,7 @@ return [
],
'email_quota' => [
'label' => lng('customer.email_quota') . ' (' . lng('customer.mib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@@ -251,12 +258,14 @@ return [
],
'ftps' => [
'label' => lng('customer.ftps'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9
],
'mysqls' => [
'label' => lng('customer.mysqls'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,

View File

@@ -198,6 +198,7 @@ return [
'fields' => [
'diskspace' => [
'label' => lng('customer.diskspace') . ' (' . lng('customer.mib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['diskspace']) ? '0' : $result['diskspace'],
'maxlength' => 16,
@@ -205,6 +206,7 @@ return [
],
'traffic' => [
'label' => lng('customer.traffic') . ' (' . lng('customer.gib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['traffic']) ? '0' : $result['traffic'],
'maxlength' => 14,
@@ -212,6 +214,7 @@ return [
],
'subdomains' => [
'label' => lng('customer.subdomains'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['subdomains']) ? '0' : $result['subdomains'],
'maxlength' => 9,
@@ -219,6 +222,7 @@ return [
],
'emails' => [
'label' => lng('customer.emails'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['emails']) ? '0' : $result['emails'],
'maxlength' => 9,
@@ -226,6 +230,7 @@ return [
],
'email_accounts' => [
'label' => lng('customer.accounts'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['email_accounts']) ? '0' : $result['email_accounts'],
'maxlength' => 9,
@@ -233,6 +238,7 @@ return [
],
'email_forwarders' => [
'label' => lng('customer.forwarders'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['email_forwarders']) ? '0' : $result['email_forwarders'],
'maxlength' => 9,
@@ -240,6 +246,7 @@ return [
],
'email_quota' => [
'label' => lng('customer.email_quota') . ' (' . lng('customer.mib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['email_quota']) ? '0' : $result['email_quota'],
'maxlength' => 9,
@@ -262,6 +269,7 @@ return [
],
'ftps' => [
'label' => lng('customer.ftps'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['ftps']) ? '0' : $result['ftps'],
'maxlength' => 9,
@@ -269,6 +277,7 @@ return [
],
'mysqls' => [
'label' => lng('customer.mysqls'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['mysqls']) ? '0' : $result['mysqls'],
'maxlength' => 9,