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 '- '.$ref->reference;
if (empty($ref->link))
- echo '
- '.$ref->reference.'
';
- else
- echo '- '.$ref->reference.' 下载
';
+ {
+ 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 '- '.$ref->reference;
if (empty($ref->link))
- echo '
- '.$ref->reference.'
';
- else
- echo '- '.$ref->reference.' 下载
';
+ {
+ 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 '- '.$ref->reference;
if (empty($ref->link))
- echo '
- '.$ref->reference.'
';
- else
- echo '- '.$ref->reference.' 下载
';
+ {
+ 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 '- '.$ref->reference;
if (empty($ref->link))
- echo '
- '.$ref->reference.'
';
- else
- echo '- '.$ref->reference.' 下载
';
+ {
+ if(!empty($ref->attid))
+ echo '下载';
+ }else{
+ echo '下载';
+ }
+ echo "";
endforeach;
?>