Template:Form-template/Form-template-default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
rm unused styles
rm inline script - now in MediaWiki:Common.js
Line 8: Line 8:
<input type="hidden" name="utm_key" value="" />
<input type="hidden" name="utm_key" value="" />
<input type="hidden" name="referrer" value="" />
<input type="hidden" name="referrer" value="" />

<script>
$(document).ready(function() {
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;
});
</script>


<input type="hidden" name="language" value="</html>{{int:lang}}<html>" />
<input type="hidden" name="language" value="</html>{{int:lang}}<html>" />

Revision as of 21:20, 12 August 2015

  1. REDIRECT Template:Validation.js