From: Raimond Spekking Date: Tue, 8 Apr 2008 19:34:43 +0000 (+0000) Subject: Add a CSS class to the headertext X-Git-Tag: 1.31.0-rc.0~48523 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=589fcd9fa24de074a2b40cd0d1f772c2af4668a6;p=lhc%2Fweb%2Fwiklou.git Add a CSS class to the headertext --- diff --git a/includes/LogPage.php b/includes/LogPage.php index 0a3537c4c2..a3c8b27e54 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -131,11 +131,12 @@ class LogPage { /** * @todo handle missing log types - * @static + * @param string $type logtype + * @return string Headertext of this logtype */ static function logHeader( $type ) { global $wgLogHeaders; - return wfMsgHtml( $wgLogHeaders[$type] ); + return Xml::element( 'div', array( 'class' => 'mw-log-headertext' ), wfMsg( $wgLogHeaders[$type] ) ); } /**