From 3b6e7a022dba6f94c282a21360be6033289d7c00 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 15 Dec 2014 03:30:37 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=87=B3=E5=A4=A9=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/glacier/view.phtml | 91 +++++++++++++------ 1 file changed, 64 insertions(+), 27 deletions(-) diff --git a/application/default/views/scripts/glacier/view.phtml b/application/default/views/scripts/glacier/view.phtml index 94e6f24d..ebe4b423 100755 --- a/application/default/views/scripts/glacier/view.phtml +++ b/application/default/views/scripts/glacier/view.phtml @@ -3,26 +3,30 @@ $this->headTitle($this->config->title->data); $this->headTitle($this->metadata->title); $this->headTitle()->setSeparator(' - '); + $this->breadcrumb('首页'); + $this->breadcrumb(''.$this->config->title->data.''); + $this->breadcrumb(''.$this->config->title->heihe.''); + $this->breadcrumb('查看元数据'); + $this->breadcrumb()->setSeparator(' > '); $this->headLink()->appendStylesheet('/css/water.css'); - $this->theme->AppendPlus($this,'google_map_v3'); + $this->theme->AppendPlus($this,'tianditu'); $this->theme->AppendPlus($this,'colorbox'); if(!empty($this->dataService)) { $this->theme->AppendModel($this,"dataservice"); } - $this->nav[] = array('link'=>"/glacier/",'title'=>$this->config->title->glacier); - $this->nav[] = array('link'=>"",'title'=>'查看元数据'); ?> +render('breadcrumbs.phtml') ?> -render('breadcrumbs.phtml'); ?> metadata;if ($md):?>
- partial('glacier/navi.phtml'); ?> + partial('heihe/navi.phtml'); ?>

escape($md->title); @@ -39,7 +43,7 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

- mcitation) : ?> + mcitation && (count($this->mcitation)>1)) : ?>

本数据要求的多篇文献引用

    @@ -53,7 +57,9 @@ if ($md->title_en) echo '
    '.$this->escape($md->title_en);?>
- citation) : ?> + citation) || (count($this->mcitation)==1)) : + if (!$md->citation) $md->citation=$this->mcitation[0]->reference; + ?>

本数据引用方式数据引用帮助

datadoi) || !strpos($md->citation,$md->datadoi)) : ?>文章的引用 @@ -155,7 +161,7 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?> fund)) : ?>

    fund as $k=>$v) : ?> -
  • (项目编号:) [(No. )]
  • +
  • (项目编号:) [(No. )]
suppinfo)) : ?> @@ -191,14 +197,14 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?> ?>
-