Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.css |
— | — | @@ -1,126 +0,0 @@ |
2 | | -/* Hide various interface elements */ |
3 | | -#left-navigation { |
4 | | - display: none !important; |
5 | | -} |
6 | | -#right-navigation { |
7 | | - display: none !important; |
8 | | -} |
9 | | -#p-search { |
10 | | - display: none !important; |
11 | | -} |
12 | | -#mw-panel div.portal { |
13 | | - display: none !important; |
14 | | -} |
15 | | -body.ltr #footer #footer-places { |
16 | | - display: none !important; |
17 | | -} |
18 | | - |
19 | | -/* Form styling */ |
20 | | -.creditcard-error-msg { |
21 | | - color: #cc1100; |
22 | | -} |
23 | | - |
24 | | -.mw-creditcard-donor { |
25 | | - width: 25px; |
26 | | -} |
27 | | - |
28 | | -.mw-donate-submessage { |
29 | | -/* padding-top: 10px; */ |
30 | | -} |
31 | | - |
32 | | -#mw-donate-submit-button { |
33 | | -/* padding-top: 10px; |
34 | | - padding-bottom: 10px; |
35 | | - padding-left: 100px;*/ |
36 | | -} |
37 | | - |
38 | | -#mw-creditcard { |
39 | | - margin-bottom: 1em; |
40 | | -} |
41 | | - |
42 | | -.payflow-cc-form-section { |
43 | | - float: left; |
44 | | -} |
45 | | - |
46 | | -#payflowpro_gateway-personal-info { |
47 | | - margin-right: 4em; |
48 | | - margin-bottom: 1em; |
49 | | -} |
50 | | - |
51 | | -#payflowpro_gateway-form-submit, #payflowpro_gateway-form-submit-paypal { |
52 | | - margin-top: 1.2em; |
53 | | - text-align: center; |
54 | | - margin-bottom: 1em; |
55 | | -} |
56 | | - |
57 | | -#payflowpro_gateway-donate-addl-info { |
58 | | - margin-top: 4em; |
59 | | - margin-bottom: 4em; |
60 | | - clear: both; |
61 | | -} |
62 | | - |
63 | | -#payflow-table-cc td { |
64 | | - text-align: left; |
65 | | -} |
66 | | - |
67 | | -#payflow-table-donor, #payflow-table-cc, #payflow-table-paypal { |
68 | | - background-color: transparent; |
69 | | -} |
70 | | - |
71 | | -#payflow-table-donor td.label, #payflow-table-comment td.label, #payflow-table-cc td.label { |
72 | | - text-align: right; |
73 | | - display: block; |
74 | | - padding-right: 1em; |
75 | | - width: 94px; |
76 | | -} |
77 | | - |
78 | | -#payflow-table-comment td.check-option { |
79 | | - padding-left: 3em; |
80 | | -} |
81 | | - |
82 | | -#payflow-table-donor td { |
83 | | - text-align: left; |
84 | | -} |
85 | | - |
86 | | -#payflowpro_gateway-donate-addl-info-secure-logos { |
87 | | - float: left; |
88 | | - margin-right: 2em; |
89 | | -} |
90 | | - |
91 | | -.button-plain { |
92 | | - font-size: 1em; |
93 | | - margin-bottom: 0.3em; |
94 | | -} |
95 | | - |
96 | | -.button-navyblue { |
97 | | - background-image:url("https://payments.wikimedia.org/images/0/06/Button-wavy-blue.png"); |
98 | | - color:#FFFFFF; |
99 | | - cursor:pointer; |
100 | | -} |
101 | | - |
102 | | -.input-button { |
103 | | - background-color:transparent; |
104 | | - background-repeat:no-repeat; |
105 | | - border:medium none; |
106 | | - font-family:helvetica,impact,sans-serif; |
107 | | - font-size:1.4em; |
108 | | - font-weight:bold; |
109 | | - height:44px; |
110 | | - margin:0; |
111 | | - text-align:center; |
112 | | - vertical-align:middle; |
113 | | - width:204px; |
114 | | -} |
115 | | - |
116 | | -#ca-special { |
117 | | - display: none; |
118 | | -} |
119 | | - |
120 | | -#bodyContent input[type="text"], textarea { |
121 | | - border: 1px solid #C0C0C0; |
122 | | - padding: 3px; |
123 | | -} |
124 | | - |
125 | | -input#fname { width: 110px; margin-right: 4px; } |
126 | | -input#lname { width: 132px; } |
127 | | -input.fullwidth { width: 254px; } |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter2.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | |
85 | 85 | protected function generateBillingFields() { |
86 | 86 | global $wgScriptPath, $wgRequest; |
87 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 87 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
88 | 88 | |
89 | 89 | $form = ''; |
90 | 90 | |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | $form .= Html::hidden( 'PaypalRedirect', 0 ); |
116 | 116 | $form .= Xml::tags( 'div', |
117 | 117 | array(), |
118 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) |
| 118 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) |
119 | 119 | ); |
120 | 120 | $form .= '</td>'; |
121 | 121 | $form .= '</tr>'; |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | $form = ''; |
206 | 206 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
207 | 207 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
208 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate.gif" ) ) ); |
| 208 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate.gif" ) ) ); |
209 | 209 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
210 | 210 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
211 | 211 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter3.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | |
85 | 85 | protected function generateBillingFields() { |
86 | 86 | global $wgScriptPath, $wgRequest; |
87 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 87 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
88 | 88 | |
89 | 89 | $form = ''; |
90 | 90 | |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | $form .= Html::hidden( 'PaypalRedirect', 0 ); |
116 | 116 | $form .= Xml::tags( 'div', |
117 | 117 | array(), |
118 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) |
| 118 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) |
119 | 119 | ); |
120 | 120 | $form .= '</td>'; |
121 | 121 | $form .= '</tr>'; |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | $form = ''; |
206 | 206 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
207 | 207 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
208 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate.gif" ) ) ); |
| 208 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate.gif" ) ) ); |
209 | 209 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
210 | 210 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
211 | 211 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter4.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | |
85 | 85 | protected function generateBillingFields() { |
86 | 86 | global $wgScriptPath, $wgRequest; |
87 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 87 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
88 | 88 | |
89 | 89 | $form = ''; |
90 | 90 | |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | $form .= Html::hidden( 'PaypalRedirect', 0 ); |
116 | 116 | $form .= Xml::tags( 'div', |
117 | 117 | array(), |
118 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) |
| 118 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) |
119 | 119 | ); |
120 | 120 | $form .= '</td>'; |
121 | 121 | $form .= '</tr>'; |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | $form = ''; |
206 | 206 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
207 | 207 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
208 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate.gif" ) ) ); |
| 208 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate.gif" ) ) ); |
209 | 209 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
210 | 210 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
211 | 211 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter5.php |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | |
82 | 82 | protected function generateBillingFields() { |
83 | 83 | global $wgScriptPath, $wgRequest; |
84 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 84 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
85 | 85 | |
86 | 86 | $form = ''; |
87 | 87 | |
— | — | @@ -136,11 +136,11 @@ |
137 | 137 | $form .= '<tr>'; |
138 | 138 | $form .= '<td class="label">' . wfMsg( 'payflowpro_gateway-payment-type' ) . '</td>'; |
139 | 139 | $form .= '<td>' . |
140 | | - Xml::radio( 'card_type', 'cc1', $this->form_data['card_type'] == 'cc1', array( 'id' => 'cc1radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ). '</label>' . |
141 | | - Xml::radio( 'card_type', 'cc2', $this->form_data['card_type'] == 'cc2', array( 'id' => 'cc2radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc2radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ). '</label>' . |
142 | | - Xml::radio( 'card_type', 'cc3', $this->form_data['card_type'] == 'cc3', array( 'id' => 'cc3radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc3radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ). '</label>' . |
143 | | - Xml::radio( 'card_type', 'cc4', $this->form_data['card_type'] == 'cc4', array( 'id' => 'cc4radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc4radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ). '</label>' . |
144 | | - Xml::radio( 'card_type', 'pp', $this->form_data['card_type'] == 'pp', array( 'id' => 'ppradio', 'onclick' => 'switchToPayPal()' ) ) . '<label for="ppradio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) . '</label>' . |
| 140 | + Xml::radio( 'card_type', 'cc1', $this->form_data['card_type'] == 'cc1', array( 'id' => 'cc1radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-visa.png" ) ). '</label>' . |
| 141 | + Xml::radio( 'card_type', 'cc2', $this->form_data['card_type'] == 'cc2', array( 'id' => 'cc2radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc2radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" ) ). '</label>' . |
| 142 | + Xml::radio( 'card_type', 'cc3', $this->form_data['card_type'] == 'cc3', array( 'id' => 'cc3radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc3radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-amex.png" ) ). '</label>' . |
| 143 | + Xml::radio( 'card_type', 'cc4', $this->form_data['card_type'] == 'cc4', array( 'id' => 'cc4radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc4radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-discover.png" ) ). '</label>' . |
| 144 | + Xml::radio( 'card_type', 'pp', $this->form_data['card_type'] == 'pp', array( 'id' => 'ppradio', 'onclick' => 'switchToPayPal()' ) ) . '<label for="ppradio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-paypal.png" ) ) . '</label>' . |
145 | 145 | '</td>'; |
146 | 146 | $form .= '</tr>'; |
147 | 147 | |
— | — | @@ -241,7 +241,7 @@ |
242 | 242 | $form = ''; |
243 | 243 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
244 | 244 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
245 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
| 245 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
246 | 246 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
247 | 247 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
248 | 248 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter6.php |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | |
82 | 82 | protected function generateBillingFields() { |
83 | 83 | global $wgScriptPath, $wgRequest; |
84 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 84 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
85 | 85 | |
86 | 86 | $form = ''; |
87 | 87 | |
— | — | @@ -130,11 +130,11 @@ |
131 | 131 | $form .= '<tr>'; |
132 | 132 | $form .= '<td class="label">' . wfMsg( 'payflowpro_gateway-payment-type' ) . '</td>'; |
133 | 133 | $form .= '<td>' . |
134 | | - Xml::radio( 'card_type', 'cc1', $this->form_data['card_type'] == 'cc1', array( 'id' => 'cc1radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ). '</label>' . |
135 | | - Xml::radio( 'card_type', 'cc2', $this->form_data['card_type'] == 'cc2', array( 'id' => 'cc2radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc2radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ). '</label>' . |
136 | | - Xml::radio( 'card_type', 'cc3', $this->form_data['card_type'] == 'cc3', array( 'id' => 'cc3radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc3radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ). '</label>' . |
137 | | - Xml::radio( 'card_type', 'cc4', $this->form_data['card_type'] == 'cc4', array( 'id' => 'cc4radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc4radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ). '</label>' . |
138 | | - Xml::radio( 'card_type', 'pp', $this->form_data['card_type'] == 'pp', array( 'id' => 'ppradio', 'onclick' => 'switchToPayPal()' ) ) . '<label for="ppradio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) . '</label>' . |
| 134 | + Xml::radio( 'card_type', 'cc1', $this->form_data['card_type'] == 'cc1', array( 'id' => 'cc1radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-visa.png" ) ). '</label>' . |
| 135 | + Xml::radio( 'card_type', 'cc2', $this->form_data['card_type'] == 'cc2', array( 'id' => 'cc2radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc2radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" ) ). '</label>' . |
| 136 | + Xml::radio( 'card_type', 'cc3', $this->form_data['card_type'] == 'cc3', array( 'id' => 'cc3radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc3radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-amex.png" ) ). '</label>' . |
| 137 | + Xml::radio( 'card_type', 'cc4', $this->form_data['card_type'] == 'cc4', array( 'id' => 'cc4radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc4radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-discover.png" ) ). '</label>' . |
| 138 | + Xml::radio( 'card_type', 'pp', $this->form_data['card_type'] == 'pp', array( 'id' => 'ppradio', 'onclick' => 'switchToPayPal()' ) ) . '<label for="ppradio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-paypal.png" ) ) . '</label>' . |
139 | 139 | '</td>'; |
140 | 140 | $form .= '</tr>'; |
141 | 141 | |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | $form = ''; |
259 | 259 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
260 | 260 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
261 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
| 261 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
262 | 262 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
263 | 263 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
264 | 264 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter.php |
— | — | @@ -101,17 +101,17 @@ |
102 | 102 | // card logos |
103 | 103 | if ( $this->form_data[ 'currency' ] == 'USD' ) { |
104 | 104 | $form .= '<tr id="four_cards" style="display:table-row;">'; |
105 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 105 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
106 | 106 | $form .= '</tr>'; |
107 | 107 | $form .= '<tr id="two_cards" style="display:none;">'; |
108 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 108 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
109 | 109 | $form .= '</tr>'; |
110 | 110 | } else { |
111 | 111 | $form .= '<tr id="four_cards" style="display:none;">'; |
112 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 112 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
113 | 113 | $form .= '</tr>'; |
114 | 114 | $form .= '<tr id="two_cards" style="display:table-row;">'; |
115 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 115 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
116 | 116 | $form .= '</tr>'; |
117 | 117 | } |
118 | 118 | |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/demo.html |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | </tr> |
60 | 60 | <tr> |
61 | 61 | <td /> |
62 | | - <td><img src="/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" /></td> |
| 62 | + <td><img src="/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" /></td> |
63 | 63 | </tr> |
64 | 64 | <tr> |
65 | 65 | <td class="label"><label for="card_num">Card number</label></td> |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | <input type="hidden" value="@owa_session" name="owa_session" /> |
158 | 158 | <input type="hidden" value="@owa_ref" name="owa_ref" /> |
159 | 159 | </form> |
160 | | -<div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"><div id="payflowpro_gateway-donate-addl-info-secure-logos"><p class=""><img src="/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png"></p></div><div id="payflowpro_gateway-donate-addl-info-text"><p class=""><a href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">Other ways to give</a></p><p class="">We do not store your credit card information, and your personal data is subject to our <a href="http://wikimediafoundation.org/wiki/Donor_Privacy_Policy">privacy policy</a>.</p><p class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a></p></div></div></td></tr></table><div class="printfooter"> |
| 160 | +<div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"><div id="payflowpro_gateway-donate-addl-info-secure-logos"><p class=""><img src="/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png"></p></div><div id="payflowpro_gateway-donate-addl-info-text"><p class=""><a href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">Other ways to give</a></p><p class="">We do not store your credit card information, and your personal data is subject to our <a href="http://wikimediafoundation.org/wiki/Donor_Privacy_Policy">privacy policy</a>.</p><p class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a></p></div></div></td></tr></table><div class="printfooter"> |
161 | 161 | |
162 | 162 | Retrieved from "<a href="https://payments.wikimedia.org/index.php/Special:PayflowProGateway">https://payments.wikimedia.org/index.php/Special:PayflowProGateway</a>"</div> |
163 | 163 | |
\ No newline at end of file |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/globalcollect_test.html |
— | — | @@ -131,12 +131,12 @@ |
132 | 132 | </tr> |
133 | 133 | <tr class="step2hidden"> |
134 | 134 | <td colspan="2"><h3 class="cc_header">Billing information<img |
135 | | - src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" |
| 135 | + src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" |
136 | 136 | style="vertical-align:baseline;margin-left:8px;"/></h3></td> |
137 | 137 | </tr> |
138 | 138 | <tr> |
139 | 139 | <td class="label"></td> |
140 | | - <td><img src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" style="padding-top: 10px;"/> |
| 140 | + <td><img src="@script_path/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" style="padding-top: 10px;"/> |
141 | 141 | </td> |
142 | 142 | </tr> |
143 | 143 | <tr> |
— | — | @@ -188,8 +188,8 @@ |
189 | 189 | <td class="label"></td> |
190 | 190 | <td> |
191 | 191 | <div id="mw-donate-submit-button"><input style="margin-top:19px;" |
192 | | - src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png" alt="Submit donation" type="image"/></div> |
193 | | - <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"><img src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.</div> |
| 192 | + src="@script_path/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png" alt="Submit donation" type="image"/></div> |
| 193 | + <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"><img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.</div> |
194 | 194 | </td> |
195 | 195 | </tr> |
196 | 196 | </table> |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/globalcollect_test_2.html |
— | — | @@ -84,14 +84,14 @@ |
85 | 85 | <tr> |
86 | 86 | <td colspan="2"> |
87 | 87 | <h3 class="cc_header"> |
88 | | - Billing information <img style="vertical-align:baseline;margin-left:8px;" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif"> |
| 88 | + Billing information <img style="vertical-align:baseline;margin-left:8px;" src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif"> |
89 | 89 | </h3> |
90 | 90 | </td> |
91 | 91 | </tr> |
92 | 92 | <tr> |
93 | 93 | <td class="label"></td> |
94 | 94 | <td><img |
95 | | - src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif"/> |
| 95 | + src="@script_path/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif"/> |
96 | 96 | </td> |
97 | 97 | </tr> |
98 | 98 | <tr> |
— | — | @@ -246,9 +246,9 @@ |
247 | 247 | <td class="label"></td> |
248 | 248 | <td> |
249 | 249 | <div id="mw-donate-submit-button"> <br/><input |
250 | | - src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png" |
| 250 | + src="@script_path/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png" |
251 | 251 | alt="Submit donation" type="image"/></div> |
252 | | - <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"><img src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.</div> |
| 252 | + <div class="mw-donate-submessage" id="payflowpro_gateway-donate-submessage"><img src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" style="vertical-align:baseline;margin-right:4px;">Your credit / debit card will be securely processed.</div> |
253 | 253 | </td> |
254 | 254 | </tr> |
255 | 255 | </table> |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/webitects_2_3step.html |
— | — | @@ -127,10 +127,10 @@ |
128 | 128 | <dt><span class="label">Select credit card</span></dt> |
129 | 129 | <dd class="field" style="margin-bottom: 0;"> |
130 | 130 | <ul class="options-h" id="cards" style="margin: 0;"> |
131 | | - <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" class="cardradio" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" /></label></li> |
132 | | - <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" class="cardradio" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" /></label></li> |
133 | | - <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" class="cardradio" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" /></label></li> |
134 | | - <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" class="cardradio" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" /></label></li> |
| 131 | + <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" class="cardradio" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-visa.png" /></label></li> |
| 132 | + <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" class="cardradio" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" /></label></li> |
| 133 | + <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" class="cardradio" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-amex.png" /></label></li> |
| 134 | + <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" class="cardradio" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-discover.png" /></label></li> |
135 | 135 | </ul> |
136 | 136 | <div id="paymentContinue" style="margin-top: 10px; display: none;"> <input class="btn" id="paymentContinueBtn" type="button" value="Continue" /></div> |
137 | 137 | </dd> |
— | — | @@ -191,7 +191,7 @@ |
192 | 192 | <dt></dt> |
193 | 193 | <dd class="field"> |
194 | 194 | <input id="submitcreditcard" class="btn" type="button" value="Submit donation" /> |
195 | | - <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
| 195 | + <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
196 | 196 | </dd> |
197 | 197 | </dl> |
198 | 198 | </div> |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/webitects_1.html |
— | — | @@ -107,10 +107,10 @@ |
108 | 108 | <dt><span class="label">Select credit card</span></dt> |
109 | 109 | <dd class="field" style="margin-bottom: 0;"> |
110 | 110 | <ul class="options-h" id="cards" style="margin: 0;"> |
111 | | - <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" /></label></li> |
112 | | - <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" /></label></li> |
113 | | - <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" /></label></li> |
114 | | - <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" /></label></li> |
| 111 | + <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-visa.png" /></label></li> |
| 112 | + <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" /></label></li> |
| 113 | + <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-amex.png" /></label></li> |
| 114 | + <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-discover.png" /></label></li> |
115 | 115 | </ul> |
116 | 116 | </dd> |
117 | 117 | </dl> |
— | — | @@ -166,7 +166,7 @@ |
167 | 167 | <dt></dt> |
168 | 168 | <dd class="field"> |
169 | 169 | <input id="submitcreditcard" class="btn" type="button" value="Submit donation" /> |
170 | | - <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
| 170 | + <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
171 | 171 | </dd> |
172 | 172 | </dl> |
173 | 173 | <input type="hidden" name="gateway" value="payflowpro" id="gateway" /> |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/webitects_1a.html |
— | — | @@ -102,10 +102,10 @@ |
103 | 103 | <dt><span class="label">Select credit card</span></dt> |
104 | 104 | <dd class="field" style="margin-bottom: 0;"> |
105 | 105 | <ul class="options-h" id="cards" style="margin: 0;"> |
106 | | - <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" /></label></li> |
107 | | - <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" /></label></li> |
108 | | - <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" /></label></li> |
109 | | - <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" /></label></li> |
| 106 | + <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-visa.png" /></label></li> |
| 107 | + <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" /></label></li> |
| 108 | + <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-amex.png" /></label></li> |
| 109 | + <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-discover.png" /></label></li> |
110 | 110 | </ul> |
111 | 111 | </dd> |
112 | 112 | </dl> |
— | — | @@ -161,7 +161,7 @@ |
162 | 162 | <dt></dt> |
163 | 163 | <dd class="field"> |
164 | 164 | <input id="submitcreditcard" class="btn" type="button" value="Submit donation" /> |
165 | | - <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
| 165 | + <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
166 | 166 | </dd> |
167 | 167 | </dl> |
168 | 168 | <input type="hidden" name="gateway" value="payflowpro" id="gateway" /> |
Index: trunk/extensions/DonationInterface/gateway_forms/rapidhtml/html/webitects_2.html |
— | — | @@ -113,10 +113,10 @@ |
114 | 114 | <dt><span class="label">Select credit card</span></dt> |
115 | 115 | <dd class="field" style="margin-bottom: 0;"> |
116 | 116 | <ul class="options-h" id="cards" style="margin: 0;"> |
117 | | - <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" /></label></li> |
118 | | - <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" /></label></li> |
119 | | - <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" /></label></li> |
120 | | - <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" /></label></li> |
| 117 | + <li><input id="cc-visa" name="cardtype" type="radio" value="Visa" /> <label for="cc-visa"><img alt="Visa" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-visa.png" /></label></li> |
| 118 | + <li><input id="cc-mastercard" name="cardtype" type="radio" value="MasterCard" /> <label for="cc-mastercard"><img alt="MasterCard" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" /></label></li> |
| 119 | + <li><input id="cc-amex" name="cardtype" type="radio" value="American Express" /> <label for="cc-amex"><img alt="American Express" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-amex.png" /></label></li> |
| 120 | + <li><input id="cc-discover" name="cardtype" type="radio" value="Discover" /> <label for="cc-discover"><img alt="Discover" src="@script_path/extensions/DonationInterface/gateway_forms/includes/card-discover.png" /></label></li> |
121 | 121 | </ul> |
122 | 122 | </dd> |
123 | 123 | </dl> |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | <dt></dt> |
175 | 175 | <dd class="field"> |
176 | 176 | <input id="submitcreditcard" class="btn" type="button" value="Submit donation" /> |
177 | | - <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
| 177 | + <p class="mute"><img alt="" src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif" /> Your credit card will be securely processed.</p> |
178 | 178 | </dd> |
179 | 179 | </dl> |
180 | 180 | <input type="hidden" name="gateway" value="payflowpro" id="gateway" /> |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter7.php |
— | — | @@ -193,7 +193,7 @@ |
194 | 194 | |
195 | 195 | protected function generateBillingFields() { |
196 | 196 | global $wgScriptPath, $wgRequest; |
197 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 197 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
198 | 198 | |
199 | 199 | $form = ''; |
200 | 200 | |
— | — | @@ -249,13 +249,13 @@ |
250 | 250 | $form .= '<td class="label""><div style="padding-top:9px;">' . wfMsg( 'payflowpro_gateway-payment-type' ) . '</div></td>'; |
251 | 251 | $form .= '<td>' . |
252 | 252 | '<p style="border: 1px solid rgb(187, 187, 187); float: left; -moz-border-radius: 5px 5px 5px 5px; margin: 0 8px 0 0; padding: 5px 5px 5px 3px; white-space: nowrap;">'. |
253 | | - Xml::radio( 'card_type', 'cc1', $this->form_data['card_type'] == 'cc1', array( 'id' => 'cc1radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-visa.png" ) ). '</label>' . |
254 | | - ' <label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-mastercard.png" ) ). '</label>' . |
255 | | - ' <label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-amex.png" ) ). '</label>' . |
256 | | - ' <label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-discover.png" ) ). '</label>' . |
| 253 | + Xml::radio( 'card_type', 'cc1', $this->form_data['card_type'] == 'cc1', array( 'id' => 'cc1radio', 'onclick' => 'switchToCreditCard()' ) ) . '<label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-visa.png" ) ). '</label>' . |
| 254 | + ' <label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-mastercard.png" ) ). '</label>' . |
| 255 | + ' <label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-amex.png" ) ). '</label>' . |
| 256 | + ' <label for="cc1radio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-discover.png" ) ). '</label>' . |
257 | 257 | '</p>'. |
258 | 258 | '<p style="border: 1px solid transparent; float: left; -moz-border-radius: 5px 5px 5px 5px; margin: 0; padding: 5px 5px 5px 3px; white-space: nowrap;">'. |
259 | | - Xml::radio( 'card_type', 'pp', $this->form_data['card_type'] == 'pp', array( 'id' => 'ppradio', 'onclick' => 'switchToPayPal()' ) ) . '<label for="ppradio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/card-paypal.png" ) ) . '</label>' . |
| 259 | + Xml::radio( 'card_type', 'pp', $this->form_data['card_type'] == 'pp', array( 'id' => 'ppradio', 'onclick' => 'switchToPayPal()' ) ) . '<label for="ppradio">' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/card-paypal.png" ) ) . '</label>' . |
260 | 260 | '</p>'. |
261 | 261 | '</td>'; |
262 | 262 | $form .= '</tr>'; |
— | — | @@ -270,7 +270,7 @@ |
271 | 271 | |
272 | 272 | $form .= '<tr>'; |
273 | 273 | $form .= '<td colspan="2"><h3 class="cc_header">' . wfMsg( 'payflowpro_gateway-cc-form-header-personal' ) . |
274 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
| 274 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
275 | 275 | $form .= '</tr>'; |
276 | 276 | |
277 | 277 | // card number |
— | — | @@ -366,10 +366,10 @@ |
367 | 367 | $form = Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-form-submit', 'style' => 'display: none;' ) ); |
368 | 368 | } |
369 | 369 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
370 | | - $form .= Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'onclick' => 'document.payment.PaypalRedirect.value=0;return true;', 'type' => 'image' ) ); |
| 370 | + $form .= Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'onclick' => 'document.payment.PaypalRedirect.value=0;return true;', 'type' => 'image' ) ); |
371 | 371 | $form .= Xml::closeElement( 'div' ); // close div#mw-donate-submit-button |
372 | 372 | $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage', 'id' => 'payflowpro_gateway-donate-submessage' ) ) . |
373 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your donation will be securely processed.'; |
| 373 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your donation will be securely processed.'; |
374 | 374 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage |
375 | 375 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-form-submit |
376 | 376 | |
— | — | @@ -381,10 +381,10 @@ |
382 | 382 | } |
383 | 383 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
384 | 384 | $form .= Html::hidden( 'PaypalRedirect', 0 ); |
385 | | - $form .= Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/continue-button.png", 'alt' => 'Submit donation', 'onclick' => 'document.payment.PaypalRedirect.value=1;return true;', 'type' => 'image' ) ); |
| 385 | + $form .= Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/continue-button.png", 'alt' => 'Submit donation', 'onclick' => 'document.payment.PaypalRedirect.value=1;return true;', 'type' => 'image' ) ); |
386 | 386 | $form .= Xml::closeElement( 'div' ); // close div#mw-donate-submit-button |
387 | 387 | $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage', 'id' => 'payflowpro_gateway-donate-submessage' ) ) . |
388 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your donation will be securely processed.'; |
| 388 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your donation will be securely processed.'; |
389 | 389 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage |
390 | 390 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-submit-paypal |
391 | 391 | return $form; |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetterCA.php |
— | — | @@ -101,17 +101,17 @@ |
102 | 102 | // card logos |
103 | 103 | if ( $this->form_data[ 'currency' ] == 'USD' ) { |
104 | 104 | $form .= '<tr id="four_cards" style="display:table-row;">'; |
105 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 105 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
106 | 106 | $form .= '</tr>'; |
107 | 107 | $form .= '<tr id="two_cards" style="display:none;">'; |
108 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 108 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
109 | 109 | $form .= '</tr>'; |
110 | 110 | } else { |
111 | 111 | $form .= '<tr id="four_cards" style="display:none;">'; |
112 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 112 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
113 | 113 | $form .= '</tr>'; |
114 | 114 | $form .= '<tr id="two_cards" style="display:table-row;">'; |
115 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 115 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
116 | 116 | $form .= '</tr>'; |
117 | 117 | } |
118 | 118 | |
Index: trunk/extensions/DonationInterface/gateway_forms/css/gateway.css |
— | — | @@ -0,0 +1,126 @@ |
| 2 | +/* Hide various interface elements */ |
| 3 | +#left-navigation { |
| 4 | + display: none !important; |
| 5 | +} |
| 6 | +#right-navigation { |
| 7 | + display: none !important; |
| 8 | +} |
| 9 | +#p-search { |
| 10 | + display: none !important; |
| 11 | +} |
| 12 | +#mw-panel div.portal { |
| 13 | + display: none !important; |
| 14 | +} |
| 15 | +body.ltr #footer #footer-places { |
| 16 | + display: none !important; |
| 17 | +} |
| 18 | + |
| 19 | +/* Form styling */ |
| 20 | +.creditcard-error-msg { |
| 21 | + color: #cc1100; |
| 22 | +} |
| 23 | + |
| 24 | +.mw-creditcard-donor { |
| 25 | + width: 25px; |
| 26 | +} |
| 27 | + |
| 28 | +.mw-donate-submessage { |
| 29 | +/* padding-top: 10px; */ |
| 30 | +} |
| 31 | + |
| 32 | +#mw-donate-submit-button { |
| 33 | +/* padding-top: 10px; |
| 34 | + padding-bottom: 10px; |
| 35 | + padding-left: 100px;*/ |
| 36 | +} |
| 37 | + |
| 38 | +#mw-creditcard { |
| 39 | + margin-bottom: 1em; |
| 40 | +} |
| 41 | + |
| 42 | +.payflow-cc-form-section { |
| 43 | + float: left; |
| 44 | +} |
| 45 | + |
| 46 | +#payflowpro_gateway-personal-info { |
| 47 | + margin-right: 4em; |
| 48 | + margin-bottom: 1em; |
| 49 | +} |
| 50 | + |
| 51 | +#payflowpro_gateway-form-submit, #payflowpro_gateway-form-submit-paypal { |
| 52 | + margin-top: 1.2em; |
| 53 | + text-align: center; |
| 54 | + margin-bottom: 1em; |
| 55 | +} |
| 56 | + |
| 57 | +#payflowpro_gateway-donate-addl-info { |
| 58 | + margin-top: 4em; |
| 59 | + margin-bottom: 4em; |
| 60 | + clear: both; |
| 61 | +} |
| 62 | + |
| 63 | +#payflow-table-cc td { |
| 64 | + text-align: left; |
| 65 | +} |
| 66 | + |
| 67 | +#payflow-table-donor, #payflow-table-cc, #payflow-table-paypal { |
| 68 | + background-color: transparent; |
| 69 | +} |
| 70 | + |
| 71 | +#payflow-table-donor td.label, #payflow-table-comment td.label, #payflow-table-cc td.label { |
| 72 | + text-align: right; |
| 73 | + display: block; |
| 74 | + padding-right: 1em; |
| 75 | + width: 94px; |
| 76 | +} |
| 77 | + |
| 78 | +#payflow-table-comment td.check-option { |
| 79 | + padding-left: 3em; |
| 80 | +} |
| 81 | + |
| 82 | +#payflow-table-donor td { |
| 83 | + text-align: left; |
| 84 | +} |
| 85 | + |
| 86 | +#payflowpro_gateway-donate-addl-info-secure-logos { |
| 87 | + float: left; |
| 88 | + margin-right: 2em; |
| 89 | +} |
| 90 | + |
| 91 | +.button-plain { |
| 92 | + font-size: 1em; |
| 93 | + margin-bottom: 0.3em; |
| 94 | +} |
| 95 | + |
| 96 | +.button-navyblue { |
| 97 | + background-image:url("https://payments.wikimedia.org/images/0/06/Button-wavy-blue.png"); |
| 98 | + color:#FFFFFF; |
| 99 | + cursor:pointer; |
| 100 | +} |
| 101 | + |
| 102 | +.input-button { |
| 103 | + background-color:transparent; |
| 104 | + background-repeat:no-repeat; |
| 105 | + border:medium none; |
| 106 | + font-family:helvetica,impact,sans-serif; |
| 107 | + font-size:1.4em; |
| 108 | + font-weight:bold; |
| 109 | + height:44px; |
| 110 | + margin:0; |
| 111 | + text-align:center; |
| 112 | + vertical-align:middle; |
| 113 | + width:204px; |
| 114 | +} |
| 115 | + |
| 116 | +#ca-special { |
| 117 | + display: none; |
| 118 | +} |
| 119 | + |
| 120 | +#bodyContent input[type="text"], textarea { |
| 121 | + border: 1px solid #C0C0C0; |
| 122 | + padding: 3px; |
| 123 | +} |
| 124 | + |
| 125 | +input#fname { width: 110px; margin-right: 4px; } |
| 126 | +input#lname { width: 132px; } |
| 127 | +input.fullwidth { width: 254px; } |
Property changes on: trunk/extensions/DonationInterface/gateway_forms/css/gateway.css |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 128 | + native |
Index: trunk/extensions/DonationInterface/gateway_forms/Form.php |
— | — | @@ -123,7 +123,7 @@ |
124 | 124 | $form = ''; |
125 | 125 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
126 | 126 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
127 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
| 127 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
128 | 128 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
129 | 129 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
130 | 130 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
— | — | @@ -605,7 +605,7 @@ |
606 | 606 | |
607 | 607 | protected function getPaypalButton() { |
608 | 608 | global $wgScriptPath; |
609 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 609 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
610 | 610 | |
611 | 611 | $form = '<tr>'; |
612 | 612 | $form .= '<td class="paypal-button" colspan="2">'; |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoColumnLetter.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | |
85 | 85 | protected function generateBillingFields() { |
86 | 86 | global $wgScriptPath; |
87 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 87 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
88 | 88 | |
89 | 89 | $form = ''; |
90 | 90 | |
— | — | @@ -118,7 +118,7 @@ |
119 | 119 | $form .= Html::hidden( 'PaypalRedirect', 0 ); |
120 | 120 | $form .= Xml::tags( 'div', |
121 | 121 | array(), |
122 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos2.gif" ) ) . '   <a href="#" onclick="document.payment.PaypalRedirect.value=1;document.payment.submit();"><img src="' . $scriptPath . '/donate_with_paypal.gif"/></a>' |
| 122 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos2.gif" ) ) . '   <a href="#" onclick="document.payment.PaypalRedirect.value=1;document.payment.submit();"><img src="' . $scriptPath . '/donate_with_paypal.gif"/></a>' |
123 | 123 | ); |
124 | 124 | $form .= '</td>'; |
125 | 125 | $form .= '</tr>'; |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnPremium.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | |
25 | 25 | $form .= Xml::openElement( 'div', array( 'id' => 'premium-confirmation' ) ); |
26 | 26 | $form .= Xml::tags( 'div', array( 'id' => 'premium-header' ), wfMsg( 'payflowpro_gateway-tshirt-confirmation' ) ); |
27 | | - $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/wikipedia-ten-tshirt-front.png", 'width' => '300', 'height' => '280' ) ) . "<br/>"; |
| 27 | + $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/wikipedia-ten-tshirt-front.png", 'width' => '300', 'height' => '280' ) ) . "<br/>"; |
28 | 28 | $form .= Xml::openElement( 'div', array( 'id' => 'premium-values' ) ); |
29 | 29 | $form .= Xml::openElement( 'div', array( 'id' => 'premium-size' ) ); |
30 | 30 | $sizeDisplay = '<span id="size-display">'.$wgRequest->getText( 'size' ).'</span>'; |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | $form .= Xml::closeElement( 'div' ); // close div#premium-size |
33 | 33 | $form .= wfMsg( 'payflowpro_gateway-on-the-back' ) . "<br/>"; |
34 | 34 | $form .= Xml::openElement( 'div', array( 'id' => 'premium-language' ) ); |
35 | | - $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/wordmarks/".$wgRequest->getText( 'premium_language' )."-wordmark.png", 'width' => '200', 'height' => '92' ) ); |
| 35 | + $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/wordmarks/".$wgRequest->getText( 'premium_language' )."-wordmark.png", 'width' => '200', 'height' => '92' ) ); |
36 | 36 | $form .= Xml::closeElement( 'div' ); // close div#premium-language |
37 | 37 | $form .= Xml::closeElement( 'div' ); // close div#premium-values |
38 | 38 | $form .= Xml::closeElement( 'div' ); // close div#premium-confirmation |
— | — | @@ -107,17 +107,17 @@ |
108 | 108 | // card logos |
109 | 109 | if ( $this->form_data[ 'currency' ] == 'USD' ) { |
110 | 110 | $form .= '<tr id="four_cards" style="display:table-row;">'; |
111 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 111 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
112 | 112 | $form .= '</tr>'; |
113 | 113 | $form .= '<tr id="two_cards" style="display:none;">'; |
114 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 114 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
115 | 115 | $form .= '</tr>'; |
116 | 116 | } else { |
117 | 117 | $form .= '<tr id="four_cards" style="display:none;">'; |
118 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 118 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
119 | 119 | $form .= '</tr>'; |
120 | 120 | $form .= '<tr id="two_cards" style="display:table-row;">'; |
121 | | - $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 121 | + $form .= '<td class="label"> </td><td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
122 | 122 | $form .= '</tr>'; |
123 | 123 | } |
124 | 124 | |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumn.php |
— | — | @@ -167,7 +167,7 @@ |
168 | 168 | // card logos |
169 | 169 | $form .= '<tr>'; |
170 | 170 | $form .= '<td />'; |
171 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 171 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
172 | 172 | $form .= '</tr>'; |
173 | 173 | |
174 | 174 | // credit card type |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -169,10 +169,10 @@ |
170 | 170 | // submit button |
171 | 171 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
172 | 172 | // $form .= Xml::submitButton( wfMsg( 'payflowpro_gateway-submit-button' )); |
173 | | - $form .= ' <br/>' . Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'type' => 'image' ) ); |
| 173 | + $form .= ' <br/>' . Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'type' => 'image' ) ); |
174 | 174 | $form .= Xml::closeElement( 'div' ); // close div#mw-donate-submit-button |
175 | 175 | $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage', 'id' => 'payflowpro_gateway-donate-submessage' ) ) . |
176 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your credit / debit card will be securely processed.'; |
| 176 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-right:4px;' ) ) . 'Your credit / debit card will be securely processed.'; |
177 | 177 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage |
178 | 178 | |
179 | 179 | $form .= '</td>'; |
— | — | @@ -220,16 +220,16 @@ |
221 | 221 | |
222 | 222 | $form .= '<tr>'; |
223 | 223 | $form .= '<td colspan="2"><h3 class="cc_header">' . wfMsg( 'payflowpro_gateway-cc-form-header-personal' ) . |
224 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
| 224 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
225 | 225 | $form .= '</tr>'; |
226 | 226 | |
227 | 227 | // card logos |
228 | 228 | $form .= '<tr>'; |
229 | 229 | $form .= '<td class="label"> </td>'; |
230 | 230 | if ( $this->form_data[ 'currency' ] == 'USD' ) { |
231 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 231 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
232 | 232 | } else { |
233 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 233 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
234 | 234 | } |
235 | 235 | $form .= '</tr>'; |
236 | 236 | |
Index: trunk/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnPremiumUS.php |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | $form .= Xml::openElement( 'td', array( 'id' => 'appeal', 'valign' => 'top' ) ); |
124 | 124 | |
125 | 125 | $form .= Xml::openElement( 'div', array( 'id' => 'premium-confirmation' ) ); |
126 | | - $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/Wikipedia-ten-tshirt-back.jpg", 'width' => '300', 'height' => '300' ) ); |
| 126 | + $form .= Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/Wikipedia-ten-tshirt-back.jpg", 'width' => '300', 'height' => '300' ) ); |
127 | 127 | $form .= wfMsg( 'payflowpro_gateway-shirt-size-2', $wgRequest->getText( 'size' ) ); |
128 | 128 | $form .= Xml::closeElement( 'div' ); // close div#premium-confirmation |
129 | 129 | |
— | — | @@ -202,16 +202,16 @@ |
203 | 203 | |
204 | 204 | $form .= '<tr>'; |
205 | 205 | $form .= '<td colspan="2"><h3 class="cc_header">' . wfMsg( 'payflowpro_gateway-cc-form-header-personal' ) . |
206 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
| 206 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
207 | 207 | $form .= '</tr>'; |
208 | 208 | |
209 | 209 | // card logos |
210 | 210 | $form .= '<tr>'; |
211 | 211 | $form .= '<td class="label"> </td>'; |
212 | 212 | if ( $this->form_data[ 'currency' ] == 'USD' ) { |
213 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 213 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
214 | 214 | } else { |
215 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 215 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
216 | 216 | } |
217 | 217 | $form .= '</tr>'; |
218 | 218 | |
Index: trunk/extensions/DonationInterface/gateway_forms/OneStepTwoColumn.php |
— | — | @@ -280,7 +280,7 @@ |
281 | 281 | // card logos |
282 | 282 | $form .= '<tr>'; |
283 | 283 | $form .= '<td />'; |
284 | | - $form .= '<td> <br/>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 284 | + $form .= '<td> <br/>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
285 | 285 | $form .= '</tr>'; |
286 | 286 | |
287 | 287 | // card number |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/forms/html/demo.html |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | </tr> |
60 | 60 | <tr> |
61 | 61 | <td /> |
62 | | - <td><img src="/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" /></td> |
| 62 | + <td><img src="/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" /></td> |
63 | 63 | </tr> |
64 | 64 | <tr> |
65 | 65 | <td class="label"><label for="card_num">Card number</label></td> |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | <input type="hidden" value="@owa_session" name="owa_session" /> |
158 | 158 | <input type="hidden" value="@owa_ref" name="owa_ref" /> |
159 | 159 | </form> |
160 | | -<div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"><div id="payflowpro_gateway-donate-addl-info-secure-logos"><p class=""><img src="/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png"></p></div><div id="payflowpro_gateway-donate-addl-info-text"><p class=""><a href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">Other ways to give</a></p><p class="">We do not store your credit card information, and your personal data is subject to our <a href="http://wikimediafoundation.org/wiki/Donor_Privacy_Policy">privacy policy</a>.</p><p class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a></p></div></div></td></tr></table><div class="printfooter"> |
| 160 | +<div class="payflow-cc-form-section" id="payflowpro_gateway-donate-addl-info"><div id="payflowpro_gateway-donate-addl-info-secure-logos"><p class=""><img src="/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png"></p></div><div id="payflowpro_gateway-donate-addl-info-text"><p class=""><a href="http://wikimediafoundation.org/wiki/Ways_to_Give/en">Other ways to give</a></p><p class="">We do not store your credit card information, and your personal data is subject to our <a href="http://wikimediafoundation.org/wiki/Donor_Privacy_Policy">privacy policy</a>.</p><p class="">Questions or comments? Contact: <a href="mailto:donate@wikimedia.org">donate@wikimedia.org</a></p></div></div></td></tr></table><div class="printfooter"> |
161 | 161 | |
162 | 162 | Retrieved from "<a href="https://payments.wikimedia.org/index.php/Special:PayflowProGateway">https://payments.wikimedia.org/index.php/Special:PayflowProGateway</a>"</div> |
163 | 163 | |
\ No newline at end of file |