(2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Formfields * */ return array( 'mailtest' => array( 'title' => $lng['admin']['testmail'], 'image' => 'fa-solid fa-paper-plane', 'sections' => array( 'section_a' => array( 'fields' => array( 'smtp_user' => array( 'label' => $lng['serversettings']['mail_smtp_user'], 'type' => 'label', 'value' => (empty(Settings::Get('system.mail_smtp_user')) ? $lng['panel']['unspecified'] : Settings::Get('system.mail_smtp_user')) ), 'smtp_host' => array( 'label' => $lng['serversettings']['mail_smtp_host'], 'type' => 'label', 'value' => (empty(Settings::Get('system.mail_smtp_host')) ? $lng['panel']['unspecified'] : Settings::Get('system.mail_smtp_host')) ), 'smtp_port' => array( 'label' => $lng['serversettings']['mail_smtp_port'], 'type' => 'label', 'value' => (empty(Settings::Get('system.mail_smtp_port')) ? $lng['panel']['unspecified'] : Settings::Get('system.mail_smtp_port')) ), 'smtp_auth' => array( 'label' => $lng['serversettings']['mail_smtp_auth'], 'type' => 'checkbox', 'value' => 1, 'checked' => (bool) Settings::Get('system.mail_use_smtp'), 'disabled' => true ), 'smtp_tls' => array( 'label' => $lng['serversettings']['mail_smtp_usetls'], 'type' => 'checkbox', 'value' => 1, 'checked' => (bool) Settings::Get('system.mail_smtp_usetls'), 'disabled' => true ), 'test_addr' => array( 'label' => $lng['admin']['smtptestaddr'], 'type' => 'email', 'mandatory' => true ) ) ) ) ) );