change style

This commit is contained in:
wlx 2013-04-17 01:56:37 +00:00
parent 7bb4468610
commit c58b6c0a4a
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ $this->breadcrumb()->setSeparator(' > ');
if(!empty($this->infos['keyword'])) $keyword = $this->infos['keyword']; else $keyword = $this->infos['title']; if(!empty($this->infos['keyword'])) $keyword = $this->infos['keyword']; else $keyword = $this->infos['title'];
$this->headMeta()->appendName('keywords', $keyword); $this->headMeta()->appendName('keywords', $keyword);
$this->headMeta()->appendName('description', mb_substr($this->infos['description'],0,180,'utf-8')); $this->headMeta()->appendName('description', mb_substr($this->infos['description'],0,180,'utf-8'));
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/news.css');
?> ?>
<div class="row"> <div class="row">
<div class="span3"> <div class="span3">
@ -34,7 +34,7 @@ $this->headLink()->appendStylesheet('/css/mdreview.css');
</div> </div>
</div> </div>
<div class="span9" id="archive_body"> <div class="span9" id="archive_body">
<h2 class="text-center"><?php echo $this->infos['title'];?></h2> <h3 class="text-center"><?php echo $this->infos['title'];?></h3>
<div class="text-center">[<?php echo date("Y-m-d",strtotime($this->infos['ts_published']));?>]&nbsp;&nbsp;来源&nbsp;:&nbsp;<?php echo $this->infos['source'];?></div> <div class="text-center">[<?php echo date("Y-m-d",strtotime($this->infos['ts_published']));?>]&nbsp;&nbsp;来源&nbsp;:&nbsp;<?php echo $this->infos['source'];?></div>
<?php if(!empty($this->mdinfo)){?> <?php if(!empty($this->mdinfo)){?>
<?php foreach($this->mdinfo as $v){ ?> <?php foreach($this->mdinfo as $v){ ?>

View File

@ -5,7 +5,7 @@ $this->headTitle()->setSeparator(' - ');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('新闻中心'); $this->breadcrumb('新闻中心');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/news.css');
$this->theme->AppendPlus($this,'masonry'); $this->theme->AppendPlus($this,'masonry');
?> ?>
<div class="row"> <div class="row">

View File

@ -6,7 +6,7 @@ $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/archives/">新闻中心</a>'); $this->breadcrumb('<a href="/archives/">新闻中心</a>');
$this->breadcrumb($this->title); $this->breadcrumb($this->title);
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/news.css');
?> ?>
<div class="row"> <div class="row">
<div class="span3"> <div class="span3">