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

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
ugh, need to pass country down
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MediaWiki:Resources/donate-form-infobox.css}}
{{MediaWiki:Resources/validation.js}}
<html>
<html>
<form method="post" name="paypalcontribution">
<form method="GET" name="donateForm" 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="" />


<script type="text/javascript">
<div id="donate-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="actual-form-loading">
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
Loading…<br>
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;
</script>
</div>
<div id="actual-form">
</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="email-opt" id="input_email" value="1" checked="checked" />

<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>{{2012FR/Form-section/Infobox
| infobox = 2012FR/Form-section/Infobox
| appeal = {{{appeal}}}
| width = 25em
| language = {{int:lang}}
| country = {{{country}}}
}}<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>
</html>

Latest revision as of 10:20, 21 May 2024