killing double quotes. width attribute is invalid for input element, using size instead (the value is the number of character)

This commit is contained in:
Antoine Musso 2005-10-22 21:33:53 +00:00
parent 7d23c85772
commit e4145dda57

View 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";