2020-10-04 17:14:15 +02:00
< ? php echo template :: formOpen ( 'userImportForm' ); ?>
< div class = " row " >
2022-02-18 12:43:48 +01:00
< div class = " col1 " >
2020-10-04 18:34:34 +02:00
< ? php echo template :: button ( 'userImportBack' , [
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl () . 'user' ,
2022-02-18 12:43:48 +01:00
'value' => template :: ico ( 'left' )
2020-10-04 18:34:34 +02:00
]); ?>
</ div >
2022-02-18 12:43:48 +01:00
< div class = " col1 " >
2021-11-08 17:59:33 +01:00
< ? php echo template :: button ( 'userHelp' , [
'href' => 'https://doc.zwiicms.fr/importation-d-une-liste-d-utilisateurs' ,
'target' => '_blank' ,
2022-02-18 12:43:48 +01:00
'value' => template :: ico ( 'help' ),
'class' => 'buttonHelp' ,
'help' => 'Consulter l\'aide en ligne'
2021-11-08 17:59:33 +01:00
]); ?>
</ div >
2022-02-18 12:43:48 +01:00
< div class = " col2 offset8 " >
2020-10-06 15:25:12 +02:00
< ? php echo template :: submit ( 'userImportSubmit' , [
'value' => 'Importer'
]); ?>
2020-10-04 17:14:15 +02:00
</ div >
2020-10-04 18:34:34 +02:00
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
2022-09-14 22:54:46 +02:00
< h4 >
< ? php template :: transcribe ( 'Importation de fichier plat CSV' ); ?>
</ h4 >
2020-10-04 18:34:34 +02:00
< div class = " row " >
2022-02-18 12:43:48 +01:00
< div class = " col10 " >
2020-10-04 18:34:34 +02:00
< ? php echo template :: file ( 'userImportCSVFile' , [
'label' => 'Liste d\'utilisateurs :'
]); ?>
</ div >
2020-10-07 19:39:31 +02:00
< div class = " col2 " >
2020-10-05 16:56:30 +02:00
< ? php echo template :: select ( 'userImportSeparator' , $module :: $separators , [
'label' => 'Séparateur'
]); ?>
</ div >
2020-10-07 19:39:31 +02:00
</ div >
< div class = " row " >
< div class = " col12 " >
< ? php echo template :: checkbox ( 'userImportNotification' , true , 'Envoyer un message de confirmation' , [
'checked' => false
]); ?>
</ div >
</ div >
2020-10-04 18:34:34 +02:00
</ div >
</ div >
</ div >
2020-10-05 16:56:30 +02:00
< ? php echo template :: formClose (); ?>
2020-12-04 20:51:46 +01:00
< ? php if ( $module :: $users ) : ?>
2020-10-08 12:49:09 +02:00
< div class = " row " >
< div class = " col12 textAlignCenter " >
2020-12-04 20:51:46 +01:00
< ? php echo template :: table ([ 1 , 3 , 3 , 1 , 1 , 2 , 1 ], $module :: $users , [ 'Id' , 'Nom' , 'Prénom' , 'Groupe' , 'Pseudo' , 'eMail' , '' ]); ?>
2020-12-03 14:10:57 +01:00
< ? php echo template :: ico ( 'check' ); ?> Compte créé | <?php echo template::ico('mail');?> Compte créé et notifié | <?php echo template::ico('cancel');?> Erreur dans le fichier, compte non créé.
2020-10-08 12:49:09 +02:00
</ div >
</ div >
2021-06-08 08:17:33 +02:00
< ? php endif ; ?>