Template:2011FR/lp-form-US7amounts: Difference between revisions

Content deleted Content added
imported>MZMcBride
assuming this was a typo
imported>MZMcBride
code cleanup
Line 100:
 
<div style="padding: 0.2em 0em; font-weight: normal;">
<p style="font-weight: bold;"> </html>{{{gift-amount-text}}}<html></p>
</html>{{{gift-amount-text}}}<html><br>
<div id="amount-box" style="font-size: 100%; padding: 0; margin-left: -5px; ">
<table id="amount-table" style="background-color: #CCE7CD;" >
<tr> <tdtr>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_0" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-0}}}<html>" /><label for="input_amount_0"></html>${{{donate-amount-0}}}<html></label></nobrtd>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_2input_amount_1" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-21}}}<html>" /><label for="input_amount_2input_amount_1"></html>${{{donate-amount-21}}}<html></label></nobrtd>
</td><td>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_1input_amount_2" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-12}}}<html>" /><label for="input_amount_1input_amount_2"></html>${{{donate-amount-12}}}<html></label></nobrtd>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_5input_amount_3" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-53}}}<html>" /><label for="input_amount_5input_amount_3"></html>${{{donate-amount-53}}}<html></label></nobrtd> <!--<div style="height:8px;font-size:8px;">&nbsp;</div>-->
</td><td>
</tr>
<nobr><input type="radio" name="amount" id="input_amount_2" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-2}}}<html>"><label for="input_amount_2"></html>${{{donate-amount-2}}}<html></label></nobr>
<tr>
</td><td>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_3input_amount_4" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-34}}}<html>" /><label for="input_amount_3input_amount_4"></html>${{{donate-amount-34}}}<html></label></nobr> <!--<div style="height:8px;font-size:8px;">&nbsp;</div>--td>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_6input_amount_5" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-65}}}<html>" /><label for="input_amount_6input_amount_5"></html>${{{donate-amount-65}}}<html></label></nobrtd>
</td></tr><tr><td>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_4input_amount_6" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-46}}}<html>" /><label for="input_amount_4input_amount_6"></html>${{{donate-amount-46}}}<html></label></nobrtd>
<nobrtd style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_other" value="Other" /><label for="input_amount_other"></html>{{{donate-amount-other|<html>Other:</html>}}}<html></label>
</td><td>
<input type="text" name="amountGiven" size="2" onfocus="this.form.input_amount_other.checked=true;" onKeyPress="return DefaultSubmit(this,event)"></nobrtd>
<nobr><input type="radio" name="amount" id="input_amount_5" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-5}}}<html>"><label for="input_amount_5"></html>${{{donate-amount-5}}}<html></label></nobr>
</td><tdtr>
</td></tr></table>
<nobr><input type="radio" name="amount" id="input_amount_6" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-6}}}<html>"><label for="input_amount_6"></html>${{{donate-amount-6}}}<html></label></nobr>
<!-- currency menu --><input name="currency_code" id="input_currency_code" type="hidden" value="USD" />
</td><td>
<nobr><input type="radio" name="amount" id="input_amount_other" value="Other"><label for="input_amount_other"></html>{{{donate-amount-other|<html>Other:</html>}}}<html></label>
<input type="text" name="amountGiven" size="2" onfocus="this.form.input_amount_other.checked=true;" onKeyPress="return DefaultSubmit(this,event)"></nobr>
</td></tr></table>
<!-- currency menu --><input name="currency_code" id="input_currency_code" type="hidden" value="USD" >
</div>
 
<p>
<div id="cc-donate-button">
<input type="button" value="</html>{{{creditcard-label}}}<html>" class="button" onclick="redirectPayment('1');"/>
Line 133 ⟶ 127:
<input type="button" value="</html>{{{paypal-label}}}<html>" class="button" onclick="redirectPayment('2');"/>
</div>
 
</p>
</html>
 
<p><div id="donate-body-small">{{{monthlydonation-text|}}}</div></p>
<div style="text-align:center">*&nbsp;&nbsp;*&nbsp;&nbsp;*</div>
 
<p><div styleid="textdonate-body-align:centersmall">*&nbsp;&nbsp;*&nbsp;&nbsp;*{{{privacy-policy-text}}}</div></p>
<p><div id="donate-body-small">{{{privacy-policy-text}}}</div></p>
<p style="margin-top: 1em;"><div id="donate-body-small">{{{other-ways-link}}}</div></p>
 
<html>
</pdiv>
</form>
 
</div>
 
<script type="text/javascript">
Line 173 ⟶ 165:
}
}
 
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' );
Line 184 ⟶ 176:
})
} )( jQuery );
 
</script>
</html><noinclude>