From: Platonides Date: Sun, 31 Oct 2010 18:17:56 +0000 (+0000) Subject: A couple of Xml::hidden calls left by r75723 X-Git-Tag: 1.31.0-rc.0~34185 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/?a=commitdiff_plain;h=b422cf8111c94e317572e3889bd8102dd7fa524b;p=lhc%2Fweb%2Fwiklou.git A couple of Xml::hidden calls left by r75723 --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 3272cfef13..2d95d80195 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -341,7 +341,7 @@ class ProtectionForm { $out .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mTitle->getLocalUrl( 'action=protect' ), 'id' => 'mw-Protect-Form', 'onsubmit' => 'ProtectionForm.enableUnchainedInputs(true)' ) ); - $out .= Xml::hidden( 'wpEditToken',$wgUser->editToken() ); + $out .= Html::hidden( 'wpEditToken',$wgUser->editToken() ); } $out .= Xml::openElement( 'fieldset' ) . diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 0a25f244bc..e573b87789 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -937,7 +937,7 @@ class SpecialSearch { // Adds hidden namespace fields if ( !$this->searchAdvanced ) { foreach( $this->namespaces as $ns ) { - $out .= Xml::hidden( "ns{$ns}", '1' ); + $out .= Html::hidden( "ns{$ns}", '1' ); } }