Template:2011FR/lp-form-US7amounts-wherebox-GC: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Jalexander (talk | contribs)
take out title
Pgehres (WMF) (talk | contribs)
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 79: Line 79:
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{language|{{BASEPAGENAME}}}}}<html>";
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{language|{{BASEPAGENAME}}}}}<html>";
paymentType = "pp";
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: Line 98:
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_campaign" 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="language" value="</html>{{{language|{{SUBPAGENAME}}}}}<html>" />
<input type="hidden" name="referrer" value="" />
<input type="hidden" name="referrer" value="" />
Line 128: Line 133:
<input type="button" style="width: 15em; font-size: 12px;" value="</html>{{{paypal-label}}}<html>" class="button" onclick="redirectPayment('2');"/>
<input type="button" style="width: 15em; font-size: 12px;" value="</html>{{{paypal-label}}}<html>" class="button" onclick="redirectPayment('2');"/>
</div>
</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>
</html>
Line 166: Line 175:
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
document.paypalcontribution.referrer.value = document.referrer;



Latest revision as of 04:06, 17 September 2012

{{{gift-amount-text}}}