增加了处理意见的调用
This commit is contained in:
parent
444f78b74f
commit
d7f227faf8
|
@ -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
|
||||
|
|
|
@ -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']));?>
|
||||
|
|
Loading…
Reference in New Issue