实现项目支持信息功能(ticket #131)

This commit is contained in:
wlx 2010-01-26 07:31:25 +00:00
parent 70e2592c5b
commit 69ad57801c
3 changed files with 9 additions and 1 deletions

View File

@ -696,6 +696,7 @@ class Admin_DataController extends Zend_Controller_Action
$row->title_en=$iso->resAltTitle;
$row->description=$iso->idAbs;
$row->citation=$iso->citation;
$row->suppinfo=$iso->suppinfo;
$row->fileformat=$iso->fileformat;
$row->projection=$iso->projection;
//$row->author=$iso->author;

View File

@ -153,7 +153,12 @@ endforeach;
endforeach;
?>
</ol>
<?php endif; ?>
<?php endif;
if ($md->suppinfo) : ?>
<h2>项目支持信息</h2>
<?php
echo '<p>'.str_replace(array("\r\n", "\n", "\r"),'</p><p>',$this->escape($md->suppinfo)).'</p>';
endif; ?>
<h2>数据使用声明</h2>
<?php
if ($this->uselimits) :

View File

@ -176,6 +176,8 @@ class ISO19115
@$this->dataSetURI=$this->dom->getElementsByTagName('dataSetURI')->item(0)->nodeValue;
//引用说明
@$this->citation=$this->dom->getElementsByTagName('otherCitDet')->item(0)->nodeValue;
//项目支持信息
@$this->suppinfo=$this->dom->getElementsByTagName('suppInfo')->item(0)->nodeValue;
//数据大小以MB为单位
@$this->filesize=$this->dom->getElementsByTagName('transSize')->item(0)->nodeValue;
//数据格式,可以多个,但此处只用一个?