r96678 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96677‎ | r96678 | r96679 >
Date:18:38, 9 September 2011
Author:kaldari
Status:ok
Tags:fundraising 
Comment:
fixing css path
Modified paths:
  • /branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php
@@ -2,11 +2,11 @@
33
44 class Gateway_Form_TwoStepTwoColumnLetter3 extends Gateway_Form_TwoStepTwoColumn {
55 public function __construct( &$form_data, &$form_errors ) {
6 - global $wgScriptPath;
 6+ global $wgExtensionAssetsPath;
77
88 // set the path to css, before the parent constructor is called, checking to make sure some child class hasn't already set this
99 if ( !strlen( $this->getStylePath() ) ) {
10 - $this->setStylePath( $wgScriptPath . '/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css' );
 10+ $this->setStylePath( $wgExtensionAssetsPath . '/DonationInterface/gateway_forms/css/TwoStepTwoColumnLetter3.css' );
1111 }
1212
1313 parent::__construct( $form_data, $form_errors );

Status & tagging log