From b7f39f466f3e8c8cee6232794c1397fa7a4cbaad Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 8 Nov 2011 06:13:09 +0000 Subject: [PATCH] use google loader jsapi to load gmaps api later --- .../default/views/scripts/data/view.phtml | 26 ++++++++++++++----- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index 6d5683db..a0d31b9d 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -8,7 +8,7 @@ $this->breadcrumb(''.$this->config->title->data.''); $this->breadcrumb('查看元数据'); $this->breadcrumb()->setSeparator(' > '); - $this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api); + //$this->headScript()->appendFile('https://maps.google.cn/maps?file=api&v=2&key='.$this->config->google->maps->api); $this->headScript()->appendFile('/js/jquery-1.7.min.js'); $this->headScript()->appendFile('/js/jquery.colorbox-min.js'); $this->headLink()->appendStylesheet('/js/theme/default/style.css'); @@ -224,7 +224,7 @@ endforeach;