ZwiiCMS/core/module/user/view/login/login.php

41 lines
1.1 KiB
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<?php echo template::formOpen('userLoginForm'); ?>
<div class="row">
<div class="col6">
<?php echo template::text('userLoginId', [
'label' => 'Identifiant'
]); ?>
</div>
<div class="col6">
<?php echo template::password('userLoginPassword', [
'label' => 'Mot de passe'
]); ?>
</div>
</div>
<div class="row">
<div class="col6">
2020-06-01 09:34:13 +02:00
<?php echo template::checkbox('userLoginLongTime', true, 'Se souvenir de moi', [
'help' => 'La session est close à la fermeture du navigateur.'
]); ?>
2018-04-02 08:29:19 +02:00
</div>
<div class="col6 textAlignRight">
<a href="<?php echo helper::baseUrl(); ?>user/forgot/<?php echo $this->getUrl(2); ?>">Mot de passe perdu ?</a>
</div>
</div>
<div class="row">
<div class="col3 offset6">
<?php echo template::button('userLoginBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . str_replace('_', '/', str_replace('__', '#', $this->getUrl(2))),
'ico' => 'left',
'value' => 'Annuler'
]); ?>
</div>
<div class="col3">
<?php echo template::submit('userLoginSubmit', [
'value' => 'Connexion',
'ico' => 'lock'
]); ?>
</div>
</div>
<?php echo template::formClose(); ?>