Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,880
- Plugin Contributions:
- 7
[Done 2.0] admin email salutation hard coded
Apologies if this has been mentioned elsewhere.
The "Dear" in the admin email to customers is hardcoded.
Changes I made:
in the email/email_template_direct_email.html and other language versions:
chnage
<div>Dear $EMAIL_FIRST_NAME $EMAIL_LAST_NAME</div>to <div>$EMAIL_SALUTATION $EMAIL_FIRST_NAME $EMAIL_LAST_NAME</div>admin/mail.php around line 59
while (!$mail->EOF) {
$html_msg['EMAIL_FIRST_NAME'] = $mail->fields['customers_firstname'];to
while (!$mail->EOF) {
$html_msg['EMAIL_SALUTATION'] = EMAIL_SALUTATION;
$html_msg['EMAIL_FIRST_NAME'] = $mail->fields['customers_firstname'];and added the defines in the relevant language files:
define('EMAIL_SALUTATION', 'Dear');
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...