Template:2011FR/Form-section-radiobuttons-recurring: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 2: Line 2:


<style type="text/css">
<style type="text/css">

#radiobuttons-table-header{
#radiobuttons-table-header{
padding-bottom: 0.5em;
}

#radiobuttons-table-title{
font-weight: bold;
font-weight: bold;
font-size: 1.3em;
font-size: 1.2em;
float: </html>{{#ifeq:{{Template:Ltr-direction|{{{uselang}}}}}|rtl|right|left}}<html>;
float: </html>{{#ifeq:{{Template:Ltr-direction|{{{uselang}}}}}|rtl|right|left}}<html>;
padding-bottom: 1em;
}
}


#radiobuttons-table-body{
#radiobuttons-table-body{
margin-left: -5px;
margin-left: -5px;
padding-top: 2.3em;
padding-top: 0.5em;
/*border-top: 1px solid #5EAC58;*/
}
}


Line 105: Line 110:
<input type="hidden" name="currency_code" value="</html>{{{currency|{{2011FR/core-currency-code|{{{country}}}}}}}}<html>"/>
<input type="hidden" name="currency_code" value="</html>{{{currency|{{2011FR/core-currency-code|{{{country}}}}}}}}<html>"/>


<div id="radiobuttons-table-header">
<div>
<div id="radiobuttons-table-header">
<div id="radiobuttons-table-title">
</html>{{int:donate_interface-amount-legend}}<html>: <div style="display: inline;"></html>{{2011FR/core-currency-symbol|{{{currency|{{2011FR/core-currency-code|{{{country}}}}}}}}}}<html></div> <div style="display: inline;"></html>({{{currency|{{2011FR/core-currency-code|{{{country}}}}}}}})<html></div>
</html>{{int:donate_interface-amount-legend}}<html>: <div style="display: inline;"></html>{{2011FR/core-currency-symbol|{{{currency|{{2011FR/core-currency-code|{{{country}}}}}}}}}}<html></div> <div style="display: inline;"></html>({{{currency|{{2011FR/core-currency-code|{{{country}}}}}}}})<html></div>
</div>
</div>
Line 120: Line 125:
</span>
</span>
</div>
</div>
<div style="clear: left;">
</div>
<input type="radio" name="recurring-radiooption" id="onetime-radiooption" onclick="toggleMonthly('onetime-radiooption');" value="" checked="true"/>

<label for="onetime-radiooption"></html>One-Time<html></label>
<div>
<input type="radio" name="recurring-radiooption" id="monthly-radiooption" onclick="toggleMonthly('monthly-radiooption');" value="" />
<input type="radio" name="recurring-radiooption" id="monthly-radiooption" onclick="toggleMonthly('monthly-radiooption');" value="" />
<label for="monthly-radiooption"></html>{{int:donate_interface-monthly-donation}}*<html></label>
<label for="monthly-radiooption"></html>Monthly*<html></label>
<input type="radio" name="recurring-radiooption" id="onetime-radiooption" onclick="toggleMonthly('onetime-radiooption');" value="" checked="true"/>
<label for="onetime-radiooption"></html>One time donation<html></label>
</div>
</div>
</div>

<script type="text/javascript" language="javascript">
<script type="text/javascript" language="javascript">

var monthlyDonation = false;
var monthlyDonation = false;


Line 138: Line 140:
{
{
monthlyDonation = true;
monthlyDonation = true;
$(".not-monthly-capable").hide();
document.getElementsByName("buttonOnetime").visibility = "hidden";
}
}
else
else
{
{
monthlyDonation = false;
monthlyDonation = false;
$(".not-monthly-capable").show();
document.getElementsByName("buttonOnetime").visibility = "visible";
}
}
document.getElementsByName("recurring-radiooption").checked = false;
document.getElementsByName("recurring-radiooption").checked = false;
Line 149: Line 151:
}
}
</script>
</script>

<div id="radiobuttons-table-body">
<div id="radiobuttons-table-body">
<!-- <center> -->
<!-- <center> -->

Latest revision as of 00:08, 28 December 2011

Donation amount:
$
(USD)