37 lines
831 B
PHP
37 lines
831 B
PHP
<?php echo template::formOpen('userResetForm');
|
|
// Lexique
|
|
$text = [];
|
|
$val = $this->getData(['config', 'i18n', 'langAdmin']);
|
|
switch ($val) {
|
|
case 'fr' :
|
|
$text[0] = 'Nouveau mot de passe';
|
|
$text[1] = 'Confirmation';
|
|
$text[2] = 'Valider';
|
|
break;
|
|
case 'en' :
|
|
$text[0] = 'New password';
|
|
$text[1] = 'Confirmation';
|
|
$text[2] = 'Validate';
|
|
break;
|
|
}
|
|
?>
|
|
<div class="row">
|
|
<div class="col6">
|
|
<?php echo template::password('userResetNewPassword', [
|
|
'label' => $text[0]
|
|
]); ?>
|
|
</div>
|
|
<div class="col6">
|
|
<?php echo template::password('userResetConfirmPassword', [
|
|
'label' => $text[1]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col2 offset10">
|
|
<?php echo template::submit('userResetSubmit', [
|
|
'value' => $text[2]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<?php echo template::formClose(); ?>
|