Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php |
— | — | @@ -260,22 +260,22 @@ |
261 | 261 | |
262 | 262 | $return .= Xml::tags( 'h2', array(), wfMsg( 'donate_interface-bt-information' ) ); |
263 | 263 | |
264 | | - $return .= Xml::openElement( 'table', array( 'id' => $id . '_table', 'width' => '50%' ) ); |
| 264 | + $return .= Xml::openElement( 'table', array( 'id' => $id . '_table', 'style' => 'width:600px; margin-left:auto; margin-right:auto;' ) ); |
265 | 265 | |
266 | 266 | foreach ( $fields as $field => $meta ) { |
267 | 267 | |
268 | 268 | if ( isset( $results['data'][ $field ] ) ) { |
269 | 269 | $return .= Xml::openElement( 'tr', array() ); |
270 | 270 | |
271 | | - $return .= Xml::tags( 'th', array(), wfMsg( $meta['translation'] ) ); |
272 | | - $return .= Xml::tags( 'td', array(), $results['data'][ $field ] ); |
| 271 | + $return .= Xml::tags( 'td', array( 'style' => 'text-align:right; font-weight:bold; padding-right:0.5em;' ), wfMsg( $meta['translation'] ) ); |
| 272 | + $return .= Xml::tags( 'td', array( 'style' => 'padding-left:0.5em;' ), $results['data'][ $field ] ); |
273 | 273 | |
274 | 274 | $return .= Xml::closeElement( 'tr' ); |
275 | 275 | } |
276 | 276 | } |
277 | 277 | |
278 | 278 | $return .= Xml::openElement( 'tr', array() ); |
279 | | - $return .= Xml::tags( 'td', array('style' => 'font-weight:bold', 'colspan' => '2'), wfMsg( 'donate_interface-bank_transfer_message' ) ); |
| 279 | + $return .= Xml::tags( 'td', array( 'style' => 'font-weight:bold;', 'colspan' => '2' ), wfMsg( 'donate_interface-bank_transfer_message' ) ); |
280 | 280 | $return .= Xml::closeElement( 'tr' ); |
281 | 281 | |
282 | 282 | $return .= Xml::closeElement( 'table' ); // close $id . '_table' |
— | — | @@ -284,9 +284,9 @@ |
285 | 285 | |
286 | 286 | $url = $this->adapter->getThankYouPage() . $queryString; |
287 | 287 | |
288 | | - $link = HTML::input('MyButton', 'finished', 'button', array( 'onclick' => "window.location = '$url'" ) ); |
| 288 | + $link = HTML::input('MyButton', wfMsg( 'donate_interface-bt-finished') , 'button', array( 'onclick' => "window.location = '$url'" ) ); |
289 | 289 | |
290 | | - $return .= Xml::tags( 'p', array(), $link ); |
| 290 | + $return .= Xml::tags( 'p', array( 'style' => 'text-align:center;' ), $link ); |
291 | 291 | |
292 | 292 | $return .= Xml::closeElement( 'div' ); // $id |
293 | 293 | |