killing double quotes. width attribute is invalid for input element, using size inste...
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 22 Oct 2005 21:33:53 +0000 (21:33 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 22 Oct 2005 21:33:53 +0000 (21:33 +0000)
includes/SpecialSearch.php

index b1abb72..6ff335f 100644 (file)
@@ -395,8 +395,8 @@ class SpecialSearch {
                        : '';
                $redirect = "<input type='checkbox' value='1' name=\"redirs\"{$checked} />\n";
                
-               $searchField = "<input type='text' name=\"search\" value=\"" .
-                       htmlspecialchars( $term ) ."\" width=\"80\" />\n";
+               $searchField = '<input type="text" name="search" value="' .
+                       htmlspecialchars( $term ) ."\" size=\"16\" />\n";
                
                $searchButton = '<input type="submit" name="searchx" value="' .
                  htmlspecialchars( wfMsg('powersearch') ) . "\" />\n";