diff --git a/core/module/user/user.php b/core/module/user/user.php index 8e18df7a..1fd6a21a 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -606,6 +606,14 @@ class user extends common 'option' => $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN), 'theme' => $this->getInput('profilEditGalleryConfig', 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), + ], ] ]); @@ -706,6 +714,14 @@ class user extends common 'option' => $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN), 'theme' => $this->getInput('profilAddGalleryConfig', helper::FILTER_BOOLEAN), ], + 'form' => [ + 'config' => $this->getInput('profilAddFormConfig', helper::FILTER_BOOLEAN), + '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), + ], ] ]); // Valeurs en sortie diff --git a/core/module/user/view/profilAdd/profilAdd.php b/core/module/user/view/profilAdd/profilAdd.php index 95606f1a..3b5a1634 100644 --- a/core/module/user/view/profilAdd/profilAdd.php +++ b/core/module/user/view/profilAdd/profilAdd.php @@ -182,6 +182,50 @@ +
+
+
+

+ +

+
+
+ $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 6759f3d7..5dfdd804 100644 --- a/core/module/user/view/profilEdit/profilEdit.php +++ b/core/module/user/view/profilEdit/profilEdit.php @@ -200,45 +200,89 @@
- -
-
-
-

- -

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

+ +

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

+ +

+
+
+ $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), 'gallery', 'option']) - ]); ?> -
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme']) - ]); ?> +
+
+ $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']) + ]); ?> +