[Mapbender-commits] r4045 - branches/mifan_dev/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 18 08:52:28 EDT 2009


Author: mifan
Date: 2009-06-18 08:52:28 -0400 (Thu, 18 Jun 2009)
New Revision: 4045

Modified:
   branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_form.php
Log:
more ui elements - handle advanced search

Modified: branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_form.php
===================================================================
--- branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_form.php	2009-06-18 12:51:40 UTC (rev 4044)
+++ branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_form.php	2009-06-18 12:52:28 UTC (rev 4045)
@@ -30,6 +30,14 @@
 	<meta http-equiv="expires" content="0" />
 	<?php printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=%s\" />",CHARSET);	?>
 	<title>Search CSW</title>
+	
+	<script type="javascript">
+	function mod_searchCSWSimple()
+	{
+		alert('Call');
+	}
+
+	</script>
 </head>
 <body>
 	<h1><?php echo _mb("Search CSW"); ?></h1>
@@ -45,5 +53,30 @@
 			<input type="button" id="basic_search_submit" name="addCapURL" value="<?php echo _mb("Search CSW"); ?>" onclick="mod_searchCSWSimple();" />
 		</p>
 		</fieldset>
+		<!-- Show via inner HTML -->
+		<fieldset id="container_advanced">
+		<legend>Advanced Search</legend>
+			<fieldset id="cont_adv_summary">
+				<label for="adv_title"><?php echo _mb("Title "); ?>:</label> 
+				<input type="text" id="adv_title" name="adv_title" />
+				<label for="adv_abstract"><?php echo _mb("Abstract"); ?>:</label> 
+				<input type="text" id="adv_abstract" name="adv_abstract" />
+				<label for="adv_keywords"><?php echo _mb("Keywords"); ?>:</label> 
+				<input type="text" id="adv_keywords" name="adv_keywords" />
+				<br /> 
+			</fieldset>
+			<fieldset id="cont_adv_bbox">
+				<label for="adv_title"><?php echo _mb("Lat-Min"); ?>:</label> 
+				<input type="text" id="adv_title" name="adv_title" />
+				<label for="adv_abstract"><?php echo _mb("Lat-Maz"); ?>:</label> 
+				<input type="text" id="adv_abstract" name="adv_abstract" />
+				<label for="adv_keywords"><?php echo _mb("Lon-Min"); ?>:</label> 
+				<input type="text" id="adv_keywords" name="adv_keywords" />
+				<label for="adv_keywords"><?php echo _mb("Lon-Max"); ?>:</label> 
+				<input type="text" id="adv_keywords" name="adv_keywords" />
+				<br /> 
+			</fieldset>
+			<input type="button" id="basic_search_submit" name="addCapURL" value="<?php echo _mb("Search CSW"); ?>" onclick="mod_searchCSWSimple();" />
+		</fieldset>
 	</form>
 </body>
\ No newline at end of file



More information about the Mapbender_commits mailing list