[git commit] repair ML search knob
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Dec 16 16:00:28 UTC 2011
commit: http://git.busybox.net/busybox-website/commit/?id=68e17f57884b3c85de2a604f7450d6b2e4d5c713
branch: http://git.busybox.net/busybox-website/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
lists.html | 25 +++++++++++++++----------
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>
More information about the busybox-cvs
mailing list