Index: trunk/extensions/GlobalBlocking/SpecialGlobalBlock.php |
— | — | @@ -177,16 +177,7 @@ |
178 | 178 | $this->mAddress, |
179 | 179 | array('id' => 'mw-globalblock-address' ) |
180 | 180 | ); |
181 | | - |
182 | | - // Why to block them |
183 | | - $fields['globalblocking-block-reason'] = |
184 | | - Xml::input( |
185 | | - 'wpReason', |
186 | | - 45, |
187 | | - $this->mReason, |
188 | | - array( 'id' => 'mw-globalblock-reason' ) |
189 | | - ); |
190 | | - |
| 181 | + |
191 | 182 | // How long to block them for |
192 | 183 | if ( ( $dropdown = wfMsgNoTrans( 'globalblocking-expiry-options' ) ) != '-') { |
193 | 184 | # Drop-down list |
— | — | @@ -220,6 +211,15 @@ |
221 | 212 | array( 'id' => 'mw-globalblock-expiry-other' ) |
222 | 213 | ); |
223 | 214 | } |
| 215 | + |
| 216 | + // Why to block them |
| 217 | + $fields['globalblocking-block-reason'] = |
| 218 | + Xml::input( |
| 219 | + 'wpReason', |
| 220 | + 45, |
| 221 | + $this->mReason, |
| 222 | + array( 'id' => 'mw-globalblock-reason' ) |
| 223 | + ); |
224 | 224 | |
225 | 225 | // Block all users, or just anonymous ones |
226 | 226 | $fields['globalblocking-block-options'] = |