Template:2011FR/Form-section-radiobuttons-5: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "<html> <style type="text/css"> #radiobuttons-table-header{ font-weight: bold; font-size: 1.3em; float: </html>{{#ifeq:{{Template:Ltr-direction|{{{uselang}}}}}|rtl|righ..." |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 114: | Line 114: | ||
} |
} |
||
} |
} |
||
if ( form. |
if ( form.input_amount_other_box.value != "</html>{{int:donate_interface-other}}<html>" ) { |
||
var otherAmount = form. |
var otherAmount = form.input_amount_other_box.value; |
||
otherAmount = otherAmount.replace(/[,.](\d)$/, '\:$10'); |
otherAmount = otherAmount.replace(/[,.](\d)$/, '\:$10'); |
||
otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, '\:$1$2'); |
otherAmount = otherAmount.replace(/[,.](\d)(\d)$/, '\:$1$2'); |
||
otherAmount = otherAmount.replace(/[\$,.]/g, ''); |
otherAmount = otherAmount.replace(/[\$,.]/g, ''); |
||
otherAmount = otherAmount.replace(/:/, '.'); |
otherAmount = otherAmount.replace(/:/, '.'); |
||
form.input_amount_other_box.value = otherAmount; |
|||
form.amountGiven.value = otherAmount; |
form.amountGiven.value = otherAmount; |
||
amount = otherAmount; |
amount = otherAmount; |
||
Line 143: | Line 144: | ||
<div> |
<div> |
||
<div id="radiobuttons-table-header"> |
<div id="radiobuttons-table-header"> |
||
</html>{{int:donate_interface-amount-legend}}<html> <a id="currency-link"></html>{{{currency-symbol}}}<html><span style="font-size: 0.6em;"> (Change?)</span></a> |
<!-- </html>{{int:donate_interface-amount-legend}}<html> <a id="currency-link"></html>{{{currency-symbol}}}<html><span style="font-size: 0.6em;"> (Change?)</span></a> --> |
||
</html>{{int:donate_interface-amount-legend}} {{{currency-symbol}}}<html> |
|||
</div> |
</div> |
||
</div> |
</div> |
||
Line 190: | Line 192: | ||
<label for="input_amount_2"></html>{{{donate-amount-2}}}<html></label> |
<label for="input_amount_2"></html>{{{donate-amount-2}}}<html></label> |
||
</td> |
</td> |
||
<td class="amount-table-cell"> |
|||
<input type="radio" name="amount" id="input_amount_3" onclick="selectAmount();" value="</html>{{{donate-amount-3}}}<html>" /> |
|||
<label for="input_amount_3"></html>{{{donate-amount-3}}}<html></label> |
|||
</td> |
|||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
<td class="amount-table-cell"> |
<td class="amount-table-cell"> |
||
<input type="radio" name="amount" id=" |
<input type="radio" name="amount" id="input_amount_3" onclick="selectAmount();" value="</html>{{{donate-amount-3}}}<html>" /> |
||
<label for="input_amount_4"></html>{{{donate-amount- |
<label for="input_amount_4"></html>{{{donate-amount-3}}}<html></label> |
||
</td> |
</td> |
||
<td class="amount-table-cell"> |
<td class="amount-table-cell"> |
||
<input type="radio" name="amount" id=" |
<input type="radio" name="amount" id="input_amount_4" onclick="selectAmount();" value="</html>{{{donate-amount-4}}}<html>" /> |
||
<label for="input_amount_5"></html>{{{donate-amount- |
<label for="input_amount_5"></html>{{{donate-amount-4}}}<html></label> |
||
</td> |
|||
<td class="amount-table-cell"> |
|||
<input type="radio" name="amount" id="input_amount_6" onclick="selectAmount();" value="</html>{{{donate-amount-6}}}<html>" /> |
|||
<label for="input_amount_6"></html>{{{donate-amount-6}}}<html></label> |
|||
</td> |
</td> |
||
<td class="amount-table-cell"> |
<td class="amount-table-cell"> |
||
<input type="radio" name="amount" id="input_amount_other" value="" /><input type="text |
<input type="radio" name="amount" id="input_amount_other" value="" /><input type="text" id="input_amount_other_box" size="3" autocomplete="off" value="</html>{{int:donate_interface-other}}<html>" onfocus="clearOther(this)"/> |
||
</td> |
</td> |
||
</tr> |
</tr> |
Latest revision as of 20:13, 4 November 2011