r75977 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75976‎ | r75977 | r75978 >
Date:02:26, 4 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
stuff for Thursday
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.css (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php
@@ -105,14 +105,13 @@
106106 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" ) ) .
107107 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" ) ) .
108108 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" ) ) .
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" ) ) .
 109+ Xml::radio( 'payment_method', 5, $this->form_data['payment_method'] == 5, 'onclick' => 'document.getElementById(\'payflow-table-cc\').style.display = \'none\';' ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) .
110110 '</td>';
111111 $form .= '</tr>';
112112
113113 $form .= '</table>';
114114
115 - $form .= Xml::openElement( 'div', array( 'id' => 'credit-card-stuff' ) );
116 - $form .= Xml::openElement( 'table', array( 'id' => 'payflow-table-donor' ) );
 115+ $form .= Xml::openElement( 'table', array( 'id' => 'payflow-table-cc' ) );
117116
118117 /*
119118 // make sure we have a paypal url set to redirect the user to before displaying the button
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.css
@@ -45,7 +45,7 @@
4646 text-align: left;
4747 }
4848
49 -#payflow-table-donor {
 49+#payflow-table-donor, #payflow-table-cc, #payflow-table-paypal {
5050 background-color: transparent;
5151 }
5252

Status & tagging log