http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96678

Revision: 96678
Author:   kaldari
Date:     2011-09-09 18:38:18 +0000 (Fri, 09 Sep 2011)
Log Message:
-----------
fixing css path

Modified Paths:
--------------
    
branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php

Modified: 
branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php
===================================================================
--- 
branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php
 2011-09-09 18:30:02 UTC (rev 96677)
+++ 
branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php
 2011-09-09 18:38:18 UTC (rev 96678)
@@ -2,11 +2,11 @@
 
 class Gateway_Form_TwoStepTwoColumnLetter3 extends 
Gateway_Form_TwoStepTwoColumn {
        public function __construct( &$form_data, &$form_errors ) {
-               global $wgScriptPath;
+               global $wgExtensionAssetsPath;
 
                // set the path to css, before the parent constructor is 
called, checking to make sure some child class hasn't already set this
                if ( !strlen( $this->getStylePath() ) ) {
-                       $this->setStylePath( $wgScriptPath . 
'/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter3.css'
 );
+                       $this->setStylePath( $wgExtensionAssetsPath . 
'/DonationInterface/gateway_forms/css/TwoStepTwoColumnLetter3.css' );
                }
 
                parent::__construct( $form_data, $form_errors );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to