r76815 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76814‎ | r76815 | r76816 >
Date:18:30, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
form fixes
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -161,7 +161,9 @@
162162 $form .= '<td class="amount_data" style="text-align:right;width:75px;">'.$this->form_data['amount'] .
163163 Html::hidden( 'amount', $this->form_data['amount'] ) .
164164 '</td>';
165 - $form .= '<td class="amount_data" style="text-align:right;width:75px;">'.$this->form_data[ 'currency' ].'</td>';
 165+ $form .= '<td class="amount_data" style="text-align:right;width:75px;">'.$this->form_data[ 'currency' ] .
 166+ Html::hidden( 'currency_code', $this->form_data['currency'] ) .
 167+ '</td>';
166168 $form .= '</tr>';
167169 $form .= '</table>';
168170 $form .= '</td>';
@@ -238,6 +240,7 @@
239241 $form .= '<td>' . Xml::input( 'city', '18', $this->form_data['city'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-donor-city' ).'\' )', 'maxlength' => '40', 'id' => 'city' ) ) . ' ' .
240242 $this->generateStateDropdown() . ' ' .
241243 Xml::input( 'zip', '5', $this->form_data['zip'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-zip-code' ).'\' )', 'maxlength' => '10', 'id' => 'zip' ) ) .
 244+ Html::hidden( 'country', 'US' ) .
242245 '</td>';
243246 $form .= '</tr>';
244247

Status & tagging log