| @@ 271-280 (lines=10) @@ | ||
| 268 | "</td> |
|
| 269 | </tr> |
|
| 270 | {$suppress}"; |
|
| 271 | if ( $wgUser->isLoggedIn() ) { |
|
| 272 | $form .= " |
|
| 273 | <tr> |
|
| 274 | <td></td> |
|
| 275 | <td class='mw-input'>" . |
|
| 276 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 277 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ) . |
|
| 278 | "</td> |
|
| 279 | </tr>"; |
|
| 280 | } |
|
| 281 | $form .= " |
|
| 282 | <tr> |
|
| 283 | <td></td> |
|
| @@ 1808-1812 (lines=5) @@ | ||
| 1805 | Html::closeElement( 'div' ); |
|
| 1806 | ||
| 1807 | # Disallow watching if user is not logged in |
|
| 1808 | if ( $user->isLoggedIn() ) { |
|
| 1809 | $form .= |
|
| 1810 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 1811 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ); |
|
| 1812 | } |
|
| 1813 | ||
| 1814 | $form .= |
|
| 1815 | Html::openElement( 'div' ) . |
|