diff --git a/core/core.php b/core/core.php index 6dff5d8c..018a783c 100644 --- a/core/core.php +++ b/core/core.php @@ -1955,12 +1955,20 @@ class layout extends common { $items .= $this->getData(['theme','footer','displayVersion']) === false ? 'class="displayNone"' : ''; $items .= '> '. common::ZWII_VERSION ; $items .= ''; - // Affichage du lien de connexion + // Affichage du sitemap $items .= 'getData(['theme','footer','displaySiteMap']) === false? ' class="displayNone"' : ''; $items .= '> | Plan du site'; $items .= ''; - if( + // Affichage des mentions légales + $items .= 'getData(['theme','footer','legalPageId']) === '' ? ' class="displayNone" >' : '>'; + if ($this->getData(['theme','footer','legalPageId']) !== '') { + $items .= ' | Mentions légales'; + } + $items .= ''; + // Affichage du lien de connexion + if( ( $this->getData(['theme', 'footer', 'loginLink']) AND $this->getUser('password') !== $this->getInput('ZWII_USER_PASSWORD')