From 589fcd9fa24de074a2b40cd0d1f772c2af4668a6 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 8 Apr 2008 19:34:43 +0000 Subject: [PATCH] Add a CSS class to the headertext --- includes/LogPage.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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] ) ); } /** -- 2.20.1