summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-12-16 16:00:28 (GMT)
committer Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-12-16 16:00:28 (GMT)
commit68e17f57884b3c85de2a604f7450d6b2e4d5c713 (patch)
tree03379078dd0fd86b383556b78162c84a3cdda6ee
parentd0ddc0af457ed7e06cdfb447d6dbdc7e6ed76163 (diff)
downloadbusybox-website-68e17f57884b3c85de2a604f7450d6b2e4d5c713.tar.gz
busybox-website-68e17f57884b3c85de2a604f7450d6b2e4d5c713.tar.bz2
repair ML search knob
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--lists.html25
1 files changed, 15 insertions, 10 deletions
diff --git a/lists.html b/lists.html
index 6507b78..cd56322 100644
--- a/lists.html
+++ b/lists.html
@@ -29,16 +29,21 @@ list with frequently asked questions...
<p>
<center>
-<form method="GET" action="http://www.google.com/custom">
-<input type="hidden" name="domains" value="busybox.net">
-<input type="hidden" name="sitesearch" value="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:avgviy5fm6c');
+
+ customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
+ var customSearchOptions = new google.search.DrawOptions();
+ customSearchOptions.enableSearchBoxOnly("http://google.com/cse?cx=009810735161915413714:avgviy5fm6c");
+ customSearchControl.draw('cse', customSearchOptions);
+ }, true);
+</script>
+<link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
</center>