r102843 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102842‎ | r102843 | r102844 >
Date:02:34, 12 November 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Updating layout of form enabling script to reflect the layout of the spreadsheet tracking live forms; removing cruft
Modified paths:
  • /branches/fundraising/deployment/payments_1.17/DonationInterfaceFormSettings.php (modified) (history)

Diff [purge]

Index: branches/fundraising/deployment/payments_1.17/DonationInterfaceFormSettings.php
@@ -6,57 +6,53 @@
77 * All these exist, but are disabled by default.
88 * Uncomment to enable.
99 */
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';
2410
25 -if ( !isset( $wgDonationDataAllowedHtmlForms )) $wgDonationDataAllowedHtmlForms = array();
2611
2712 /**
2813 * DonationInterface RapidHTML whitelist additions
2914 * These will apply to all enabled adapters
3015 */
31 -//example addition of an extension-wide form
32 -//$wgDonationInterfaceAllowedHtmlForms['demo'] = $wgDonationInterfaceHtmlFormDir .'/demo.html';
3316
3417 /** Sync up with the gateways again, in such a way that we get all the clobal changes without ditching what we already have. **/
 18+if ( !isset( $wgDonationDataAllowedHtmlForms )) $wgDonationDataAllowedHtmlForms = array();
3519 $wgGlobalCollectGatewayAllowedHtmlForms = array_merge( $wgGlobalCollectGatewayAllowedHtmlForms, $wgDonationDataAllowedHtmlForms );
3620 $wgPayflowProGatewayAllowedHtmlForms = array_merge( $wgPayflowProGatewayAllowedHtmlForms, $wgDonationDataAllowedHtmlForms );
3721
3822 /**
3923 * GlobalCollect RapidHTML whitelist additions
4024 */
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';
 25+// Bank Xfer - Two Step
4426 $wgGlobalCollectGatewayAllowedHtmlForms['bt'] = $wgGlobalCollectGatewayHtmlFormDir . '/bt/bt.html';
4527 $wgGlobalCollectGatewayAllowedHtmlForms['bt-CA'] = $wgGlobalCollectGatewayHtmlFormDir . '/bt/bt-CA.html';
4628 $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';
 29+
 30+// RealTime Banking - Two Step
5131 $wgGlobalCollectGatewayAllowedHtmlForms['rtbt-sofo'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-sofo.html';
5232 $wgGlobalCollectGatewayAllowedHtmlForms['rtbt-sofo-GB'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-sofo-GB.html';
 33+$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-ideal'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-ideal.html';
 34+$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-enets'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-enets.html';
 35+$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-eps'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-eps.html';
 36+$wgGlobalCollectGatewayAllowedHtmlForms['rtbt-ideal-noadd'] = $wgGlobalCollectGatewayHtmlFormDir . '/rtbt/rtbt-ideal-noadd.html';
5337
 38+// Credit Card - Single Step
 39+//$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3step'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3step.html';
 40+$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3step-CA'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3step-CA.html';
 41+$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3step-US'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3step-US.html';
 42+$wgGlobalCollectGatewayAllowedHtmlForms['webitects_2_3stepB-US'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects_2_3stepB-US.html';
 43+
 44+// Credit Card - Two Step
 45+$wgGlobalCollectGatewayAllowedHtmlForms['webitects2nd'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects2nd.html';
 46+$wgGlobalCollectGatewayAllowedHtmlForms['webitects2nd-US'] = $wgGlobalCollectGatewayHtmlFormDir . '/webitects2nd-US.html';
 47+
5448 /**
5549 * PayflowPro RapidHTML whitelist additions
5650 */
5751 //The following example is hard-coded as a default. Just a sample line.
5852 //$wgPayflowProGatewayAllowedHtmlForms['lightbox1'] = $wgPayflowProGatewayHtmlFormDir .'/lightbox1.html';
59 -$wgPayflowProGatewayAllowedHtmlForms['webitects_2_3step'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_3step.html';
 53+// Credit Card - Single Step
 54+//$wgPayflowProGatewayAllowedHtmlForms['webitects_2_3step'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_3step.html';
6055 $wgPayflowProGatewayAllowedHtmlForms['webitects_2_3step-CA'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_3step-CA.html';
 56+
 57+// Credit Card - Two Step
6158 $wgPayflowProGatewayAllowedHtmlForms['webitects_2_2step-US'] = $wgPayflowProGatewayHtmlFormDir .'/webitects_2_2step-US.html';
6259 $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';

Status & tagging log