www.FreeBSD.org: fix search box
This is a quick fix (or workaround) for the search function of www.freebsd.org. It adds the correct duckduckgo "site:" parameters for the freebsd.org sites we want to search for the keyword. Reviewed by: bcr, allanjude Differential Revision: https://reviews.freebsd.org/D24590
This commit is contained in:
parent
70057e443b
commit
184d4418ab
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54076
1 changed files with 2 additions and 2 deletions
|
@ -64,9 +64,9 @@
|
||||||
|
|
||||||
<!ENTITY header2.searchbox '
|
<!ENTITY header2.searchbox '
|
||||||
<div id="search" xmlns="http://www.w3.org/1999/xhtml">
|
<div id="search" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<form method="get" id="search-form" action="https://duckduckgo.com/">
|
<form method="get" id="search-form" action="https://duckduckgo.com/"
|
||||||
|
onsubmit="document.getElementById('words').value+=' site: www.FreeBSD.org site: docs.FreeBSD.org site: lists.FreeBSD.org site: wiki.FreeBSD.org site: forums.FreeBSD.org'">
|
||||||
<h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
|
<h2 class="blockhide"><label for="words">&header2.word.search;</label></h2>
|
||||||
<input type="hidden" name="sites" value="www.FreeBSD.org,docs.FreeBSD.org,lists.FreeBSD.org,wiki.FreeBSD.org,forums.FreeBSD.org" />
|
|
||||||
<input type="hidden" name="ka" value="v" />
|
<input type="hidden" name="ka" value="v" />
|
||||||
<input type="hidden" name="kt" value="v" />
|
<input type="hidden" name="kt" value="v" />
|
||||||
<input type="hidden" name="kh" value="1" />
|
<input type="hidden" name="kh" value="1" />
|
||||||
|
|
Loading…
Reference in a new issue