From: Chad Horohoe Date: Tue, 5 Nov 2013 23:34:07 +0000 (-0800) Subject: Remove stupid one-cell table X-Git-Tag: 1.31.0-rc.0~18235^2 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=fa0f56f9ddaa059cdbdbd02afec219ac73d162e5;p=lhc%2Fweb%2Fwiklou.git Remove stupid one-cell table Change-Id: Ia24c68378385adfd2a5c0bf7b9646bb1edc3d7e4 --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index d5a6b2961f..8c8de8e7dd 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -318,13 +318,12 @@ class SpecialSearch extends SpecialPage { ) ); $out->addHtml( - Xml::openElement( 'table', array( 'id' => 'mw-search-top-table', 'cellpadding' => 0, 'cellspacing' => 0 ) ) . - Xml::openElement( 'tr' ) . - Xml::openElement( 'td' ) . "\n" . + # This is an awful awful ID name. It's not a table, but we + # named it poorly from when this was a table so now we're + # stuck with it + Xml::openElement( 'div', array( 'id' => 'mw-search-top-table' ) ) . $this->shortDialog( $term ) . - Xml::closeElement( 'td' ) . - Xml::closeElement( 'tr' ) . - Xml::closeElement( 'table' ) + Xml::closeElement( 'div' ) ); // Sometimes the search engine knows there are too many hits