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,32 +16,32 @@
*/
return array(
'template_edit' => array(
'title' => $lng['admin']['templates']['template_edit'],
'title' => \Froxlor\I18N\Lang::getAll()['admin']['templates']['template_edit'],
'image' => 'icons/templates_edit.png',
'sections' => array(
'section_a' => array(
'title' => $lng['admin']['templates']['template_edit'],
'title' => \Froxlor\I18N\Lang::getAll()['admin']['templates']['template_edit'],
'image' => 'icons/templates_edit.png',
'fields' => array(
'language' => array(
'label' => $lng['login']['language'],
'label' => \Froxlor\I18N\Lang::getAll()['login']['language'],
'type' => 'hidden',
'value' => $language,
'display' => $language
),
'template' => array(
'label' => $lng['admin']['templates']['action'],
'label' => \Froxlor\I18N\Lang::getAll()['admin']['templates']['action'],
'type' => 'hidden',
'value' => $template,
'display' => $template
),
'subject' => array(
'label' => $lng['admin']['templates']['subject'],
'label' => \Froxlor\I18N\Lang::getAll()['admin']['templates']['subject'],
'type' => 'text',
'value' => $subject
),
'mailbody' => array(
'label' => $lng['admin']['templates']['mailbody'],
'label' => \Froxlor\I18N\Lang::getAll()['admin']['templates']['mailbody'],
'type' => 'textarea',
'cols' => 60,
'rows' => 12,