From 7fec8c5d1a49a0987845b6af24da5248a9f0a9f8 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 8 Nov 2011 06:31:33 +0000 Subject: [PATCH] use jquery, remove prototype, later gmaps import --- .../default/views/scripts/water/view.phtml | 146 ++++++++++++++---- 1 file changed, 113 insertions(+), 33 deletions(-) diff --git a/application/default/views/scripts/water/view.phtml b/application/default/views/scripts/water/view.phtml index 61b04aed..abce39fe 100755 --- a/application/default/views/scripts/water/view.phtml +++ b/application/default/views/scripts/water/view.phtml @@ -9,13 +9,11 @@ $this->breadcrumb('黑河综合遥感联合试验'); $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('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/OpenLayers.js'); - $this->headScript()->appendFile('/js/window.js'); - $this->headScript()->appendFile('/js/pubfunc.js'); - $this->headLink()->appendStylesheet('/js/theme/default/style.css'); + $this->headScript()->appendFile('/js/jquery-1.7.min.js'); + $this->headScript()->appendFile('/js/jquery.colorbox-min.js'); + $this->headLink()->appendStylesheet('/css/colorbox.css'); ?> metadata;if ($md):?>

escape($md->title); @@ -94,7 +92,7 @@ else echo $this->doc; }?>">数据说明文档 -
  • 数据共享方式:datatype) print "离线"; else print "在线(可直接下载)";?> 文件列表
  • +
  • 数据共享方式:datatype) print "离线"; else print "在线(可直接下载)";?> 文件列表
  • status>0 and $md->status<5) : ?> @@ -153,7 +151,7 @@ endforeach;
    -
    +

    ',$md->description);?> @@ -220,30 +218,7 @@ endforeach;

    数据评论

    - commentForm; ?>
    @@ -251,16 +226,120 @@ function reportError(request)
    + +

    Cannot find the metadata.