* @license https://files.froxlor.org/misc/COPYING.txt GPLv2 */ use Froxlor\Settings; use Froxlor\System\Crypt; return [ 'emails_accountchangepasswd' => [ 'title' => lng('menue.main.changepassword'), 'image' => 'icons/email_edit.png', 'sections' => [ 'section_a' => [ 'title' => lng('menue.main.changepassword'), 'image' => 'icons/email_edit.png', 'fields' => [ 'emailaddr' => [ 'label' => lng('emails.emailaddress'), 'type' => 'label', 'value' => $result['email_full'] ], 'email_password' => [ 'label' => lng('login.password'), 'type' => 'password', 'autocomplete' => 'off' ], 'email_password_suggestion' => [ 'label' => lng('customer.generated_pwd'), 'type' => 'text', 'visible' => (Settings::Get('panel.password_regex') == ''), 'value' => Crypt::generatePassword() ] ] ] ] ] ];