change api key to config.ini

This commit is contained in:
wlx 2011-10-23 09:35:50 +00:00
parent 48307df952
commit 195a1e64d6
1 changed files with 5 additions and 6 deletions

View File

@ -10,10 +10,7 @@
$this->breadcrumb('<a href="/heihe/">数字黑河</a>');
$this->breadcrumb('查看元数据');
$this->breadcrumb()->setSeparator(' > ');
//http://westdc.westgis.ac.cn
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg');
//$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhThiRESR0xRCe9JKd36EL3glTk0OxTsRzifkUWmTTrYWaE7dY1lYUlGxA');
$this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key='.$this->config->google->maps->api);
$this->headScript()->appendFile('/js/prototype.js');
$this->headScript()->appendFile('/js/OpenLayers.js');
$this->headScript()->appendFile('/js/window.js');
@ -148,8 +145,10 @@ endforeach;
</ul>
<hr />
<ul>
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?> <a href="/heihe/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a></li>
<!--<li><a href="/data/detail/id/<?php echo $md->id;?>">详细元数据</a></li>-->
<li>元数据更新时间:<?php print date('Y-m-d',strtotime($md->ts_created)); ?>
<a href="/heihe/xml/uuid/<?php echo $md->uuid;?>"><img src="/images/xml.gif" alt="查看XML源文件"></a>
<a href="/data/doc/uuid/<?php echo $md->uuid; ?>"><img src="/images/doc-icon.png" alt="Word doc格式"></a>
</li>
</ul>
</div>