r75972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75971‎ | r75972 | r75973 >
Date:01:00, 4 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
fixing TwoColumnLetter5.php
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php
@@ -100,12 +100,12 @@
101101 $form .= $this->getEmailField();
102102
103103 $form .= '<tr>';
104 - $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-payment' ), 'payment_method' ) . '</td>';
105 - $form .= '<td>' . Xml::radio( 'method', 1, $this->form_data['payment_method'] == 1 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ) .
106 - Xml::radio( 'method', 2, $this->form_data['payment_method'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ) .
107 - Xml::radio( 'method', 3, $this->form_data['payment_method'] == 3 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ) .
108 - Xml::radio( 'method', 4, $this->form_data['payment_method'] == 4 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ) .
109 - Xml::radio( 'method', 5, $this->form_data['payment_method'] == 5 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) .
 104+ $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-payment-type' ), 'payment_method' ) . '</td>';
 105+ $form .= '<td>' . Xml::radio( 'payment_method', 1, $this->form_data['payment_method'] == 1 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ) .
 106+ Xml::radio( 'payment_method', 2, $this->form_data['payment_method'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ) .
 107+ Xml::radio( 'payment_method', 3, $this->form_data['payment_method'] == 3 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ) .
 108+ Xml::radio( 'payment_method', 4, $this->form_data['payment_method'] == 4 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ) . "<br/>" .
 109+ Xml::radio( 'payment_method', 5, $this->form_data['payment_method'] == 5 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) .
110110 '</td>';
111111 $form .= '</tr>';
112112
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.i18n.php
@@ -192,6 +192,7 @@
193193 'payflowpro_gateway-continue' => 'Continue',
194194 'payflowpro_gateway-cancel' => 'Cancel',
195195 'payflowpro_gateway-payment' => 'Payment',
 196+ 'payflowpro_gateway-payment-type' => 'Payment type',
196197
197198 // For more USA states, see payflowpro_gateway.us-states.i18n.php.
198199 'payflowpro_gateway-state-dropdown-YY' => 'Select a State',

Status & tagging log