Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -168,19 +168,52 @@ |
169 | 169 | $form .= "</tr>"; |
170 | 170 | |
171 | 171 | // 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>'; |
173 | 180 | |
174 | 181 | // 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>'; |
176 | 190 | |
177 | 191 | // 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>'; |
179 | 199 | |
180 | 200 | // 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>'; |
182 | 209 | |
183 | 210 | // 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>'; |
185 | 218 | |
186 | 219 | // email |
187 | 220 | $form .= '<tr>'; |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | } |
24 | 24 | #payflow-table-donor td.label, #payflow-table-comment td.label, #payflow-table-cc td.label { |
25 | 25 | padding-right:0; |
26 | | - width: 100px; |
| 26 | + width: 104px; |
27 | 27 | } |
28 | 28 | |
29 | 29 | .payflow-cc-form-section { |