Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php |
— | — | @@ -458,7 +458,7 @@ |
459 | 459 | $form .= '</tr>'; |
460 | 460 | $form .= '<tr>'; |
461 | 461 | $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' ) ) . |
463 | 463 | ' ' . $this->generateCurrencyDropdown() . '</td>'; |
464 | 464 | $form .= '</tr>'; |
465 | 465 | return $form; |
— | — | @@ -546,8 +546,8 @@ |
547 | 547 | $form .= '</tr>'; |
548 | 548 | $form .= '<tr>'; |
549 | 549 | $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>'; |
552 | 552 | $form .= "</tr>"; |
553 | 553 | return $form; |
554 | 554 | } |