diff --git a/core/core.php b/core/core.php index 7de4ec1e..d8caaf57 100644 --- a/core/core.php +++ b/core/core.php @@ -45,7 +45,7 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.2.00.18'; + const ZWII_VERSION = '11.2.00.19'; const ZWII_UPDATE_CHANNEL = "test"; public static $actions = []; @@ -2119,7 +2119,8 @@ class common { if ($this->getData(['config', 'i18n', $key]) === 'site' OR ( $this->getData(['config', 'i18n','scriptGoogle']) === true - AND $this->getData(['config', 'i18n',$key]) === 'script' + AND $this->getData(['config', 'i18n', $key]) === 'script' + AND $this->getUser('group') >= self::GROUP_MODERATOR ) ) { if ( @@ -2135,9 +2136,9 @@ class common { $select = ' class="i18nFlag" '; } - echo '