diff --git a/core/core.php b/core/core.php index 48149a8f..b99ff288 100755 --- a/core/core.php +++ b/core/core.php @@ -2148,7 +2148,7 @@ class core extends common { // Librairie googtrans ajouté dynamiquement if ( substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) !== 'fr' - AND $this->getData(['config','translate','active']) === true + AND $this->getData(['config','translate','activated']) === true AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')) { $this->addOutput([ 'vendor' => array_merge($this->output['vendor'], ['i18n']) @@ -2290,7 +2290,7 @@ class layout extends common { echo $this->core->output['content']; if ( substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) !== 'fr' AND $this->getData(['config','translate','showCredits']) === true - AND $this->getData(['config','translate','active']) === true ) + AND $this->getData(['config','translate','activated']) === true ) { echo '
'; } @@ -2977,7 +2977,7 @@ class layout extends common { * Affiche le cadre avec les drapeaux */ public function showi18n() { - if ( $this->getData(['config','translate','active']) === true + if ( $this->getData(['config','translate','activated']) === true AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')) { echo '