more language cleanup and adding mysql-servers to customer add/delete in UI
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -256,6 +256,14 @@ return [
|
||||
'maxlength' => 9,
|
||||
'mandatory' => true
|
||||
],
|
||||
'allowed_mysqlserver' => [
|
||||
'visible' => count($mysql_servers) > 1,
|
||||
'label' => lng('customer.mysqlserver'),
|
||||
'type' => 'checkbox',
|
||||
'values' => $mysql_servers,
|
||||
'value' => [0],
|
||||
'is_array' => 1
|
||||
],
|
||||
'phpenabled' => [
|
||||
'label' => lng('admin.phpenabled') . '?',
|
||||
'type' => 'checkbox',
|
||||
|
||||
@@ -268,6 +268,14 @@ return [
|
||||
'maxlength' => 9,
|
||||
'mandatory' => true
|
||||
],
|
||||
'allowed_mysqlserver' => [
|
||||
'visible' => count($mysql_servers) > 1,
|
||||
'label' => lng('customer.mysqlserver'),
|
||||
'type' => 'checkbox',
|
||||
'values' => $mysql_servers,
|
||||
'value' => isset($result['allowed_mysqlserver']) && !empty($result['allowed_mysqlserver']) ? json_decode($result['allowed_phpconfigs'], JSON_OBJECT_AS_ARRAY) : [],
|
||||
'is_array' => 1
|
||||
],
|
||||
'phpenabled' => [
|
||||
'label' => lng('admin.phpenabled') . '?',
|
||||
'type' => 'checkbox',
|
||||
|
||||
Reference in New Issue
Block a user