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

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Jalexander (talk | contribs)
 
(3 intermediate revisions by one other user not shown)
Line 108:
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_1" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-1}}}<html>" /><label for="input_amount_1"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-1}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td>
<td style="white-space:nowrap;"><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>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-2}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td>
<td style="white-space:nowrap;"><input type="radio" name="amount" id="input_amount_3" onclick="document.paypalcontribution. amountGiven.value = ''" value="</html>{{{donate-amount-3}}}<html>" /><label for="input_amount_3"></html>{{#ifeq: {{{currency-pos}}} | before | {{{donate-currency-symbol}}} | }} {{{donate-amount-3}}} {{#ifeq: {{{currency-pos}}} | after | {{{donate-currency-symbol}}} | }}<html></label></td> <!--<div style="height:8px;font-size:8px;">&nbsp;</div>-->
</tr>
<tr>
Line 118:
</tr>
</table>
 
<!--
<select style="display: none;" name="currency_code" id="input_currency_code" size="1" style="width:6em;" onchange="updateCC(this.value);"><option value="</html>{{{donate-currency}}}<html>" selected></html>{{{donate-currency}}}<html> – </html>{{{donate-currency-symbol}}}<html></option>
<option value="XXX">-------</option>
<option value="GBP">GBP – £</option>
Line 138:
<option value="PLN">PLN – zł</option>
<option value="SEK">SEK – kr</option>
<option value="SGD">SGD – S$</option></select>--></span>
</div>
</br>
Line 176:
else return path;
}
 
/*
function updateCC( currency ) {
if ( ( currency == 'AUD' ) || ( currency == 'CAD' ) || ( currency == 'EUR' ) ||
Line 185:
}
}
*/
 
document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_medium' );
Line 194 ⟶ 193:
$(document).ready(function(){
var currency = $("#input_currency_code").val();
//updateCC(currency);
})
} )( jQuery );