From 5b82100c305de3976cf452bf990c706e1cf47d43 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 12 Jun 2023 11:13:57 +0200 Subject: [PATCH] profils des deux derniers modules --- core/module/user/user.php | 12 +++ core/module/user/view/profilAdd/profilAdd.php | 92 +++++++++++-------- .../user/view/profilEdit/profilEdit.php | 32 +++++++ 3 files changed, 98 insertions(+), 38 deletions(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index 1fd6a21a..e88f6068 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -614,6 +614,12 @@ class user extends common '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), + ], ] ]); @@ -722,6 +728,12 @@ class user extends common 'deleteAll' => $this->getInput('profilAddFormDeleteAll', helper::FILTER_BOOLEAN), 'export2csv' => $this->getInput('profilAddFormExport2csv', helper::FILTER_BOOLEAN), ], + 'search' => [ + 'config' => $this->getInput('profilAddSearchConfig', helper::FILTER_BOOLEAN), + ], + 'redirection' => [ + 'config' => $this->getInput('profilAddRedirectionConfig', helper::FILTER_BOOLEAN), + ], ] ]); // Valeurs en sortie diff --git a/core/module/user/view/profilAdd/profilAdd.php b/core/module/user/view/profilAdd/profilAdd.php index 3b5a1634..cfe52b20 100644 --- a/core/module/user/view/profilAdd/profilAdd.php +++ b/core/module/user/view/profilAdd/profilAdd.php @@ -183,49 +183,65 @@
-
-
-

- -

-
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'config']) - ]); ?> -
-
- $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', 'delete']) - ]); ?> -
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll']) - ]); ?> -
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv']) - ]); ?> -
+
+ +
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+
+
+
+

+ +

+
+
+ +
+
+
+
+
+
+
+
+

+ +

+
+
+ +
+
+
+
+
diff --git a/core/module/user/view/profilEdit/profilEdit.php b/core/module/user/view/profilEdit/profilEdit.php index 5dfdd804..1d1bcf64 100644 --- a/core/module/user/view/profilEdit/profilEdit.php +++ b/core/module/user/view/profilEdit/profilEdit.php @@ -287,6 +287,38 @@
+
+
+
+

+ +

+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'redirection', 'config']) + ]); ?> +
+
+
+
+
+
+
+
+

+ +

+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'search', 'config']) + ]); ?> +
+
+
+
+