From ef5c2e8ed0e6858dc976fc90f148f9aa48f9702c Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Thu, 20 Oct 2011 07:56:56 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=A7=86=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controllers/ReviewController.php | 2 +- .../admin/views/scripts/review/accept.phtml | 18 +++++++++--------- .../admin/views/scripts/review/draft.phtml | 18 +++++++++--------- 3 files changed, 19 insertions(+), 19 deletions(-) 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 @@ paginator)): ?> - + paginator as $item): ?> - - + @@ -54,7 +52,9 @@ +
元数据标题 负责编辑操作
- \ No newline at end of file + + \ No newline at end of file diff --git a/application/admin/views/scripts/review/draft.phtml b/application/admin/views/scripts/review/draft.phtml index 47bd98c5..e582dcc6 100644 --- a/application/admin/views/scripts/review/draft.phtml +++ b/application/admin/views/scripts/review/draft.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 @@ paginator)): ?> - + paginator as $item): ?> - - + @@ -52,9 +50,11 @@ +
选择 标题操作
- \ No newline at end of file + + \ No newline at end of file