Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -131,11 +131,12 @@ |
132 | 132 | |
133 | 133 | /** |
134 | 134 | * @todo handle missing log types |
135 | | - * @static |
| 135 | + * @param string $type logtype |
| 136 | + * @return string Headertext of this logtype |
136 | 137 | */ |
137 | 138 | static function logHeader( $type ) { |
138 | 139 | global $wgLogHeaders; |
139 | | - return wfMsgHtml( $wgLogHeaders[$type] ); |
| 140 | + return Xml::element( 'div', array( 'class' => 'mw-log-headertext' ), wfMsg( $wgLogHeaders[$type] ) ); |
140 | 141 | } |
141 | 142 | |
142 | 143 | /** |