实现项目支持信息功能(ticket #131)
This commit is contained in:
parent
70e2592c5b
commit
69ad57801c
|
@ -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;
|
||||
|
|
|
@ -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) :
|
||||
|
|
|
@ -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;
|
||||
//数据格式,可以多个,但此处只用一个?
|
||||
|
|
Loading…
Reference in New Issue