svn commit: r45917 - head/share/xml

Gavin Atkinson gavin at FreeBSD.org
Tue Nov 4 02:53:10 UTC 2014


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 -->
 


More information about the svn-doc-head mailing list