Index: branches/fundraising/deployment/payments_1.17/DonationInterfaceFormSettings.php |
— | — | @@ -0,0 +1,62 @@ |
| 2 | +<?php |
| 3 | +/** Additional DonationInterface Forms **/ |
| 4 | + |
| 5 | +/** |
| 6 | + * Include optional form classes here. |
| 7 | + * All these exist, but are disabled by default. |
| 8 | + * Uncomment to enable. |
| 9 | + */ |
| 10 | +//$wgAutoloadClasses['Gateway_Form_OneStepTwoColumn'] = $donationinterface_dir . 'gateway_forms/OneStepTwoColumn.php'; |
| 11 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnPayPal'] = $donationinterface_dir . 'gateway_forms/TwoColumnPayPal.php'; |
| 12 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter.php'; |
| 13 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter2'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter2.php'; |
| 14 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter3'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter3.php'; |
| 15 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter4'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter4.php'; |
| 16 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter5'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter5.php'; |
| 17 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter6'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter6.php'; |
| 18 | +//$wgAutoloadClasses['Gateway_Form_TwoColumnLetter7'] = $donationinterface_dir . 'gateway_forms/TwoColumnLetter7.php'; |
| 19 | +//$wgAutoloadClasses['Gateway_Form_TwoStepTwoColumnLetterCA'] = $donationinterface_dir . 'gateway_forms/TwoStepTwoColumnLetterCA.php'; |
| 20 | +//$wgAutoloadClasses['Gateway_Form_TwoStepTwoColumnLetter2'] = $donationinterface_dir . 'gateway_forms/TwoStepTwoColumnLetter2.php'; |
| 21 | +//$wgAutoloadClasses['Gateway_Form_TwoStepTwoColumnPremium'] = $donationinterface_dir . 'gateway_forms/TwoStepTwoColumnPremium.php'; |
| 22 | +//$wgAutoloadClasses['Gateway_Form_TwoStepTwoColumnPremiumUS'] = $donationinterface_dir . 'gateway_forms/TwoStepTwoColumnPremiumUS.php'; |
| 23 | +//$wgAutoloadClasses['Gateway_Form_SingleColumn'] = $donationinterface_dir . 'gateway_forms/SingleColumn.php'; |
| 24 | + |
| 25 | +if ( !isset( $wgDonationDataAllowedHtmlForms )) $wgDonationDataAllowedHtmlForms = array(); |
| 26 | + |
| 27 | +/** |
| 28 | + * DonationInterface RapidHTML whitelist additions |
| 29 | + * These will apply to all enabled adapters |
| 30 | + */ |
| 31 | +//example addition of an extension-wide form |
| 32 | +//$wgDonationInterfaceAllowedHtmlForms['demo'] = $wgDonationInterfaceHtmlFormDir .'/demo.html'; |
| 33 | + |
| 34 | +/** Sync up with the gateways again, in such a way that we get all the clobal changes without ditching what we already have. **/ |
| 35 | +$wgGlobalCollectGatewayAllowedHtmlForms = array_merge( $wgGlobalCollectGatewayAllowedHtmlForms, $wgDonationDataAllowedHtmlForms ); |
| 36 | +$wgPayflowProGatewayAllowedHtmlForms = array_merge( $wgPayflowProGatewayAllowedHtmlForms, $wgDonationDataAllowedHtmlForms ); |
| 37 | + |
| 38 | +/** |
| 39 | + * GlobalCollect RapidHTML whitelist additions |
| 40 | + */ |
| 41 | +$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3step'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3step.html'; |
| 42 | +$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3step-CA'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3step-CA.html'; |
| 43 | +$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3stepB-US'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3stepB-US.html'; |
| 44 | +$wgGlobalCollectGatewayAllowedHtmlForms['bt'] = $wgGlobalCollectGatewayHtmlFormDir . '/bt/bt.html'; |
| 45 | +$wgGlobalCollectGatewayAllowedHtmlForms['bt-CA'] = $wgGlobalCollectGatewayHtmlFormDir . '/bt/bt-CA.html'; |
| 46 | +$wgGlobalCollectGatewayAllowedHtmlForms['bt-US'] = $wgGlobalCollectGatewayHtmlFormDir . '/bt/bt-US.html'; |
| 47 | +$wgGlobalCollectGatewayAllowedHtmlForms['webitects2nd'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects2nd.html'; |
| 48 | +$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-enets'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-enets.html'; |
| 49 | +$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-eps'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-eps.html'; |
| 50 | +$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-ideal'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-ideal.html'; |
| 51 | +$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-sofo'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-sofo.html'; |
| 52 | +$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-sofo-GB'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-sofo-GB.html'; |
| 53 | + |
| 54 | +/** |
| 55 | + * PayflowPro RapidHTML whitelist additions |
| 56 | + */ |
| 57 | +//The following example is hard-coded as a default. Just a sample line. |
| 58 | +//$wgPayflowProGatewayAllowedHtmlForms['lightbox1'] = $wgPayflowProGatewayHtmlFormDir .'/lightbox1.html'; |
| 59 | +$wgPayflowProGatewayAllowedHtmlForms['webitects_2_3step'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_3step.html'; |
| 60 | +$wgPayflowProGatewayAllowedHtmlForms['webitects_2_3step-CA'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_3step-CA.html'; |
| 61 | +$wgPayflowProGatewayAllowedHtmlForms['webitects_2_2step-US'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_2step-US.html'; |
| 62 | +$wgPayflowProGatewayAllowedHtmlForms['webitects_2_2stepB-US'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_2stepB-US.html'; |
| 63 | +$wgPayflowProGatewayAllowedHtmlForms['globalcollect_test_2'] = $donationinterface_dir .'/gateway_forms/rapidhtml/html/globalcollect_test_2.html'; |
Property changes on: branches/fundraising/deployment/payments_1.17/DonationInterfaceFormSettings.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 64 | + native |
Property changes on: branches/fundraising/deployment/payments_1.17 |
___________________________________________________________________ |
Added: svn:ignore |
2 | 65 | + .LocalSettingsNoBackup.php |
LocalSettings.php |