Switch the default search engine on www.FreeBSD.org to use DuchDuckGo

rather than our own (poor) search.cgi.  Provide results from www, lists,
wiki and forums.FreeBSD.org.

Discussed with:	peter, gjb
Approved by:	doceng (gjb), core (emaste)
This commit is contained in:
Gavin Atkinson 2014-11-04 04:40:14 +00:00
parent 87c0b37442
commit 1e702b0c9e
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45919

View file

@ -64,21 +64,19 @@
<!ENTITY header2.searchbox '
<div id="search" xmlns="http://www.w3.org/1999/xhtml">
<form action="&cgibase;/search.cgi" method="get">
<div>
<h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
<div>
<input type="hidden" name="max" value="25" />
<input type="hidden" name="source" value="www" />
<input id="words" name="words" type="text" size="20"
maxlength="255"
onfocus="if( this.value==this.defaultValue ) this.value=&#39;&#39;;"
value="&header2.word.search;" /><![CDATA[ ]]>
<span>&nbsp;</span>
<input id="submit" name="submit" type="submit" value="&header2.word.search;" />
</div>
</div>
<form method="get" id="search" action="http://duckduckgo.com/">
<h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
<input type="hidden" name="sites" value="www.FreeBSD.org,lists.FreeBSD.org,wiki.FreeBSD.org,forums.FreeBSD.org" />
<input type="hidden" name="ka" value="v" />
<input type="hidden" name="kt" value="v" />
<input type="hidden" name="kh" value="1" />
<input type="hidden" name="kj" value="r2" />
<input id="words" name="q" type="text" size="20"
maxlength="255"
onfocus="if( this.value==this.defaultValue ) this.value=&#39;&#39;;"
value="&header2.word.search;" />
<span>&nbsp;</span>
<input id="submit" name="submit" type="submit" value="&header2.word.search;" />
</form>
</div> <!-- SEARCH -->
'>