Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter2.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -class PayflowProGateway_Form_TwoColumnLetter extends PayflowProGateway_Form_OneStepTwoColumn { |
| 4 | +class PayflowProGateway_Form_TwoColumnLetter2 extends PayflowProGateway_Form_OneStepTwoColumn { |
5 | 5 | |
6 | 6 | public function __construct( &$form_data, &$form_errors ) { |
7 | 7 | global $wgOut, $wgScriptPath; |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php |
— | — | @@ -441,10 +441,10 @@ |
442 | 442 | $form .= '</tr>'; |
443 | 443 | $form .= '<tr>'; |
444 | 444 | $form .= '<td class="label">' . Xml::label(wfMsg( 'payflowpro_gateway-donor-amount' ), 'amount') . '</td>'; |
445 | | - $form .= '<td>' . Xml::radio( 'amount', 100, $this->form_data['amount'] == 100 ) . '100 ' . |
446 | | - Xml::radio( 'amount', 50, $this->form_data['amount'] == 50 ) . '50 ' . |
447 | | - Xml::radio( 'amount', 35, $this->form_data['amount'] == 35 ) . '35 ' . |
448 | | - Xml::radio( 'amount', 20, $this->form_data['amount'] == 20 ) . '20 ' . |
| 445 | + $form .= '<td>' . Xml::radio( 'amount', 20, $this->form_data['amount'] == 20 ) . '20 ' . |
| 446 | + Xml::radio( 'amount', 35, $this->form_data['amount'] == 35 ) . '35 ' . |
| 447 | + Xml::radio( 'amount', 50, $this->form_data['amount'] == 50 ) . '50 ' . |
| 448 | + Xml::radio( 'amount', 100, $this->form_data['amount'] == 100 ) . '100 ' . |
449 | 449 | '</td>'; |
450 | 450 | $form .= '</tr>'; |
451 | 451 | $form .= '<tr>'; |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoStepTwoColumn' ] = $dir . 'forms/TwoStepTwoColumn.php'; |
28 | 28 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnPayPal' ] = $dir . 'forms/TwoColumnPayPal.php'; |
29 | 29 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnLetter' ] = $dir . 'forms/TwoColumnLetter.php'; |
| 30 | +$wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnLetter2' ] = $dir . 'forms/TwoColumnLetter2.php'; |
30 | 31 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoStepTwoColumnLetter' ] = $dir . 'forms/TwoStepTwoColumnLetter.php'; |
31 | 32 | $wgAutoloadClasses[ 'PayflowProGateway_Form_SingleColumn' ] = $dir . 'forms/SingleColumn.php'; |
32 | 33 | $wgExtensionMessagesFiles['PayflowProGateway'] = $dir . 'payflowpro_gateway.i18n.php'; |