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

Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
ugh, need to pass country down
 
(44 intermediate revisions by the same user not shown)
Line 1:
{{MediaWiki:Resources/donate-form-infobox.css}}
{{MediaWiki:Resources/validation.js}}
<html>
<form method="postGET" name="paypalcontributiondonateForm" aria-label="</html>{{int:donate_interface-donate-now}}<html>">
<input type="hidden" name="utm_source" value="" />
<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="referrer" value="" />
 
<scriptdiv typeid="text/javascriptdonate-form-wrapper">
<noscript><div class="error-nojs"></html>{{int:Donate_interface-noscript-msg}}<html></div><style>#actual-form-loading { display: none; }</style></noscript>
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
<div id="donateactual-form-wrapperloading">
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
}} Loading…<htmlbr>
document.paypalcontribution.utm_key.value = getQuerystring( 'utm_key' );
<small>(If the form does not load, your web browser may not be supported. Please try a different browser.)</small>
document.paypalcontribution.referrer.value = document.referrer;
</scriptdiv>
<div id="donor-infoboxactual-blockform">
</html>{{CountryConfirm | country = {{{country}}} }}<html>
</html>{{Template:2012FR/Switch/Country
|template = 2012FR/{{{form-countryspecific}}}
|appeal = {{{appeal}}}
|language = {{int:lang}}
|country = {{{country}}}
}}<html>
</div>
</div>
 
</form>
<input type="hidden" name="language" value="</html>{{int:lang}}<html>" />
<input type="hidden" name="country" value="</html>{{{country}}}<html>" />
<input type="hidden" name="returnto" value="Thank_You/</html>{{int:lang}}<html>" />
 
<input type="hidden" name="amountGiven" value="" />
 
<div id="donate-form-wrapper">
</html>{{2012FR/Form-section/Paymentmethods/Status}}<html>
</html>{{Template:2012FR/Switch/Country
|template = 2012FR/{{{form-countryspecific}}}
|appeal = {{{appeal}}}
|language = {{int:lang}}
|country = {{{country}}}
}}<html>
<div class="dividing-line" id="form-line"></div>
<div id="donor-infobox-block">
</html>{{{infobox}}}<html>
</div>
</div>
<div id="donor-policy-block">
</html>{{2012FR/Form-section/Privacy/Default
| language = {{int:lang}}
| country = {{{country}}}
}}<html>
</div>
<div class="donate" id="donate-links-block">
</html>{{2012FR/Form-section/Links/Default
| language = {{int:lang}}
| country = {{{country}}}
}}<html>
</div>
</form>
</html>