diff --git a/core/core.php b/core/core.php index 797725a9..db2f70e6 100755 --- a/core/core.php +++ b/core/core.php @@ -1297,13 +1297,13 @@ class common { // Affichage du sitemap $items .= 'getData(['theme','footer','displaySiteMap']) === false ? ' class="displayNone"' : ''; - $label = empty($this->getData(['locale','sitemaplabel'])) ? 'Rechercher' : $this->getData(['locale','sitemaplabel']); + $label = empty($this->getData(['locale','sitemapPageLabel'])) ? 'Plan du site' : $this->getData(['locale','sitemapPageLabel']); $items .= '> | ' . $label . ''; $items .= ''; // Affichage du module de recherche $items .= 'getData(['theme','footer','displaySearch']) === false ? ' class="displayNone" >' : '>'; - $label = empty($this->getData(['locale','legalPageId'])) ? 'Rechercher' : $this->getData(['locale','legalPageId']); + $label = empty($this->getData(['locale','searchPageLabel'])) ? 'Rechercher' : $this->getData(['locale','searchPageLabel']); if ($this->getData(['locale','searchPageId']) !== 'none') { $items .= ' | ' . $label .''; } @@ -1311,7 +1311,7 @@ class common { // Affichage des mentions légales $items .= 'getData(['theme','footer','displayLegal']) === false ? ' class="displayNone" >' : '>'; - $label = empty($this->getData(['locale','legalPageId'])) ? 'Mentions Légales' : $this->getData(['locale','legalPageId']); + $label = empty($this->getData(['locale','legalPageLabel'])) ? 'Mentions Légales' : $this->getData(['locale','legalPageLabel']); if ($this->getData(['locale','legalPageId']) !== 'none') { $items .= ' | ' . $label .''; } diff --git a/core/module/config/config.php b/core/module/config/config.php index 7e4cfd46..3f56c2da 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -404,7 +404,7 @@ class config extends common { 'searchPageId' => $this->getInput('configSearchPageId'), 'searchPageLabel' => empty($this->getInput('configSearchPageLabel', helper::FILTER_STRING_SHORT)) ? 'Rechercher' : $this->getInput('configSearchPageLabel', helper::FILTER_STRING_SHORT), 'legalPageLabel' => empty($this->getInput('configLegalPageLabel', helper::FILTER_STRING_SHORT)) ? 'Mentions légales' : $this->getInput('configLegalPageLabel', helper::FILTER_STRING_SHORT), - 'sitemaplabel' => empty($this->getInput('configSitemapLabel', helper::FILTER_STRING_SHORT)) ? 'Plan du site' : $this->getInput('configSitemapLabel', helper::FILTER_STRING_SHORT), + 'sitemapPageLabel' => empty($this->getInput('configSitemapPageLabel', helper::FILTER_STRING_SHORT)) ? 'Plan du site' : $this->getInput('configSitemapPageLabel', helper::FILTER_STRING_SHORT), 'metaDescription' => $this->getInput('configMetaDescription', helper::FILTER_STRING_LONG, true), 'title' => $this->getInput('configTitle', helper::FILTER_STRING_SHORT, true) ] diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 84a03d9a..6d2f7bc8 100644 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -78,7 +78,6 @@ if ( isset($_COOKIE['ZWII_I18N_SITE']) ) { 'value' => $this->getData(['locale', 'metaDescription']), 'help' => 'La description d\'une page participe à son référencement, chaque page doit disposer d\'une description différente.' ]); ?> -

Le titre et la description sont spécifiques aux traductions rédigées du site.

@@ -178,10 +177,10 @@ if ( isset($_COOKIE['ZWII_I18N_SITE']) ) { ]); ?>
- 'Plan du site ' . $i18nSite, 'placeholder' => 'Plan du site', - 'value' => $this->getData(['locale', 'sitemaplabel']), + 'value' => $this->getData(['locale', 'sitemapPageLabel']), ]); ?>
diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index dde3b19c..5735a13a 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -65,10 +65,10 @@ class init extends common { 'page403' => 'none', 'page404' => 'none', 'legalPageId' => 'none', - 'legalPageLabel' => 'Mentions légales', 'searchPageId' => 'none', 'searchPageLabel' => 'Rechercher', - 'sitemaplabel' => 'Plan du site', + 'sitemapPageLabel' => 'Plan du site', + 'legalPageLabel' => 'Mentions légales', 'metaDescription' => 'Zwii est un CMS sans base de données qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.', 'title' => 'Votre site en quelques clics !' ],