转换google maps到maps.google.cn地址,修复data/view数组错误
This commit is contained in:
parent
4fbbb80f1c
commit
c01de2098e
|
@ -8,7 +8,7 @@
|
||||||
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
||||||
$this->breadcrumb('查看元数据');
|
$this->breadcrumb('查看元数据');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
||||||
$this->headScript()->appendFile('/js/prototype.js');
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
$this->headScript()->appendFile('/js/OpenLayers.js');
|
$this->headScript()->appendFile('/js/OpenLayers.js');
|
||||||
$this->headScript()->appendFile('/js/window.js');
|
$this->headScript()->appendFile('/js/window.js');
|
||||||
|
@ -163,10 +163,10 @@ endforeach;
|
||||||
<h2>建议参考文献</h2>
|
<h2>建议参考文献</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach($this->ref as $ref) :
|
<?php foreach($this->ref as $ref) :
|
||||||
if (empty($ref['link']))
|
if (empty($ref->link))
|
||||||
echo '<li>'.$ref['reference'].'</li>';
|
echo '<li>'.$ref->reference.'</li>';
|
||||||
else
|
else
|
||||||
echo '<li>'.$ref['reference'].' <a href="'.$ref['link'].'">下载</a></li>';
|
echo '<li>'.$ref->reference.' <a href="'.$ref->link.'">下载</a></li>';
|
||||||
endforeach;
|
endforeach;
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
|
||||||
$this->breadcrumb('查看元数据');
|
$this->breadcrumb('查看元数据');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
||||||
$this->headScript()->appendFile('/js/prototype.js');
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
$this->headScript()->appendFile('/js/OpenLayers.js');
|
$this->headScript()->appendFile('/js/OpenLayers.js');
|
||||||
$this->headScript()->appendFile('/js/window.js');
|
$this->headScript()->appendFile('/js/window.js');
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
$this->breadcrumb('<a href="/water/">黑河综合遥感联合试验</a>');
|
$this->breadcrumb('<a href="/water/">黑河综合遥感联合试验</a>');
|
||||||
$this->breadcrumb('查看试验元数据');
|
$this->breadcrumb('查看试验元数据');
|
||||||
$this->breadcrumb()->setSeparator(' > ');
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
$this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api);
|
||||||
|
|
||||||
$this->headScript()->appendFile('/js/prototype.js');
|
$this->headScript()->appendFile('/js/prototype.js');
|
||||||
$this->headScript()->appendFile('/js/OpenLayers.js');
|
$this->headScript()->appendFile('/js/OpenLayers.js');
|
||||||
|
|
Loading…
Reference in New Issue