Template:2012France/lp-form: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
more cleanup |
No edit summary |
||
Line 42: | Line 42: | ||
function redirectPayment(i) { |
function redirectPayment(i) { |
||
⚫ | |||
//if i == 1 |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
document.contribform.action = action_url; |
|||
⚫ | |||
document.contribform.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getLandingPage() + '.' + paymentType; |
|||
document.contribform.utm_source.value = getQuerystring( 'utm_source' ) + '.' + getLandingPage() + '.' + paymentType; |
|||
if (validateForm(document.contribform)) { |
|||
if (typeof(OWA) !== 'undefined') { OWATracker.shareStateByPost( document.contribform ); } |
|||
document.contribform.submit(); |
|||
} |
|||
} |
} |
||
</script> |
</script> |
||
Line 67: | Line 66: | ||
<input type="hidden" name="COMPLUS" value="WikimediaFoundation" /> |
<input type="hidden" name="COMPLUS" value="WikimediaFoundation" /> |
||
<div style="padding: 0.1em 0em; font-weight: normal; text-align: center;"> |
<div style="padding: 0.1em 0em; font-weight: normal; text-align: center;"> |
||
</html>{{{gift-amount-text}}}<html><br /><br /> |
</html>{{{gift-amount-text}}}<html><br /><br /> |
||
<div id="amount-box" style="font-size: 100%; padding: 0; font-weight: bold; margin-left: -5px;"> |
<div id="amount-box" style="font-size: 100%; padding: 0; font-weight: bold; margin-left: -5px;"> |
||
Line 79: | Line 78: | ||
<td style="white-space: nowrap; text-align:justify;"><input type="radio" name="input_amount" id="input_amount_3" onclick="document.contribform.amountGiven.value = ''" value="</html>{{{donate-amount-3}}}<html>"><label for="input_amount_3"> </html>{{{donate-amount-3}}}<html> €</label></td> |
<td style="white-space: nowrap; text-align:justify;"><input type="radio" name="input_amount" id="input_amount_3" onclick="document.contribform.amountGiven.value = ''" value="</html>{{{donate-amount-3}}}<html>"><label for="input_amount_3"> </html>{{{donate-amount-3}}}<html> €</label></td> |
||
<td style="white-space: nowrap; text-align:justify;"><input type="radio" name="input_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" id="amountGiven" size="4" onKeyUp="verificationsaisie();" onfocus="this.form.input_amount_other.checked=true;"> €<br/></td> |
<td style="white-space: nowrap; text-align:justify;"><input type="radio" name="input_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" id="amountGiven" size="4" onKeyUp="verificationsaisie();" onfocus="this.form.input_amount_other.checked=true;"> €<br/></td> |
||
<td></td> |
|||
</tr> |
</tr> |
||
</table> |
</table> |
||
Line 91: | Line 89: | ||
</form> |
</form> |
||
</html |
</html>{{{chapter-text|}}}<html> |
||
<script type="text/javascript"> |
<script type="text/javascript"> |