r76769 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76768‎ | r76769 | r76770 >
Date:03:36, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
style fixes
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -103,13 +103,13 @@
104104 $form .= '<table cellspacing="2" cellpadding="2" border="1" id="donation_amount">';
105105 $form .= '<tr>';
106106 $form .= '<td class="amount_header">'.wfMsg( 'payflowpro_gateway-description' ).'</td>';
107 - $form .= '<td class="amount_header">'.wfMsg( 'payflowpro_gateway-donor-amount' ).'</td>';
108 - $form .= '<td class="amount_header">'.wfMsg( 'payflowpro_gateway-donor-currency-label' ).'</td>';
 107+ $form .= '<td class="amount_header" style="text-align:right;width:75px;">'.wfMsg( 'payflowpro_gateway-donor-amount' ).'</td>';
 108+ $form .= '<td class="amount_header" style="text-align:right;width:75px;">'.wfMsg( 'payflowpro_gateway-donor-currency-label' ).'</td>';
109109 $form .= '</tr>';
110110 $form .= '<tr>';
111111 $form .= '<td class="amount_data">'.wfMsg( 'payflowpro_gateway-donation' ).'</td>';
112 - $form .= '<td class="amount_data">'.$this->form_data['amount'].'</td>';
113 - $form .= '<td class="amount_data">'.$this->form_data[ 'currency' ].'</td>';
 112+ $form .= '<td class="amount_data" style="text-align:right;width:75px;">'.$this->form_data['amount'].'</td>';
 113+ $form .= '<td class="amount_data" style="text-align:right;width:75px;">'.$this->form_data[ 'currency' ].'</td>';
114114 $form .= '</tr>';
115115 $form .= '</table>';
116116 $form .= '</td>';
@@ -140,7 +140,7 @@
141141 $form .= '</tr>';
142142 }
143143 $form .= '<tr>';
144 - $form .= '<td class="label">' . Xml::label( 'Credit / Debit card', 'card_num' ) . '</td>';
 144+ $form .= '<td class="label">' . Xml::label( wfMsg( 'payflowpro_gateway-donor-card-num' ), 'card_num' ) . '</td>';
145145 $form .= '<td>' . Xml::input( 'card_num', '30', $card_num, array( 'type' => 'text', 'maxlength' => '100', 'id' => 'card_num', 'class' => 'fullwidth', 'autocomplete' => 'off' ) ) .
146146 '</td>';
147147 $form .= '</tr>';

Status & tagging log