http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89262
Revision: 89262
Author: freakolowsky
Date: 2011-06-01 14:18:12 +0000 (Wed, 01 Jun 2011)
Log Message:
-----------
* used Html static functions instead og Xml. (r89260#c17418)
Modified Paths:
--------------
trunk/phase3/includes/Html.php
Modified: trunk/phase3/includes/Html.php
===================================================================
--- trunk/phase3/includes/Html.php 2011-06-01 14:12:53 UTC (rev 89261)
+++ trunk/phase3/includes/Html.php 2011-06-01 14:18:12 UTC (rev 89262)
@@ -693,25 +693,25 @@
$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;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs