r76404 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76403‎ | r76404 | r76405 >
Date:18:47, 9 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
more better quoting
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php
@@ -458,7 +458,7 @@
459459 $form .= '</tr>';
460460 $form .= '<tr>';
461461 $form .= '<td class="label"></td>';
462 - $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' ) ) .
 462+ $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' ) ) .
463463 ' ' . $this->generateCurrencyDropdown() . '</td>';
464464 $form .= '</tr>';
465465 return $form;
@@ -546,8 +546,8 @@
547547 $form .= '</tr>';
548548 $form .= '<tr>';
549549 $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-donor-name' ), 'fname' ) . '</td>';
550 - $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' ) ) .
551 - Xml::input( 'lname', '30', $this->form_data['lname'], array( 'type' => 'text', 'onfocus' => 'clearField( this, "'.wfMsg( 'payflowpro_gateway-last' ).'" )', 'maxlength' => '15', 'id' => 'lname' ) ) . '</td>';
 550+ $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' ) ) .
 551+ Xml::input( 'lname', '30', $this->form_data['lname'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-last' ).'\' )', 'maxlength' => '15', 'id' => 'lname' ) ) . '</td>';
552552 $form .= "</tr>";
553553 return $form;
554554 }

Status & tagging log