westdc-zf1/application/default/views/scripts/review/index.phtml

58 lines
2.6 KiB
PHTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review);
$this->headTitle()->setSeparator(' - ');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/css/mdreview.css');
?>
<div class="row">
<div class="span3">
<?= $this->partial('review/navi.phtml'); ?>
</div>
<div class="span9">
<?php if ($this->mdreceived) : ?>
<h3><a href="/review/draft">元数据:最新收稿</a></h3>
<ul class="unstyled">
<?php foreach($this->mdreceived as $md) : ?>
<li><img src="/images/westdc_20w.gif" /><?php echo $this->escape($md['title']);?>(收稿时间:<?php echo $md['ts_created'];?></li>
<?php endforeach; ?>
<li class="pull-right"><a href="/review/draft">更多>></a></li>
</ul>
<?php endif;?>
<?php if ($this->mdaccepted) : ?>
<hr />
<h3><a href="/review/accept">元数据:已接收</a></h3>
<ul class="unstyled">
<?php foreach($this->mdaccepted as $md) : ?>
<li><img src="/images/westdc_20w.gif" /><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>[<a href="/review/review/uuid/<?php echo $md['uuid'];?>">评审</a>]</li>
<?php endforeach; ?>
<li class="pull-right"><a href="/review/accept">更多>></a></li>
</ul>
<?php endif; ?>
<?php if ($this->mdinreview) : ?>
<hr />
<h3><a href="/review/inreview">元数据:评审中</a></h3>
<ul class="unstyled">
<?php foreach($this->mdinreview as $md) : ?>
<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>
<?php endforeach; ?>
<li class="pull-right"><a href="/review/inreview">更多>></a></li>
</ul>
<?php endif; if ($this->mdreviewed) : ?>
<hr />
<h3><a href="/review/reviewed">元数据:最新完成评审</a></h3>
<ul class="unstyled">
<?php foreach($this->mdreviewed as $md) : ?>
<li><img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
<?php endforeach; ?>
<li class="pull-right"><a href="/review/reviewed">更多>></a></li>
</ul>
<?php endif; ?>
</div>
</div>
</div>