X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLEditTools.php;h=4f1b5302243ae4e0f1b1fb8f9b3a983a8b713783;hb=8846d9ff811bc3b988bec8ab4725f051030d5a35;hp=1bb350b973022a16beb0c31676726618943964f8;hpb=976276338a545f69be70810da0dcc4c894d801af;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLEditTools.php b/includes/htmlform/HTMLEditTools.php index 1bb350b973..4f1b530224 100644 --- a/includes/htmlform/HTMLEditTools.php +++ b/includes/htmlform/HTMLEditTools.php @@ -1,4 +1,5 @@ formatMsg(); - return '' . '
' . $msg->parseAsBlock() . "
\n"; + return + '' . + '
' . + $msg->parseAsBlock() . + "
\n"; } /** @@ -15,6 +20,7 @@ class HTMLEditTools extends HTMLFormField { */ public function getDiv( $value ) { $msg = $this->formatMsg(); + return '
' . $msg->parseAsBlock() . '
'; } @@ -26,15 +32,16 @@ class HTMLEditTools extends HTMLFormField { } protected function formatMsg() { - if ( empty( $this->mParams[ 'message' ] ) ) { + if ( empty( $this->mParams['message'] ) ) { $msg = $this->msg( 'edittools' ); } else { - $msg = $this->msg( $this->mParams[ 'message' ] ); + $msg = $this->msg( $this->mParams['message'] ); if ( $msg->isDisabled() ) { $msg = $this->msg( 'edittools' ); } } $msg->inContentLanguage(); + return $msg; } -} \ No newline at end of file +}