Image integration

This commit is contained in:
David 2018-02-20 10:42:38 +01:00
parent 33753fc289
commit 9e706f18d4
2 changed files with 36 additions and 12 deletions

View File

@ -316,7 +316,6 @@ $(function(){ldelim}
{/if} {/if}
{else} {else}
<div id="account-creation_container"> <div id="account-creation_container">
<div class="insert_top_account_creation"></div>
<form action="{$link->getPageLink('authentication.php', true)}" method="post" id="account-creation_form" class="std"> <form action="{$link->getPageLink('authentication.php', true)}" method="post" id="account-creation_form" class="std">
{$HOOK_CREATE_ACCOUNT_TOP} {$HOOK_CREATE_ACCOUNT_TOP}
<fieldset class="account_creation"> <fieldset class="account_creation">

View File

@ -1,12 +1,37 @@
<style type="text/css">
{if $landing} {if $landing}
body#authentication #account-creation_container .insert_top_account_creation{ <style type="text/css">
background-image: url("{$base_dir_ssl}modules/landingpages/img/{$id_lp}_2_{$cookie->id_lang}.jpg") !important; body#authentication .insert_top_account_creation {
background-position: center 99px; width: 100%;
background-repeat: no-repeat;
} }
{/if}
body#authentication .insert_top_account_creation img {
width: 100%;
height: auto;
}
body#authentication span.subtitle_create_account {
display: none;
}
body#authentication #columns .content #center_column #account-creation_form h3{
display: none;
}
body#authentication div.paiement_logo_block a.payment{
display: none;
}
</style> </style>
<script type="text/javascript">
{literal}
$(document).ready(function () {
$('#columns').before('<div class="insert_top_account_creation">' +
'<img src="{/literal}{$base_dir_ssl}modules/landingpages/img/{$id_lp}_2_{$cookie->id_lang}.jpg{literal}">' +
'</div>');
});
{/literal}
</script>
{/if}
<div class="hidden" style="display: none !important;"> <div class="hidden" style="display: none !important;">
<input type="hidden" name="lp" value="{$smarty.request.lp|escape:'htmlall':'UTF-8'}"/> <input type="hidden" name="lp" value="{$smarty.request.lp|escape:'htmlall':'UTF-8'}"/>
{if isset($tag)} {if isset($tag)}