diff options
Diffstat (limited to 'includes/Html.php')
-rw-r--r-- | includes/Html.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/Html.php b/includes/Html.php index af4b4bbf4d98..07bb42bcfde3 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -926,22 +926,22 @@ class Html { global $wgStylePath; if ( $useStylePath ) { - $icon = $wgStylePath.'/common/images/'.$icon; + $icon = $wgStylePath . '/common/images/' . $icon; } $s = Html::openElement( 'div', array( 'class' => "mw-infobox $class" ) ); - $s .= Html::openElement( 'div', array( 'class' => 'mw-infobox-left' ) ). + $s .= Html::openElement( 'div', array( 'class' => 'mw-infobox-left' ) ) . Html::element( 'img', array( 'src' => $icon, 'alt' => $alt, ) - ). + ) . Html::closeElement( 'div' ); - $s .= Html::openElement( 'div', array( 'class' => 'mw-infobox-right' ) ). - $text. + $s .= Html::openElement( 'div', array( 'class' => 'mw-infobox-right' ) ) . + $text . Html::closeElement( 'div' ); $s .= Html::element( 'div', array( 'style' => 'clear: left;' ), ' ' ); |