From: Bryan Tong Minh Date: Mon, 19 Oct 2009 19:55:54 +0000 (+0000) Subject: Parse the edittools message so that it actually works (follow up to r57868). X-Git-Tag: 1.31.0-rc.0~39224 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=01bf3fccd2f237017e9df35dc3e92fc062eb3900;p=lhc%2Fweb%2Fwiklou.git Parse the edittools message so that it actually works (follow up to r57868). Message is now also customizable. --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index aedd1b3251..dd22ea7a63 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -1396,7 +1396,9 @@ class HTMLEditTools extends HTMLFormField { public function getTableRow( $value ) { return "" . '
' - . wfMsgForContent( 'edittools' ) + . wfMsgExt( empty( $this->mParams['message'] ) + ? 'edittools' : $this->mParams['message'], + array( 'parse', 'content' ) ) . "
\n"; } } \ No newline at end of file