From 60435addd88f8eac5955cfb7e25352ceec3a56af Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 15 May 2014 12:42:41 +0000 Subject: [PATCH] change to en email template --- application/module/Order/Mount/PdfOperate.php | 4 ++-- application/module/Order/Order.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/module/Order/Mount/PdfOperate.php b/application/module/Order/Mount/PdfOperate.php index 9cd594ff..516b5c43 100644 --- a/application/module/Order/Mount/PdfOperate.php +++ b/application/module/Order/Mount/PdfOperate.php @@ -168,10 +168,10 @@ class PdfOperate implements \Order\Listener\PdfEvents ); $mail = new Mail(); - $mail->loadTemplate("offline-email",$data); + $mail->loadTemplate("offline-email-en",$data); $mail->addTo($formData['email'],$formData['realname']); $attach = $mail->mail->createAttachment($pdf->Output('applicant','S')); - $attach->filename = '数据申请-'.$formData['realname'].'.pdf'; + $attach->filename = 'DataOrder-'.$formData['realname'].'.pdf'; $mail->send(); } diff --git a/application/module/Order/Order.php b/application/module/Order/Order.php index b4ecd81e..187a4ad3 100644 --- a/application/module/Order/Order.php +++ b/application/module/Order/Order.php @@ -426,7 +426,7 @@ class Order ); $mail = new Mail(); - $mail->loadTemplate("offline-pdf-commited",$data); + $mail->loadTemplate("offline-pdf-commited-en",$data); $mail->setDefaultTo(); $mail->send();