svn commit: r45921 - head/en_US.ISO8859-1/htdocs/cgi

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gavin
Date: Tue Nov  4 05:12:06 2014
New Revision: 45921
URL: https://svnweb.freebsd.org/changeset/doc/45921

Log:
  Switch search box at top of CGI pages over to DuckDuckGo, as per r45919.

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl

Modified: head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl	Tue Nov  4 04:51:16 2014	(r45920)
+++ head/en_US.ISO8859-1/htdocs/cgi/cgi-style.pl	Tue Nov  4 05:12:06 2014	(r45921)
@@ -75,21 +75,20 @@ $i_topbar = qq`
               </div>
 
               <div id="search">
-                <form
-                action="//www.FreeBSD.org/cgi/search.cgi"
-                method="get">
-                  <div>
-                    <h2 class="blockhide"><label
-                    for="words">Search</label></h2>
-                    <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='';"
-                     value="Search" />&nbsp;<input id="submit"
-                    name="submit" type="submit" value="Search" />
-                  </div>
-                </form>
+		<form method="get" id="search" action="https://duckduckgo.com/">
+		  <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="20"
+		    maxlength="255"
+		    onfocus="if( this.value==this.defaultValue ) this.value='';"
+		    value="Search" />
+		  <span>&nbsp;</span>
+		  <input id="submit" name="submit" type="submit" value="Search" />
+		</form>
               </div>
             </div>
           </div>
_______________________________________________
[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.