Template:2012FR/Form-section/Privacy/Default: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
replace
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Footer/Privacy/Default}}
<html>
{{Footer/Recurring/Default}}
<style type="text/css">
#cancel-monthly {
padding-top: 1em;
display: none;
}
</style>
</html>{{#tag:html|{{#replace:{{#replace:{{#replace:{{#replace:{{#switch:{{{country}}}
| GB = {{int:donate_interface-informationsharing-gb}}
| #default = {{int:donate_interface-informationsharing}}
}}|href=|target="_blank" href=}}|/{{int:lang}}|/en}}|/en|&country={{{country}}}&language={{int:lang}}}}|/wiki/|/wiki/Special:LandingCheck?basic=true&landing_page= }}}}<html>
<div id="cancel-monthly">
<nowiki>*</nowiki></html>{{#ifeq:{{int:lang}}|en|{{#tag:html|{{int:donate_interface-monthly-cancel-seddon}}}}|{{#tag:html|<html><a target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Cancel_or_change_recurring_payments&basic=true&country=</html>{{{country}}}<html>&language=</html>{{int:lang}}<html>"></html>{{int:donate_interface-monthly-cancel}}<html></a></html>}}}}<html>
</div>
<script type="text/javascript">
$(document).ready(function() {
var paramsOut = parseParams(window.location.href); // create an object with the current querystring parameters
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly' || paramsOut['form-countryspecific'] == 'Form-countryspecific-recurring' || showMonthlyCancel) {
// We're on a monthly page, show the cancel text
$('#cancel-monthly').show();
}
});
</script>
</html>

Latest revision as of 19:14, 23 August 2018