From af8bc520e28370a714e69664f20e1f7f771c66bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Tue, 10 Dec 2024 12:40:24 +0100 Subject: [PATCH] CM91 - Update email templates --- assets/mail/email_template_firmware.php | 104 ++++++++++++++++------ assets/mail/email_template_new.php | 10 ++- assets/mail/email_template_reset.php | 88 ++++++++++++++++++- assets/mail/email_template_software.php | 112 +++++++++++++++++------- 4 files changed, 255 insertions(+), 59 deletions(-) diff --git a/assets/mail/email_template_firmware.php b/assets/mail/email_template_firmware.php index d6e862b..6583b6a 100644 --- a/assets/mail/email_template_firmware.php +++ b/assets/mail/email_template_firmware.php @@ -16,30 +16,84 @@ $consent = 'unscribe'; $subject = $firmare_subject; $message = ' - - + + + + + ' . $subject . ' - - - '.$firmware_header.' -
-
- '.$firmware_text.' -
-
- '.$firmware_text_closure.' -
-
- Login to Portal -
-
- Kind regards,
-
-
- logo -
- '.$consent.' - - -'; + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + '.$consent.' + +
+ CustomerPortal +
+ ' . $firmware_header . ', +
+
+ '.$firmware_text.' +
+
+ '.$firmware_text_closure.' +
+ + + + + +
+ Goto Portal +
+
+
+ Kind regards, +
+
+ Service team +
+
+
+ +'; \ No newline at end of file diff --git a/assets/mail/email_template_new.php b/assets/mail/email_template_new.php index 54f32e0..8d37c51 100644 --- a/assets/mail/email_template_new.php +++ b/assets/mail/email_template_new.php @@ -77,7 +77,15 @@ $message = ' - ' . $newuser_closure . ' + ' . $newuser_closure . ' +
+
+ Kind regards, +
+
+ Service team +
+
diff --git a/assets/mail/email_template_reset.php b/assets/mail/email_template_reset.php index 582cd11..18e2e4b 100644 --- a/assets/mail/email_template_reset.php +++ b/assets/mail/email_template_reset.php @@ -5,8 +5,8 @@ defined($security_key) or exit; //------------------------------------------ $changeuser_subject = 'CustomerPortal - password reset requested'; $changeuser_header = 'Dear CustomerPortal user'; -$changeuser_text = 'A password reset has been requested for your account. To reset your account use the link below.'; -$changeuser_credential_label = 'Link to portal:'; +$changeuser_text = 'A password reset has been requested for your account.'; +$changeuser_credential_text_1 = 'Please click the button below to reset the password of your CustomerPortal account.'; $changeuser_closure = 'For security reasons this link is only active for 10 minutes.'; //------------------------------------------ @@ -14,6 +14,90 @@ $changeuser_closure = 'For security reasons this link is only active for 10 minu //------------------------------------------ $subject = $changeuser_subject; +$message = ' + + + + + + ' . $subject . ' + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ CustomerPortal +
+ ' . $changeuser_header . ', +
+
+ '.$changeuser_text.' +
+
+ '.$changeuser_credential_text_1 .' +
+ + + + + +
+ Reset Password +
+
+ ' . $changeuser_closure . ' +
+
+ Kind regards, +
+
+ Service team +
+
+
+
+ + +'; + $message = ' diff --git a/assets/mail/email_template_software.php b/assets/mail/email_template_software.php index 37b5393..5584192 100644 --- a/assets/mail/email_template_software.php +++ b/assets/mail/email_template_software.php @@ -5,8 +5,8 @@ defined($security_key) or exit; //------------------------------------------ $register_user_subject = 'CustomerPortal - Registration'; $register_user_header = 'Dear customer'; -$register_user_text = 'Thanks for your registration. Based on your product registration we herewith provide you access to our online firmware update capability, with the following credentials:'; -$register_user_credential_label = 'User details:'; +$register_user_text = 'Thanks for your registration. Based on your product registration we herewith provide you access to our online firmware update capability'; +$register_user_credential_text = 'To update your product click on the button below and use username '.software_update_user.' and password '.software_update_pw.' to login'; $register_user_closure = 'This is a generic account and cannot be changed.'; //------------------------------------------ @@ -15,34 +15,84 @@ $register_user_closure = 'This is a generic account and cannot be changed.'; $subject = $register_user_subject; $message = ' - - + + + + + ' . $subject . ' - - - ' . $register_user_header . ', -
-
- ' . $register_user_text . ' -

' . $register_user_credential_label . '

- -
- ' . $register_user_closure . ' -
-
- Kind regards,
-
-
- logo -
- - -'; + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ CustomerPortal +
+ ' . $register_user_header . ', +
+
+ '.$register_user_text.' +
+
+ '.$register_user_credential_text.' +
+ + + + + +
+ Goto Portal +
+
+ ' . $register_user_closure . ' +
+
+ Kind regards, +
+
+ Service team +
+
+
+ + +'; \ No newline at end of file