diff --git a/core/class/layout.class.php b/core/class/layout.class.php index 77256468..a2f63b9a 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -575,7 +575,7 @@ class layout extends common and $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') ) or ($this->getData(['page', $parentPageId, 'disable']) === true and $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD') - and $this->getUser('group') < self::GROUP_MODERATOR + and $this->getUser('group') < self::GROUP_EDITOR ) ) { $pageUrl = ($this->getData(['locale', 'homePageId']) === $this->getUrl(0)) ? helper::baseUrl(false) : helper::baseUrl() . $this->getUrl(0); @@ -641,7 +641,7 @@ class layout extends common and $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD') ) or ($this->getData(['page', $childKey, 'disable']) === true and $this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD') - and $this->getUser('group') < self::GROUP_MODERATOR + and $this->getUser('group') < self::GROUP_EDITOR ) ) { $pageUrl = ($this->getData(['locale', 'homePageId']) === $this->getUrl(0)) ? helper::baseUrl(false) : helper::baseUrl() . $this->getUrl(0); @@ -876,7 +876,7 @@ class layout extends common // Items de gauche $leftItems = ''; // Sélecteur de langues - if ($this->getUser('group') >= self::GROUP_MODERATOR) { + if ($this->getUser('group') >= self::GROUP_EDITOR) { $c = 0; $leftItem = ''; foreach (self::$languages as $key => $value) { @@ -893,7 +893,7 @@ class layout extends common } } // Liste des pages - if ($this->getUser('group') >= self::GROUP_MODERATOR) { + if ($this->getUser('group') >= self::GROUP_EDITOR) { $leftItems .= '