From 0b06e12ef9e47e7640db3bedbe0130da65c976ff Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 18 Jun 2023 14:52:14 +0200 Subject: [PATCH] Check profil edit save and add --- core/module/user/user.php | 10 +++++----- core/module/user/view/profilAdd/profilAdd.php | 2 +- core/module/user/view/profilEdit/profilEdit.php | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/module/user/user.php b/core/module/user/user.php index e88f6068..ef1452bd 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -574,7 +574,7 @@ class user extends common 'page' => [ 'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN), 'edit' => $this->getInput('profilEditPageEdit', helper::FILTER_BOOLEAN), - 'delete' => $this->getInput('profilEditPageElete', 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), @@ -583,18 +583,18 @@ class user extends common 'blog' => [ 'add' => $this->getInput('profilEditBlogAdd', helper::FILTER_BOOLEAN), 'edit' => $this->getInput('profilEditBlogEdit', helper::FILTER_BOOLEAN), - 'delete' => $this->getInput('profilEditBlogDElete', helper::FILTER_BOOLEAN), + 'delete' => $this->getInput('profilEditBlogDelete', helper::FILTER_BOOLEAN), 'config' => $this->getInput('profilEditBlogConfig', helper::FILTER_BOOLEAN), 'option' => $this->getInput('profilEditBlogOption', helper::FILTER_BOOLEAN), 'comment' => $this->getInput('profilEditBlogComment', helper::FILTER_BOOLEAN), - 'commentApprouve' => $this->getInput('profilEditBlogCommentApprouve', helper::FILTER_BOOLEAN), + 'commentApprove' => $this->getInput('profilEditBlogCommentApprove', helper::FILTER_BOOLEAN), 'commentDelete' => $this->getInput('profilEditBlogCommentDelete', helper::FILTER_BOOLEAN), 'commentDeleteAll' => $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), + 'delete' => $this->getInput('profilEditNewsDelete', helper::FILTER_BOOLEAN), 'config' => $this->getInput('profilEditNewsConfig', helper::FILTER_BOOLEAN), 'option' => $this->getInput('profilEditNewsOption', helper::FILTER_BOOLEAN), ], @@ -701,7 +701,7 @@ class user extends common 'config' => $this->getInput('profilAddBlogConfig', helper::FILTER_BOOLEAN), 'option' => $this->getInput('profilAddBlogOption', helper::FILTER_BOOLEAN), 'comment' => $this->getInput('profilAddBlogComment', helper::FILTER_BOOLEAN), - 'commentApprouve' => $this->getInput('profilAddBlogCommentApprouve', helper::FILTER_BOOLEAN), + 'commentApprove' => $this->getInput('profilAddBlogCommentApprove', helper::FILTER_BOOLEAN), 'commentDelete' => $this->getInput('profilAddBlogCommentDelete', helper::FILTER_BOOLEAN), 'commentDeleteAll' => $this->getInput('profilAddBlogCommentDeleteAll', helper::FILTER_BOOLEAN), ], diff --git a/core/module/user/view/profilAdd/profilAdd.php b/core/module/user/view/profilAdd/profilAdd.php index cfe52b20..719e4b18 100644 --- a/core/module/user/view/profilAdd/profilAdd.php +++ b/core/module/user/view/profilAdd/profilAdd.php @@ -108,7 +108,7 @@
- +
diff --git a/core/module/user/view/profilEdit/profilEdit.php b/core/module/user/view/profilEdit/profilEdit.php index 1d1bcf64..b786de92 100644 --- a/core/module/user/view/profilEdit/profilEdit.php +++ b/core/module/user/view/profilEdit/profilEdit.php @@ -136,12 +136,12 @@ ]); ?>
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'comment']) ]); ?>
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentApprove']) ]); ?>