2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('userAddForm'); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('userAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'user',
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
2018-04-02 08:29:19 +02:00
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('userAddSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2023-05-02 23:37:51 +02:00
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Identité'); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('userAddFirstname', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Prénom'
|
2021-06-07 18:09:38 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('userAddLastname', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Nom'
|
|
|
|
]); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</div>
|
2018-04-02 08:29:19 +02:00
|
|
|
</div>
|
2023-05-02 23:37:51 +02:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('userAddPseudo', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Pseudo'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('userAddSignature', $module::$signature, [
|
|
|
|
'label' => 'Signature',
|
|
|
|
'selected' => 1
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<?php echo template::mail('userAddMail', [
|
|
|
|
'autocomplete' => 'off',
|
2023-02-14 09:34:18 +01:00
|
|
|
'label' => 'Adresse électronique'
|
2022-09-29 08:45:59 +02:00
|
|
|
]); ?>
|
2023-05-02 23:37:51 +02:00
|
|
|
<?php echo template::select('userAddLanguage', $module::$languagesInstalled, [
|
|
|
|
'label' => 'Langues'
|
|
|
|
]); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2023-05-02 23:37:51 +02:00
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Authentification'); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
</h4>
|
|
|
|
<?php echo template::text('userAddId', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Identifiant'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::password('userAddPassword', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Mot de passe'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::password('userAddConfirmPassword', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Confirmation'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::checkbox(
|
|
|
|
'userAddSendMail',
|
|
|
|
true,
|
|
|
|
'Prévenir l\'utilisateur par mail'
|
|
|
|
);
|
|
|
|
?>
|
2018-04-02 08:29:19 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
2022-10-20 20:29:00 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2023-05-02 23:37:51 +02:00
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions'); ?>
|
2022-10-20 20:29:00 +02:00
|
|
|
</h4>
|
2023-05-03 22:59:15 +02:00
|
|
|
<div class="row">
|
2022-10-20 20:29:00 +02:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('userAddGroup', self::$groupNews, [
|
|
|
|
'label' => 'Groupe',
|
|
|
|
'selected' => self::GROUP_MEMBER
|
|
|
|
]); ?>
|
2023-05-02 23:37:51 +02:00
|
|
|
</div>
|
2023-05-03 22:59:15 +02:00
|
|
|
<div class="col6">
|
2023-05-23 20:47:27 +02:00
|
|
|
<div class="userAddGroupProfil displayNone"
|
|
|
|
id="userAddGroupProfil<?php echo self::GROUP_MEMBER; ?>">
|
2023-05-02 23:37:51 +02:00
|
|
|
<?php echo template::select('userAddProfil' . self::GROUP_MEMBER, $module::$userProfils[self::GROUP_MEMBER], [
|
|
|
|
'label' => 'Profil',
|
2022-10-20 20:29:00 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-05-23 20:47:27 +02:00
|
|
|
<div class="userAddGroupProfil displayNone"
|
|
|
|
id="userAddGroupProfil<?php echo self::GROUP_MODERATOR; ?>">
|
2023-05-02 23:37:51 +02:00
|
|
|
<?php echo template::select('userAddProfil' . self::GROUP_MODERATOR, $module::$userProfils[self::GROUP_MODERATOR], [
|
|
|
|
'label' => 'Profil',
|
|
|
|
]); ?>
|
2023-05-23 20:47:27 +02:00
|
|
|
</div>
|
2022-10-20 20:29:00 +02:00
|
|
|
</div>
|
2023-05-29 18:43:30 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div id="userCommentProfil<?php echo self::GROUP_MEMBER; ?>" class="col12 displayNone userCommentProfil">
|
|
|
|
<?php echo template::textarea('useraddProfilComment' . self::GROUP_MEMBER, [
|
|
|
|
"value" => implode("\n",$module::$userProfilsComments[self::GROUP_MEMBER])
|
|
|
|
]);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<div id="userCommentProfil<?php echo self::GROUP_MODERATOR; ?>" class="col12 displayNone userCommentProfil">
|
|
|
|
<?php echo template::textarea('useraddProfilComment2' . self::GROUP_MODERATOR, [
|
|
|
|
"value" => implode("\n",$module::$userProfilsComments[self::GROUP_MODERATOR])
|
|
|
|
]);
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<div id="userCommentProfil<?php echo self::GROUP_ADMIN; ?>" class="col12 displayNone userCommentProfil">
|
|
|
|
<?php echo template::textarea('useraddProfilComment' . self::GROUP_ADMIN, [
|
|
|
|
"value" => implode("\n",$module::$userProfilsComments[self::GROUP_ADMIN])
|
|
|
|
]);
|
|
|
|
?>
|
2023-05-23 20:47:27 +02:00
|
|
|
</div>
|
2023-05-21 18:04:32 +02:00
|
|
|
</div>
|
2022-10-20 20:29:00 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-23 20:47:27 +02:00
|
|
|
<?php echo template::formClose(); ?>
|