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

Revision: 76404
Author:   kaldari
Date:     2010-11-09 18:47:15 +0000 (Tue, 09 Nov 2010)
Log Message:
-----------
more better quoting

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

Modified: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php
===================================================================
--- trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php        
2010-11-09 18:46:19 UTC (rev 76403)
+++ trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php        
2010-11-09 18:47:15 UTC (rev 76404)
@@ -458,7 +458,7 @@
                $form .= '</tr>';
                $form .= '<tr>';
                $form .= '<td class="label"></td>';
-               $form .= '<td>' . Xml::radio( 'amount', $amount, $otherChecked, 
array( 'id' => 'otherRadio' ) ) . Xml::input( 'amountOther', '7', 
$this->form_data['amountOther'], array( 'type' => 'text', 'onfocus' => 
'clearField( this, "'.wfMsg( 'payflowpro_gateway-other' ).'" )', 'onblur' => 
'document.getElementById("otherRadio").value = this.value;if (this.value > 0) 
document.getElementById("otherRadio").checked=true;', 'maxlength' => '10', 'id' 
=> 'amountOther' ) ) .
+               $form .= '<td>' . Xml::radio( 'amount', $amount, $otherChecked, 
array( 'id' => 'otherRadio' ) ) . Xml::input( 'amountOther', '7', 
$this->form_data['amountOther'], array( 'type' => 'text', 'onfocus' => 
'clearField( this, \''.wfMsg( 'payflowpro_gateway-other' ).'\' )', 'onblur' => 
'document.getElementById("otherRadio").value = this.value;if (this.value > 0) 
document.getElementById("otherRadio").checked=true;', 'maxlength' => '10', 'id' 
=> 'amountOther' ) ) .
                        ' ' . $this->generateCurrencyDropdown() . '</td>';
                $form .= '</tr>';
                return $form;
@@ -546,8 +546,8 @@
                $form .= '</tr>';
                $form .= '<tr>';
                $form .= '<td class="label">' . Xml::label( wfMsg( 
'payflowpro_gateway-donor-name' ), 'fname' ) . '</td>';
-               $form .= '<td>' . Xml::input( 'fname', '30', 
$this->form_data['fname'], array( 'type' => 'text', 'onfocus' => 'clearField( 
this, "'.wfMsg( 'payflowpro_gateway-first' ).'" )', 'maxlength' => '15', 
'class' => 'required', 'id' => 'fname' ) ) .
-                       Xml::input( 'lname', '30', $this->form_data['lname'], 
array( 'type' => 'text', 'onfocus' => 'clearField( this, "'.wfMsg( 
'payflowpro_gateway-last' ).'" )', 'maxlength' => '15', 'id' => 'lname' ) ) . 
'</td>';
+               $form .= '<td>' . Xml::input( 'fname', '30', 
$this->form_data['fname'], array( 'type' => 'text', 'onfocus' => 'clearField( 
this, \''.wfMsg( 'payflowpro_gateway-first' ).'\' )', 'maxlength' => '15', 
'class' => 'required', 'id' => 'fname' ) ) .
+                       Xml::input( 'lname', '30', $this->form_data['lname'], 
array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 
'payflowpro_gateway-last' ).'\' )', 'maxlength' => '15', 'id' => 'lname' ) ) . 
'</td>';
                $form .= "</tr>";
                return $form;
        }


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

Reply via email to