2013-04-24 11:07:25 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->author);
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
|
|
|
$this->breadcrumb('DOI');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
|
|
$this->theme->AppendPlus($this,'admin_plugin');
|
|
|
|
?>
|
|
|
|
<style>
|
|
|
|
table thead tr th {background:#EBF2F6;}
|
|
|
|
</style>
|
|
|
|
<div class="row-fluid">
|
|
|
|
<div class="span2">
|
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span10">
|
|
|
|
<div>
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li class="active"><a href="/admin/data/doi">浏览所有</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div class="input-append">
|
|
|
|
<form id="datasearch" class="search_form" action="">
|
|
|
|
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
|
|
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php if(!empty($this->error)) { ?>
|
|
|
|
<?= $this->error ?>
|
|
|
|
<?php } ?>
|
|
|
|
<?php if(!empty($this->msg)) { ?>
|
|
|
|
<?= $this->msg ?>
|
|
|
|
<?php } else{ ?>
|
|
|
|
<div id="datalist">
|
|
|
|
<?php if (count($this->paginator)): ?>
|
|
|
|
<table class="table table-bordered table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2013-05-02 05:31:08 +00:00
|
|
|
<th>状态</th>
|
2013-04-24 11:07:25 +00:00
|
|
|
<th>元数据</th>
|
|
|
|
<th>DOI</th>
|
2013-05-13 06:33:35 +00:00
|
|
|
<th width="140">操作</th>
|
2013-04-24 11:07:25 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php $autoindex=0;
|
|
|
|
foreach ($this->paginator as $item):
|
|
|
|
$autoindex++;?>
|
|
|
|
<tr id="DataLine_<?= $item['id']?>">
|
2013-05-02 05:31:08 +00:00
|
|
|
<td><?php if (!empty($item['ts_published'])) { echo '已发布'; } else if (!empty($item['ts_submitted'])) { echo '已提交'; } ?></td>
|
|
|
|
<td><a href="/data/<?= $item['uuid'] ?>"><?= $item['title'] ?></a></td>
|
2013-04-24 11:07:25 +00:00
|
|
|
<td><?= $item['doi'] ?></td>
|
|
|
|
<td>
|
|
|
|
<a href="/admin/data/doi/ac/edit/uuid/<?= $item['uuid']?>">编辑</a>
|
2013-05-13 06:33:35 +00:00
|
|
|
<a href="/admin/data/doi/ac/convert/uuid/<?= $item['uuid']?>">导出</a>
|
2013-05-13 07:00:30 +00:00
|
|
|
<a href="/admin/data/doi/ac/verified/uuid/<?= $item['uuid']?>">成功</a>
|
2013-04-24 11:07:25 +00:00
|
|
|
<a href="javascript:void(0);" onclick="onedel(<?= $item['id']?>)" id="delbtn_<?= $item['id']?>">删除</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<?php endif; ?>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- //页面内容 -->
|
|
|
|
<script>
|
|
|
|
var info = {
|
|
|
|
btn_prefix : "delbtn_",
|
|
|
|
item_prefix : "DataLine_",
|
|
|
|
url : "/admin/data/doi/ac/del"
|
|
|
|
}
|
|
|
|
</script>
|