From 6e1093fc517245bf3f1e6f02e9f3d2489c301127 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 30 Jun 2015 08:33:32 +0800 Subject: [PATCH] fix westdc/westdc-zf1#19, set default citation --- application/default/views/scripts/heihe/view.phtml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/application/default/views/scripts/heihe/view.phtml b/application/default/views/scripts/heihe/view.phtml index ebe4b423..f3bd5d07 100755 --- a/application/default/views/scripts/heihe/view.phtml +++ b/application/default/views/scripts/heihe/view.phtml @@ -49,9 +49,16 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>
    mcitation as $ref) : if (empty($ref->link)) - echo '
  1. '.$ref->reference.'
  2. '; + { + echo '
  3. '.$ref->reference; + echo '查看'; + if(!empty($ref->attid)) { + echo ' 下载'; + } + echo "
  4. "; + } else - echo '
  5. '.$ref->reference.' 下载
  6. '; + echo '
  7. '.$ref->reference.'查看 下载
  8. '; endforeach; ?>