bebeboutik/modules/blockauth/blockauth.tpl

38 lines
2.2 KiB
Smarty
Raw Normal View History

2016-01-04 12:49:26 +01:00
{if !$cookie->isLogged()}
<div id="authentication_area">
<form action="{$link->getPageLink('authentication.php', true)}" method="post" id="create-account_form" class="std">
<fieldset>
<h3>{l s='Create your account' mod='blockauth'}</h3>
<h4>{l s='Enter your e-mail address to create an account' mod='blockauth'}.</h4>
<p class="text">
<label for="email_create">{l s='E-mail address' mod='blockauth'}</label>
<span><input type="text" id="email_create" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
</p>
<p class="submit">
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
<input type="submit" id="SubmitCreate" name="SubmitCreate" class="button_large" value="{l s='Create your account' mod='blockauth'}" />
<input type="hidden" class="hidden" name="SubmitCreate" value="{l s='Create your account' mod='blockauth'}" />
</p>
</fieldset>
</form>
<form action="{$link->getPageLink('authentication.php', true)}" method="post" id="login_form" class="std">
<fieldset>
<h3>{l s='Already registered ?' mod='blockauth'}</h3>
<p class="text">
<label for="email">{l s='E-mail address' mod='blockauth'}</label>
<span><input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
</p>
<p class="text">
<label for="passwd">{l s='Password' mod='blockauth'}</label>
<span><input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall':'UTF-8'|stripslashes}{/if}" class="account_input" /></span>
</p>
<p class="submit">
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
<input type="submit" id="SubmitLogin" name="SubmitLogin" class="button" value="{l s='Log in' mod='blockauth'}" />
</p>
<p class="lost_password"><a href="{$link->getPageLink('password.php')}">{l s='Forgot your password?' mod='blockauth'}</a></p>
</fieldset>
</form>
</div>
{/if}