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>
|
|
|
|
<?php echo helper::translate('Paramètres'); ?>
|
|
|
|
</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-03-31 17:02:56 +02:00
|
|
|
'label' => 'Groupe',
|
|
|
|
'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>
|
|
|
|
<?php echo helper::translate('Pages'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageAdd', false, 'Ajouter'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageEdit', false, 'Editer'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageDelete', false, 'Effacer'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageDuplicate', false, 'Dupliquer'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPageModule', false, 'Module'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPagecssEditor', false, 'Editeur CSS'); ?>
|
2023-05-14 22:59:24 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPagejsEditor', false, 'Editeur JS'); ?>
|
|
|
|
</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>
|
|
|
|
<?php echo helper::translate('Blog'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddBlogAdd', false, 'Ajouter'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddBlogEdit', false, 'Edit'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddBlogDelete', false, 'Supprimer'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::checkbox('profilAddBlogConfig', false, 'Configuration'); ?>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddBlogOption', false, 'Option'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddBlogComment', false, 'Commentaire'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddBlogCommentApprouve', false, 'Approuver commentaire'); ?>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilAddBlogCommentDelete', false, 'Supprimer commentaire'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilAddBlogCommentDeleteAll', false, 'Nettoyer commentaires'); ?>
|
|
|
|
</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>
|
|
|
|
<?php echo helper::translate('News'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddNewsAdd', false, 'Ajouter'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddNewsEdit', false, 'Edit'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddNewsDelete', false, 'Supprimer'); ?>
|
|
|
|
</div>
|
2023-05-31 19:30:39 +02:00
|
|
|
</div>
|
2023-06-01 20:08:11 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilAddNewsConfig', false, 'Configuration'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('profilAddNewsOption', false, 'Option'); ?>
|
|
|
|
</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>
|
|
|
|
<?php echo helper::translate('Galerie'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryAdd', false, 'Ajouter'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryEdit', false, 'Edit'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryDelete', false, 'Supprimer'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryConfig', false, 'Configuration'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryOption', false, 'Option'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::checkbox('profilAddGalleryTheme', false, 'Theme'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-14 22:59:24 +02:00
|
|
|
</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-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddFileManager', false, '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-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderCreate', false, 'Création', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderDelete', false, 'Effacement', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderRename', false, 'Nommage', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
|
|
|
<div class="col2">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderCopycut', false, 'Copié collé', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddFolderChmod', false, '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-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddDownload', false, 'Téléchargement', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddEdit', false, 'Edition', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddCreate', false, 'Création', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddRename', false, 'Nommage', ['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-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddUpload', false, 'Téléversement', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddDelete', false, 'Effacement', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
|
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddPreview', false, 'Prévisualisation', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddDuplicate', false, 'Duplication', ['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-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddExtract', false, 'Extraction', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddCopycut', false, 'Copié collé', ['class' => 'filemanager']); ?>
|
2023-03-31 17:02:56 +02:00
|
|
|
</div>
|
2023-05-11 19:13:36 +02:00
|
|
|
<div class="col3">
|
2023-05-31 19:30:39 +02:00
|
|
|
<?php echo template::checkbox('profilAddChmod', false, '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(); ?>
|