Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php |
— | — | @@ -288,7 +288,7 @@ |
289 | 289 | |
290 | 290 | $url = $this->adapter->getThankYouPage() . $queryString; |
291 | 291 | |
292 | | - $link = Xml::tags( 'a', array( 'href' => $url ), wfMsg( 'donate_interface-bt-finished' ) ); |
| 292 | + $link = HTML::input('MyButton', 'finished', 'button', array( 'onclick' => "window.location = '$url'" ) ); |
293 | 293 | |
294 | 294 | $return .= Xml::tags( 'p', array(), $link ); |
295 | 295 | |
— | — | @@ -334,14 +334,52 @@ |
335 | 335 | |
336 | 336 | $return .= Xml::closeElement( 'table' ); // close $id . '_table' |
337 | 337 | |
| 338 | + $return .= Xml::openElement( 'table' ); //open info table |
| 339 | + |
| 340 | + $return .= Xml::openElement( 'tr' ); |
| 341 | + |
| 342 | + $return .= Xml::openElement ( 'td', array( 'colspan' => '2' ) ); |
| 343 | + |
338 | 344 | $return .= Xml::tags( 'p', array(), wfMsg( 'donate_interface-online_bank_transfer_message' ) ); |
339 | 345 | |
| 346 | + $return .= Xml::closeElement ( 'td' ); |
| 347 | + |
| 348 | + $return .= Xml::closeElement ( 'tr' ); |
| 349 | + |
| 350 | + $return .= Xml::openElement ( 'tr' ); |
| 351 | + |
| 352 | + $return .= Xml::openElement( 'td' ); |
| 353 | + |
| 354 | + $return .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/BPAY_Landscape_MONO.gif", 'style' => 'vertical-align:center; width:100px; margin-right: 1em;' ) ); |
| 355 | + |
| 356 | + $return .= Xml::closeElement ( 'td' ); |
| 357 | + |
| 358 | + $return .= Xml::openElement ( 'td' ); |
| 359 | + |
| 360 | + $return .= Xml::tags( 'p', array(), 'Contact your bank or financial institution <br /> to make this payment from your cheque, <br /> debit, credit card or transaction account. <br /> More info: www.bpay.com.au ' ); |
| 361 | + |
| 362 | + $return .= Xml::closeElement ( 'td' ); |
| 363 | + |
| 364 | + $return .= Xml::closeElement ( 'tr' ); |
| 365 | + |
| 366 | + $return .= Xml::openElement ( 'tr' ); |
| 367 | + |
| 368 | + $return .= Xml::openElement ( 'td', array( 'colspan' => '2' ) ); |
| 369 | + |
| 370 | + $return .= Xml::tags( 'p', array(), '<br /> ® Registered to BPAY Pty Ltd ABN 69 079 137 518'); |
| 371 | + |
| 372 | + $return .= Xml::closeElement ( 'td' ); |
| 373 | + |
| 374 | + $return .= Xml::closeElement ( 'tr' ); |
| 375 | + |
| 376 | + $return .= Xml::closeElement ( 'table' ); //close info table |
| 377 | + |
340 | 378 | $queryString = '?payment_method=' . $this->adapter->getPaymentMethod() . '&payment_submethod=' . $this->adapter->getPaymentSubmethod(); |
341 | 379 | |
342 | 380 | $url = $this->adapter->getThankYouPage() . $queryString; |
| 381 | + |
| 382 | + $link = HTML::input('MyButton', 'finished', 'button', array( 'onclick' => "window.location = '$url'" ) ); |
343 | 383 | |
344 | | - $link = Xml::tags( 'a', array( 'href' => $url ), wfMsg( 'donate_interface-bt-finished' ) ); |
345 | | - |
346 | 384 | $return .= Xml::tags( 'p', array(), $link ); |
347 | 385 | |
348 | 386 | $return .= Xml::closeElement( 'div' ); // $id |