r25183 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25182‎ | r25183 | r25184 >
Date:06:24, 27 August 2007
Author:aaron
Status:old
Tags:
Comment:
*XHTML validity fell off somewhere, fixing.
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -69,7 +69,7 @@
7070 $action = $wgTitle->escapeLocalUrl( 'action=submit' );
7171 $form = "<form name='accountrequest' action='$action' method='post'><fieldset>";
7272 $form .= '<legend>' . wfMsgHtml('requestacount-legend1') . '</legend>';
73 - $form .= "<p>".wfMsgExt( 'requestacount-acc-text', array('parse') )."</p>\n";
 73+ $form .= wfMsgExt( 'requestacount-acc-text', array('parse') )."\n";
7474 $form .= '<table cellpadding=\'4\'>';
7575 if( $wgUseRealNamesOnly ) {
7676 $form .= "<tr><td>".wfMsgHtml('username')."</td>";
@@ -84,11 +84,11 @@
8585
8686 $form .= '<fieldset>';
8787 $form .= '<legend>' . wfMsgHtml('requestacount-legend2') . '</legend>';
88 - $form .= "<p>".wfMsgExt( 'requestaccount-bio-text', array('parse') )."</p>\n";
 88+ $form .= wfMsgExt( 'requestaccount-bio-text', array('parse') )."\n";
8989 $form .= '<table cellpadding=\'4\'>';
9090 $form .= "<tr><td>".Xml::label( wfMsgHtml('requestaccount-real'), 'wpRealName' )."</td>";
9191 $form .= "<td>".Xml::input( 'wpRealName', 35, $this->mRealName, array('id' => 'wpRealName') )."</td></tr>\n";
92 - $form .= '</table cellpadding=\'4\'>';
 92+ $form .= '</table>';
9393 $form .= "<p>".wfMsgHtml('requestaccount-bio')."</p>";
9494 $form .= "<p><textarea tabindex='1' name='wpBio' id='wpBio' rows='10' cols='80' style='width:100%'>" .
9595 $this->mBio .
@@ -97,7 +97,7 @@
9898
9999 $form .= '<fieldset>';
100100 $form .= '<legend>' . wfMsgHtml('requestacount-legend3') . '</legend>';
101 - $form .= "<p>".wfMsgExt( 'requestacount-ext-text', array('parse') )."</p>\n";
 101+ $form .= wfMsgExt( 'requestacount-ext-text', array('parse') )."\n";
102102
103103 $form .= "<p>".wfMsgHtml('requestaccount-notes')."</p>\n";
104104 $form .= "<p><textarea tabindex='1' name='wpNotes' id='wpNotes' rows='3' cols='80' style='width:100%'>" .
@@ -128,7 +128,7 @@
129129 array('parseinline') ), 'wpToS', 'wpToS', $this->mToS )."</p>\n";
130130 $form .= Xml::hidden( 'title', $wgTitle->getPrefixedText() )."\n";
131131 $form .= Xml::hidden( 'wpEditToken', $wgUser->editToken() )."\n";
132 - $form .= "<p>".Xml::submitButton( wfMsgHtml( 'requestacount-submit') ) . "</p></fieldset>";
 132+ $form .= "<p>".Xml::submitButton( wfMsgHtml( 'requestacount-submit') ) . "</p>";
133133 $form .= '</form>';
134134
135135 $wgOut->addHTML( $form );

Status & tagging log