Index: trunk/phase3/includes/specials/SpecialResetpass.php |
— | — | @@ -84,7 +84,7 @@ |
85 | 85 | if ( !$wgUser->isLoggedIn() ) { |
86 | 86 | $rememberMe = '<tr>' . |
87 | 87 | '<td></td>' . |
88 | | - '<td>' . |
| 88 | + '<td class="mw-input">' . |
89 | 89 | Xml::checkLabel( wfMsg( 'remembermypassword' ), |
90 | 90 | 'wpRemember', 'wpRemember', |
91 | 91 | $wgRequest->getCheck( 'wpRemember' ) ) . |
— | — | @@ -97,8 +97,7 @@ |
98 | 98 | $submitMsg = 'resetpass-submit-loggedin'; |
99 | 99 | } |
100 | 100 | $wgOut->addHTML( |
101 | | - Xml::openElement( 'fieldset' ) . |
102 | | - Xml::element( 'legend', null, wfMsg( 'resetpass_header' ) ) . |
| 101 | + Xml::fieldset( wfMsg( 'resetpass_header' ) ) . |
103 | 102 | Xml::openElement( 'form', |
104 | 103 | array( |
105 | 104 | 'method' => 'post', |
— | — | @@ -108,21 +107,21 @@ |
109 | 108 | Xml::hidden( 'wpName', $this->mUserName ) . |
110 | 109 | Xml::hidden( 'returnto', $wgRequest->getVal( 'returnto' ) ) . |
111 | 110 | wfMsgExt( 'resetpass_text', array( 'parse' ) ) . |
112 | | - '<table>' . |
| 111 | + Xml::openElement( 'table', array( 'id' => 'mw-resetpass-table' ) ) . |
113 | 112 | $this->pretty( array( |
114 | 113 | array( 'wpName', 'username', 'text', $this->mUserName ), |
115 | 114 | array( 'wpPassword', $oldpassMsg, 'password', $this->mOldpass ), |
116 | 115 | array( 'wpNewPassword', 'newpassword', 'password', '' ), |
117 | | - array( 'wpRetype', 'yourpasswordagain', 'password', '' ), |
| 116 | + array( 'wpRetype', 'retypenew', 'password', '' ), |
118 | 117 | ) ) . |
119 | 118 | $rememberMe . |
120 | 119 | '<tr>' . |
121 | 120 | '<td></td>' . |
122 | | - '<td>' . |
| 121 | + '<td class="mw-input">' . |
123 | 122 | Xml::submitButton( wfMsg( $submitMsg ) ) . |
124 | 123 | '</td>' . |
125 | 124 | '</tr>' . |
126 | | - '</table>' . |
| 125 | + Xml::closeElement( 'table' ) . |
127 | 126 | Xml::closeElement( 'form' ) . |
128 | 127 | Xml::closeElement( 'fieldset' ) |
129 | 128 | ); |