refactor global array

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 20:51:44 +01:00
parent c5a58e3f36
commit 370ccbdb74
220 changed files with 2227 additions and 2244 deletions

View File

@@ -16,31 +16,31 @@
*/
return array(
'backup' => array(
'title' => $lng['extras']['backup'],
'title' => \Froxlor\I18N\Lang::getAll()['extras']['backup'],
'image' => 'icons/backup_big.png',
'sections' => array(
'section_a' => array(
'title' => $lng['extras']['backup'],
'title' => \Froxlor\I18N\Lang::getAll()['extras']['backup'],
'image' => 'icons/backup_big.png',
'fields' => array(
'path' => array(
'label' => $lng['panel']['backuppath']['title'],
'desc' => $lng['panel']['backuppath']['description'] . '<br>' . (\Froxlor\Settings::Get('panel.pathedit') != 'Dropdown' ? $lng['panel']['pathDescription'] : null) . (isset($pathSelect['note']) ? '<br />' . $pathSelect['value'] : ''),
'label' => \Froxlor\I18N\Lang::getAll()['panel']['backuppath']['title'],
'desc' => \Froxlor\I18N\Lang::getAll()['panel']['backuppath']['description'] . '<br>' . (\Froxlor\Settings::Get('panel.pathedit') != 'Dropdown' ? \Froxlor\I18N\Lang::getAll()['panel']['pathDescription'] : null) . (isset($pathSelect['note']) ? '<br />' . $pathSelect['value'] : ''),
'type' => $pathSelect['type'],
'select_var' => $pathSelect['value'],
'value' => $pathSelect['value']
),
'path_protection_info' => array(
'label' => $lng['extras']['path_protection_label'],
'label' => \Froxlor\I18N\Lang::getAll()['extras']['path_protection_label'],
'type' => 'label',
'value' => $lng['extras']['path_protection_info']
'value' => \Froxlor\I18N\Lang::getAll()['extras']['path_protection_info']
),
'backup_web' => array(
'label' => $lng['extras']['backup_web'],
'label' => \Froxlor\I18N\Lang::getAll()['extras']['backup_web'],
'type' => 'checkbox',
'values' => array(
array(
'label' => $lng['panel']['yes'],
'label' => \Froxlor\I18N\Lang::getAll()['panel']['yes'],
'value' => '1'
)
),
@@ -49,11 +49,11 @@ return array(
)
),
'backup_mail' => array(
'label' => $lng['extras']['backup_mail'],
'label' => \Froxlor\I18N\Lang::getAll()['extras']['backup_mail'],
'type' => 'checkbox',
'values' => array(
array(
'label' => $lng['panel']['yes'],
'label' => \Froxlor\I18N\Lang::getAll()['panel']['yes'],
'value' => '1'
)
),
@@ -62,11 +62,11 @@ return array(
)
),
'backup_dbs' => array(
'label' => $lng['extras']['backup_dbs'],
'label' => \Froxlor\I18N\Lang::getAll()['extras']['backup_dbs'],
'type' => 'checkbox',
'values' => array(
array(
'label' => $lng['panel']['yes'],
'label' => \Froxlor\I18N\Lang::getAll()['panel']['yes'],
'value' => '1'
)
),