Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter2.php |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +class PayflowProGateway_Form_TwoStepTwoColumnLetter2 extends PayflowProGateway_Form_TwoStepTwoColumnLetter { |
| 5 | + public function __construct( &$form_data, &$form_errors ) { |
| 6 | + global $wgScriptPath; |
| 7 | + |
| 8 | + // set the path to css, before the parent constructor is called, checking to make sure some child class hasn't already set this |
| 9 | + if ( !strlen( $this->getStylePath() ) ) { |
| 10 | + $this->setStylePath( $wgScriptPath . '/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter2.css' ); |
| 11 | + } |
| 12 | + |
| 13 | + parent::__construct( $form_data, $form_errors ); |
| 14 | + } |
| 15 | +} |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoColumnLetter5.css |
— | — | @@ -84,6 +84,18 @@ |
85 | 85 | font-size:1.125em; |
86 | 86 | margin-bottom:1em; |
87 | 87 | } |
| 88 | +input#fname { |
| 89 | + width:133px !important; |
| 90 | +} |
| 91 | +input#lname { |
| 92 | + width:155px !important; |
| 93 | +} |
| 94 | +input.fullwidth { |
| 95 | + width:300px !important; |
| 96 | +} |
| 97 | +div#payflowpro_gateway-form-submit-paypal { |
| 98 | + display: none; |
| 99 | +} |
88 | 100 | |
89 | 101 | /* Hiding content border */ |
90 | 102 | table { |
— | — | @@ -96,23 +108,10 @@ |
97 | 109 | div#mw-head-base { |
98 | 110 | background-image: none !important; |
99 | 111 | } |
100 | | -input#fname { |
101 | | - width:133px !important; |
102 | | -} |
103 | | -input#lname { |
104 | | - width:155px !important; |
105 | | -} |
106 | | -input.fullwidth { |
107 | | - width:300px !important; |
108 | | -} |
109 | 112 | #footer { |
110 | 113 | background-image: none !important; |
111 | 114 | } |
112 | 115 | |
113 | | -div#payflowpro_gateway-form-submit-paypal { |
114 | | - display: none; |
115 | | -} |
116 | | - |
117 | 116 | /* Hiding stuff we don't need */ |
118 | 117 | h1#firstHeading, div#contentSub { |
119 | 118 | display: none; |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoColumnLetter6.css |
— | — | @@ -84,6 +84,15 @@ |
85 | 85 | font-size:1.125em; |
86 | 86 | margin-bottom:1em; |
87 | 87 | } |
| 88 | +input#fname { |
| 89 | + width:133px !important; |
| 90 | +} |
| 91 | +input#lname { |
| 92 | + width:155px !important; |
| 93 | +} |
| 94 | +input.fullwidth { |
| 95 | + width:300px !important; |
| 96 | +} |
88 | 97 | |
89 | 98 | /* Hiding content border */ |
90 | 99 | table { |
— | — | @@ -96,15 +105,6 @@ |
97 | 106 | div#mw-head-base { |
98 | 107 | background-image: none !important; |
99 | 108 | } |
100 | | -input#fname { |
101 | | - width:133px !important; |
102 | | -} |
103 | | -input#lname { |
104 | | - width:155px !important; |
105 | | -} |
106 | | -input.fullwidth { |
107 | | - width:300px !important; |
108 | | -} |
109 | 109 | #footer { |
110 | 110 | background-image: none !important; |
111 | 111 | } |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoStepTwoColumnLetter2.css |
— | — | @@ -0,0 +1,104 @@ |
| 2 | +.payflow-cc-form-section { |
| 3 | + float: none; |
| 4 | + margin-right: 0em; |
| 5 | + margin-bottom: 1em; |
| 6 | +} |
| 7 | + |
| 8 | +#payflowpro_gateway-cc_form_container { |
| 9 | + width: 100%; |
| 10 | +} |
| 11 | + |
| 12 | +#payflowpro_gateway-cc_form_form { |
| 13 | + width: 475px; |
| 14 | + float: right; |
| 15 | + margin-left: 2em; |
| 16 | + padding-left: 2em; |
| 17 | + border-left: 1px solid #BBBBBB; |
| 18 | +} |
| 19 | + |
| 20 | +#payflowpro_gateway-cc_form_letter { |
| 21 | + height: 100%; |
| 22 | +} |
| 23 | + |
| 24 | +#payflowpro_gateway-cc_form_letter p { |
| 25 | + font-size: 1.125em; |
| 26 | + margin-bottom: 1.2em; |
| 27 | +} |
| 28 | + |
| 29 | +#payflowpro_gateway-personal-info { |
| 30 | + margin-right:0 !important; |
| 31 | +} |
| 32 | + |
| 33 | +#payflowpro_gateway-donate-addl-info-secure-logos { |
| 34 | + float: left; |
| 35 | + margin-right: 2em; |
| 36 | +} |
| 37 | + |
| 38 | +#payflowpro_gateway-cc_form_letter_inside { |
| 39 | + padding-top: .5em; |
| 40 | +} |
| 41 | + |
| 42 | +#payflowpro_gateway-cc_otherways { |
| 43 | + padding-top: .5em; |
| 44 | + display: block; |
| 45 | +} |
| 46 | +#payflowpro_gateway-donate-addl-info { |
| 47 | + margin-top:3em !important; |
| 48 | + margin-bottom:1em !important; |
| 49 | +} |
| 50 | + |
| 51 | +#appeal { |
| 52 | + background-color:#F3F3F3; |
| 53 | + border-color:silver; |
| 54 | + border-style:solid; |
| 55 | + border-width:1px 0 1px 1px; |
| 56 | + padding:16px 24px 24px; |
| 57 | +} |
| 58 | +#appeal-head { |
| 59 | + font-size:1.5em; |
| 60 | + line-height:1.125em; |
| 61 | + padding-bottom:0.5em; |
| 62 | + padding-top:0.125em; |
| 63 | +} |
| 64 | +#appeal-body { |
| 65 | + font-size:1.125em; |
| 66 | + margin-bottom:1em; |
| 67 | + padding:0.2em 0; |
| 68 | +} |
| 69 | +#donate { |
| 70 | + background-color:#A9D9A3; |
| 71 | + border:1px solid #5EAC58; |
| 72 | + padding:16px 24px 24px; |
| 73 | + width:400px; |
| 74 | +} |
| 75 | +#donate-head { |
| 76 | + border-color:#5EAC58; |
| 77 | + font-size:1.5em; |
| 78 | + line-height:1.125em; |
| 79 | + padding-bottom:0.5em; |
| 80 | + padding-top:0.125em; |
| 81 | +} |
| 82 | +#donate-body { |
| 83 | + font-size:1.125em; |
| 84 | + margin-bottom:1em; |
| 85 | +} |
| 86 | + |
| 87 | +/* Hiding content border */ |
| 88 | +table { |
| 89 | + background-color: transparent; |
| 90 | +} |
| 91 | +div#content { |
| 92 | + background-color: transparent !important; |
| 93 | + background-image: none !important; |
| 94 | +} |
| 95 | +div#mw-head-base { |
| 96 | + background-image: none !important; |
| 97 | +} |
| 98 | +#footer { |
| 99 | + background-image: none !important; |
| 100 | +} |
| 101 | + |
| 102 | +/* Hiding stuff we don't need */ |
| 103 | +h1#firstHeading, div#contentSub { |
| 104 | + display: none; |
| 105 | +} |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php |
— | — | @@ -24,6 +24,7 @@ |
25 | 25 | $wgAutoloadClasses[ 'PayflowProGateway_Form' ] = $dir . 'forms/Form.php'; |
26 | 26 | $wgAutoloadClasses[ 'PayflowProGateway_Form_OneStepTwoColumn' ] = $dir . 'forms/OneStepTwoColumn.php'; |
27 | 27 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoStepTwoColumn' ] = $dir . 'forms/TwoStepTwoColumn.php'; |
| 28 | +$wgAutoloadClasses[ 'PayflowProGateway_Form_TwoStepTwoColumn2' ] = $dir . 'forms/TwoStepTwoColumn2.php'; |
28 | 29 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnPayPal' ] = $dir . 'forms/TwoColumnPayPal.php'; |
29 | 30 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnLetter' ] = $dir . 'forms/TwoColumnLetter.php'; |
30 | 31 | $wgAutoloadClasses[ 'PayflowProGateway_Form_TwoColumnLetter2' ] = $dir . 'forms/TwoColumnLetter2.php'; |