r44836 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44835‎ | r44836 | r44837 >
Date:08:59, 20 December 2008
Author:aaron
Status:ok
Tags:
Comment:
Use Xml functions
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)
  • /trunk/extensions/ConfirmAccount/RequestAccount_body.php (modified) (history)
  • /trunk/extensions/ConfirmAccount/UserCredentials_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/UserCredentials_body.php
@@ -123,7 +123,7 @@
124124 } else {
125125 $pg = '';
126126 }
127 - $form .= "<td>".wfCheckLabel( $set[0], $formName, $formName, in_array($formName,$areaSet), $att )." {$pg}</td>\n";
 127+ $form .= "<td>".Xml::checkLabel( $set[0], $formName, $formName, in_array($formName,$areaSet), $att )." {$pg}</td>\n";
128128 }
129129 }
130130 $form .= "</tr></table></div>";
Index: trunk/extensions/ConfirmAccount/RequestAccount_body.php
@@ -148,7 +148,7 @@
149149 $pg = '';
150150 }
151151
152 - $form .= "<td>".wfCheckLabel( $set[0], $formName, $formName, $this->mAreas[$formName] > 0 )." {$pg}</td>\n";
 152+ $form .= "<td>".Xml::checkLabel( $set[0], $formName, $formName, $this->mAreas[$formName] > 0 )." {$pg}</td>\n";
153153 }
154154 }
155155 $form .= "</tr></table></div>";
Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -263,7 +263,7 @@
264264 $pg = '';
265265 }
266266
267 - $form .= "<td>".wfCheckLabel( $set[0], $formName, $formName, $this->mAreas[$formName] > 0 )." {$pg}</td>\n";
 267+ $form .= "<td>".Xml::checkLabel( $set[0], $formName, $formName, $this->mAreas[$formName] > 0 )." {$pg}</td>\n";
268268 }
269269 }
270270 $form .= "</tr></table></div>";

Status & tagging log