修改了查看详细评审信息的动作

This commit is contained in:
Li Jianxuan 2011-10-17 08:51:10 +00:00
parent 6c5fb1691e
commit 82107398af
1 changed files with 15 additions and 2 deletions

View File

@ -199,10 +199,23 @@ class Admin_ReviewController extends Zend_Controller_Action
foreach ($exps as $k=>$v) foreach ($exps as $k=>$v)
{ {
if($v['id']!='') if($v['id']!='')
{$expname[] = '<a href="/admin/user/show/id/'.$v['id'].'">'.$v['realname'].'</a>';} {
if($v['status']==1)
{
$v['status']="接受邀请";
}else if($v['status']==-1)
{
$v['status']="拒绝邀请";
}else if(empty($v['status']))
{
$v['status']="未答复";
}
$expname[] = '<li><a href="/admin/user/show/id/'.$v['id'].'">'.$v['realname'].'</a> [状态:'.$v['status'].']
[<a href="/admin/review/invite/'.$show.'">再次发送邀请邮件</a>]</li>';
}
} }
if(count($expname>0)) if(count($expname>0))
{$rows['exps'] = join('',$expname);} {$rows['exps'] = join('',$expname);}
$rows['status'] = $this->rewritestatus($rows['status']); $rows['status'] = $this->rewritestatus($rows['status']);