2011-10-14 07:22:15 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2011-10-20 02:06:24 +00:00
|
|
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
2011-10-14 07:22:15 +00:00
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
$this->breadcrumb('元数据评审');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<div id="leftPanel">
|
|
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div id="rightPanel">
|
|
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
|
|
<div id="message">
|
|
|
|
<?php if ($this->msg) : ?>
|
|
|
|
<p><?php echo $this->msg; ?></p>
|
|
|
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
|
|
<p><?php echo $msg; ?></p>
|
|
|
|
<?php endforeach;endif; ?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
<div class="search">
|
|
|
|
<form action="" method="get">
|
|
|
|
<input type="hidden" name="search" value='1' />
|
|
|
|
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
|
2011-10-20 02:06:24 +00:00
|
|
|
<label>搜索关键字</label><input type="text" name="keyword" class="q" value="<?php echo $this->keyword; ?>" />
|
|
|
|
<input type="submit" class="btn" value="搜索" />
|
2011-10-14 07:22:15 +00:00
|
|
|
</form>
|
|
|
|
</div><!-- search DIV -->
|
2011-10-20 02:06:24 +00:00
|
|
|
<table class="stylized"><thead>
|
2011-10-14 07:22:15 +00:00
|
|
|
<tr>
|
2013-05-10 01:55:46 +00:00
|
|
|
<td>标题</td>
|
|
|
|
<td width='100'>管理员</td>
|
2011-10-14 07:22:15 +00:00
|
|
|
<td width='120'>结束时间</td>
|
2011-12-01 07:31:37 +00:00
|
|
|
<td width="150">操作</td>
|
2011-10-14 07:22:15 +00:00
|
|
|
</tr></thead>
|
|
|
|
<?php if (count($this->paginator)): ?>
|
2011-10-20 02:06:24 +00:00
|
|
|
<tbody id="list">
|
2011-10-14 07:22:15 +00:00
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
2011-10-20 02:06:24 +00:00
|
|
|
<tr>
|
2011-10-14 07:22:15 +00:00
|
|
|
<td><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title']; ?></a></td>
|
2013-05-10 01:55:46 +00:00
|
|
|
<td><?php echo $item['realname'].'['.$item['username'].']'; ?></td>
|
2011-10-14 07:22:15 +00:00
|
|
|
<td><?php echo date("Y-m-d H:i",strtotime($item['ts_finished']));?></td>
|
2011-12-01 07:31:37 +00:00
|
|
|
<td><a href="/admin/review/comments/ac/list/uuid/<?php echo $item['uuid'];?>">查看评审意见</a> <a href="/admin/review/rollback/id/<?php echo $item['id'];?>" onclick="return confirm('是否确定重审该元数据?')">重新评审</a></td>
|
2011-10-14 07:22:15 +00:00
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
2011-10-20 02:06:24 +00:00
|
|
|
</tbody>
|
2011-10-14 07:22:15 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
</table>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
2011-10-20 02:06:24 +00:00
|
|
|
</div>
|
|
|
|
<script>$("#list tr").mouseover(function(){$(this).addClass("high")}).mouseout(function(){$(this).removeClass("high")})</script>
|