26 lines
1.0 KiB
PHTML
Executable File
26 lines
1.0 KiB
PHTML
Executable File
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle($this->config->title->data);
|
|
$this->headTitle('离线数据清单');
|
|
$this->headTitle($this->codename);
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/metadata.css');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
$this->breadcrumb('离线数据清单');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row-fluid">
|
|
<?= $this->partial('data/tools.phtml'); ?>
|
|
</div>
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
<hr />
|
|
<?php foreach($this->metadata as $md) : ?>
|
|
<div class="mditem">
|
|
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a>
|
|
<a href="/data/xml/id/<?php echo $md['id'];?>"><img src="/images/xml.gif" /></a>
|
|
<a href="/data/doc/uuid/<?php echo $md['uuid'];?>"><img src="/images/doc-icon.png" /></a>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
<hr />
|
|
<?php echo $this->page->getNavigation(); ?> |