diff --git a/core/core.php b/core/core.php
index 770d7e3e..23251ced 100644
--- a/core/core.php
+++ b/core/core.php
@@ -51,7 +51,7 @@ class common
const ACCESS_TIMER = 1800;
// Numéro de version
- const ZWII_VERSION = '13.0.00';
+ const ZWII_VERSION = '13.0.00.1';
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
diff --git a/core/module/user/user.php b/core/module/user/user.php
index e99b6afc..b4c7182c 100644
--- a/core/module/user/user.php
+++ b/core/module/user/user.php
@@ -546,103 +546,66 @@ class user extends common
$this->getUser('permission', __CLASS__, __FUNCTION__) === true &&
$this->isPost()
) {
+ // Données du formulaire
+ $data = [
+ 'name' => $this->getInput('profilEditName', helper::FILTER_STRING_SHORT, true),
+ 'readonly' => false,
+ 'comment' => $this->getInput('profilEditComment', helper::FILTER_STRING_SHORT, true),
+ 'filemanager' => $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN),
+ 'file' => [
+ 'download' => $this->getInput('profilEditDownload', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilEditEdit', helper::FILTER_BOOLEAN),
+ 'create' => $this->getInput('profilEditCreate', helper::FILTER_BOOLEAN),
+ 'rename' => $this->getInput('profilEditRename', helper::FILTER_BOOLEAN),
+ 'upload' => $this->getInput('profilEditUpload', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditDelete', helper::FILTER_BOOLEAN),
+ 'preview' => $this->getInput('profilEditPreview', helper::FILTER_BOOLEAN),
+ 'duplicate' => $this->getInput('profilEditDuplicate', helper::FILTER_BOOLEAN),
+ 'extract' => $this->getInput('profilEditExtract', helper::FILTER_BOOLEAN),
+ 'copycut' => $this->getInput('profilEditCopycut', helper::FILTER_BOOLEAN),
+ 'chmod' => $this->getInput('profilEditChmod', helper::FILTER_BOOLEAN),
+ ],
+ 'folder' => [
+ 'create' => $this->getInput('profilEditFolderCreate', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditFolderDelete', helper::FILTER_BOOLEAN),
+ 'rename' => $this->getInput('profilEditFolderRename', helper::FILTER_BOOLEAN),
+ 'copycut' => $this->getInput('profilEditFolderCopycut', helper::FILTER_BOOLEAN),
+ 'chmod' => $this->getInput('profilEditFolderChmod', helper::FILTER_BOOLEAN),
+ 'path' => $this->getInput('profilEditPath'),
+ ],
+ 'page' => [
+ 'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilEditPageEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditPageDelete', helper::FILTER_BOOLEAN),
+ 'duplicate' => $this->getInput('profilEditPageDuplicate', helper::FILTER_BOOLEAN),
+ 'module' => $this->getInput('profilEditPageModule', helper::FILTER_BOOLEAN),
+ 'cssEditor' => $this->getInput('profilEditPagecssEditor', helper::FILTER_BOOLEAN),
+ 'jsEditor' => $this->getInput('profilEditPagejsEditor', helper::FILTER_BOOLEAN),
+ ],
+ 'user' => [
+ 'edit' => $this->getInput('profilEditUserEdit', helper::FILTER_BOOLEAN),
+ ]
+ ];
+
+ // Données des modules
+ $dataModules = helper::getModules();
+ if (is_array($dataModules)) {
+ foreach ($dataModules as $moduleId => $moduleValue) {
+ if (file_exists('module/' . $moduleId . '/profil/main/edit.inc.php')) {
+ include('module/' . $moduleId . '/profil/main/edit.inc.php');
+ if (is_array($moduleData[$moduleId])) {
+ $data = array_merge($data, [$moduleId => $moduleData[$moduleId]]);
+ }
+ }
+ }
+ }
+
+ //Sauvegarder le données
$this->setData([
'profil',
$this->getInput('profilEditGroup', helper::FILTER_STRING_LONG, true),
$this->getInput('profilEditProfil', helper::FILTER_STRING_LONG, true),
- [
- 'name' => $this->getInput('profilEditName', helper::FILTER_STRING_SHORT, true),
- 'readonly' => false,
- 'comment' => $this->getInput('profilEditComment', helper::FILTER_STRING_SHORT, true),
- 'filemanager' => $this->getInput('profilEditFileManager', helper::FILTER_BOOLEAN),
- 'file' => [
- 'download' => $this->getInput('profilEditDownload', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilEditEdit', helper::FILTER_BOOLEAN),
- 'create' => $this->getInput('profilEditCreate', helper::FILTER_BOOLEAN),
- 'rename' => $this->getInput('profilEditRename', helper::FILTER_BOOLEAN),
- 'upload' => $this->getInput('profilEditUpload', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditDelete', helper::FILTER_BOOLEAN),
- 'preview' => $this->getInput('profilEditPreview', helper::FILTER_BOOLEAN),
- 'duplicate' => $this->getInput('profilEditDuplicate', helper::FILTER_BOOLEAN),
- 'extract' => $this->getInput('profilEditExtract', helper::FILTER_BOOLEAN),
- 'copycut' => $this->getInput('profilEditCopycut', helper::FILTER_BOOLEAN),
- 'chmod' => $this->getInput('profilEditChmod', helper::FILTER_BOOLEAN),
- ],
- 'folder' => [
- 'create' => $this->getInput('profilEditFolderCreate', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditFolderDelete', helper::FILTER_BOOLEAN),
- 'rename' => $this->getInput('profilEditFolderRename', helper::FILTER_BOOLEAN),
- 'copycut' => $this->getInput('profilEditFolderCopycut', helper::FILTER_BOOLEAN),
- 'chmod' => $this->getInput('profilEditFolderChmod', helper::FILTER_BOOLEAN),
- 'path' => $this->getInput('profilEditPath'),
- ],
- 'page' => [
- 'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilEditPageEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditPageDelete', helper::FILTER_BOOLEAN),
- 'duplicate' => $this->getInput('profilEditPageDuplicate', helper::FILTER_BOOLEAN),
- 'module' => $this->getInput('profilEditPageModule', helper::FILTER_BOOLEAN),
- 'cssEditor' => $this->getInput('profilEditPagecssEditor', helper::FILTER_BOOLEAN),
- 'jsEditor' => $this->getInput('profilEditPagejsEditor', helper::FILTER_BOOLEAN),
- ],
- 'blog' => [
- 'add' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditBlogDelete', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN),
- 'comment' => $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN),
- 'commentApprove' => $this->getInput('profilEditBlogCommentApprove', helper::FILTER_BOOLEAN),
- 'commentDelete' => $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN),
- 'commentDeleteAll' => $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogCommentApprove', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN)
- ],
- 'news' => [
- 'add' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditNewsDelete', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN)
- ],
- 'gallery' => [
- 'add' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN),
- 'theme' => $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN)
- ],
- 'form' => [
- 'config' => $this->getInput('profilEditFormConfig', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilEditFormOption', helper::FILTER_BOOLEAN),
- 'data' => $this->getInput('profilEditFormData', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilEditFormDelete', helper::FILTER_BOOLEAN),
- 'deleteAll' => $this->getInput('profilEditFormDeleteAll', helper::FILTER_BOOLEAN),
- 'export2csv' => $this->getInput('profilEditFormExport2csv', helper::FILTER_BOOLEAN),
- ],
- 'search' => [
- 'config' => $this->getInput('profilEditSearchConfig', helper::FILTER_BOOLEAN),
- ],
- 'redirection' => [
- 'config' => $this->getInput('profilEditRedirectionConfig', helper::FILTER_BOOLEAN),
- ],
- 'user' => [
- 'edit' => $this->getInput('profilEditUserEdit', helper::FILTER_BOOLEAN),
- ]
- ]
+ $data
]);
// Valeurs en sortie
@@ -679,108 +642,67 @@ class user extends common
// Nombre de profils de ce groupe
$group = $this->getInput('profilAddGroup');
$profil = (string) (count($this->getData(['profil', $group])) + 1);
+
+ // Données du formulaire
+ $data = [
+ 'name' => $this->getInput('profilAddName', helper::FILTER_STRING_SHORT, true),
+ 'readonly' => false,
+ 'comment' => $this->getInput('profilAddComment', helper::FILTER_STRING_SHORT, true),
+ 'filemanager' => $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN),
+ 'file' => [
+ 'download' => $this->getInput('profilAddDownload', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilAddEdit', helper::FILTER_BOOLEAN),
+ 'create' => $this->getInput('profilAddCreate', helper::FILTER_BOOLEAN),
+ 'rename' => $this->getInput('profilAddRename', helper::FILTER_BOOLEAN),
+ 'upload' => $this->getInput('profilAddUpload', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddDelete', helper::FILTER_BOOLEAN),
+ 'preview' => $this->getInput('profilAddPreview', helper::FILTER_BOOLEAN),
+ 'duplicate' => $this->getInput('profilAddDuplicate', helper::FILTER_BOOLEAN),
+ 'extract' => $this->getInput('profilAddExtract', helper::FILTER_BOOLEAN),
+ 'copycut' => $this->getInput('profilAddCopycut', helper::FILTER_BOOLEAN),
+ 'chmod' => $this->getInput('profilAddChmod', helper::FILTER_BOOLEAN),
+ ],
+ 'folder' => [
+ 'create' => $this->getInput('profilAddFolderCreate', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddFolderDelete', helper::FILTER_BOOLEAN),
+ 'rename' => $this->getInput('profilAddFolderRename', helper::FILTER_BOOLEAN),
+ 'copycut' => $this->getInput('profilAddFolderCopycut', helper::FILTER_BOOLEAN),
+ 'chmod' => $this->getInput('profilAddFolderChmod', helper::FILTER_BOOLEAN),
+ 'path' => $this->getInput('profilAddPath'),
+ ],
+ 'page' => [
+ 'add' => $this->getInput('profilAddPageAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilAddPageEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddPageDelete', helper::FILTER_BOOLEAN),
+ 'duplicate' => $this->getInput('profilAddPageDuplicate', helper::FILTER_BOOLEAN),
+ 'module' => $this->getInput('profilAddPageModule', helper::FILTER_BOOLEAN),
+ 'cssEditor' => $this->getInput('profilAddPagecssEditor', helper::FILTER_BOOLEAN),
+ 'jsEditor' => $this->getInput('profilAddPagejsEditor', helper::FILTER_BOOLEAN),
+ ],
+ 'user' => [
+ 'edit' => $this->getInput('profilAddUserEdit', helper::FILTER_BOOLEAN),
+ ]
+ ];
+
+ // Données des modules
+ $dataModules = helper::getModules();
+ if (is_array($dataModules)) {
+ foreach ($dataModules as $moduleId => $moduleValue) {
+ if (file_exists('module/' . $moduleId . '/profil/main/add.inc.php')) {
+ include('module/' . $moduleId . '/profil/main/add.inc.php');
+ if (is_array($moduleData[$moduleId])) {
+ $data = array_merge($data, [$moduleId => $moduleData[$moduleId]]);
+ }
+ }
+ }
+ }
+
// Sauvegarder les données
$this->setData([
'profil',
$group,
$profil,
- [
- 'name' => $this->getInput('profilAddName', helper::FILTER_STRING_SHORT, true),
- 'readonly' => false,
- 'comment' => $this->getInput('profilAddComment', helper::FILTER_STRING_SHORT, true),
- 'filemanager' => $this->getInput('profilAddFileManager', helper::FILTER_BOOLEAN),
- 'file' => [
- 'download' => $this->getInput('profilAddDownload', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilAddEdit', helper::FILTER_BOOLEAN),
- 'create' => $this->getInput('profilAddCreate', helper::FILTER_BOOLEAN),
- 'rename' => $this->getInput('profilAddRename', helper::FILTER_BOOLEAN),
- 'upload' => $this->getInput('profilAddUpload', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddDelete', helper::FILTER_BOOLEAN),
- 'preview' => $this->getInput('profilAddPreview', helper::FILTER_BOOLEAN),
- 'duplicate' => $this->getInput('profilAddDuplicate', helper::FILTER_BOOLEAN),
- 'extract' => $this->getInput('profilAddExtract', helper::FILTER_BOOLEAN),
- 'copycut' => $this->getInput('profilAddCopycut', helper::FILTER_BOOLEAN),
- 'chmod' => $this->getInput('profilAddChmod', helper::FILTER_BOOLEAN),
- ],
- 'folder' => [
- 'create' => $this->getInput('profilAddFolderCreate', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddFolderDelete', helper::FILTER_BOOLEAN),
- 'rename' => $this->getInput('profilAddFolderRename', helper::FILTER_BOOLEAN),
- 'copycut' => $this->getInput('profilAddFolderCopycut', helper::FILTER_BOOLEAN),
- 'chmod' => $this->getInput('profilAddFolderChmod', helper::FILTER_BOOLEAN),
- 'path' => $this->getInput('profilAddPath'),
- ],
- 'page' => [
- 'add' => $this->getInput('profilAddPageAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilAddPageEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddPageDelete', helper::FILTER_BOOLEAN),
- 'duplicate' => $this->getInput('profilAddPageDuplicate', helper::FILTER_BOOLEAN),
- 'module' => $this->getInput('profilAddPageModule', helper::FILTER_BOOLEAN),
- 'cssEditor' => $this->getInput('profilAddPagecssEditor', helper::FILTER_BOOLEAN),
- 'jsEditor' => $this->getInput('profilAddPagejsEditor', helper::FILTER_BOOLEAN),
- ],
- 'blog' => [
- 'add' => $this->getInput('profilAddBlogAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilAddBlogEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddBlogDelete', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN),
- 'comment' => $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN),
- 'commentApprove' => $this->getInput('profilAddBlogCommentApprove', helper::FILTER_BOOLEAN),
- 'commentDelete' => $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN),
- 'commentDeleteAll' => $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilAddBlogAdd', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogCommentApprove', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN)
- ],
- 'news' => [
- 'add' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddNewsDelete', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN)
- ],
- 'gallery' => [
- 'add' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN),
- 'edit' => $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN),
- 'option' => $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN),
- 'theme' => $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN)
- ],
- 'form' => [
- 'option' => $this->getInput('profilAddFormOption', helper::FILTER_BOOLEAN),
- 'data' => $this->getInput('profilAddFormData', helper::FILTER_BOOLEAN),
- 'delete' => $this->getInput('profilAddFormDelete', helper::FILTER_BOOLEAN),
- 'deleteAll' => $this->getInput('profilAddFormDeleteAll', helper::FILTER_BOOLEAN),
- 'export2csv' => $this->getInput('profilAddFormExport2csv', helper::FILTER_BOOLEAN),
- 'config' => $this->getInput('profilAddFormOption', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddFormData', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddFormDelete', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddFormDeleteAll', helper::FILTER_BOOLEAN) ||
- $this->getInput('profilAddFormExport2csv', helper::FILTER_BOOLEAN)
- ],
- 'search' => [
- 'config' => $this->getInput('profilAddSearchConfig', helper::FILTER_BOOLEAN),
- ],
- 'redirection' => [
- 'config' => $this->getInput('profilAddRedirectionConfig', helper::FILTER_BOOLEAN),
- ],
- 'user' => [
- 'edit' => $this->getInput('profilAddUserEdit', helper::FILTER_BOOLEAN),
- ]
- ]
+ $data
]);
// Valeurs en sortie
$this->addOutput([
diff --git a/core/module/user/view/profilAdd/profilAdd.php b/core/module/user/view/profilAdd/profilAdd.php
index 6e145659..153a8452 100644
--- a/core/module/user/view/profilAdd/profilAdd.php
+++ b/core/module/user/view/profilAdd/profilAdd.php
@@ -79,155 +79,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/core/module/user/view/profilEdit/profilEdit.php b/core/module/user/view/profilEdit/profilEdit.php
index 2df4747e..12a34904 100644
--- a/core/module/user/view/profilEdit/profilEdit.php
+++ b/core/module/user/view/profilEdit/profilEdit.php
@@ -101,201 +101,24 @@
-
-
-
-
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
- ]); ?>
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
- ]); ?>
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
- ]); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
- ]); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
- ]); ?>
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
- ]); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
- ]); ?>
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
- ]); ?>
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
- ]); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'redirection', 'config'])
- ]); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'search', 'config'])
- ]); ?>
-
-
-
-
-
+
+
+
+
+
+
diff --git a/module/blog/blog.php b/module/blog/blog.php
index 7739ae45..e669984f 100755
--- a/module/blog/blog.php
+++ b/module/blog/blog.php
@@ -16,7 +16,7 @@
class blog extends common
{
- const VERSION = '6.9';
+ const VERSION = '7.0';
const REALNAME = 'Blog';
const DELETE = true;
const UPDATE = '0.0';
diff --git a/module/blog/changes.md b/module/blog/changes.md
index cd4b5d5c..6deb730b 100755
--- a/module/blog/changes.md
+++ b/module/blog/changes.md
@@ -1,3 +1,5 @@
+# Version 7.0
+- Gestion des permissions intégrée dans le module
# version 6.9
- Bloque l'effacement de l'article selon le profil
# version 6.8
diff --git a/module/blog/profil/main/add.inc.php b/module/blog/profil/main/add.inc.php
new file mode 100644
index 00000000..2275b991
--- /dev/null
+++ b/module/blog/profil/main/add.inc.php
@@ -0,0 +1,18 @@
+ $this->getInput('profilAddBlogAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilAddBlogEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddBlogDelete', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN),
+ 'comment' => $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN),
+ 'commentApprove' => $this->getInput('profilAddBlogCommentApprove', helper::FILTER_BOOLEAN),
+ 'commentDelete' => $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN),
+ 'commentDeleteAll' => $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilAddBlogAdd', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogCommentApprove', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/blog/profil/main/edit.inc.php b/module/blog/profil/main/edit.inc.php
new file mode 100644
index 00000000..6e9c2925
--- /dev/null
+++ b/module/blog/profil/main/edit.inc.php
@@ -0,0 +1,18 @@
+ $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditBlogDelete', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN),
+ 'comment' => $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN),
+ 'commentApprove' => $this->getInput('profilEditBlogCommentApprove', helper::FILTER_BOOLEAN),
+ 'commentDelete' => $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN),
+ 'commentDeleteAll' => $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogCommentApprove', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditBlogCommentDeleteAll', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/blog/profil/view/add.inc.php b/module/blog/profil/view/add.inc.php
new file mode 100644
index 00000000..98f6bfb6
--- /dev/null
+++ b/module/blog/profil/view/add.inc.php
@@ -0,0 +1,40 @@
+
\ No newline at end of file
diff --git a/module/blog/profil/view/edit.inc.php b/module/blog/profil/view/edit.inc.php
new file mode 100644
index 00000000..f057ab30
--- /dev/null
+++ b/module/blog/profil/view/edit.inc.php
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'add'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'edit'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'delete'])
+ ]); ?>
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'option'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove'])
+ ]); ?>
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDelete'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll'])
+ ]); ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/module/form/changes.md b/module/form/changes.md
index 3a42994b..bc1281e7 100644
--- a/module/form/changes.md
+++ b/module/form/changes.md
@@ -1,3 +1,5 @@
+# Version 4.0
+- Gestion des permissions intégrée dans le module
# Version 3.10
- Bloque l'effacement selon le profil
- Masque le code de vérification
diff --git a/module/form/form.php b/module/form/form.php
index c9447346..222db83f 100644
--- a/module/form/form.php
+++ b/module/form/form.php
@@ -17,7 +17,7 @@
class form extends common
{
- const VERSION = '3.10';
+ const VERSION = '4.0';
const REALNAME = 'Formulaire';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
diff --git a/module/form/profil/main/add.inc.php b/module/form/profil/main/add.inc.php
new file mode 100644
index 00000000..1e364259
--- /dev/null
+++ b/module/form/profil/main/add.inc.php
@@ -0,0 +1,12 @@
+ $this->getInput('profilAddFormOption', helper::FILTER_BOOLEAN),
+ 'data' => $this->getInput('profilAddFormData', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddFormDelete', helper::FILTER_BOOLEAN),
+ 'deleteAll' => $this->getInput('profilAddFormDeleteAll', helper::FILTER_BOOLEAN),
+ 'export2csv' => $this->getInput('profilAddFormExport2csv', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilAddFormOption', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddFormData', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddFormDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddFormDeleteAll', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddFormExport2csv', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/form/profil/main/edit.inc.php b/module/form/profil/main/edit.inc.php
new file mode 100644
index 00000000..105d0817
--- /dev/null
+++ b/module/form/profil/main/edit.inc.php
@@ -0,0 +1,8 @@
+ $this->getInput('profilEditFormConfig', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilEditFormOption', helper::FILTER_BOOLEAN),
+ 'data' => $this->getInput('profilEditFormData', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditFormDelete', helper::FILTER_BOOLEAN),
+ 'deleteAll' => $this->getInput('profilEditFormDeleteAll', helper::FILTER_BOOLEAN),
+ 'export2csv' => $this->getInput('profilEditFormExport2csv', helper::FILTER_BOOLEAN),
+];
\ No newline at end of file
diff --git a/module/form/profil/view/add.inc.php b/module/form/profil/view/add.inc.php
new file mode 100644
index 00000000..3e8e5641
--- /dev/null
+++ b/module/form/profil/view/add.inc.php
@@ -0,0 +1,29 @@
+
\ No newline at end of file
diff --git a/module/form/profil/view/edit.inc.php b/module/form/profil/view/edit.inc.php
new file mode 100644
index 00000000..11341f6f
--- /dev/null
+++ b/module/form/profil/view/edit.inc.php
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
+ ]); ?>
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
+ ]); ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/module/gallery/changes.md b/module/gallery/changes.md
index b2cb40bd..026966bb 100644
--- a/module/gallery/changes.md
+++ b/module/gallery/changes.md
@@ -1,3 +1,5 @@
+# Version 4.0
+- Gestion des permissions intégrée dans le module
# Version 3.9
- Bloque l'effacement de la galerie selon le profil
- Masque le code de vérification
diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php
index 83a98392..87b91d1a 100644
--- a/module/gallery/gallery.php
+++ b/module/gallery/gallery.php
@@ -18,7 +18,7 @@ class gallery extends common
{
- const VERSION = '3.9';
+ const VERSION = '4.0';
const REALNAME = 'Galerie';
const DATADIRECTORY = self::DATA_DIR . 'gallery/';
diff --git a/module/gallery/profil/main/add.inc.php b/module/gallery/profil/main/add.inc.php
new file mode 100644
index 00000000..6d865e9e
--- /dev/null
+++ b/module/gallery/profil/main/add.inc.php
@@ -0,0 +1,12 @@
+ $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN),
+ 'theme' => $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/gallery/profil/main/edit.inc.php b/module/gallery/profil/main/edit.inc.php
new file mode 100644
index 00000000..0a94afe0
--- /dev/null
+++ b/module/gallery/profil/main/edit.inc.php
@@ -0,0 +1,12 @@
+ $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN),
+ 'theme' => $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/gallery/profil/view/add.inc.php b/module/gallery/profil/view/add.inc.php
new file mode 100644
index 00000000..6158350a
--- /dev/null
+++ b/module/gallery/profil/view/add.inc.php
@@ -0,0 +1,28 @@
+
\ No newline at end of file
diff --git a/module/gallery/profil/view/edit.inc.php b/module/gallery/profil/view/edit.inc.php
new file mode 100644
index 00000000..7ad4dee2
--- /dev/null
+++ b/module/gallery/profil/view/edit.inc.php
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
+ ]); ?>
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
+ ]); ?>
+
+
+
+
+
∑
\ No newline at end of file
diff --git a/module/news/changes.md b/module/news/changes.md
index 10bd6339..2125acbc 100644
--- a/module/news/changes.md
+++ b/module/news/changes.md
@@ -1,3 +1,5 @@
+# Version 5.0
+- Gestion des permissions intégrée dans le module
# Version 4.5
- Bloque l'effacement de l'article selon le profil
- Masque le code de vérification
diff --git a/module/news/news.php b/module/news/news.php
index 43fdbf9b..ed2b5038 100644
--- a/module/news/news.php
+++ b/module/news/news.php
@@ -16,7 +16,7 @@
class news extends common
{
- const VERSION = '4.4';
+ const VERSION = '5.0';
const REALNAME = 'News';
const DATADIRECTORY = self::DATA_DIR . 'news/';
diff --git a/module/news/profil/main/add.inc.php b/module/news/profil/main/add.inc.php
new file mode 100644
index 00000000..de70afbc
--- /dev/null
+++ b/module/news/profil/main/add.inc.php
@@ -0,0 +1,10 @@
+ $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilAddNewsDelete', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilAddNewsAdd', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddNewsEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilAddNewsOption', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/news/profil/main/edit.inc.php b/module/news/profil/main/edit.inc.php
new file mode 100644
index 00000000..1b8f76d0
--- /dev/null
+++ b/module/news/profil/main/edit.inc.php
@@ -0,0 +1,10 @@
+ $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN),
+ 'edit' => $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN),
+ 'delete' => $this->getInput('profilEditNewsDelete', helper::FILTER_BOOLEAN),
+ 'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN),
+ 'config' => $this->getInput('profilEditNewsAdd', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditNewsEdit', helper::FILTER_BOOLEAN) ||
+ $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN)
+];
\ No newline at end of file
diff --git a/module/news/profil/view/add.inc.php b/module/news/profil/view/add.inc.php
new file mode 100644
index 00000000..d0b6d150
--- /dev/null
+++ b/module/news/profil/view/add.inc.php
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/module/news/profil/view/edit.inc.php b/module/news/profil/view/edit.inc.php
new file mode 100644
index 00000000..73ff1f13
--- /dev/null
+++ b/module/news/profil/view/edit.inc.php
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'add'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'edit'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'delete'])
+ ]); ?>
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'news', 'option'])
+ ]); ?>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/module/redirection/changes.md b/module/redirection/changes.md
index 4689333e..81933ed0 100644
--- a/module/redirection/changes.md
+++ b/module/redirection/changes.md
@@ -1,2 +1,4 @@
+# Version 2.0
+- Gestion des permissions intégrée dans le module
# Version 1.6
- Multilinguisme
\ No newline at end of file
diff --git a/module/redirection/profil/main/add.inc.php b/module/redirection/profil/main/add.inc.php
new file mode 100644
index 00000000..ca1e487e
--- /dev/null
+++ b/module/redirection/profil/main/add.inc.php
@@ -0,0 +1,3 @@
+ $this->getInput('profilAddRedirectionConfig', helper::FILTER_BOOLEAN),
+];
\ No newline at end of file
diff --git a/module/redirection/profil/main/edit.inc.php b/module/redirection/profil/main/edit.inc.php
new file mode 100644
index 00000000..50c3b3e6
--- /dev/null
+++ b/module/redirection/profil/main/edit.inc.php
@@ -0,0 +1,3 @@
+ $this->getInput('profilEditRedirectionConfig', helper::FILTER_BOOLEAN),
+];
\ No newline at end of file
diff --git a/module/redirection/profil/view/add.inc.php b/module/redirection/profil/view/add.inc.php
new file mode 100644
index 00000000..cf0f2a97
--- /dev/null
+++ b/module/redirection/profil/view/add.inc.php
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/module/redirection/profil/view/edit.inc.php b/module/redirection/profil/view/edit.inc.php
new file mode 100644
index 00000000..b19851f1
--- /dev/null
+++ b/module/redirection/profil/view/edit.inc.php
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'redirection', 'config'])
+ ]); ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/module/redirection/redirection.php b/module/redirection/redirection.php
index 1f3fdf05..5f74988b 100644
--- a/module/redirection/redirection.php
+++ b/module/redirection/redirection.php
@@ -16,7 +16,7 @@
class redirection extends common
{
- const VERSION = '1.6';
+ const VERSION = '2.0';
const REALNAME = 'Redirection';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
diff --git a/module/search/changes.md b/module/search/changes.md
index 7afb1f91..b8619455 100644
--- a/module/search/changes.md
+++ b/module/search/changes.md
@@ -1,3 +1,5 @@
+# Version 3.0
+- Gestion des permissions intégrée dans le module
# Version 2.8
- Multilingue
# Version 2.71
diff --git a/module/search/profil/main/add.inc.php b/module/search/profil/main/add.inc.php
new file mode 100644
index 00000000..bfd77271
--- /dev/null
+++ b/module/search/profil/main/add.inc.php
@@ -0,0 +1,3 @@
+ $this->getInput('profilAddSearchConfig', helper::FILTER_BOOLEAN),
+];
\ No newline at end of file
diff --git a/module/search/profil/main/edit.inc.php b/module/search/profil/main/edit.inc.php
new file mode 100644
index 00000000..d8d465a7
--- /dev/null
+++ b/module/search/profil/main/edit.inc.php
@@ -0,0 +1,3 @@
+ $this->getInput('profilEditSearchConfig', helper::FILTER_BOOLEAN),
+];
diff --git a/module/search/profil/view/add.inc.php b/module/search/profil/view/add.inc.php
new file mode 100644
index 00000000..21be8808
--- /dev/null
+++ b/module/search/profil/view/add.inc.php
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/module/search/profil/view/edit.inc.php b/module/search/profil/view/edit.inc.php
new file mode 100644
index 00000000..47be6c38
--- /dev/null
+++ b/module/search/profil/view/edit.inc.php
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'search', 'config'])
+ ]); ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/module/search/search.php b/module/search/search.php
index a768671e..bf886622 100644
--- a/module/search/search.php
+++ b/module/search/search.php
@@ -20,7 +20,7 @@
class search extends common
{
- const VERSION = '2.8';
+ const VERSION = '3.0';
const REALNAME = 'Recherche';
const DATADIRECTORY = self::DATA_DIR . 'search/';