Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | $form .= $this->getEmailField(); |
102 | 102 | |
103 | 103 | $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>'; |
105 | 105 | $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" ) ) . |
106 | 106 | Xml::radio( 'method', 2, $this->form_data['method'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ) . |
107 | 107 | 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 @@ |
110 | 110 | '</td>'; |
111 | 111 | $form .= '</tr>'; |
112 | 112 | |
113 | | - |
| 113 | + /* |
114 | 114 | // make sure we have a paypal url set to redirect the user to before displaying the button |
115 | 115 | if ( strlen( $wgPayflowGatewayPaypalURL ) ) { |
116 | 116 | $form .= '<tr>'; |
— | — | @@ -123,6 +123,7 @@ |
124 | 124 | $form .= '</td>'; |
125 | 125 | $form .= '</tr>'; |
126 | 126 | } |
| 127 | + */ |
127 | 128 | |
128 | 129 | // card number |
129 | 130 | $form .= $this->getCardNumberField(); |
— | — | @@ -147,15 +148,15 @@ |
148 | 149 | // country |
149 | 150 | $form .= $this->getCountryField(); |
150 | 151 | |
151 | | - // anonymous |
| 152 | + /* |
152 | 153 | $comment_opt_value = ( $wgRequest->wasPosted() ) ? $this->form_data[ 'comment-option' ] : true; |
153 | 154 | $form .= '<tr>'; |
154 | 155 | $form .= '<td class="check-option" colspan="2">' . Xml::check( 'comment-option', $comment_opt_value ); |
155 | 156 | $form .= ' ' . Xml::label( wfMsg( 'payflowpro_gateway-anon-message' ), 'comment-option' ) . '</td>'; |
156 | 157 | $form .= '</tr>'; |
157 | 158 | |
158 | | - // email agreement |
159 | 159 | $form .= $this->getEmailOptField(); |
| 160 | + */ |
160 | 161 | |
161 | 162 | return $form; |
162 | 163 | } |