repair ML search knob
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 16 Dec 2011 16:22:59 +0000 (17:22 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 16 Dec 2011 16:22:59 +0000 (17:22 +0100)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
docs/lists.html

index 31d47d4d0143b8c7318aa77c461f27c9c8d076c1..b806d77db787b2dd896dea70c04725f8c050e850 100644 (file)
@@ -21,16 +21,20 @@ list with frequently asked questions...
 <p>
 
 <center>
-<form method="GET" action="http://www.google.com/custom">
-<input type="hidden" name="domains" value="lists.busybox.net">
-<input type="hidden" name="sitesearch" value="lists.busybox.net">
-<input type="text" name="q" size="31" maxlength="255" value="">
-<br>
-<input type="submit" name="sa" value="search the mailing list archives">
-<br>
-<a href="http://www.google.com/"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" height="32" width="75" align="middle"></a>
-<br>
-</form>
+<div id="cse" style="width: 100%;">Loading</div>
+<script src="http://www.google.com/jsapi" type="text/javascript"></script>
+<script type="text/javascript">
+       google.load('search', '1', {language : 'en'});
+       google.setOnLoadCallback(function() {
+               var customSearchControl = new google.search.CustomSearchControl(
+                                             '009810735161915413714:3rfmqierl8s');
+               customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
+               var customSearchOptions = new google.search.DrawOptions();
+               customSearchOptions.enableSearchboxOnly("http://google.com/cse?cx=009810735161915413714:3rfmqierl8s");
+               customSearchControl.draw('cse', customSearchOptions);
+       }, true);
+</script>
+<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
 </center>
 
 <!--#include file="footer.html" -->