From ccec25d46b587b464f75a98ca10f0531ffaeb838 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 24 Jul 2023 18:01:11 +0200 Subject: [PATCH] typo --- module/blog/profil/view/add.inc.php | 2 +- module/blog/profil/view/edit.inc.php | 2 +- module/download/profil/main/add.inc.php | 9 +++++- module/download/profil/main/edit.inc.php | 39 ++++++++++++++---------- module/download/profil/view/add.inc.php | 22 ++++++++++--- module/download/profil/view/edit.inc.php | 34 +++++++++++++++++---- 6 files changed, 79 insertions(+), 29 deletions(-) diff --git a/module/blog/profil/view/add.inc.php b/module/blog/profil/view/add.inc.php index 8bb035ab..a3400dd9 100644 --- a/module/blog/profil/view/add.inc.php +++ b/module/blog/profil/view/add.inc.php @@ -32,7 +32,7 @@
- +
diff --git a/module/blog/profil/view/edit.inc.php b/module/blog/profil/view/edit.inc.php index 8a869013..b355a5cc 100644 --- a/module/blog/profil/view/edit.inc.php +++ b/module/blog/profil/view/edit.inc.php @@ -45,7 +45,7 @@ ]); ?>
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'blog', 'commentDeleteAll']) ]); ?>
diff --git a/module/download/profil/main/add.inc.php b/module/download/profil/main/add.inc.php index 9f89f718..01b1119f 100644 --- a/module/download/profil/main/add.inc.php +++ b/module/download/profil/main/add.inc.php @@ -14,5 +14,12 @@ $this->getInput('profilAddDownloadComment', helper::FILTER_BOOLEAN) || $this->getInput('profilAddDownloadCommentApprove', helper::FILTER_BOOLEAN) || $this->getInput('profilAddDownloadCommentDelete', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadCommentDeleteAll', helper::FILTER_BOOLEAN) + $this->getInput('profilAddDownloadCommentDeleteAll', helper::FILTER_BOOLEAN), + 'categoryManage' => $this->getInput('profilAddDownloadCategories', helper::FILTER_BOOLEAN), + 'categoryEdit' => $this->getInput('profilAddDownloadCategoryEdit', helper::FILTER_BOOLEAN), + 'categoryDelete' => $this->getInput('profilAddDownloadCategoryDelete', helper::FILTER_BOOLEAN), + 'deleteAllStats' => $this->getInput('profilAddDownloadCommentDeleteAllStats', helper::FILTER_BOOLEAN), + + + ]; \ No newline at end of file diff --git a/module/download/profil/main/edit.inc.php b/module/download/profil/main/edit.inc.php index a0947f92..a54e38f2 100644 --- a/module/download/profil/main/edit.inc.php +++ b/module/download/profil/main/edit.inc.php @@ -1,18 +1,25 @@ $this->getInput('profilEditDownloadAdd', helper::FILTER_BOOLEAN), - 'edit' => $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN), - 'delete' => $this->getInput('profilEditDownloadDelete', helper::FILTER_BOOLEAN), - 'option' => $this->getInput('profilEditDownloadOption', helper::FILTER_BOOLEAN), - 'comment' => $this->getInput('profilEditDownloadComment', helper::FILTER_BOOLEAN), - 'commentApprove' => $this->getInput('profilEditDownloadCommentApprove', helper::FILTER_BOOLEAN), - 'commentDelete' => $this->getInput('profilEditDownloadCommentDelete', helper::FILTER_BOOLEAN), - 'commentDeleteAll' => $this->getInput('profilEditDownloadCommentDeleteAll', helper::FILTER_BOOLEAN), - 'config' => $this->getInput('profilEditDownloadAdd', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadDelete', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadOption', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadComment', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadCommentApprove', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadCommentDelete', helper::FILTER_BOOLEAN) || - $this->getInput('profilEditDownloadCommentDeleteAll', helper::FILTER_BOOLEAN) + 'add' => $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN), + 'edit' => $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN), + 'delete' => $this->getInput('profilEditDownloadDelete', helper::FILTER_BOOLEAN), + 'option' => $this->getInput('profilEditDownloadOption', helper::FILTER_BOOLEAN), + 'comment' => $this->getInput('profilEditDownloadComment', helper::FILTER_BOOLEAN), + 'commentApprove' => $this->getInput('profilEditDownloadCommentApprove', helper::FILTER_BOOLEAN), + 'commentDelete' => $this->getInput('profilEditDownloadCommentDelete', helper::FILTER_BOOLEAN), + 'commentDeleteAll' => $this->getInput('profilEditDownloadCommentDeleteAll', helper::FILTER_BOOLEAN), + 'config' => $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadDelete', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadOption', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadComment', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadCommentApprove', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadCommentDelete', helper::FILTER_BOOLEAN) || + $this->getInput('profilEditDownloadCommentDeleteAll', helper::FILTER_BOOLEAN), + 'categoryManage' => $this->getInput('profilEditDownloadCategories', helper::FILTER_BOOLEAN), + 'categoryEdit' => $this->getInput('profilEditDownloadCategoryEdit', helper::FILTER_BOOLEAN), + 'categoryDelete' => $this->getInput('profilEditDownloadCategoryDelete', helper::FILTER_BOOLEAN), + 'deleteAllStats' => $this->getInput('profilEditDownloadCommentDeleteAllStats', helper::FILTER_BOOLEAN), + + + ]; \ No newline at end of file diff --git a/module/download/profil/view/add.inc.php b/module/download/profil/view/add.inc.php index e2d8d1c0..1391a2ec 100644 --- a/module/download/profil/view/add.inc.php +++ b/module/download/profil/view/add.inc.php @@ -27,11 +27,25 @@
-
- +
+
-
- +
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
diff --git a/module/download/profil/view/edit.inc.php b/module/download/profil/view/edit.inc.php index 1de0ae43..a2ab5c94 100644 --- a/module/download/profil/view/edit.inc.php +++ b/module/download/profil/view/edit.inc.php @@ -39,14 +39,36 @@
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentDelete']) +
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'categoryManage']) ]); ?>
-
- $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'commentDeleteAll']) +
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'categoryEdit']) + ]); ?> +
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'categoryDelete']) + ]); ?> +
+
+
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'commentDelete']) + ]); ?> +
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'comment', 'deleteAll']) + ]); ?> +
+
+ $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'deleteAllStats']) ]); ?>