r75969 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75968‎ | r75969 | r75970 >
Date:00:36, 4 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
stuff for Thursday
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php
@@ -100,7 +100,7 @@
101101 $form .= $this->getEmailField();
102102
103103 $form .= '<tr>';
104 - $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-payment' ) ) . '</td>';
 104+ $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-payment' ), 'method' ) . '</td>';
105105 $form .= '<td>' . Xml::radio( 'method', 1, $this->form_data['amount'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ) .
106106 Xml::radio( 'method', 2, $this->form_data['method'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ) .
107107 Xml::radio( 'method', 3, $this->form_data['method'] == 3 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ) .
@@ -109,7 +109,7 @@
110110 '</td>';
111111 $form .= '</tr>';
112112
113 -
 113+ /*
114114 // make sure we have a paypal url set to redirect the user to before displaying the button
115115 if ( strlen( $wgPayflowGatewayPaypalURL ) ) {
116116 $form .= '<tr>';
@@ -123,6 +123,7 @@
124124 $form .= '</td>';
125125 $form .= '</tr>';
126126 }
 127+ */
127128
128129 // card number
129130 $form .= $this->getCardNumberField();
@@ -147,15 +148,15 @@
148149 // country
149150 $form .= $this->getCountryField();
150151
151 - // anonymous
 152+ /*
152153 $comment_opt_value = ( $wgRequest->wasPosted() ) ? $this->form_data[ 'comment-option' ] : true;
153154 $form .= '<tr>';
154155 $form .= '<td class="check-option" colspan="2">' . Xml::check( 'comment-option', $comment_opt_value );
155156 $form .= ' ' . Xml::label( wfMsg( 'payflowpro_gateway-anon-message' ), 'comment-option' ) . '</td>';
156157 $form .= '</tr>';
157158
158 - // email agreement
159159 $form .= $this->getEmailOptField();
 160+ */
160161
161162 return $form;
162163 }

Status & tagging log