2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('userLoginForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('userLoginId', [
|
2020-08-09 16:35:03 +02:00
|
|
|
'label' => 'Identifiant',
|
|
|
|
'value' => $module::$userId
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::password('userLoginPassword', [
|
|
|
|
'label' => 'Mot de passe'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-29 19:03:35 +02:00
|
|
|
<?php if ($this->getData(['config', 'connect','captcha'])): ?>
|
|
|
|
<div class="row">
|
2020-09-30 17:37:26 +02:00
|
|
|
<div class="col12 textAlignCenter">
|
2020-10-11 19:29:33 +02:00
|
|
|
<?php echo template::captcha('userLoginCaptcha', [
|
2020-10-19 18:19:50 +02:00
|
|
|
'limit' => $this->getData(['config','captchaStrong'])
|
2020-10-11 19:29:33 +02:00
|
|
|
]); ?>
|
2020-09-29 19:03:35 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif;?>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
2020-08-10 09:10:20 +02:00
|
|
|
<?php echo template::checkbox('userLoginLongTime', true, 'Se souvenir de moi', [
|
|
|
|
'checked' => $module::$userLongtime
|
|
|
|
]); ?>
|
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', [
|
|
|
|
'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(); ?>
|