From a3551b20e807e1a07d80751a6bae92ee911a0d21 Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Fri, 18 Oct 2013 02:33:40 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=96=87=E7=8C=AE?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E7=9A=84=E4=B8=8B=E8=BD=BD=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/data/view.phtml | 11 ++++++++--- application/default/views/scripts/heihe/view.phtml | 11 ++++++++--- application/default/views/scripts/hiwater/view.phtml | 11 ++++++++--- application/default/views/scripts/water/view.phtml | 11 ++++++++--- 4 files changed, 32 insertions(+), 12 deletions(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index b193aa7d..696e39ed 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -51,10 +51,15 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

建议参考文献

    ref as $ref) : + echo '
  1. '.$ref->reference; if (empty($ref->link)) - echo '
  2. '.$ref->reference.'
  3. '; - else - echo '
  4. '.$ref->reference.' 下载
  5. '; + { + if(!empty($ref->attid)) + echo '下载'; + }else{ + echo '下载'; + } + echo ""; endforeach; ?>
diff --git a/application/default/views/scripts/heihe/view.phtml b/application/default/views/scripts/heihe/view.phtml index 8e7e7a33..23b3a51b 100755 --- a/application/default/views/scripts/heihe/view.phtml +++ b/application/default/views/scripts/heihe/view.phtml @@ -74,10 +74,15 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

建议参考文献

    ref as $ref) : + echo '
  1. '.$ref->reference; if (empty($ref->link)) - echo '
  2. '.$ref->reference.'
  3. '; - else - echo '
  4. '.$ref->reference.' 下载
  5. '; + { + if(!empty($ref->attid)) + echo '下载'; + }else{ + echo '下载'; + } + echo ""; endforeach; ?>
diff --git a/application/default/views/scripts/hiwater/view.phtml b/application/default/views/scripts/hiwater/view.phtml index 4178c489..e69fd7d8 100644 --- a/application/default/views/scripts/hiwater/view.phtml +++ b/application/default/views/scripts/hiwater/view.phtml @@ -72,10 +72,15 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

建议参考文献

    ref as $ref) : + echo '
  1. '.$ref->reference; if (empty($ref->link)) - echo '
  2. '.$ref->reference.'
  3. '; - else - echo '
  4. '.$ref->reference.' 下载
  5. '; + { + if(!empty($ref->attid)) + echo '下载'; + }else{ + echo '下载'; + } + echo ""; endforeach; ?>
diff --git a/application/default/views/scripts/water/view.phtml b/application/default/views/scripts/water/view.phtml index b05aaf16..217c6742 100755 --- a/application/default/views/scripts/water/view.phtml +++ b/application/default/views/scripts/water/view.phtml @@ -51,10 +51,15 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>

建议参考文献

    ref as $ref) : + echo '
  1. '.$ref->reference; if (empty($ref->link)) - echo '
  2. '.$ref->reference.'
  3. '; - else - echo '
  4. '.$ref->reference.' 下载
  5. '; + { + if(!empty($ref->attid)) + echo '下载'; + }else{ + echo '下载'; + } + echo ""; endforeach; ?>