From: Andrew Garrett Date: Thu, 24 Apr 2008 11:53:05 +0000 (+0000) Subject: Fix loss of in moving buildForm to Xml.php, generalise it (this isn't just for globa... X-Git-Tag: 1.31.0-rc.0~48096 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=14b8af061d55223a16ca5acb3cfd0b63426215ff;p=lhc%2Fweb%2Fwiklou.git Fix loss of in moving buildForm to Xml.php, generalise it (this isn't just for global blocking anymore :-)) --- diff --git a/includes/Xml.php b/includes/Xml.php index 5b8d088ac0..6b87f5bdfb 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -533,8 +533,8 @@ class Xml { $form .= ""; foreach( $fields as $labelmsg => $input ) { - $id = "mw-gb-$labelmsg"; - $form .= Xml::openElement( 'tr' ); + $id = "mw-$labelmsg"; + $form .= Xml::openElement( 'tr', array( 'id' => $id ) ); $form .= Xml::element( 'td', array('valign' => 'top'), wfMsg( $labelmsg ) );