Revert "refactor global array"

This reverts commit 370ccbdb74.
This commit is contained in:
Michael Kaufmann
2018-12-22 08:15:31 +01:00
parent c800e89414
commit 7e39a7bc60
220 changed files with 2244 additions and 2227 deletions

View File

@@ -16,11 +16,11 @@
*/
return array(
'cronjobs_edit' => array(
'title' => \Froxlor\I18N\Lang::getAll()['admin']['cronjob_edit'],
'title' => $lng['admin']['cronjob_edit'],
'image' => 'icons/clock_edit.png',
'sections' => array(
'section_a' => array(
'title' => \Froxlor\I18N\Lang::getAll()['cronjob']['cronjobsettings'],
'title' => $lng['cronjob']['cronjobsettings'],
'image' => 'icons/clock_edit.png',
'fields' => array(
'cronfile' => array(
@@ -29,11 +29,11 @@ return array(
'value' => $result['cronfile']
),
'isactive' => array(
'label' => \Froxlor\I18N\Lang::getAll()['admin']['activated'],
'label' => $lng['admin']['activated'],
'type' => 'checkbox',
'values' => array(
array(
'label' => \Froxlor\I18N\Lang::getAll()['panel']['yes'],
'label' => $lng['panel']['yes'],
'value' => '1'
)
),
@@ -42,12 +42,12 @@ return array(
)
),
'interval_value' => array(
'label' => \Froxlor\I18N\Lang::getAll()['cronjob']['cronjobintervalv'],
'label' => $lng['cronjob']['cronjobintervalv'],
'type' => 'text',
'value' => $interval_value
),
'interval_interval' => array(
'label' => \Froxlor\I18N\Lang::getAll()['cronjob']['cronjobinterval'],
'label' => $lng['cronjob']['cronjobinterval'],
'type' => 'select',
'select_var' => $interval_interval
)