重新调整评审首页

This commit is contained in:
wlx 2011-10-27 14:34:54 +00:00
parent e4665387cb
commit 89ebea2f19
1 changed files with 21 additions and 5 deletions

View File

@ -1,15 +1,31 @@
<?php <?php
$config = Zend_Registry::get('config'); $config = Zend_Registry::get('config');
$this->headTitle($config->title->site); $this->headTitle($config->title->site);
$this->headTitle($config->title->mdreview); $this->headTitle($config->title->review);
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">元数据评审</a>'); $this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
<div id='sidebar'>
<div id='leftnavi'>
<?= $this->partial('review/navi.phtml'); ?>
</div>
<ul>
<li class="title">统计</li>
<li>专家:<?php echo $this->stat['experts']; ?></li>
<?php if ($this->stat['draft']) : ?>
<li>投稿:<?php echo $this->stat['draft']; ?></li>
<?php endif; ?>
<li>接收:<?php echo $this->stat['accept']; ?></li>
<li>评审:<?php echo $this->stat['inreview']; ?></li>
<li>完成:<?php echo $this->stat['reviewed']; ?></li>
<li>参与者:<?php echo $this->stat['openreviewuser']; ?></li>
<li>评审数:<?php echo $this->stat['openreview']; ?></li>
</ul>
</div>
<div id='indexbody'> <div id='indexbody'>
<h3>目前系统中专家库为<?php echo $this->stat['experts']; ?>人,新投稿元数据<?php echo $this->stat['draft']; ?>条,已接收元数据<?php echo $this->stat['accept']; ?>条,有<?php echo $this->stat['inreview']; ?>条元数据正在评审中,已完成评审元数据<?php echo $this->stat['reviewed']; ?>条,有<?php echo $this->stat['openreviewuser']; ?>个用户参与了<?php echo $this->stat['openreview']; ?>次评审。 <a href="/review/myreview">我参审的元数据</a></h3>
<?php if ($this->mdreceived) : ?> <?php if ($this->mdreceived) : ?>
<ul> <ul>
<div class="title"><a href="/review/draft">元数据:最新收稿</a></div> <div class="title"><a href="/review/draft">元数据:最新收稿</a></div>
@ -32,7 +48,7 @@ $this->breadcrumb()->setSeparator(' > ');
</ul> </ul>
<?php endif; if ($this->mdinreview) : ?> <?php endif; if ($this->mdinreview) : ?>
<ul> <ul>
<div class="title"><a href="/review/inreview">元数据:审中</a></div> <div class="title"><a href="/review/inreview">元数据:审中</a></div>
<?php foreach($this->mdinreview as $md) : ?> <?php foreach($this->mdinreview as $md) : ?>
<div class="mditem"> <div class="mditem">
<li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li> <li> <img src="/images/westdc_20w.gif" /> <?php echo $this->escape($md['title']);?> [<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a> <a href="/data/<?php echo $md['uuid'];?>">查看</a>]</li>