From fa0323141b3e6a7cfce68ff8e3d2d2bc513a1592 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 16 Oct 2020 16:59:13 +0200 Subject: [PATCH] Modifs Sylvain --- module/blog/view/article/article.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/blog/view/article/article.php b/module/blog/view/article/article.php index 41c30a49..51c6ec80 100644 --- a/module/blog/view/article/article.php +++ b/module/blog/view/article/article.php @@ -19,13 +19,14 @@ ) OR ( // Groupe - $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) !== $module::EDIT_OWNER + ( $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) === self::GROUP_ADMIN + OR $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) === self::GROUP_MODERATOR) AND $this->getUser('group') >= $this->getData(['module',$this->getUrl(0), $this->getUrl(1),'editConsent']) ) OR ( // Tout le monde $this->getData(['module', $this->getUrl(0), $this->getUrl(1),'editConsent']) === $module::EDIT_ALL - AND $this->getUser('group') >= $module::$action['config'] + AND $this->getUser('group') >= $module::$actions['config'] ) ) ): ?> @@ -44,7 +45,7 @@ } ?> getData(['module', $this->getUrl(0), $this->getUrl(1), 'content']); ?>

- getData(['module', $this->getUrl(0), $this->getUrl(1), 'closeComment'])): ?> + getData(['module', $this->getUrl(0), $this->getUrl(1), 'commentClose'])): ?>

Cet article ne reçoit pas de commentaire.