#220, 修改高级搜索指向xunsearch

This commit is contained in:
wlx 2013-06-08 17:51:38 +00:00
parent a32be26328
commit 49d77ec085
1 changed files with 9 additions and 9 deletions

View File

@ -36,11 +36,11 @@ foreach($this->metadata as $md) : ?>
<div class="row"> <div class="row">
<div class="span8" id="map_canvas" style="height:500px;"></div> <div class="span8" id="map_canvas" style="height:500px;"></div>
<div class="span4"> <div class="span4">
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/advancesearch" method="post"> <form id="search" enctype="application/x-www-form-urlencoded" action="/search" method="get">
<fieldset><legend>时间范围</legend> <fieldset><legend>时间范围</legend>
<label> <label>
开始时间 开始时间
<input name="start" type="text" id="start" /> <input name="begin" type="text" id="begin" />
</label> </label>
<label> <label>
结束时间 结束时间
@ -49,13 +49,13 @@ foreach($this->metadata as $md) : ?>
</fieldset> </fieldset>
<fieldset><legend>空间范围(按住shift键在地图上拉框)</legend> <fieldset><legend>空间范围(按住shift键在地图上拉框)</legend>
<label> <label>
<input name="e" id="e" type="text" /></label> <input name="east" id="east" type="text" /></label>
<label> <label>
<input name="s" id="s" type="text" /></label> <input name="south" id="south" type="text" /></label>
<label>西 <label>西
<input name="w" id="w" type="text" /></label> <input name="west" id="west" type="text" /></label>
<label> <label>
<input name="n" id="n" type="text" /></label> <input name="north" id="north" type="text" /></label>
</fieldset> </fieldset>
<label>关键词 <label>关键词
<input name="q" id="q" type="text" /></label> <input name="q" id="q" type="text" /></label>
@ -69,7 +69,7 @@ $(function() {
//Google map (不启用预先加载) //Google map (不启用预先加载)
google.maps.event.addDomListener(window, 'load', initialize); google.maps.event.addDomListener(window, 'load', initialize);
//jquery ui datepicker //jquery ui datepicker
$("#start").datepicker({dateFormat:"yy-mm-dd"}); $("#begin").datepicker({dateFormat:"yy-mm-dd"});
$("#end").datepicker({dateFormat:"yy-mm-dd"}); $("#end").datepicker({dateFormat:"yy-mm-dd"});
}); });
// Google Map Part // Google Map Part
@ -77,7 +77,7 @@ var map = null;
var mapElementID = "map_canvas"; var mapElementID = "map_canvas";
var bounds = null; var bounds = null;
var rectangle = null; var rectangle = null;
var input = {east:'#e',west:'#w',north:'#n',south:'#s'}; var input = {east:'#east',west:'#west',north:'#north',south:'#south'};
function initialize() { function initialize() {
//加载地图 //加载地图
@ -196,7 +196,7 @@ function Alert(content){
} }
function dosubmit() { function dosubmit() {
theForm.action="/data/advancesearch"; theForm.action="/search";
} }
</script> </script>
<div id="help"> <div id="help">