增加了处理意见的调用

This commit is contained in:
Li Jianxuan 2011-11-04 08:32:53 +00:00
parent 444f78b74f
commit d7f227faf8
2 changed files with 10 additions and 1 deletions

View File

@ -910,7 +910,7 @@ class Admin_ReviewController extends Zend_Controller_Action
$this->_redirect($redirect);
}
$sql = "select r.id,r.uuid,r.mdcomment,r.datacomment,r.editorcomment,u.realname,md.title,att.filename,r.ts_created,ratt.attachid as attid from mdreview r
$sql = "select r.id,r.uuid,r.mdcomment,r.datacomment,r.editorcomment,u.realname,md.title,att.filename,r.ts_created,r.conclusion,ratt.attachid as attid from mdreview r
left join metadata md on md.uuid=r.uuid
left join users u on u.id=r.userid
left join mdreviewattach ratt on ratt.reviewid=r.id

View File

@ -37,6 +37,15 @@
<label>评审人:</label>
<?php echo $this->info['realname'];?>
</p>
<p>
<label>处理意见:</label>
<?php
if($this->info['conclusion']==1) echo '修改后再审';
if($this->info['conclusion']==2) echo '修改后发布';
if($this->info['conclusion']==3) echo '发布';
if($this->info['conclusion']==-1) echo '退稿';
?>
</p>
<p>
<label>评审时间</label>
<?php echo date("Y-m-d H:i",strtotime($this->info['ts_created']));?>