2022-03-06 13:35:21 +01:00
|
|
|
<?php
|
|
|
|
// Lexique
|
|
|
|
$text = [];
|
|
|
|
$val = $this->getData(['config', 'i18n', 'langAdmin']);
|
|
|
|
switch ($val) {
|
|
|
|
case 'fr' :
|
|
|
|
$text[0] = 'Accueil';
|
|
|
|
$text[1] = 'Aide';
|
|
|
|
$text[2] = 'Importation';
|
|
|
|
$text[3] = 'Utilisateur';
|
|
|
|
$text[4] = 'Identifiant';
|
|
|
|
$text[5] = 'Nom';
|
|
|
|
$text[6] = 'Groupe';
|
|
|
|
break;
|
|
|
|
case 'en' :
|
|
|
|
$text[0] = 'Home';
|
|
|
|
$text[1] = 'Help';
|
|
|
|
$text[2] = 'Import';
|
|
|
|
$text[3] = 'User';
|
|
|
|
$text[4] = 'Identifier';
|
|
|
|
$text[5] = 'Name';
|
|
|
|
$text[6] = 'Group';
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
?>
|
2022-01-31 09:10:49 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('userAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl(false),
|
|
|
|
'ico' => 'home',
|
2022-03-06 13:35:21 +01:00
|
|
|
'value' => $text[0]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('userHelp', [
|
|
|
|
'href' => 'https://doc.deltacms.fr/liste-des-utilisateurs',
|
|
|
|
'target' => '_blank',
|
|
|
|
'ico' => 'help',
|
2022-03-06 13:35:21 +01:00
|
|
|
'value' => $text[1],
|
2022-01-31 09:10:49 +01:00
|
|
|
'class' => 'buttonHelp'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset4">
|
|
|
|
<?php echo template::button('userImport', [
|
|
|
|
'href' => helper::baseUrl() . 'user/import',
|
|
|
|
'ico' => 'plus',
|
2022-03-06 13:35:21 +01:00
|
|
|
'value' => $text[2]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('userAdd', [
|
|
|
|
'href' => helper::baseUrl() . 'user/add',
|
|
|
|
'ico' => 'plus',
|
2022-03-06 13:35:21 +01:00
|
|
|
'value' => $text[3]
|
2022-01-31 09:10:49 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-06 13:35:21 +01:00
|
|
|
<?php echo template::table([3, 4, 3, 1, 1], $module::$users, [$text[4], $text[5], $text[6], '', '']); ?>
|