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">
|
2022-10-03 18:37:25 +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>
|
2022-09-29 08:45:59 +02:00
|
|
|
<?php echo template::text('userAddPseudo', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Pseudo'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::select('userAddSignature', $module::$signature, [
|
|
|
|
'label' => 'Signature',
|
|
|
|
'selected' => 1
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::mail('userAddMail', [
|
|
|
|
'autocomplete' => 'off',
|
|
|
|
'label' => 'Adresse mail'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2022-10-03 18:37:25 +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">
|
|
|
|
<h4><?php echo helper::translate('Paramètres'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('userAddLanguage', $module::$languagesInstalled, [
|
|
|
|
'label' => 'Langues'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('userAddGroup', self::$groupNews, [
|
|
|
|
'label' => 'Groupe',
|
|
|
|
'selected' => self::GROUP_MEMBER
|
|
|
|
]); ?>
|
|
|
|
<div id="userAddMemberFiles" class="displayNone">
|
|
|
|
<?php echo template::checkbox('userAddFiles', true, 'Partage de fichiers autorisé', [
|
|
|
|
'checked' => false,
|
|
|
|
'help' => 'Ce membre pourra téléverser ou télécharger des fichiers dans le dossier \'partage\' et ses sous-dossiers'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div id="userAddLabelAuth">
|
|
|
|
<?php echo helper::translate('Permissions :'); ?>
|
|
|
|
</div>
|
|
|
|
<ul id="userAddGroupDescription<?php echo self::GROUP_MEMBER; ?>" class="userAddGroupDescription displayNone">
|
|
|
|
<li><?php echo helper::translate('Accès aux pages privées'); ?></li>
|
|
|
|
</ul>
|
|
|
|
<ul id="userAddGroupDescription<?php echo self::GROUP_MODERATOR; ?>" class="userAddGroupDescription displayNone">
|
|
|
|
<li><?php echo helper::translate('Accès aux pages privées'); ?></li>
|
|
|
|
<li><?php echo helper::translate('Ajout - Édition - Suppression de pages'); ?></li>
|
|
|
|
<li><?php echo helper::translate('Ajout - Édition - Suppression de fichiers'); ?></li>
|
|
|
|
</ul>
|
|
|
|
<ul id="userAddGroupDescription<?php echo self::GROUP_ADMIN; ?>" class="userAddGroupDescription displayNone">
|
|
|
|
<li><?php echo helper::translate('Administration complète du site'); ?></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<?php echo template::formClose(); ?>
|