From c1803dac8679f5db39dcd1d0d3a20daef18b1c37 Mon Sep 17 00:00:00 2001
From: wlx
Date: Mon, 20 May 2013 13:36:05 +0000
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E5=B8=83=E6=97=B6?=
=?UTF-8?q?=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/default/views/scripts/data/view.phtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml
index 8312db23..eefb2d21 100755
--- a/application/default/views/scripts/data/view.phtml
+++ b/application/default/views/scripts/data/view.phtml
@@ -37,7 +37,7 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>
datadoi) && !strpos($md->citation,$md->datadoi)) : ?>
数据的引用authors,1,-1).'. '.$md->title.'. '.$md->publisher.', '.$md->publish_year.'. doi:'.$md->doi;
+ echo substr($md->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.', '.$md->publish_year.'. doi:'.$md->doi.']';
?> (下载引用:RIS格式 | RIS英文格式 | Bibtex格式 | Bibtex英文格式)
ref) : ?>