Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter5.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | |
9 | 9 | // set the path to css, before the parent constructor is called, checking to make sure some child class hasn't already set this |
10 | 10 | if ( !strlen( $this->getStylePath() ) ) { |
11 | | - $this->setStylePath( $wgScriptPath . '/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoColumnLetter.css' ); |
| 11 | + $this->setStylePath( $wgScriptPath . '/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoColumnLetter5.css' ); |
12 | 12 | } |
13 | 13 | |
14 | 14 | parent::__construct( $form_data, $form_errors ); |
— | — | @@ -104,11 +104,16 @@ |
105 | 105 | $form .= '<td>' . Xml::radio( 'payment_method', 1, $this->form_data['payment_method'] == 1 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ) . |
106 | 106 | Xml::radio( 'payment_method', 2, $this->form_data['payment_method'] == 2 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ) . |
107 | 107 | Xml::radio( 'payment_method', 3, $this->form_data['payment_method'] == 3 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ) . |
108 | | - Xml::radio( 'payment_method', 4, $this->form_data['payment_method'] == 4 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ) . "<br/>" . |
| 108 | + Xml::radio( 'payment_method', 4, $this->form_data['payment_method'] == 4 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ) . |
109 | 109 | Xml::radio( 'payment_method', 5, $this->form_data['payment_method'] == 5 ) . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) . |
110 | 110 | '</td>'; |
111 | 111 | $form .= '</tr>'; |
112 | 112 | |
| 113 | + $form .= '</table>'; |
| 114 | + |
| 115 | + $form .= Xml::openElement( 'div', array( 'id' => 'credit-card-stuff' ) ); |
| 116 | + $form .= Xml::openElement( 'table', array( 'id' => 'payflow-table-donor' ) ); |
| 117 | + |
113 | 118 | /* |
114 | 119 | // make sure we have a paypal url set to redirect the user to before displaying the button |
115 | 120 | if ( strlen( $wgPayflowGatewayPaypalURL ) ) { |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/css/TwoColumnLetter5.css |
— | — | @@ -0,0 +1,112 @@ |
| 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 | + background-color: transparent; |
| 54 | + /* border-color:silver; */ |
| 55 | + border-color: transparent; |
| 56 | + border-style:solid; |
| 57 | + border-width:1px 0 1px 1px; |
| 58 | + padding:16px 24px 24px; |
| 59 | +} |
| 60 | +#appeal-head { |
| 61 | + font-size:1.5em; |
| 62 | + line-height:1.125em; |
| 63 | + padding-bottom:0.5em; |
| 64 | + padding-top:0.125em; |
| 65 | +} |
| 66 | +#appeal-body { |
| 67 | + font-size:1.125em; |
| 68 | + margin-bottom:1em; |
| 69 | + padding:0.2em 0; |
| 70 | +} |
| 71 | +#donate { |
| 72 | + background-color:#A9D9A3; |
| 73 | + border:1px solid #5EAC58; |
| 74 | + padding:16px 24px 24px; |
| 75 | + width:450px; |
| 76 | +} |
| 77 | +#donate-head { |
| 78 | + border-color:#5EAC58; |
| 79 | + font-size:1.5em; |
| 80 | + line-height:1.125em; |
| 81 | + padding-bottom:0.5em; |
| 82 | + padding-top:0.125em; |
| 83 | +} |
| 84 | +#donate-body { |
| 85 | + font-size:1.125em; |
| 86 | + margin-bottom:1em; |
| 87 | +} |
| 88 | + |
| 89 | +/* Hiding content border */ |
| 90 | +table { |
| 91 | + background-color: transparent; |
| 92 | +} |
| 93 | +div#content { |
| 94 | + background-color: transparent !important; |
| 95 | + background-image: none !important; |
| 96 | +} |
| 97 | +div#mw-head-base { |
| 98 | + background-image: none !important; |
| 99 | +} |
| 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 | + |
| 110 | +/* Hiding stuff we don't need */ |
| 111 | +h1#firstHeading, div#contentSub { |
| 112 | + display: none; |
| 113 | +} |