2023-03-31 17:02:56 +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>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Paramètres du profil'); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2023-05-10 16:58:56 +02:00
|
|
|
<?php echo template::text('profilAddName', [
|
2023-03-31 17:02:56 +02:00
|
|
|
'label' => 'Nom du profil',
|
|
|
|
'value' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'name'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
2023-05-10 16:58:56 +02:00
|
|
|
<?php echo template::select('profilAddGroup', $module::$groupProfils, [
|
2023-07-19 09:28:26 +02:00
|
|
|
'label' => 'Groupe associé',
|
2023-03-31 17:02:56 +02:00
|
|
|
'selected' => $this->getUrl(2)
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2023-05-10 16:58:56 +02:00
|
|
|
<?php echo template::textarea('profilAddComment', [
|
2023-03-31 17:02:56 +02:00
|
|
|
'label' => 'Commentaire',
|
|
|
|
'value' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'comment'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
<div class="row containerPage">
|
2023-05-14 22:59:24 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur les pages'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageAdd', true, 'Ajouter'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageEdit', true, 'Éditer'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageDelete', true, 'Effacer'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageDuplicate', true, 'Dupliquer'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageModule', true, 'Module'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddPagecssEditor', true, 'Éditeur CSS'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddPagejsEditor', true, 'Éditeur JS'); ?>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
<div class="containerModule">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Blog'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-06-18 17:35:54 +02:00
|
|
|
<div class="col4">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogAdd', true, 'Ajouter'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-06-18 17:35:54 +02:00
|
|
|
<div class="col4">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogEdit', true, 'Edit'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-06-18 17:35:54 +02:00
|
|
|
<div class="col4">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogDelete', true, 'Effacer'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col4">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogOption', true, 'Options'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogComment', true, 'Commentaire'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogCommentApprove', true, 'Approuver les commentaires'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
<div class="row">
|
2023-06-30 09:26:41 +02:00
|
|
|
<div class="col6" s>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogCommentDelete', true, 'Effacer les commentaires'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
|
|
|
<div class="col6">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', true, 'Nettoyer les commentaires'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('News'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddNewsAdd', true, 'Ajouter'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddNewsEdit', true, 'Éditer'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddNewsDelete', true, 'Effacer'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col3">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilAddNewsOption', true, 'Options'); ?>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
|
|
|
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-10 16:58:05 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Galerie'); ?>
|
2023-06-10 16:58:05 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter'); ?>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer'); ?>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer'); ?>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col6">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilAddGalleryOption', true, 'Options'); ?>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryTheme', true, 'Thème'); ?>
|
2023-06-10 16:58:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-10 17:21:16 +02:00
|
|
|
<div class="row">
|
2023-06-12 11:13:57 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Formulaire'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 17:35:54 +02:00
|
|
|
<?php echo template::checkbox('profilAddFormOption', true, 'Options'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddFormData', true, 'Gérer les données'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilAddFormExport2csv', true, 'Export CSV'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddFormDelete', true, 'Effacer'); ?>
|
2023-06-10 17:21:16 +02:00
|
|
|
</div>
|
2023-06-12 11:13:57 +02:00
|
|
|
<div class="col4">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddFormDeleteAll', true, 'Tout Effacer'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
2023-06-18 16:57:11 +02:00
|
|
|
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Redirection'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditRedirectionConfig', true, 'Configurer'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo helper::translate('Permissions sur le module') . ' ' . helper::translate('Recherche'); ?>
|
2023-06-12 11:13:57 +02:00
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2023-06-18 16:57:11 +02:00
|
|
|
<?php echo template::checkbox('profilEditSearchConfig', true, 'Configurer'); ?>
|
2023-06-10 17:21:16 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-12 11:13:57 +02:00
|
|
|
</div>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
2023-06-30 09:26:41 +02:00
|
|
|
<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>
|
2023-03-31 17:02:56 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Gestionnaire de fichiers'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddFileManager', true, 'Autorisé'); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('profilAddPath', $module::$sharePath, [
|
2023-05-11 19:07:34 +02:00
|
|
|
'label' => 'Dossier',
|
2023-05-11 18:33:25 +02:00
|
|
|
'class' => 'filemanager',
|
2023-03-31 17:02:56 +02:00
|
|
|
]); ?>
|
|
|
|
</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">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderCreate', true, 'Ajouter', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderDelete', true, 'Effacer', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderRename', true, 'Renommer', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderCopycut', true, 'Presse Papier', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderChmod', true, 'Droits sur les dossiers', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</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">
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddDownload', true, 'Télécharger', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddEdit', true, 'Éditer', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddCreate', true, 'Ajouter', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddRename', true, 'Renommer', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddUpload', true, 'Téléverser', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddDelete', true, 'Effacer', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddPreview', true, 'Prévisualiser', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddDuplicate', true, 'Dupliquer', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-07-19 09:28:26 +02:00
|
|
|
<?php echo template::checkbox('profilAddExtract', true, 'Extraire', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-07-19 10:30:41 +02:00
|
|
|
<?php echo template::checkbox('profilAddCopycut', true, 'Presse papier', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-06-10 17:06:08 +02:00
|
|
|
<?php echo template::checkbox('profilAddChmod', true, 'Droits sur les fichiers', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|