diff --git a/application/default/controllers/WaterController.php b/application/default/controllers/WaterController.php index e73ce985..533f88a3 100644 --- a/application/default/controllers/WaterController.php +++ b/application/default/controllers/WaterController.php @@ -188,6 +188,12 @@ class WaterController extends DataController } } + function timemapAction() + { + $sql='select id,uuid,west,south,north,east,title,timebegin,timeend from metadata where source='0595169a-279e-4b95-819f-129d0ba4280d' and timebegin is not null'; + $this->view->rows=$this->db->fetchAll($sql); + } + function timelineAction() { $fn="watertime.xml"; diff --git a/application/default/views/scripts/water/index.phtml b/application/default/views/scripts/water/index.phtml index d0e71c81..68f611fb 100755 --- a/application/default/views/scripts/water/index.phtml +++ b/application/default/views/scripts/water/index.phtml @@ -20,6 +20,7 @@ $this->breadcrumb()->setSeparator(' > ');
  • +
  • diff --git a/application/default/views/scripts/water/timemap.phtml b/application/default/views/scripts/water/timemap.phtml index a7000e2e..b159f2a9 100644 --- a/application/default/views/scripts/water/timemap.phtml +++ b/application/default/views/scripts/water/timemap.phtml @@ -6,7 +6,8 @@ $this->headTitle()->setSeparator(' - '); $this->headLink()->appendStylesheet('/css/metadata.css'); $this->breadcrumb('首页'); $this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb('时空导航'); +$this->breadcrumb('黑河综合遥感联合试验'); +$this->breadcrumb('时空联合导航'); $this->breadcrumb()->setSeparator(' > '); $this->headScript()->appendFile('http://maps.google.com/maps?file=api&v=2&key=ABQIAAAACD-MqkkoOm60o_dvwdcKVhRBSKpgcP88GYi6r2Of16IkMX_4YhSBQsywCi4J2_fh4nBuWmK7gyRjLg'); $this->headScript()->appendFile('/js/timeline_var.js');