r76762 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76761‎ | r76762 | r76763 >
Date:02:31, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
fix form
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -168,19 +168,52 @@
169169 $form .= "</tr>";
170170
171171 // street
172 - $form .= $this->getStreetField();
 172+ $form .= '<tr>';
 173+ $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['street'] . '</span></td>';
 174+ $form .= '</tr>';
 175+ $form .= '<tr>';
 176+ $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-billing-address' ), 'street' ) . '</td>';
 177+ $form .= '<td>' . Xml::input( 'street', '30', $this->form_data['street'], array( 'type' => 'text', 'maxlength' => '100', 'id' => 'street', 'class' => 'fullwidth' ) ) .
 178+ '</td>';
 179+ $form .= '</tr>';
173180
174181 // city
175 - $form .= $this->getCityField();
 182+ $form .= '<tr>';
 183+ $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['city'] . '</span></td>';
 184+ $form .= '</tr>';
 185+ $form .= '<tr>';
 186+ $form .= '<td class="label"> </td>';
 187+ $form .= '<td>' . Xml::input( 'city', '30', $this->form_data['city'], array( 'type' => 'text', 'maxlength' => '40', 'id' => 'city', 'class' => 'fullwidth' ) ) .
 188+ '</td>';
 189+ $form .= '</tr>';
176190
177191 // state
178 - $form .= $this->getStateField();
 192+ $form .= '<tr>';
 193+ $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['state'] . '</span></td>';
 194+ $form .= '</tr>';
 195+ $form .= '<tr>';
 196+ $form .= '<td class="label"> </td>';
 197+ $form .= '<td>' . $this->generateStateDropdown() . '</td>';
 198+ $form .= '</tr>';
179199
180200 // zip
181 - $form .= $this->getZipField();
 201+ $form .= '<tr>';
 202+ $form .= '<td colspan=2><span class="creditcard-error-msg"> </span></td>';
 203+ $form .= '</tr>';
 204+ $form .= '<tr>';
 205+ $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-donor-postal' ), 'zip' ) . '</td>';
 206+ $form .= '<td>' . Xml::input( 'zip', '30', $this->form_data['zip'], array( 'type' => 'text', 'maxlength' => '9', 'id' => 'zip', 'class' => 'fullwidth' ) ) .
 207+ '</td>';
 208+ $form .= '</tr>';
182209
183210 // country
184 - $form .= $this->getCountryField();
 211+ $form .= '<tr>';
 212+ $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['country'] . '</span></td>';
 213+ $form .= '</tr>';
 214+ $form .= '<tr>';
 215+ $form .= '<td class="label"> </td>';
 216+ $form .= '<td>' . $this->generateCountryDropdown() . '</td>';
 217+ $form .= '</tr>';
185218
186219 // email
187220 $form .= '<tr>';
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css
@@ -22,7 +22,7 @@
2323 }
2424 #payflow-table-donor td.label, #payflow-table-comment td.label, #payflow-table-cc td.label {
2525 padding-right:0;
26 - width: 100px;
 26+ width: 104px;
2727 }
2828
2929 .payflow-cc-form-section {

Status & tagging log