diff --git a/application/default/views/scripts/hiwater/view.phtml b/application/default/views/scripts/hiwater/view.phtml
index 7a851a6d..1cf65878 100644
--- a/application/default/views/scripts/hiwater/view.phtml
+++ b/application/default/views/scripts/hiwater/view.phtml
@@ -46,9 +46,16 @@ if ($md->title_en) echo '
'.$this->escape($md->title_en);?>
mcitation as $ref) :
if (empty($ref->link))
- echo '- '.$ref->reference.'
';
+ {
+ echo '- '.$ref->reference;
+ echo '查看';
+ if(!empty($ref->attid)) {
+ echo ' 下载';
+ }
+ echo "
";
+ }
else
- echo '- '.$ref->reference.' 下载
';
+ echo '- '.$ref->reference.'查看 下载
';
endforeach;
?>
diff --git a/htdocs/index.php b/htdocs/index.php
index 202c2a86..f57e5098 100755
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -4,7 +4,7 @@ ini_set('display_errors', 1);
date_default_timezone_set('Asia/Shanghai');
// directory setup and class loading
-set_include_path('.' . PATH_SEPARATOR . '/var/www/westdc.westgis.ac.cn/include/'
+set_include_path('.' . PATH_SEPARATOR . '/Users/wangliangxu/Projects/metadata/include/'
. PATH_SEPARATOR . '../application/models'
. PATH_SEPARATOR . '../application/module'
. PATH_SEPARATOR . '../application/default/controllers'