Template:2011FR/Form-section-processing: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 39: Line 39:
// ************************Do not change without the permission of Faulkner***************************
// ************************Do not change without the permission of Faulkner***************************
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.'
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.'
+ getQuerystring( 'template' ) + '~'
+ getQuerystring( 'template' ).replace("Lp-layout-","") + '~'
+ getQuerystring( 'appeal-template' ) + '~'
+ getQuerystring( 'appeal-template' ).replace("appeal-template-","") + '~'
+ getQuerystring( 'appeal' ) + '~'
+ getQuerystring( 'appeal' ).replace("Appeal-","") + '~'
+ getQuerystring( 'form-template' ) + '~'
+ getQuerystring( 'form-template' ).replace("form-template-","") + '~'
+ getQuerystring( 'form-countryspecific' ) + '.'
+ getQuerystring( 'form-countryspecific' ).replace("Form-countryspecific-","") + '.'
+ paymentType;
+ paymentType;


Line 84: Line 84:


// ************************Do not change without the permission of Faulkner***************************
// ************************Do not change without the permission of Faulkner***************************
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.'
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.'
+ getQuerystring( 'template' ) + '~'
+ getQuerystring( 'template' ).replace("Lp-layout-","") + '~'
+ getQuerystring( 'appeal-template' ) + '~'
+ getQuerystring( 'appeal-template' ).replace("appeal-template-","") + '~'
+ getQuerystring( 'appeal' ) + '~'
+ getQuerystring( 'appeal' ).replace("Appeal-","") + '~'
+ getQuerystring( 'form-template' ) + '~'
+ getQuerystring( 'form-template' ).replace("form-template-","") + '~'
+ getQuerystring( 'form-countryspecific' ) + '.'
+ getQuerystring( 'form-countryspecific' ).replace("Form-countryspecific-","") + '.'
+ paymentType;
+ paymentType;


document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ) + '_' + getQuerystring( 'country' );

//****************************** End Faulkner ******************************************************
//****************************** End Faulkner ******************************************************



Revision as of 00:43, 11 November 2011