From: Raimond Spekking Date: Thu, 13 Mar 2008 23:20:29 +0000 (+0000) Subject: * Add a CSS id to the table X-Git-Tag: 1.31.0-rc.0~49125 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=960687a758430fd0be82bd1f30cf5255c8d9ce8e;p=lhc%2Fweb%2Fwiklou.git * Add a CSS id to the table * Use proper XML function --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index 13a6bc70a5..32bc430fc7 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -123,7 +123,7 @@ class IPBlockForm {
" . Xml::openElement( 'fieldset' ) . Xml::element( 'legend', null, wfMsg( 'blockip-legend' ) ) . - Xml::openElement( 'table', array ( 'border' => '0' ) ) . + Xml::openElement( 'table', array ( 'border' => '0', 'id' => 'mw-blockip-table' ) ) . " {$mIpaddress} " . @@ -399,7 +399,7 @@ class IPBlockForm { } function showLogFragment( $out, $title ) { - $out->addHtml( wfElement( 'h2', NULL, LogPage::logName( 'block' ) ) ); + $out->addHtml( Xml::element( 'h2', NULL, LogPage::logName( 'block' ) ) ); $request = new FauxRequest( array( 'page' => $title->getPrefixedText(), 'type' => 'block' ) ); $viewer = new LogViewer( new LogReader( $request ) ); $viewer->showList( $out );