From 11832336ed35c7294e248bec7b01c753618cb110 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 16 Jan 2015 08:27:51 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9WATER=E7=9A=84=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/water/view.phtml | 42 +++++++++++++++---- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/application/default/views/scripts/water/view.phtml b/application/default/views/scripts/water/view.phtml index 4a28eaab..a4f33002 100755 --- a/application/default/views/scripts/water/view.phtml +++ b/application/default/views/scripts/water/view.phtml @@ -37,19 +37,43 @@ h3.gs_rt{font-size:110%;}

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

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

+
    + mcitation as $ref) : + if (empty($ref->link)) + { + echo '
  1. '.$ref->reference; + echo '查看'; + if(!empty($ref->attid)) { + echo ' 下载'; + } + echo "
  2. "; + } + else + echo '
  3. '.$ref->reference.'查看 下载
  4. '; + endforeach; + ?> +
+ + + citation) || (count($this->mcitation)==1)) : + if (!$md->citation) $md->citation=$this->mcitation[0]->reference; + ?>

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

datadoi) || !strpos($md->citation,$md->datadoi)) : ?>文章的引用 - escape($md->citation);?>

- datadoi) && !strpos($md->citation,$md->datadoi)) : ?> -

数据的引用 - authors,1,-1).'. '.$md->title.'. '.$md->publisher.', '.$md->publish_year.'. doi:'.$md->doi; - echo ' ['.substr($md->author_en,1,-1).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi.']'; + escape($md->citation);if (strpos($md->citation,$md->datadoi)) : ?> + (下载引用:RIS格式 | RIS英文格式 | Bibtex格式 | Bibtex英文格式) + +

+ datadoi) && !strpos($md->citation,$md->datadoi)) : ?> +

数据的引用authors,1,-1).'. '.$md->title.'. '.$md->publisher.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi; + echo ' ['.str_replace('"','',substr($md->author_en,1,-1)).'. '.$md->title_en.'. '.$md->publisher_en.', '.(empty($md->ts_published)?$md->publish_year:date('Y',strtotime($md->ts_published))).'. doi:'.$md->doi.']'; ?> (下载引用:RIS格式 | RIS英文格式 | Bibtex格式 | Bibtex英文格式)

- ref) : ?> + ref) : ?>

相关文献(作者推荐)