r75971 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75970‎ | r75971 | r75972 >
Date:00:56, 4 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
fixing TwoColumnLetter5.php
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.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' ), 'method' ) . '</td>';
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 - Xml::radio( 'method', 2, $this->form_data['method'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ) .
107 - Xml::radio( 'method', 3, $this->form_data['method'] == 3 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ) .
108 - Xml::radio( 'method', 4, $this->form_data['method'] == 4 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ) .
109 - Xml::radio( 'method', 5, $this->form_data['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' ), '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" ) ) .
110110 '</td>';
111111 $form .= '</tr>';
112112

Status & tagging log