*/
function label( $msg, $forId, $contents ) {
if ( strval( $msg ) == '' ) {
- $labelText = ' ';
+ $labelText = ' ';
} else {
$labelText = wfMsgHtml( $msg );
}
$s .=
'<li>' .
Xml::radio( $params['controlName'], $value, $checked, $itemAttribs ) .
- ' ' .
+ ' ' .
Xml::tags( 'label', array( 'for' => $id ), $this->parse(
wfMsgNoTrans( $params['itemLabelPrefix'] . strtolower( $value ) )
) ) .
return
'<p>'.
Xml::element( 'img', array( 'src' => $this->getVar( 'wgRightsIcon' ) ) ) .
- ' ' .
+ '  ' .
htmlspecialchars( $this->getVar( 'wgRightsText' ) ) .
"</p>\n" .
"<p style=\"text-align: center\">" .
}
private static function replaceLeadingSpaces( $matches ) {
- return "\n" . str_repeat( ' ', strlen( $matches[0] ) );
+ return "\n" . str_repeat( ' ', strlen( $matches[0] ) );
}
}