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 '
  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; ?>
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'