diff --git a/module/download/profil/main/add.inc.php b/module/download/profil/main/add.inc.php index 01b1119f..86ba98f2 100644 --- a/module/download/profil/main/add.inc.php +++ b/module/download/profil/main/add.inc.php @@ -7,19 +7,16 @@ 'commentApprove' => $this->getInput('profilAddDownloadCommentApprove', helper::FILTER_BOOLEAN), 'commentDelete' => $this->getInput('profilAddDownloadCommentDelete', helper::FILTER_BOOLEAN), 'commentDeleteAll' => $this->getInput('profilAddDownloadCommentDeleteAll', helper::FILTER_BOOLEAN), - 'config' => $this->getInput('profilAddDownloadAdd', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadEdit', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadDelete', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadOption', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadComment', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadCommentApprove', helper::FILTER_BOOLEAN) || - $this->getInput('profilAddDownloadCommentDelete', 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), - - - + 'config' => $this->getInput('profilAddDownloadAdd', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadEdit', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadDelete', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadOption', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadComment', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadCommentApprove', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadCommentDelete', helper::FILTER_BOOLEAN) || + $this->getInput('profilAddDownloadCommentDeleteAll', 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 a54e38f2..d887d470 100644 --- a/module/download/profil/main/edit.inc.php +++ b/module/download/profil/main/edit.inc.php @@ -7,6 +7,10 @@ 'commentApprove' => $this->getInput('profilEditDownloadCommentApprove', helper::FILTER_BOOLEAN), 'commentDelete' => $this->getInput('profilEditDownloadCommentDelete', helper::FILTER_BOOLEAN), 'commentDeleteAll' => $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), 'config' => $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN) || $this->getInput('profilEditDownloadEdit', helper::FILTER_BOOLEAN) || $this->getInput('profilEditDownloadDelete', helper::FILTER_BOOLEAN) || @@ -15,10 +19,6 @@ $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), diff --git a/module/download/profil/view/edit.inc.php b/module/download/profil/view/edit.inc.php index a2ab5c94..c5c05203 100644 --- a/module/download/profil/view/edit.inc.php +++ b/module/download/profil/view/edit.inc.php @@ -6,7 +6,7 @@