diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index 88d9657f..6d66a47a 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -358,7 +358,7 @@ class Admin_ReviewController extends Zend_Controller_Action $mail->addTo($row['email']); $mail->setSubject($mailtp->getSubject()); $filecontent=file_get_contents("http://" . $_SERVER['HTTP_HOST'].'/data/doc/review/1/uuid/'.$uuid); - $mail->createAttachment($filecontent,'application/octet-stream',Zend_Mime::DISPOSITION_ATTACHMENT, Zend_Mime::ENCODING_BASE64, $row['title'].'.doc'); + $mail->createAttachment($filecontent,'application/octet-stream',Zend_Mime::DISPOSITION_ATTACHMENT, Zend_Mime::ENCODING_BASE64, "{$row['title']}".'.doc'); if($mail->send()) { $this->messenger->addMessage('成功再次邀请专家:'.$row['realname']); diff --git a/application/admin/views/scripts/review/accept.phtml b/application/admin/views/scripts/review/accept.phtml index 6572ef94..5f73468c 100644 --- a/application/admin/views/scripts/review/accept.phtml +++ b/application/admin/views/scripts/review/accept.phtml @@ -3,6 +3,7 @@ $this->headTitle('后台管理'); $this->headTitle()->setSeparator(' - '); $this->headLink()->appendStylesheet('/css/admin.css'); + $this->headScript()->appendFile('/js/jquery-1.6.4.min.js'); $this->breadcrumb('首页'); $this->breadcrumb('后台首页'); $this->breadcrumb('元数据评审'); @@ -25,14 +26,12 @@
元数据标题 | 负责编辑 | @@ -40,10 +39,9 @@操作 |
= $item['title']?> | @@ -54,7 +52,9 @@ |