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
No known key found for this signature in database
GPG Key ID: C121F97338D7A352
6 changed files with 42 additions and 0 deletions

View File

@ -120,6 +120,7 @@ return [
],
'customers' => [
'label' => lng('admin.customers'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@ -133,6 +134,7 @@ return [
],
'domains' => [
'label' => lng('admin.domains'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@ -146,6 +148,7 @@ return [
],
'diskspace' => [
'label' => lng('customer.diskspace') . ' (' . lng('customer.mib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 6,
@ -153,6 +156,7 @@ return [
],
'traffic' => [
'label' => lng('customer.traffic') . ' (' . lng('customer.gib') . ')',
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 4,
@ -160,6 +164,7 @@ return [
],
'subdomains' => [
'label' => lng('customer.subdomains'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@ -167,6 +172,7 @@ return [
],
'emails' => [
'label' => lng('customer.emails'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@ -174,6 +180,7 @@ return [
],
'email_accounts' => [
'label' => lng('customer.accounts'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@ -181,6 +188,7 @@ return [
],
'email_forwarders' => [
'label' => lng('customer.forwarders'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
@ -188,6 +196,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,
@ -196,12 +205,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

@ -132,6 +132,7 @@ return [
],
'customers' => [
'label' => lng('admin.customers'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['customers']) ? '0' : $result['customers'],
'maxlength' => 9,
@ -145,6 +146,7 @@ return [
],
'domains' => [
'label' => lng('admin.domains'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['domains']) ? '0' : $result['domains'],
'maxlength' => 9,
@ -158,6 +160,7 @@ return [
],
'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' => 6,
@ -165,6 +168,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' => 4,
@ -172,6 +176,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,
@ -179,6 +184,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,
@ -186,6 +192,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,
@ -193,6 +200,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,
@ -200,6 +208,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,
@ -208,12 +217,14 @@ return [
],
'ftps' => [
'label' => lng('customer.ftps'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['ftps']) ? '0' : $result['ftps'],
'maxlength' => 9
],
'mysqls' => [
'label' => lng('customer.mysqls'),
'desc' => lng('panel.use_checkbox_for_unlimited'),
'type' => 'textul',
'value' => empty($result['mysqls']) ? '0' : $result['mysqls'],
'maxlength' => 9,

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,

View File

@ -1242,6 +1242,7 @@ Vielen Dank, Ihr Administrator',
],
'upload_import' => 'Hochladen und importieren',
'profile' => 'Mein Profil',
'use_checkbox_for_unlimited' => 'Der Wert "0" deaktiviert die Resource. Die Checkbox rechts erlaubt "unlimitierte" Nutzung.',
],
'phpfpm' => [
'vhost_httpuser' => 'Lokaler Benutzer für PHP-FPM (Froxlor-Vhost)',

View File

@ -1355,6 +1355,7 @@ Yours sincerely, your administrator',
],
'upload_import' => 'Upload and import',
'profile' => 'My profile',
'use_checkbox_for_unlimited' => 'The value "0" deactivates this resource. The checkbox on the right allows "unlimited" usage.',
],
'phpfpm' => [
'vhost_httpuser' => 'Local user to use for PHP-FPM (Froxlor vHost)',