bebeboutik/modules/landingpages/authentication_bottom.tpl
2016-04-20 12:35:20 +02:00

26 lines
812 B
Smarty

{if $connect_button == 1}
<style type="text/css">
#authentication #center_column #account-creation_container p#account_form_bottom{
padding: 6px 50px;
width: inherit;
text-align: right;
margin-top: 5px;
}
</style>
<script>
$(document).ready(function() {
if ($('#submitAccount').outerWidth() > $('a#SubmitLogin').outerWidth()) {
$('a#SubmitLogin').css({
width: $('#submitAccount').outerWidth()+'px'
});
} else {
$('#submitAccount').css({
width: $('a#SubmitLogin').outerWidth()+'px'
});
}
});
</script>
<p class="cart_navigation" id="account_form_bottom">
<a id="SubmitLogin" href="{$link->getPageLink('authentication.php')}">{l s='Already member' mod='landingpages'}</a>
</p>
{/if}