2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::formOpen('profilAddForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('profilAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'user/profil',
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('profilAddSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Paramètres du profil'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::text('profilAddName', [
|
|
|
|
'label' => 'Nom du profil',
|
|
|
|
'value' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'name'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::select('profilAddGroup', $module::$groupProfils, [
|
|
|
|
'label' => 'Groupe associé',
|
|
|
|
'selected' => $this->getUrl(2)
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::textarea('profilAddComment', [
|
|
|
|
'label' => 'Commentaire',
|
|
|
|
'value' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'comment'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Compte de l\'utilisateur'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddUserEdit', true, 'Éditer'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Gestionnaire de fichiers'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddFileManager', true, 'Autorisé'); ?>
|
|
|
|
</div>
|
2024-02-27 18:09:04 +01:00
|
|
|
<div class="col5">
|
|
|
|
<?php echo template::select('profilAddCoursePath', $module::$sharePath, [
|
|
|
|
'label' => 'Dossier depuis un espace',
|
|
|
|
'class' => 'filemanager',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col5">
|
|
|
|
<?php echo template::select('profilAddHomePath', $module::$sharePath, [
|
|
|
|
'label' => 'Dossier depuis l\'accueil',
|
2023-09-05 15:21:01 +02:00
|
|
|
'class' => 'filemanager',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions sur les dossiers'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::checkbox('profilAddFolderCreate', true, 'Ajouter', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::checkbox('profilAddFolderDelete', true, 'Effacer', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::checkbox('profilAddFolderRename', true, 'Renommer', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Presse Papier', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddFolderChmod', true, 'Droits sur les dossiers', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions sur les fichiers'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddDownload', true, 'Télécharger', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddEdit', true, 'Éditer', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCreate', true, 'Ajouter', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddRename', true, 'Renommer', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddUpload', true, 'Téléverser', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddDelete', true, 'Effacer', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPreview', true, 'Prévisualiser', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddDuplicate', true, 'Dupliquer', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddExtract', true, 'Extraire', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCopycut', true, 'Presse papier', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddChmod', true, 'Droits sur les fichiers', ['class' => 'filemanager']); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-13 09:00:51 +01:00
|
|
|
<div class="row containerPage">
|
2024-02-16 11:06:54 +01:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Gestion des espaces'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilAddCourseTutor', true, 'Gère les espaces comme auteur et participant'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseEdit', true, 'Éditer un espace'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseBackup', true, 'Sauvegarder un espace'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseRestore', true, 'Restaurer un espace'); ?>
|
|
|
|
</div>
|
2024-09-04 09:19:17 +02:00
|
|
|
|
2024-02-16 11:06:54 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2024-09-04 09:19:17 +02:00
|
|
|
<div class="col3">
|
2024-02-16 11:06:54 +01:00
|
|
|
<?php echo template::checkbox('profilAddCourseUsers', true, 'Gérer les participants'); ?>
|
|
|
|
</div>
|
2024-09-04 09:19:17 +02:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseExport', true, 'Exporter un espace en html'); ?>
|
|
|
|
</div>
|
2024-02-16 11:06:54 +01:00
|
|
|
</div>
|
|
|
|
<div id="courseContainer">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseUserHistory', true, 'Voir historique d\'un participant'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2024-10-21 21:20:09 +02:00
|
|
|
<?php echo template::checkbox('profilAddCourseuserReportExport', true, 'Exporter historique d\'un participant'); ?>
|
2024-02-16 11:06:54 +01:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseUserDelete', true, 'Désinscrire un participant'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseUsersAdd', true, 'Inscrire en masse'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddCourseUsersDelete', true, 'Désinscrire en masse'); ?>
|
|
|
|
</div>
|
2024-04-17 10:33:00 +02:00
|
|
|
<div class="col3">
|
2024-04-17 10:53:02 +02:00
|
|
|
<?php echo template::checkbox('profilAddCourseReset', true, 'Réinitialiser un espace'); ?>
|
2024-04-17 10:33:00 +02:00
|
|
|
</div>
|
2024-02-16 11:06:54 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-13 09:00:51 +01:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Permissions sur les pages'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPageAdd', true, 'Ajouter'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPageEdit', true, 'Éditer'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPageDelete', true, 'Effacer'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPageDuplicate', true, 'Dupliquer'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPageModule', true, 'Module'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPagecssEditor', true, 'Éditeur CSS'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddPagejsEditor', true, 'Éditeur JS'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="containerModule">
|
|
|
|
<?php foreach (user::$listModules as $moduleId): ?>
|
|
|
|
<?php if (file_exists('module/' . $moduleId . '/profil/view/add.inc.php')) {
|
|
|
|
include('module/' . $moduleId . '/profil/view/add.inc.php');
|
|
|
|
} ?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|
2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::formClose(); ?>
|