#615, 修正关键词浏览方式
This commit is contained in:
parent
2e4cb25293
commit
02e25a420b
|
@ -3,7 +3,6 @@ $this->headTitle($this->config->title->site);
|
|||
$this->headTitle($this->config->title->data);
|
||||
if (!empty($this->codename)) $this->headTitle($this->codename);
|
||||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/css/metadata.css');
|
||||
$this->nav[] = array('link'=>"/data/tag",'title'=>'关键词浏览');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
?>
|
||||
|
@ -12,7 +11,7 @@ $this->theme->AppendPlus($this,'colorbox');
|
|||
</div>
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='metacontent'>
|
||||
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
||||
<h3>当前浏览:<?php echo $this->codename; ?></h3>
|
||||
<?php echo $this->page->getNavigation(); ?>
|
||||
<div class="box">
|
||||
|
||||
|
@ -51,10 +50,10 @@ foreach($this->keywords as $cg) :
|
|||
$type=$cg['keytype'];
|
||||
?>
|
||||
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
|
||||
<ul>
|
||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||
<ul class="inline">
|
||||
<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 : ?>
|
||||
<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 endforeach; ?>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue