From d66c26f0c0a6002c868aea728354c6b428af6ec4 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 10 Dec 2021 13:40:45 +0100 Subject: [PATCH] Bloquage de la traduction du terme cookie dans le footer + suppression des popups dans footer Copyright --- core/core.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/core.php b/core/core.php index 37ca1b8a..1d95047b 100644 --- a/core/core.php +++ b/core/core.php @@ -1465,7 +1465,7 @@ class common { $items .= '>Motorisé par '; // Toujours afficher le nom du CMS $items .= ''; - $items .= 'ZwiiCMS'; + $items .= 'ZwiiCMS'; $items .= ''; // Affichage du numéro de version $items .= 'getData(['theme','footer','displaySiteMap']) === false ? ' class="displayNone"' : ''; $label = empty($this->getData(['locale','sitemapPageLabel'])) ? 'Plan du site' : $this->getData(['locale','sitemapPageLabel']); - $items .= '> | ' . $label . ''; + $items .= '> | ' . $label . ''; $items .= ''; // Affichage du module de recherche $items .= 'getData(['theme','footer','displaySearch']) === false ? ' class="displayNone" >' : '>'; $label = empty($this->getData(['locale','searchPageLabel'])) ? 'Rechercher' : $this->getData(['locale','searchPageLabel']); if ($this->getData(['locale','searchPageId']) !== 'none') { - $items .= ' | getData(['locale','searchPageId']) . '" >' . $label .''; } $items .= ''; // Affichage des mentions légales @@ -1491,14 +1491,14 @@ class common { $items .= $this->getData(['theme','footer','displayLegal']) === false ? ' class="displayNone" >' : '>'; $label = empty($this->getData(['locale','legalPageLabel'])) ? 'Mentions Légales' : $this->getData(['locale','legalPageLabel']); if ($this->getData(['locale','legalPageId']) !== 'none') { - $items .= ' | ' . $label .''; + $items .= ' | ' . $label .''; } $items .= ''; // Affichage de la gestion des cookies $items .= 'getData(['config', 'cookieConsent']) === true && $this->getData(['theme', 'footer', 'displayCookie']) === true) ? '>' : ' class="displayNone" >'; $label = empty($this->getData(['locale', 'cookies', 'cookiesFooterText'])) ? 'Cookies' : $this->getData(['locale', 'cookies', 'cookiesFooterText']) ; - $items .= ' | '. $label .''; + $items .= ' | '. $label .''; $items .= ''; // Affichage du lien de connexion if( @@ -1512,7 +1512,7 @@ class common { ($this->getUrl(0) === 'theme' ? 'class="displayNone"' : '') . '> | ' . template::ico('login') .''; + '" rel="nofollow">' . template::ico('login') .''; } // Affichage de la barre de membre simple if ( $this->getUser('group') === self::GROUP_MEMBER @@ -1520,9 +1520,9 @@ class common { ) { $items .= 'getData(['theme','footer','displaymemberAccount']) === false ? ' class="displayNone"' : ''; - $items .= '> | ' . template::ico('user', 'all') . ''; - if( $this->getData(['user', $this->getUser('id') , 'files']) === true) $items .= '' . template::ico('folder') . ''; - $items .= '' . template::ico('logout','left') . ''; + $items .= '> | ' . template::ico('user', 'all') . ''; + if( $this->getData(['user', $this->getUser('id') , 'files']) === true) $items .= '' . template::ico('folder') . ''; + $items .= '' . template::ico('logout','left') . ''; $items .= ''; } // Fermeture du bloc copyright