X-Git-Url: https://git.toastfreeware.priv.at/toast/cookiecaptcha.git/blobdiff_plain/d7ec2f907624dfd2e4655b544cf5746705332e32..8cc47db3ac4324de8d9a1baebbc5a36517ff5eff:/ConfirmEdit_body.php diff --git a/ConfirmEdit_body.php b/ConfirmEdit_body.php index 4ec7ff5..5bb6e7e 100644 --- a/ConfirmEdit_body.php +++ b/ConfirmEdit_body.php @@ -151,11 +151,12 @@ class SimpleCaptcha { wfDebug( "ConfirmEdit: user group allows skipping captcha on account creation\n" ); return true; } - $sp->mFormHeader .= + $sp->addFormHeader( "
" . $wgOut->parse( $this->getMessage( 'createaccount' ) ) . $this->getForm() . - "
\n"; + "\n" + ); } return true; } @@ -169,11 +170,12 @@ class SimpleCaptcha { function injectUserLogin( &$sp ) { if ( $this->isBadLoginTriggered() ) { global $wgOut; - $sp->mFormHeader .= + $sp->addFormHeader( "
" . $wgOut->parse( $this->getMessage( 'badlogin' ) ) . $this->getForm() . - "
\n"; + "\n" + ); } return true; }