#615, 修正关键词浏览方式

This commit is contained in:
wlx 2014-06-20 13:24:12 +00:00
parent 2e4cb25293
commit 02e25a420b
1 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,6 @@ $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data); $this->headTitle($this->config->title->data);
if (!empty($this->codename)) $this->headTitle($this->codename); if (!empty($this->codename)) $this->headTitle($this->codename);
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/metadata.css');
$this->nav[] = array('link'=>"/data/tag",'title'=>'关键词浏览'); $this->nav[] = array('link'=>"/data/tag",'title'=>'关键词浏览');
$this->theme->AppendPlus($this,'colorbox'); $this->theme->AppendPlus($this,'colorbox');
?> ?>
@ -12,7 +11,7 @@ $this->theme->AppendPlus($this,'colorbox');
</div> </div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='metacontent'> <div id='metacontent'>
<h1>当前浏览:<?php echo $this->codename; ?></h1> <h3>当前浏览:<?php echo $this->codename; ?></h3>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<div class="box"> <div class="box">
@ -51,10 +50,10 @@ foreach($this->keywords as $cg) :
$type=$cg['keytype']; $type=$cg['keytype'];
?> ?>
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend> <fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
<ul> <ul class="inline">
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li> <li><i class="icon-tag"></i><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php else : ?> <?php else : ?>
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li> <li><i class="icon-tag"></i><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endif; ?> <?php endif; ?>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>