r75116 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75115‎ | r75116 | r75117 >
Date:21:51, 20 October 2010
Author:kaldari
Status:deferred
Tags:
Comment:
fixing twocolumnletter2
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter2.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter2.php
@@ -1,6 +1,6 @@
22 <?php
33
4 -class PayflowProGateway_Form_TwoColumnLetter extends PayflowProGateway_Form_OneStepTwoColumn {
 4+class PayflowProGateway_Form_TwoColumnLetter2 extends PayflowProGateway_Form_OneStepTwoColumn {
55
66 public function __construct( &$form_data, &$form_errors ) {
77 global $wgOut, $wgScriptPath;
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php
@@ -441,10 +441,10 @@
442442 $form .= '</tr>';
443443 $form .= '<tr>';
444444 $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 ' .
449449 '</td>';
450450 $form .= '</tr>';
451451 $form .= '<tr>';
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php
@@ -26,6 +26,7 @@
2727 $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoStepTwoColumn' ] = $dir . 'forms/TwoStepTwoColumn.php';
2828 $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnPayPal' ] = $dir . 'forms/TwoColumnPayPal.php';
2929 $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnLetter' ] = $dir . 'forms/TwoColumnLetter.php';
 30+$wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnLetter2' ] = $dir . 'forms/TwoColumnLetter2.php';
3031 $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoStepTwoColumnLetter' ] = $dir . 'forms/TwoStepTwoColumnLetter.php';
3132 $wgAutoloadClasses[ 'PayflowProGateway_Form_SingleColumn' ] = $dir . 'forms/SingleColumn.php';
3233 $wgExtensionMessagesFiles['PayflowProGateway'] = $dir . 'payflowpro_gateway.i18n.php';

Status & tagging log