git: d6babdba96 - main - Fix web pages searching function in search page
Li-Wen Hsu
lwhsu at FreeBSD.org
Sun Jan 10 11:54:09 UTC 2021
The branch main has been updated by lwhsu (ports, src committer):
URL: https://cgit.FreeBSD.org/doc/commit/?id=d6babdba96bc608766c02b859ae4385429f0f987
commit d6babdba96bc608766c02b859ae4385429f0f987
Author: Li-Wen Hsu <lwhsu at FreeBSD.org>
AuthorDate: 2021-01-10 11:52:43 +0000
Commit: Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-01-10 11:52:43 +0000
Fix web pages searching function in search page
Approved by: ygy
Differential Revision: https://reviews.freebsd.org/D28077
---
en_US.ISO8859-1/htdocs/search/search.xml | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/en_US.ISO8859-1/htdocs/search/search.xml b/en_US.ISO8859-1/htdocs/search/search.xml
index 77d93c3706..0ae2e840cf 100644
--- a/en_US.ISO8859-1/htdocs/search/search.xml
+++ b/en_US.ISO8859-1/htdocs/search/search.xml
@@ -39,19 +39,22 @@
<hr noshade="noshade"/>
<a name="web"></a><h2>Web pages (including <a
- href="&base;/doc/en_US.ISO8859-1/books/faq/index.html">FAQ</a> and <a
- href="&base;/doc/en_US.ISO8859-1/books/handbook/index.html">Handbook</a>)</h2>
+ href="&base;/doc/en_US.ISO8859-1/books/faq/index.html">FAQ</a>, <a
+ href="&base;/doc/en_US.ISO8859-1/books/handbook/index.html">Handbook</a>, <a
+ href="https://lists.freebsd.org">Mailing Lists</a>, <a
+ href="https://wiki.freebsd.org">Wiki</a> and <a
+ href="https://forums.freebsd.org">Forums</a>)</h2>
<h3>Search within sites:</h3>
- <form action="https://duckduckgo.com/" method="get">
- <h2 class="blockhide"><label for="words">Search</label></h2>
- <input type="hidden" name="sites" value="www.FreeBSD.org,docs.FreeBSD.org/doc,wiki.FreeBSD.org,forums.FreeBSD.org" />
+ <form action="https://duckduckgo.com/" method="get"
+ onsubmit="document.getElementById('words2').value+=' (site:www.FreeBSD.org OR site:docs.FreeBSD.org OR site:lists.FreeBSD.org OR site:wiki.FreeBSD.org OR site:forums.FreeBSD.org)'">
+ <h2 class="blockhide"><label for="words2">Search</label></h2>
<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="50" maxlength="255"/>
+ <input id="words2" name="q" type="text" size="50" maxlength="255"/>
<br />
<input id="submit" name="submit" type="submit" value="Submit Query" />
<input id="reset" type="reset" value="Reset" />
More information about the dev-commits-doc-all
mailing list