r74376 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74375‎ | r74376 | r74377 >
Date:18:21, 6 October 2010
Author:kaldari
Status:deferred
Tags:
Comment:
dropping dollar signs
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumn.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumn.php
@@ -202,10 +202,10 @@
203203 // amount
204204 $form .= '<tr>';
205205 $form .= '<td class="label">' . Xml::label(wfMsg( 'payflowpro_gateway-donor-amount' ), 'amount') . '</td>';
206 - $form .= '<td>' . Xml::radio( 'amount', 250 ) . '$250 ' .
207 - Xml::radio( 'amount', 100 ) . '$100 ' .
208 - Xml::radio( 'amount', 75 ) . '$75 ' .
209 - Xml::radio( 'amount', 35 ) . '$35 ' .
 206+ $form .= '<td>' . Xml::radio( 'amount', 250 ) . '250 ' .
 207+ Xml::radio( 'amount', 100 ) . '100 ' .
 208+ Xml::radio( 'amount', 75 ) . '75 ' .
 209+ Xml::radio( 'amount', 35 ) . '35 ' .
210210 Xml::radio( 'amount', -1, null, array( 'id' => 'otherRadio' ) ) . Xml::input( 'amountOther', '7', $this->form_data['amount'], array( 'type' => 'text', 'onfocus' => 'clearField( this, "0.00" )', 'onblur' => 'document.getElementById("otherRadio").value = this.value', 'maxlength' => '10', 'id' => 'amount' ) ) .
211211 '<span class="creditcard-error-msg">' . ' ' . $this->form_errors['invalidamount'] . '</span></td>';
212212 $form .= '</tr>';
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter.php
@@ -111,10 +111,10 @@
112112 // amount
113113 $form .= '<tr>';
114114 $form .= '<td class="label">' . Xml::label(wfMsg( 'payflowpro_gateway-donor-amount' ), 'amount') . '</td>';
115 - $form .= '<td>' . Xml::radio( 'amount', 250 ) . '$250 ' .
116 - Xml::radio( 'amount', 100 ) . '$100 ' .
117 - Xml::radio( 'amount', 75 ) . '$75 ' .
118 - Xml::radio( 'amount', 35 ) . '$35 ' .
 115+ $form .= '<td>' . Xml::radio( 'amount', 250 ) . '250 ' .
 116+ Xml::radio( 'amount', 100 ) . '100 ' .
 117+ Xml::radio( 'amount', 75 ) . '75 ' .
 118+ Xml::radio( 'amount', 35 ) . '35 ' .
119119 Xml::radio( 'amount', -1, null, array( 'id' => 'otherRadio' ) ) . Xml::input( 'amountOther', '7', $this->form_data['amount'], array( 'type' => 'text', 'onfocus' => 'clearField( this, "0.00" )', 'onblur' => 'document.getElementById("otherRadio").value = this.value', 'maxlength' => '10', 'id' => 'amount' ) ) .
120120 '<span class="creditcard-error-msg">' . ' ' . $this->form_errors['invalidamount'] . '</span></td>';
121121 $form .= '</tr>';

Status & tagging log