From 6d887035dbce08f58ceb25844c76777416062085 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 25 Jun 2010 15:13:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=97=B6=E9=97=B4=E8=BD=B4?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../default/views/scripts/water/index.phtml | 17 ++++++++++++++--- .../default/views/scripts/water/search.phtml | 3 --- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/application/default/views/scripts/water/index.phtml b/application/default/views/scripts/water/index.phtml index 80b4ad61..a1a264bc 100755 --- a/application/default/views/scripts/water/index.phtml +++ b/application/default/views/scripts/water/index.phtml @@ -87,15 +87,26 @@ function show(s){ else showid.style.display="none"; } + function myfocus(element) { + if (element.value == element.defaultValue) { + element.value = ''; + } + } + function myblur(element) { + if (element.value == '') { + element.value = element.defaultValue; + } + } + + +
'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词'); diff --git a/application/default/views/scripts/water/search.phtml b/application/default/views/scripts/water/search.phtml index ca1e9266..a9e575fe 100755 --- a/application/default/views/scripts/water/search.phtml +++ b/application/default/views/scripts/water/search.phtml @@ -11,9 +11,6 @@ $this->breadcrumb(''.$this->config->title->data.''); $this->breadcrumb('快速搜索'); $this->breadcrumb()->setSeparator(' > '); ?> -
-partial('data/tools.phtml'); ?> -
form; ?> metadata)) : ?> page->getNavigation();