svn commit: r45927 - head/en_US.ISO8859-1/htdocs/search

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gavin
Date: Wed Nov  5 00:13:52 2014
New Revision: 45927
URL: https://svnweb.freebsd.org/changeset/doc/45927

Log:
  Switch website search on the search page to use DuckDuckGo.

Modified:
  head/en_US.ISO8859-1/htdocs/search/search.xml

Modified: head/en_US.ISO8859-1/htdocs/search/search.xml
==============================================================================
--- head/en_US.ISO8859-1/htdocs/search/search.xml	Tue Nov  4 23:10:30 2014	(r45926)
+++ head/en_US.ISO8859-1/htdocs/search/search.xml	Wed Nov  5 00:13:52 2014	(r45927)
@@ -43,46 +43,19 @@
 	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>
 
-    <form action="&cgibase;/search.cgi" method="get">
-
-      <h3>Search for:</h3>
-
-      <p><em>Note: Use the operators AND or NOT to limit your search.  <a
-	  href="searchhints.html">Look here for more hints</a>.</em></p>
-
-      <p><input type="text" name="words" size="50"/><br/>
-	Limit the number of results to</p>
-
-      <select name="max">
-	<option value="5">5</option>
-	<option value="10">10</option>
-	<option value="25" selected="selected">25</option>
-	<option value="50">50</option>
-	<option value="100">100</option>
-	<option value="250">250</option>
-      </select>
-
-      <input type="submit" value="Submit Query"/>
-      <input type="reset" value="Reset"/>
+    <h3>Search within sites:</h3>
 
-      <table>
-	<tr>
-	  <td><input type="checkbox" name="source" value="www" checked="checked"/>English Web Pages</td>
-	  <td><input type="checkbox" name="source" value="www-de"/>German Web Pages</td>
-	  <td><input type="checkbox" name="source" value="www-es"/>Spanish Web Pages</td>
-	  <td><input type="checkbox" name="source" value="www-hu"/>Hungarian Web Pages</td>
-	</tr>
-	<tr>
-	  <td><input type="checkbox" name="source" value="www-fr"/>French Web Pages</td>
-	  <td><input type="checkbox" name="source" value="www-it"/>Italian Web Pages</td>
-	  <td><input type="checkbox" name="source" value="www-zh"/>Chinese Web Pages</td>
-	</tr>
-	<tr>
-	  <td><input type="checkbox" name="source" value="www-ja"/>Japanese Web Pages</td>
-	  <td><input type="checkbox" name="source" value="www-ru"/>Russian Web Pages</td>
-	  <td></td>
-	</tr>
-      </table>
+    <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,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="50" maxlength="255" />
+      <br />
+      <input id="submit" name="submit" type="submit" value="Submit Query" />
+      <input id="reset" type="reset" value="Reset" />
     </form>
 
     <hr noshade="noshade"/>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.