Template:2011FR/form-template-default-3: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 123:
paymentType = "pp";
//document.getElementById("input_amount_other").checked=true;
//document.getElementsByName("amountGiven")[0].value = document.getElementById("floating-amount-field").value;
document.paypalcontribution.removeChild(document.getElementById("recurring-hidden"));
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{language|{{BASEPAGENAME}}}}}<html>";
Line 131:
paymentType = "rpp";
//document.getElementById("input_amount_other").checked=true;
//document.getElementsByName("amountGiven")[0].value = document.getElementById("floating-amount-field").value;
action_url="https://wikimediafoundation.org/wiki/Special:ContributionTracking/</html>{{{language|{{BASEPAGENAME}}}}}<html>";
}
Line 137:
document.paypalcontribution.action = action_url;
document.paypalcontribution.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getLandingPage() + '.' + paymentType;
if (validateForm(document.paypalcontribution)) {
Line 165 ⟶ 163:
<!-- <input type="hidden" name="language" value="</html>{{{uselang}}}<html>" /> -->
<input type="hidden" name="referrer" value="" />
<input type="hidden" name="country" value="
<!-- <input type="hidden" name="country" value="</html>{{{country}}}<html>" /> -->
<input type="hidden" name="returnto" value="Thank_You/</html>{{{uselang}}}<html>" />
Line 171 ⟶ 169:
<input type="hidden" name="currency_code" value="</html>{{2011FR/core-currency-code|{{{country}}}}}<html>"/>
<input type="hidden"
<div>
Line 185 ⟶ 183:
</div>
<div id="BT-donate-button">
<input type="button" class="button" value="</html>{{int:donate_interface-BT-button}}<html>" onclick="
</div>
<div id="DD-donate-button">
<input type="button" class="button" value="</html>{{int:donate_interface-DD-button}}<html>" onclick="
</div>
<div id="RT-donate-button">
<input type="button" class="button" value="</html>{{int:donate_interface-RT-button}}<html>" onclick="
</div>
</div>
Line 197 ⟶ 195:
<div style="padding-top: 1em; width:20em;">
</html>{{Template:LanguageSwitch|2011FR/core-appeal-whitebox|{{{uselang}}}}}<html>
</div>
</form>
|