Template:2011FR/lp-form-US7amounts-wherebox-GC: Difference between revisions
Content deleted Content added
Jalexander (talk | contribs) take out title |
No edit summary |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 79:
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{language|{{BASEPAGENAME}}}}}<html>";
paymentType = "pp";
}
if (i==3) {
action_url = "https://payments.wikimedia.org/index.php/Special:AmazonGateway?redirect=1\x26uselang=</html>{{int:lang}}<html>";
paymentType = "amazon";
}
Line 94 ⟶ 98:
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_campaign" value="" />
<input type="hidden" name="utm_key" value="" />
<input type="hidden" name="language" value="</html>{{{language|{{SUBPAGENAME}}}}}<html>" />
<input type="hidden" name="referrer" value="" />
Line 128 ⟶ 133:
<input type="button" style="width: 15em; font-size: 12px;" value="</html>{{{paypal-label}}}<html>" class="button" onclick="redirectPayment('2');"/>
</div>
<!-- <div id="amazon-donate-button">
<input type="button" style="width: 15em; font-size: 12px;" value="</html>{{{amazon-label}}}<html>" class="button" onclick="redirectPayment('3');"/>
</div> -->
</html>
Line 166 ⟶ 175:
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
|