35 lines
809 B
PHP
35 lines
809 B
PHP
<?php echo template::formOpen('userForgotForm');
|
|
// Lexique
|
|
$text = [];
|
|
$val = $this->getData(['config', 'i18n', 'langAdmin']);
|
|
switch ($val) {
|
|
case 'fr' :
|
|
$text[0] = 'Identifiant';
|
|
$text[1] = 'Retour';
|
|
$text[2] = 'Valider';
|
|
break;
|
|
case 'en' :
|
|
$text[0] = 'Identifier';
|
|
$text[1] = 'Back';
|
|
$text[2] = 'Validate';
|
|
break;
|
|
}
|
|
?>
|
|
<?php echo template::text('userForgotId', [
|
|
'label' => $text[0]
|
|
]); ?>
|
|
<div class="row">
|
|
<div class="col3 offset6">
|
|
<?php echo template::button('userForgotBack', [
|
|
'href' => helper::baseUrl() . 'user/login/' . $this->getUrl(2),
|
|
'ico' => 'left',
|
|
'value' => $text[1]
|
|
]); ?>
|
|
</div>
|
|
<div class="col3">
|
|
<?php echo template::submit('userForgotSubmit', [
|
|
'value' => $text[2]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<?php echo template::formClose(); ?>
|