Date: Tue, 4 Nov 2014 02:53:10 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r45917 - head/share/xml Message-ID: <201411040253.sA42rA9m088803@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gavin Date: Tue Nov 4 02:53:09 2014 New Revision: 45917 URL: https://svnweb.freebsd.org/changeset/doc/45917 Log: Move the <form> surrounding the website searchbox to the same entity as the <input> fields. Modified: head/share/xml/header.ent Modified: head/share/xml/header.ent ============================================================================== --- head/share/xml/header.ent Mon Nov 3 13:52:10 2014 (r45916) +++ head/share/xml/header.ent Tue Nov 4 02:53:09 2014 (r45917) @@ -48,8 +48,13 @@ </div> '> -<!ENTITY header2.searchinputs ' - <div xmlns="http://www.w3.org/1999/xhtml"> +<!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" @@ -59,6 +64,9 @@ <span> </span> <input id="submit" name="submit" type="submit" value="&header2.word.search;" /> </div> + </div> + </form> + </div> <!-- SEARCH --> '> <!ENTITY header2.topnav.label '<h2 xmlns="http://www.w3.org/1999/xhtml" class="blockhide">Site Navigation</h2>'> @@ -173,18 +181,8 @@ <div id="headerlogoright"> &header2.donatebutton; &header2.searchnav.label; - &header2.searchnav; - - <div id="search"> - <form action="&cgibase;/search.cgi" method="get"> - <div> - <h2 class="blockhide"><label for="words">&header2.word.search;</label></h2> - - &header2.searchinputs; - </div> - </form> - </div> <!-- SEARCH --> + &header2.searchbox; </div> <!-- HEADERLOGORIGHT --> </div> <!-- HEADER -->
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411040253.sA42rA9m088803>