Index: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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: branches/fundraising/extensions/DonationInterface/gateway_forms/Form.php |
— | — | @@ -111,7 +111,7 @@ |
112 | 112 | $form = ''; |
113 | 113 | $form .= Xml::openElement( 'div', array( 'class' => 'payflow-cc-form-section', 'id' => 'payflowpro_gateway-donate-addl-info' ) ); |
114 | 114 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-secure-logos' ) ); |
115 | | - $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
| 115 | + $form .= Xml::tags( 'p', array( 'class' => '' ), Xml::openElement( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/rapidssl_ssl_certificate-nonanimated.png" ) ) ); |
116 | 116 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-addl-info-secure-logos |
117 | 117 | $form .= Xml::openElement( 'div', array( 'id' => 'payflowpro_gateway-donate-addl-info-text' ) ); |
118 | 118 | $form .= Xml::tags( 'p', array( 'class' => '' ), wfMsg( 'payflowpro_gateway-otherways-short' ) ); |
— | — | @@ -585,7 +585,7 @@ |
586 | 586 | |
587 | 587 | protected function getPaypalButton() { |
588 | 588 | global $wgScriptPath; |
589 | | - $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes"; |
| 589 | + $scriptPath = "$wgScriptPath/extensions/DonationInterface/gateway_forms/includes"; |
590 | 590 | |
591 | 591 | $form = '<tr>'; |
592 | 592 | $form .= '<td class="paypal-button" colspan="2">'; |
Index: branches/fundraising/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: branches/fundraising/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: branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumn.php |
— | — | @@ -234,7 +234,7 @@ |
235 | 235 | // card logos |
236 | 236 | $form .= '<tr>'; |
237 | 237 | $form .= '<td />'; |
238 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 238 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
239 | 239 | $form .= '</tr>'; |
240 | 240 | |
241 | 241 | // credit card type |
Index: branches/fundraising/extensions/DonationInterface/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 |
Index: branches/fundraising/extensions/DonationInterface/gateway_forms/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: branches/fundraising/extensions/DonationInterface/gateway_forms/html/globalcollect_test_2.html |
— | — | @@ -161,14 +161,14 @@ |
162 | 162 | <tr> |
163 | 163 | <td colspan="2"> |
164 | 164 | <h3 class="cc_header"> |
165 | | - Billing information <img style="vertical-align:baseline;margin-left:8px;" src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif"> |
| 165 | + Billing information <img style="vertical-align:baseline;margin-left:8px;" src="@script_path/extensions/DonationInterface/gateway_forms/includes/padlock.gif"> |
166 | 166 | </h3> |
167 | 167 | </td> |
168 | 168 | </tr> |
169 | 169 | <tr> |
170 | 170 | <td class="label"></td> |
171 | 171 | <td><img |
172 | | - src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif"/> |
| 172 | + src="@script_path/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif"/> |
173 | 173 | </td> |
174 | 174 | </tr> |
175 | 175 | <tr> |
— | — | @@ -323,9 +323,9 @@ |
324 | 324 | <td class="label"></td> |
325 | 325 | <td> |
326 | 326 | <div id="mw-donate-submit-button"> <br/><input |
327 | | - src="@script_path/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png" |
| 327 | + src="@script_path/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png" |
328 | 328 | alt="Submit donation" type="image"/></div> |
329 | | - <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> |
| 329 | + <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> |
330 | 330 | </td> |
331 | 331 | </tr> |
332 | 332 | </table> |
Index: branches/fundraising/extensions/DonationInterface/gateway_forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -173,10 +173,10 @@ |
174 | 174 | // submit button |
175 | 175 | $form .= Xml::openElement( 'div', array( 'id' => 'mw-donate-submit-button' ) ); |
176 | 176 | // $form .= Xml::submitButton( wfMsg( 'payflowpro_gateway-submit-button' )); |
177 | | - $form .= ' <br/>' . Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'type' => 'image' ) ); |
| 177 | + $form .= ' <br/>' . Xml::element( 'input', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/submit-donation-button.png", 'alt' => 'Submit donation', 'type' => 'image' ) ); |
178 | 178 | $form .= Xml::closeElement( 'div' ); // close div#mw-donate-submit-button |
179 | 179 | $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage', 'id' => 'payflowpro_gateway-donate-submessage' ) ) . |
180 | | - 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.'; |
| 180 | + 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.'; |
181 | 181 | $form .= Xml::closeElement( 'div' ); // close div#payflowpro_gateway-donate-submessage |
182 | 182 | |
183 | 183 | $form .= '</td>'; |
— | — | @@ -224,16 +224,16 @@ |
225 | 225 | |
226 | 226 | $form .= '<tr>'; |
227 | 227 | $form .= '<td colspan="2"><h3 class="cc_header">' . wfMsg( 'payflowpro_gateway-cc-form-header-personal' ) . |
228 | | - Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
| 228 | + Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/padlock.gif", 'style' => 'vertical-align:baseline;margin-left:8px;' ) ) . '</h3></td>'; |
229 | 229 | $form .= '</tr>'; |
230 | 230 | |
231 | 231 | // card logos |
232 | 232 | $form .= '<tr>'; |
233 | 233 | $form .= '<td class="label"> </td>'; |
234 | 234 | if ( $this->form_data[ 'currency' ] == 'USD' ) { |
235 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos.gif" ) ) . '</td>'; |
| 235 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos.gif" ) ) . '</td>'; |
236 | 236 | } else { |
237 | | - $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/payflowpro_gateway/includes/credit_card_logos3.gif" ) ) . '</td>'; |
| 237 | + $form .= '<td>' . Xml::element( 'img', array( 'src' => $wgScriptPath . "/extensions/DonationInterface/gateway_forms/includes/credit_card_logos3.gif" ) ) . '</td>'; |
238 | 238 | } |
239 | 239 | $form .= '</tr>'; |
240 | 240 | |
Index: branches/fundraising/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: branches/fundraising/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: branches/fundraising/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 |