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,39 +16,39 @@
*/
return array(
'emails_addaccount' => array(
'title' => \Froxlor\I18N\Lang::getAll()['emails']['account_add'],
'title' => $lng['emails']['account_add'],
'image' => 'icons/email_add.png',
'sections' => array(
'section_a' => array(
'title' => \Froxlor\I18N\Lang::getAll()['emails']['account_add'],
'title' => $lng['emails']['account_add'],
'image' => 'icons/email_add.png',
'fields' => array(
'email_full' => array(
'label' => \Froxlor\I18N\Lang::getAll()['emails']['emailaddress'],
'label' => $lng['emails']['emailaddress'],
'type' => 'label',
'value' => $result['email_full']
),
'email_password' => array(
'label' => \Froxlor\I18N\Lang::getAll()['login']['password'],
'label' => $lng['login']['password'],
'type' => 'password',
'autocomplete' => 'off'
),
'email_password_suggestion' => array(
'label' => \Froxlor\I18N\Lang::getAll()['customer']['generated_pwd'],
'label' => $lng['customer']['generated_pwd'],
'type' => 'text',
'visible' => (\Froxlor\Settings::Get('panel.password_regex') == ''),
'value' => \Froxlor\System\Crypt::generatePassword()
),
'email_quota' => array(
'visible' => (\Froxlor\Settings::Get('system.mail_quota_enabled') == '1' ? true : false),
'label' => \Froxlor\I18N\Lang::getAll()['emails']['quota'],
'label' => $lng['emails']['quota'],
'desc' => "MiB",
'type' => 'text',
'value' => $quota
),
'alternative_email' => array(
'visible' => (\Froxlor\Settings::Get('panel.sendalternativemail') == '1' ? true : false),
'label' => \Froxlor\I18N\Lang::getAll()['emails']['alternative_emailaddress'],
'label' => $lng['emails']['alternative_emailaddress'],
'type' => 'text'
)
)