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

@@ -397,24 +397,24 @@ if (AREA == 'admin' || AREA == 'customer') {
'admin' => array(
'index' => array(
'url' => 'admin_index.php',
'label' => $lng['admin']['overview'],
'label' => \Froxlor\I18N\Lang::getAll()['admin']['overview'],
'elements' => array(
array(
'label' => $lng['menue']['main']['username']
'label' => \Froxlor\I18N\Lang::getAll()['menue']['main']['username']
),
array(
'url' => 'admin_index.php?action=logout',
'label' => $lng['login']['logout']
'label' => \Froxlor\I18N\Lang::getAll()['login']['logout']
)
)
),
'server' => array(
'label' => $lng['admin']['server'],
'label' => \Froxlor\I18N\Lang::getAll()['admin']['server'],
'required_resources' => 'change_serversettings',
'elements' => array(
array(
'url' => 'admin_updates.php?page=overview',
'label' => $lng['update']['update'],
'label' => \Froxlor\I18N\Lang::getAll()['update']['update'],
'required_resources' => 'change_serversettings'
)
)