r76778 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76777‎ | r76778 | r76779 >
Date:04:16, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
fixing placeholders
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -17,8 +17,8 @@
1818 // form placeholder values
1919 $first = wfMsg( 'payflowpro_gateway-first' );
2020 $last = wfMsg( 'payflowpro_gateway-last' );
21 - $city = 'City';
22 - $zip = 'Zip Code';
 21+ $city = wfMsg( 'payflowpro_gateway-donor-city' );
 22+ $zip = wfMsg( 'payflowpro_gateway-zip-code' );
2323 $email = wfMsg( 'payflowpro_gateway-donor-email' );
2424 $js = <<<EOT
2525 <script type="text/javascript">
@@ -227,9 +227,9 @@
228228 $form .= '</tr>';
229229 $form .= '<tr>';
230230 $form .= '<td class="label"> </td>';
231 - $form .= '<td>' . Xml::input( 'city', '18', $this->form_data['city'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \'City\' )', 'maxlength' => '40', 'id' => 'city' ) ) . ' ' .
 231+ $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' ) ) . ' ' .
232232 $this->generateStateDropdown() . ' ' .
233 - Xml::input( 'zip', '5', $this->form_data['zip'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \'Zip Code\' )', 'maxlength' => '10', 'id' => 'zip' ) ) .
 233+ Xml::input( 'zip', '5', $this->form_data['zip'], array( 'type' => 'text', 'onfocus' => 'clearField( this, \''.wfMsg( 'payflowpro_gateway-zip-code' ).'\' )', 'maxlength' => '10', 'id' => 'zip' ) ) .
234234 '</td>';
235235 $form .= '</tr>';
236236

Status & tagging log