r76755 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76754‎ | r76755 | r76756 >
Date:01:38, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
form
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -151,16 +151,6 @@
152152 Xml::input( 'lname', '30', $this->form_data['lname'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-last' ).'\' )', 'maxlength' => '25', 'id' => 'lname' ) ) . '</td>';
153153 $form .= "</tr>";
154154
155 - // email
156 - $form .= '<tr>';
157 - $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['emailAdd'] . '</span></td>';
158 - $form .= '</tr>';
159 - $form .= '<tr>';
160 - $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-email-receipt' ), 'emailAdd' ) . '</td>';
161 - $form .= '<td>' . Xml::input( 'emailAdd', '30', $this->form_data['email'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-donor-email' ).'\' )', 'maxlength' => '64', 'id' => 'emailAdd', 'class' => 'fullwidth' ) ) .
162 - '</td>';
163 - $form .= '</tr>';
164 -
165155 // street
166156 $form .= $this->getStreetField();
167157
@@ -175,6 +165,16 @@
176166
177167 // country
178168 $form .= $this->getCountryField();
 169+
 170+ // email
 171+ $form .= '<tr>';
 172+ $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['emailAdd'] . '</span></td>';
 173+ $form .= '</tr>';
 174+ $form .= '<tr>';
 175+ $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-email-receipt' ), 'emailAdd' ) . '</td>';
 176+ $form .= '<td>' . Xml::input( 'emailAdd', '30', $this->form_data['email'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-donor-email' ).'\' )', 'maxlength' => '64', 'id' => 'emailAdd', 'class' => 'fullwidth' ) ) .
 177+ '</td>';
 178+ $form .= '</tr>';
179179
180180 return $form;
181181 }

Status & tagging log