切换邮件模板为英文

This commit is contained in:
wlx 2015-03-24 06:07:58 +00:00
parent ffe945b496
commit 659195942a
1 changed files with 3 additions and 3 deletions

View File

@ -2012,7 +2012,7 @@ class AuthorController extends Zend_Controller_Action
//email to author //email to author
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'CARD Support Team'); $mail->setFrom($this->view->config->service->email,'CARD Support Team');
$mailtp=new EmailText($this->db,"version-commit-author",array( $mailtp=new EmailText($this->db,"version-commit-author-en",array(
'user' => $user->username, 'user' => $user->username,
'uuid' => $row['uuid'], 'uuid' => $row['uuid'],
'email'=> $user->email, 'email'=> $user->email,
@ -2042,7 +2042,7 @@ class AuthorController extends Zend_Controller_Action
//email to admin //email to admin
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'CARD Support Team'); $mail->setFrom($this->view->config->service->email,'CARD Support Team');
$mailtp=new EmailText($this->db,"version-commit-admin",array( $mailtp=new EmailText($this->db,"version-commit-admin-en",array(
'user' => $user->username, 'user' => $user->username,
'uuid' => $row['uuid'], 'uuid' => $row['uuid'],
'email'=> $user->email, 'email'=> $user->email,
@ -2065,7 +2065,7 @@ class AuthorController extends Zend_Controller_Action
//email to author //email to author
$mail=new WestdcMailer($this->view->config->smtp); $mail=new WestdcMailer($this->view->config->smtp);
$mail->setFrom($this->view->config->service->email,'CARD Support Team'); $mail->setFrom($this->view->config->service->email,'CARD Support Team');
$mailtp=new EmailText($this->db,"version-commit-author",array( $mailtp=new EmailText($this->db,"version-commit-author-en",array(
'user' => $user->username, 'user' => $user->username,
'uuid' => $row['uuid'], 'uuid' => $row['uuid'],
'email'=> $user->email, 'email'=> $user->email,