Template:2011FR/form-template-default-2: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 5:
a#donate-link{
color: #0645ad;
background-image: none !important;
padding-right: 0 !important;
}
 
Line 15 ⟶ 17:
background-color: #ffffff;
border: 1px solid #000000;
padding: 1em;
}
 
Line 80 ⟶ 83:
}
 
#CC-donate-button{
display: </html>{{#ifeq:{{{show-PP|1}}}|0|none|{{CC-status}}}}<html>;
}
 
#PP-donate-button{
display: </html>{{#ifeq:{{{show-PP|1}}}|0|none|{{PP-status}}}}<html>;
}
 
#BT-donate-button{
display: </html>{{#ifeq:{{{show-BT|1}}}|0|none|{{BT-status}}}}<html>;
}
 
#DD-donate-button{
display: </html>{{#ifeq:{{{show-DD|1}}}|0|none|{{DD-status}}}}<html>;
}
 
#RT-donate-button{
display: </html>{{#ifeq:{{{show-RT|1}}}|0|none|{{RT-status}}}}<html>;
}
</style>
 
Line 129 ⟶ 113:
//if i == 1
var paymentType ="cc";
var action_url = "https://payments.wikimedia.org/index.php/Special:PayflowProGateway?uselang=</html>{{{languageuselang}}}\x26masthead={{{masthead|none}}}\x26form_name={{{form-name|TwoStepTwoColumnLetter2}}}\x26text_template={{{text-template|2010/JimmyQuote}}}\x26language={{{language|{{SUBPAGENAME}}uselang}}}\x26ffname={{{ffname}}}<html>" ;
//TESLA TESTING
//var action_url = "https://test-payments.tesla.usability.wikimedia.org/index.php/Special:PayflowProGateway?uselang=</html>{{{languageuselang}}}\x26masthead={{{masthead|none}}}\x26form_name={{{form-name|TwoStepTwoColumnLetter2}}}\x26text_template={{{text-template|2010/JimmyQuote}}}\x26language={{{language|{{SUBPAGENAME}}uselang}}}\x26ffname={{{ffname}}}<html>" ;
// Staging
//var action_url = "https://payments4.wikimedia.org/index.php/Special:PayflowProGateway?uselang=</html>{{{languageuselang}}}\x26masthead={{{masthead|none}}}\x26form_name={{{form-name|TwoStepTwoColumnLetter2}}}\x26text_template={{{text-template|2010/JimmyQuote}}}\x26language={{{language|{{SUBPAGENAME}}uselang}}}\x26ffname={{{ffname}}}<html>" ;
 
if (i==2) {
Line 168 ⟶ 152:
</script>
 
<div class="donate" id="donate-form-wrapper">
<form method="post" name="paypalcontribution">
<input type="hidden" name="gateway" value="paypal" />
Line 174 ⟶ 158:
<input type="hidden" name="utm_medium" value="" />
<input type="hidden" name="utm_campaign" value="" />
<input type="hidden" name="language" value="</html>{{{language|{{SUBPAGENAME}}uselang}}}<html>" />
<!-- <input type="hidden" name="language" value="</html>{{{uselang}}}<html>" /> -->
<input type="hidden" name="referrer" value="" />
<input type="hidden" name="country" value="US" />
<!-- <input type="hidden" name="returntocountry" value="Thank_You/</html>{{{language|{{SUBPAGENAME}}country}}}<html>" /> -->
<input type="hidden" name="returnto" value="Thank_You/</html>{{{uselang}}}<html>" />
<input type="hidden" name="email-opt" id="input_email" value="1" checked="checked" />
<input type="hidden" name="currency_code" value="</html>{{2011FR/core-currency-code|{{{country}}}}}<html>"/>
 
<div>
</html>{{Template:CountrySwitch|2011FR/Form{{{form-section-radiobuttons-2countryspecific}}}|{{{country}}}|{{{uselang}}}}}<html>
| currency-position = before
| currency-symbol = $
| donate-amount-0 = {{{donate-amount-0|5}}}
| donate-amount-1 = {{{donate-amount-1|10}}}
| donate-amount-2 = {{{donate-amount-2|20}}}
| donate-amount-3 = {{{donate-amount-3|35}}}
| donate-amount-4 = {{{donate-amount-4|50}}}
| donate-amount-5 = {{{donate-amount-5|100}}}
| donate-amount-6 = {{{donate-amount-6|250}}}
}}<html>
</div>
 
<div class="donate-form-contained">
<div id="CC-donate-button">
Line 211 ⟶ 189:
</div>
<div style="padding-top: 1em; width:20em;">
</html>{{Template:LanguageSwitch|2011FR/core-appeal-whitebox/|{{{languselang}}}}}<html>
</div>
<div>
Line 221 ⟶ 199:
 
<div id="donor-policy-block">
By donating, you are sharing your information with the Wikimedia Foundation, the nonprofit organization that hosts Wikipedia and other Wikimedia projects, and its service providers in the U.S. and elsewhere pursuant to our donor privacy policy. We do not sell or trade your information to anyone. For more information please read <a id="donate-link" href="httphttps://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Donor_policy&language=</html>{{{uselang}}}<html>&country=</html>{{{langcoutry}}}<html>">our donor policy</a>.
</div>
 
<div class="donate" id="donate-links">
</html>{{2011FR/Form-section-links|uselang = {{{languselang}}}| country = {{{country}}}}}<html>
</div>