http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76815

Revision: 76815
Author:   kaldari
Date:     2010-11-16 18:30:17 +0000 (Tue, 16 Nov 2010)
Log Message:
-----------
form fixes

Modified Paths:
--------------
    
trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php

Modified: 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
===================================================================
--- 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
     2010-11-16 18:28:25 UTC (rev 76814)
+++ 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
     2010-11-16 18:30:17 UTC (rev 76815)
@@ -161,7 +161,9 @@
                $form .= '<td class="amount_data" 
style="text-align:right;width:75px;">'.$this->form_data['amount'] . 
                        Html::hidden( 'amount', $this->form_data['amount'] ) . 
                        '</td>';
-               $form .= '<td class="amount_data" 
style="text-align:right;width:75px;">'.$this->form_data[ 'currency' ].'</td>';
+               $form .= '<td class="amount_data" 
style="text-align:right;width:75px;">'.$this->form_data[ 'currency' ] .
+                       Html::hidden( 'currency_code', 
$this->form_data['currency'] ) . 
+                       '</td>';
                $form .= '</tr>';
                $form .= '</table>';
                $form .= '</td>';
@@ -238,6 +240,7 @@
                $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' ) ) . ' ' .
                        $this->generateStateDropdown() . ' ' .
                        Xml::input( 'zip', '5', $this->form_data['zip'], array( 
'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 
'payflowpro_gateway-zip-code' ).'\' )', 'maxlength' => '10', 'id' => 'zip' ) ) .
+                       Html::hidden( 'country', 'US' ) .
                        '</td>';
                $form .= '</tr>';
 


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to