| @@ 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> |
|
| @@ 1806-1810 (lines=5) @@ | ||
| 1803 | Html::closeElement( 'div' ); |
|
| 1804 | ||
| 1805 | # Disallow watching if user is not logged in |
|
| 1806 | if ( $user->isLoggedIn() ) { |
|
| 1807 | $form .= |
|
| 1808 | Xml::checkLabel( wfMessage( 'watchthis' )->text(), |
|
| 1809 | 'wpWatch', 'wpWatch', $checkWatch, [ 'tabindex' => '3' ] ); |
|
| 1810 | } |
|
| 1811 | ||
| 1812 | $form .= |
|
| 1813 | Html::openElement( 'div' ) . |
|