From: Sam Reed Date: Thu, 25 Aug 2011 08:28:07 +0000 (+0000) Subject: Fix calls to undefined Xml::hidden X-Git-Tag: 1.31.0-rc.0~28077 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=c5c99c4d715a9d54fb75c1f6952e9c18653eb144;p=lhc%2Fweb%2Fwiklou.git Fix calls to undefined Xml::hidden r95396 --- diff --git a/includes/specials/SpecialGlobalFileUsage.php b/includes/specials/SpecialGlobalFileUsage.php index f4cf075f8e..3464db85b2 100644 --- a/includes/specials/SpecialGlobalFileUsage.php +++ b/includes/specials/SpecialGlobalFileUsage.php @@ -43,9 +43,9 @@ class SpecialGlobalFileUsage extends SpecialPage { /* Build form */ $html = Xml::openElement( 'form', array( 'action' => $wgScript ) ) . "\n"; // Name of SpecialPage - $html .= Xml::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n"; + $html .= Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n"; // Limit - $html .= Xml::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); + $html .= Html::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); // Input box with target prefilled if available $formContent = "\t" . Xml::input( 'target', 40, is_null( $this->target ) ? '' : $this->target->getText() ) diff --git a/includes/specials/SpecialGlobalTemplateUsage.php b/includes/specials/SpecialGlobalTemplateUsage.php index 3e8e8eda4c..a48f9e0bef 100644 --- a/includes/specials/SpecialGlobalTemplateUsage.php +++ b/includes/specials/SpecialGlobalTemplateUsage.php @@ -46,9 +46,9 @@ class SpecialGlobalTemplateUsage extends SpecialPage { /* Build form */ $html = Xml::openElement( 'form', array( 'action' => $wgScript ) ) . "\n"; // Name of SpecialPage - $html .= Xml::hidden( 'title', $this->getTitle( )->getPrefixedText( ) ) . "\n"; + $html .= Html::hidden( 'title', $this->getTitle( )->getPrefixedText( ) ) . "\n"; // Limit - $html .= Xml::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); + $html .= Html::hidden( 'limit', $wgRequest->getInt( 'limit', 50 ) ); // Input box with target prefilled if available $formContent = "\t" . Xml::input( 'target', 40, is_null( $this->target ) ? '' : $this->target->getPrefixedText( ) ) @@ -92,7 +92,6 @@ class SpecialGlobalTemplateUsage extends SpecialPage { return; } - $offset = $query->getOffsetString( ); $navbar = $this->getNavBar( $query ); $targetName = $this->target->getPrefixedText( );