From 4c41d4ebe89d5de2cc5ff90ff88e97a84022bb1a Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 26 Apr 2013 07:23:56 +0000 Subject: [PATCH] add time display in the data list --- .../views/scripts/data/organisation.phtml | 87 ++++++++++--------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/application/default/views/scripts/data/organisation.phtml b/application/default/views/scripts/data/organisation.phtml index 133b817a..b7065937 100644 --- a/application/default/views/scripts/data/organisation.phtml +++ b/application/default/views/scripts/data/organisation.phtml @@ -1,44 +1,45 @@ -headTitle($this->config->title->site); - $this->headTitle($this->config->title->data); -$this->headTitle('分单位浏览'); -if (!empty($this->codename)) $this->headTitle($this->codename); -$this->headTitle()->setSeparator(' - '); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb('分单位浏览'); -if (!empty($this->codename)) $this->breadcrumb($this->codename); -$this->breadcrumb()->setSeparator(' > '); -$this->headScript()->appendFile('/js/jquery.masonry.min.js'); -?> -
-
-
- 单位 -
-
-
    - organisation as $cg) : ?> -
  • '>
  • - -
-
-
-
-
    - metadata) : foreach($this->metadata as $md) : ?> -
  • - -
    -
    -
    400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>
    -
    -
  • - -
-
-
- page) echo $this->page->getNavigation(); ?> -
-
+headTitle($this->config->title->site); + $this->headTitle($this->config->title->data); +$this->headTitle('分单位浏览'); +if (!empty($this->codename)) $this->headTitle($this->codename); +$this->headTitle()->setSeparator(' - '); +$this->breadcrumb('首页'); +$this->breadcrumb(''.$this->config->title->data.''); +$this->breadcrumb('分单位浏览'); +if (!empty($this->codename)) $this->breadcrumb($this->codename); +$this->breadcrumb()->setSeparator(' > '); +$this->headScript()->appendFile('/js/jquery.masonry.min.js'); +?> +
+
+
+ 单位 +
+
+
    + organisation as $cg) : ?> +
  • '>
  • + +
+
+
+
+
    + metadata) : foreach($this->metadata as $md) : ?> +
  • + +
    +
    +
    400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>
    +
    时间范围: -
    +
    +
  • + +
+
+
+ page) echo $this->page->getNavigation(); ?> +
+
\ No newline at end of file