30 lines
1.2 KiB
PHTML
Executable File
30 lines
1.2 KiB
PHTML
Executable File
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle($this->config->title->data);
|
|
$this->headTitle('全部浏览');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/water.css');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
$this->breadcrumb('<a href="/glacier/">'.$this->config->title->glacier.'</a>');
|
|
$this->breadcrumb('浏览');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="span2">
|
|
<?= $this->partial('glacier/navi.phtml'); ?>
|
|
</div>
|
|
<div class="span10">
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
<hr />
|
|
<div id="mdlist">
|
|
<ol start="<?php echo $this->offset; ?>">
|
|
<?php foreach($this->metadata as $md) : ?>
|
|
<li><a href="/glacier/view/uuid/<?php echo $md['uuid']; ?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"><?php echo $md['title']; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ol>
|
|
</div>
|
|
<hr />
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
</div>
|
|
</div>
|