Template:2012FR/Form-section/Radiobuttons/Default: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m add margin-right to .frequency-options to fix alignment in RTL languages |
show frequency radio buttons by default |
||
Line 45: | Line 45: | ||
//This variable tells the payment processing whether or not this donation is recurring. |
//This variable tells the payment processing whether or not this donation is recurring. |
||
// Redundant now - handled by radio buttons with name "frequency" |
|||
var monthlyDonation = false; |
var monthlyDonation = false; |
||
//This variable tells the page whether or not to display the information for cancelling a monthly payment |
//This variable tells the page whether or not to display the information for cancelling a monthly payment |
||
var showMonthlyCancel = |
var showMonthlyCancel = true; |
||
//This variable tells the page whether or not to display a link to a monthly version of the page |
//This variable tells the page whether or not to display a link to a monthly version of the page |
||
var showMonthlyLink = |
var showMonthlyLink = false; |
||
//This variable tells the page whether or not to display a link to a one-time version of the page |
//This variable tells the page whether or not to display a link to a one-time version of the page |
||
Line 64: | Line 65: | ||
</div> |
</div> |
||
</div> |
</div> |
||
<div class="frequency-options |
<div class="frequency-options"> |
||
<input type="radio" name="frequency" id="frequency_onetime" value="onetime" onclick="donationForm.toggleMonthly(false);" checked> |
<input type="radio" name="frequency" id="frequency_onetime" value="onetime" onclick="donationForm.toggleMonthly(false);" checked> |
||
<label for="frequency_onetime"></html>{{int:donate_interface-onetime-short}}<html></label> |
<label for="frequency_onetime"></html>{{int:donate_interface-onetime-short}}<html></label> |
Revision as of 14:17, 28 October 2013