From 5dc02f88406d2b0c5eeb69dee2965ffb0f8728f3 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 17 May 2013 03:03:30 +0000 Subject: [PATCH] fix doi logic --- application/default/views/scripts/data/view.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index a407edc5..8312db23 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -31,11 +31,11 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

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

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

- datadoi) && !strpos($md->citation,$md->datadoi)) : ?> + 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.', '.$md->publish_year.'. doi:'.$md->doi; echo ' ['.str_replace('"','',substr($md->author_en,1,-1)).'. '.$md->title_en.'. '.$md->publisher_en.', '.$md->publish_year.'. doi:'.$md->doi.']';