Content deleted Content added
|
|
return qs == null ? '' : qs[1];
}
function getLandingPage() {
var path = "</html>{{{landing-page|default}}}<html>";
if( path == "default") {
pathArray = window.location.pathname.split( '/' );
return pathArray[2];
}
else return path;
}
function updateCC( currency ) {
if ( ( currency == 'AUD' ) || ( currency == 'CAD' ) || ( currency == 'EUR' ) ||
(currency == 'GBP' ) || ( currency == 'JPY' ) || ( currency == 'USD' ) ) {
document.getElementById('cc-donate-button').style.display = "</html>{{CC-status}}<html>";
} else {
document.getElementById('cc-donate-button').style.display = "none";
}
}
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
document.paypalcontribution.referrer.value = document.referrer;
( function( $ ) {
$(document).ready(function(){
var currency = $("#input_currency_code").val();
updateCC(currency);
})
} )( jQuery );
</script>
</html><noinclude>
|
Revision as of 19:37, 24 October 2013
{{{gift-amount-text}}}
* * *
{{{privacy-policy-text}}}
{{{other-ways-link}}}