[-] FO : FixBug CGV does not pop-up in Fancy Box

This commit is contained in:
Jérôme Nadaud
2013-08-08 21:28:55 +02:00
committed by gRoussac
parent 8be3344e41
commit 7b41098a5d

View File

@@ -269,7 +269,15 @@
<input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} autocomplete="off"/>
<label for="cgv">{l s='I agree to the terms of service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read the Terms of Service)'}</a>
</p>
<script type="text/javascript">$('a.iframe').fancybox();</script>
<script type="text/javascript">
$(document).ready(function() {
$("a.iframe").fancybox({
'type' : 'iframe',
'width':600,
'height':600
});
});
</script>
{/if}
</div>