From e2f7c3c1d520c18943c7e529a8c97aceeea5ccbe Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 26 Oct 2011 09:34:33 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BC=A9=E7=95=A5=E5=9B=BE=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/data/advancesearch.phtml | 2 +- application/default/views/scripts/data/browse.phtml | 2 +- application/default/views/scripts/data/download.phtml | 2 +- application/default/views/scripts/data/map.phtml | 2 +- application/default/views/scripts/data/offlinelist.phtml | 5 +++-- application/default/views/scripts/data/onlinelist.phtml | 5 +++-- application/default/views/scripts/data/search.phtml | 2 +- application/default/views/scripts/data/series.phtml | 2 +- application/default/views/scripts/data/tag.phtml | 4 ++-- application/default/views/scripts/data/timemap.phtml | 2 +- application/default/views/scripts/data/view.phtml | 2 +- 11 files changed, 16 insertions(+), 14 deletions(-) diff --git a/application/default/views/scripts/data/advancesearch.phtml b/application/default/views/scripts/data/advancesearch.phtml index 02922506..9107662b 100644 --- a/application/default/views/scripts/data/advancesearch.phtml +++ b/application/default/views/scripts/data/advancesearch.phtml @@ -23,7 +23,7 @@ $this->headScript()->appendFile('http://maps.google.cn/maps?file=api&v=2&key='.$ metadata as $md) : ?>
-
+

escape($md['title']);?>

400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?> diff --git a/application/default/views/scripts/data/browse.phtml b/application/default/views/scripts/data/browse.phtml index 117f9915..7892ffdf 100755 --- a/application/default/views/scripts/data/browse.phtml +++ b/application/default/views/scripts/data/browse.phtml @@ -16,7 +16,7 @@ $this->breadcrumb()->setSeparator(' > ');
metadata as $md) : ?>
-
+

escape($md['title']);?>

',mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']));?>
diff --git a/application/default/views/scripts/data/download.phtml b/application/default/views/scripts/data/download.phtml index d392a707..9cc18f21 100644 --- a/application/default/views/scripts/data/download.phtml +++ b/application/default/views/scripts/data/download.phtml @@ -11,7 +11,7 @@ ?>

md['title']; ?>(md['filesize']; ?>MB)

-
+
FTP下载地址
    diff --git a/application/default/views/scripts/data/map.phtml b/application/default/views/scripts/data/map.phtml index f875d5d3..aac5e400 100755 --- a/application/default/views/scripts/data/map.phtml +++ b/application/default/views/scripts/data/map.phtml @@ -56,7 +56,7 @@ popup = new OpenLayers.Popup.FramedCloud("chicken", feature.geometry.getBounds().getCenterLonLat(), null, - "", + "", null, false, onPopupClose); feature.popup = popup; map.addPopup(popup); diff --git a/application/default/views/scripts/data/offlinelist.phtml b/application/default/views/scripts/data/offlinelist.phtml index aeb2dafe..e6ec305a 100755 --- a/application/default/views/scripts/data/offlinelist.phtml +++ b/application/default/views/scripts/data/offlinelist.phtml @@ -14,11 +14,12 @@ $this->breadcrumb()->setSeparator(' > '); partial('data/tools.phtml'); ?>
page->getNavigation(); ?> -metadata as $md) : ?>
+metadata as $md) : ?>
diff --git a/application/default/views/scripts/data/onlinelist.phtml b/application/default/views/scripts/data/onlinelist.phtml index 129305fc..f798990b 100755 --- a/application/default/views/scripts/data/onlinelist.phtml +++ b/application/default/views/scripts/data/onlinelist.phtml @@ -14,11 +14,12 @@ $this->breadcrumb()->setSeparator(' > '); partial('data/tools.phtml'); ?>
page->getNavigation(); ?> -metadata as $md) : ?>
+metadata as $md) : ?>
diff --git a/application/default/views/scripts/data/search.phtml b/application/default/views/scripts/data/search.phtml index 73194893..280e8779 100755 --- a/application/default/views/scripts/data/search.phtml +++ b/application/default/views/scripts/data/search.phtml @@ -20,7 +20,7 @@ $this->breadcrumb()->setSeparator(' > '); foreach($this->metadata as $md) : ?>
-
+

escape($md['title']);?>

400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?> diff --git a/application/default/views/scripts/data/series.phtml b/application/default/views/scripts/data/series.phtml index e62a1e7d..15406fa5 100755 --- a/application/default/views/scripts/data/series.phtml +++ b/application/default/views/scripts/data/series.phtml @@ -38,7 +38,7 @@ $this->breadcrumb()->setSeparator(' > ');
metadata as $md) : ?>
-
+

escape($md['title']);?>

400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?> diff --git a/application/default/views/scripts/data/tag.phtml b/application/default/views/scripts/data/tag.phtml index 93016b61..dfd42c86 100755 --- a/application/default/views/scripts/data/tag.phtml +++ b/application/default/views/scripts/data/tag.phtml @@ -20,14 +20,14 @@ $this->breadcrumb()->setSeparator(' > ');
metadata as $md) : ?>
-
+

escape($md['title']);?>

400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>
-page->getNavigation(); ?> +page->getNavigation(); ?>
diff --git a/application/default/views/scripts/data/timemap.phtml b/application/default/views/scripts/data/timemap.phtml index d1f6e683..c55291a7 100644 --- a/application/default/views/scripts/data/timemap.phtml +++ b/application/default/views/scripts/data/timemap.phtml @@ -59,7 +59,7 @@ window.onload=function() { "title" : "", "options" : { // set the full HTML for the info window - "infoHtml": ">
/>" + "infoHtml": ">
/>" } }, diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index 1e473410..09652769 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -148,7 +148,7 @@ endforeach;
-
+

',$md->description);?>