Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php |
— | — | @@ -55,7 +55,7 @@ |
56 | 56 | |
57 | 57 | // Xml::element seems to convert html to htmlentities |
58 | 58 | $form .= "<p class='creditcard-error-msg'>" . $this->form_errors['retryMsg'] . "</p>"; |
59 | | - $form .= Xml::openElement( 'form', array( 'name' => 'payment', 'method' => 'post', 'action' => $this->getNoCacheAction(), 'onsubmit' => 'return validate_form(this)', 'autocomplete' => 'off' ) ); |
| 59 | + $form .= Xml::openElement( 'form', array( 'name' => 'payment', 'method' => 'post', 'action' => $this->getNoCacheAction(), 'autocomplete' => 'off' ) ); |
60 | 60 | |
61 | 61 | $form .= $this->generateBillingContainer(); |
62 | 62 | return $form; |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | // cc submit button |
183 | 183 | $form = Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit' ) ); |
184 | 184 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
185 | | - $form .= Xml::element( 'input', array( 'class' => 'button-plain', 'value' => wfMsg( 'payflowpro_gateway-donor-submit' ), 'onclick' => 'document.payment.PaypalRedirect.value=0;submit_form( this )', 'type' => 'submit' ) ); |
| 185 | + $form .= Xml::element( 'input', array( 'class' => 'button-plain', 'value' => wfMsg( 'payflowpro_gateway-donor-submit' ), 'onclick' => 'document.payment.PaypalRedirect.value=0;submit_form( this );', 'type' => 'submit' ) ); |
186 | 186 | $form .= Xml::closeElement( 'div' ); // close div#mw-donate-submit-button |
187 | 187 | $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage', 'id' => 'payflowpro_gateway-donate-submessage' ) ) . |
188 | 188 | wfMsg( 'payflowpro_gateway-donate-click' ); |