From: Jure Kajzer Date: Wed, 1 Jun 2011 14:18:12 +0000 (+0000) Subject: * used Html static functions instead og Xml. (r89260#c17418) X-Git-Tag: 1.31.0-rc.0~29804 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=ca33b4903d88f0599e25077a4371ec8ee63ee3ee;p=lhc%2Fweb%2Fwiklou.git * used Html static functions instead og Xml. (r89260#c17418) --- diff --git a/includes/Html.php b/includes/Html.php index 340ce056e5..bf72dffae0 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -693,25 +693,25 @@ class Html { $icon = $wgStylePath.'/common/images/'.$icon; } - $s = Xml::openElement( 'div', array( 'class' => "mw-infobox $class") ); + $s = Html::openElement( 'div', array( 'class' => "mw-infobox $class") ); - $s .= Xml::openElement( 'div', array( 'class' => 'mw-infobox-left' ) ). + $s .= Html::openElement( 'div', array( 'class' => 'mw-infobox-left' ) ). Html::element( 'img', array( 'src' => $icon, 'alt' => $alt, ) ). - Xml::closeElement( 'div' ); + Html::closeElement( 'div' ); - $s .= Xml::openElement( 'div', array( 'class' => 'mw-infobox-right' ) ). + $s .= Html::openElement( 'div', array( 'class' => 'mw-infobox-right' ) ). $text. - Xml::closeElement( 'div' ); - $s .= Xml::element( 'div', array( 'style' => 'clear: left;' ), ' ' ); + Html::closeElement( 'div' ); + $s .= Html::element( 'div', array( 'style' => 'clear: left;' ), ' ' ); - $s .= Xml::closeElement( 'div' ); + $s .= Html::closeElement( 'div' ); - $s .= Xml::element( 'div', array( 'style' => 'clear: left;' ), ' ' ); + $s .= Html::element( 'div', array( 'style' => 'clear: left;' ), ' ' ); return $s; }