From 14facdd35fb70080fa65e2c409606459a87c2ee2 Mon Sep 17 00:00:00 2001 From: TimZ99 Date: Sun, 9 Feb 2020 17:38:14 +0100 Subject: [PATCH] Removed email_smtp_password_description --- src/lang/en_US.lang.php | 1 - src/psm/Module/Config/Controller/ConfigController.php | 1 - src/templates/default/module/config/config.tpl.html | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lang/en_US.lang.php b/src/lang/en_US.lang.php index 9e80a480..570d32c2 100644 --- a/src/lang/en_US.lang.php +++ b/src/lang/en_US.lang.php @@ -293,7 +293,6 @@ $sm_lang = array( 'email_smtp_security_none' => 'None', 'email_smtp_username' => 'SMTP username', 'email_smtp_password' => 'SMTP password', - //'email_smtp_password_description' => '', 'email_smtp_noauth' => 'Leave blank for no authentication', 'sms_status' => 'Allow sending text messages', 'sms_gateway' => 'Gateway to use for sending messages', diff --git a/src/psm/Module/Config/Controller/ConfigController.php b/src/psm/Module/Config/Controller/ConfigController.php index 53e2c4ae..0dd3f9b2 100644 --- a/src/psm/Module/Config/Controller/ConfigController.php +++ b/src/psm/Module/Config/Controller/ConfigController.php @@ -429,7 +429,6 @@ class ConfigController extends AbstractController 'label_email_smtp_security' => psm_get_lang('config', 'email_smtp_security'), 'label_email_smtp_username' => psm_get_lang('config', 'email_smtp_username'), 'label_email_smtp_password' => psm_get_lang('config', 'email_smtp_password'), - 'label_email_smtp_password_description' => psm_get_lang('config', 'email_smtp_password_description'), 'label_email_smtp_noauth' => psm_get_lang('config', 'email_smtp_noauth'), 'label_sms_status' => psm_get_lang('config', 'sms_status'), 'label_sms_gateway' => psm_get_lang('config', 'sms_gateway'), diff --git a/src/templates/default/module/config/config.tpl.html b/src/templates/default/module/config/config.tpl.html index b4eb01e1..0c35ffc3 100644 --- a/src/templates/default/module/config/config.tpl.html +++ b/src/templates/default/module/config/config.tpl.html @@ -99,7 +99,7 @@ {{ macro.input_field("text", "email_smtp_username", null, "email_smtp_username", label_email_smtp_username, email_smtp_username, label_email_smtp_username, "255") }} - {{ macro.input_field("password", "email_smtp_password", null, "email_smtp_password", label_email_smtp_password, email_smtp_password, label_leave_blank, "255", 'email_smtp_password_help', label_email_smtp_password_description, null, true) }} + {{ macro.input_field("password", "email_smtp_password", null, "email_smtp_password", label_email_smtp_password, email_smtp_password, label_leave_blank, "255", null, null, null, true) }} {{ macro.button_test("testEmail", label_test) }} {{ macro.input_hidden("test_email", "0") }} {{ macro.button_save("email_submit", label_save) }}