Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php |
— | — | @@ -151,9 +151,16 @@ |
152 | 152 | |
153 | 153 | // state |
154 | 154 | $form .= $this->getStateField(); |
| 155 | + |
155 | 156 | // zip |
156 | | - $form .= $this->getZipField(); |
157 | | - |
| 157 | + $form .= '<tr>'; |
| 158 | + $form .= '<td colspan=2><span class="creditcard-error-msg">' . $this->form_errors['zip'] . '</span></td>'; |
| 159 | + $form .= '</tr>'; |
| 160 | + $form .= '<tr>'; |
| 161 | + $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-donor-postal' ), 'zip' ) . '</td>'; |
| 162 | + $form .= '<td>' . Xml::input( 'zip', '15', $this->form_data['zip'], array( 'type' => 'text', 'maxlength' => '15', 'id' => 'zip' ) ) . |
| 163 | + '</td>'; |
| 164 | + $form .= '</tr>'; |
158 | 165 | // country |
159 | 166 | $form .= $this->getCountryField(); |
160 | 167 | |