From 960687a758430fd0be82bd1f30cf5255c8d9ce8e Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 13 Mar 2008 23:20:29 +0000 Subject: [PATCH] * Add a CSS id to the table * Use proper XML function --- includes/SpecialBlockip.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.20.1