From 75ae4ff252571276178d08cfca3d507579d4c499 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 12 Jun 2014 06:46:42 +0000 Subject: [PATCH] revert index.phtml --- .../views/scripts/archives/index.phtml | 102 ++++++------------ 1 file changed, 34 insertions(+), 68 deletions(-) diff --git a/application/default/views/scripts/archives/index.phtml b/application/default/views/scripts/archives/index.phtml index 04c63f11..8fda5425 100644 --- a/application/default/views/scripts/archives/index.phtml +++ b/application/default/views/scripts/archives/index.phtml @@ -3,89 +3,55 @@ $this->headTitle($this->config->title->site); $this->headTitle('新闻中心'); $this->headTitle()->setSeparator(' - '); $this->breadcrumb('首页'); -$this->breadcrumb('新闻中心'); -$this->breadcrumb($this->title); +$this->breadcrumb('新闻中心'); $this->breadcrumb()->setSeparator(' > '); +$this->headLink()->appendStylesheet('/css/news.css'); +$this->theme->AppendPlus($this,'masonry'); ?> - - - - -
- - -
-
-
-
- - paginator;?>
-
-

新闻列表

-
    - paginator); - if(count($this->paginator)) - { - foreach ($this->paginator as $v) - { - $description = ""; - if (mb_strlen($v['description'])>160) - { - $description = mb_substr($v['description'],0,160,'utf-8').'...(more)'; - }else{ - $description = $v['description']; - } - ?> -
  1. []
  2. - + lists as $v) + {?> + 0) {?> +
    +

    +
    +
      + +
    • [] +
    • + +
    +
    +
    + -
-
- +
- - -
- - -
- - \ No newline at end of file + \ No newline at end of file