r76823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76822‎ | r76823 | r76824 >
Date:19:20, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
test
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -141,7 +141,7 @@
142142
143143 // Xml::element seems to convert html to htmlentities
144144 $form .= "<p class='creditcard-error-msg'>" . $this->form_errors['retryMsg'] . "</p>";
145 - $form .= Xml::openElement( 'form', array( 'name' => 'payment', 'method' => 'post', 'action' => $this->getNoCacheAction(), 'onsubmit' => 'return validate_form(this)', 'autocomplete' => 'off' ) );
 145+ $form .= Xml::openElement( 'form', array( 'name' => 'payment', 'method' => 'post', 'action' => $this->getNoCacheAction(), 'onsubmit' => 'return formCheck(this)', 'autocomplete' => 'off' ) );
146146
147147 $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-personal-info' ) );
148148 $form .= Xml::openElement( 'table', array( 'id' => 'payflow-table-donor' ) );
@@ -160,7 +160,7 @@
161161 // submit button
162162 $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) );
163163 // $form .= Xml::submitButton( wfMsg( 'payflowpro_gateway-submit-button' ));
164 - $form .= '&nbsp;<br/>' . Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'onclick' => 'formCheck( this )', 'type' => 'image' ) );
 164+ $form .= '&nbsp;<br/>' . Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'type' => 'image' ) );
165165 $form .= Xml::closeElement( 'div' ); // close div#mw-donate-submit-button
166166 $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage', 'id' => 'payflowpro_gateway-donate-submessage' ) ) .
167167 Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your credit / debit card will be securely processed.';

Status & tagging log