Index: trunk/phase3/includes/specials/SpecialUserrights.php |
— | — | @@ -374,14 +374,13 @@ |
375 | 375 | function switchForm() { |
376 | 376 | global $wgOut, $wgScript; |
377 | 377 | $wgOut->addHTML( |
378 | | - Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'name' => 'uluser', 'id' => 'mw-userrights-form1' ) ) . |
| 378 | + Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'name' => 'uluser', 'id' => 'mw-userrights-form1' ) ) . |
379 | 379 | Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . |
380 | | - Xml::openElement( 'fieldset' ) . |
381 | | - Xml::element( 'legend', array(), wfMsg( 'userrights-lookup-user' ) ) . |
382 | | - Xml::inputLabel( wfMsg( 'userrights-user-editname' ), 'user', 'username', 30, $this->mTarget ) . ' ' . |
| 380 | + Xml::fieldset( wfMsg( 'userrights-lookup-user' ) ) . |
| 381 | + Xml::inputLabel( wfMsg( 'userrights-user-editname' ), 'user', 'username', 30, str_replace( '_', ' ', $this->mTarget ) ) . ' ' . |
383 | 382 | Xml::submitButton( wfMsg( 'editusergroup' ) ) . |
384 | | - Xml::closeElement( 'fieldset' ) . |
385 | | - Xml::closeElement( 'form' ) . "\n" |
| 383 | + Html::closeElement( 'fieldset' ) . |
| 384 | + Html::closeElement( 'form' ) . "\n" |
386 | 385 | ); |
387 | 386 | } |
388 | 387 | |