diff --git a/core/class/layout.class.php b/core/class/layout.class.php index 0df3179..005ca2d 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -302,7 +302,7 @@ class layout extends common // Affichage du sitemap $items .= 'getData(['theme', 'footer', 'displaySiteMap']) === false ? ' class="displayNone"' : ''; - $label = ($this->getData(['config', 'sitemapPageLabel']) === 'none') ? 'Plan du site' : $this->getData(['config', 'sitemapPageLabel']); + $label = ($this->getData(['config', 'sitemapPageLabel']) === 'none') ? 'Plan du cours' : $this->getData(['config', 'sitemapPageLabel']); $items .= '> | ' . $label . ''; $items .= ''; // Affichage du module de recherche diff --git a/core/core.php b/core/core.php index e43d230..751b0f6 100644 --- a/core/core.php +++ b/core/core.php @@ -816,7 +816,7 @@ class common 'value' => $rewrite . 'search' ]; $children[] = [ - 'title' => 'Plan du site', + 'title' => 'Plan du cours', 'value' => $rewrite . 'sitemap' ]; $parents[] = [ diff --git a/core/module/config/config.php b/core/module/config/config.php index 3c189e2..783963c 100644 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -468,7 +468,7 @@ class config extends common 'poweredPageLabel' => empty($this->getInput('configLocalePoweredPageLabel', helper::FILTER_STRING_SHORT)) ? 'Motorisé par' : $this->getInput('configLocalePoweredPageLabel', helper::FILTER_STRING_SHORT), 'searchPageLabel' => empty($this->getInput('configLocaleSearchPageLabel', helper::FILTER_STRING_SHORT)) ? 'Rechercher' : $this->getInput('configLocaleSearchPageLabel', helper::FILTER_STRING_SHORT), 'legalPageLabel' => empty($this->getInput('configLocaleLegalPageLabel', helper::FILTER_STRING_SHORT)) ? 'Mentions légales' : $this->getInput('configLocaleLegalPageLabel', helper::FILTER_STRING_SHORT), - 'sitemapPageLabel' => empty($this->getInput('configLocaleSitemapPageLabel', helper::FILTER_STRING_SHORT)) ? 'Plan du site' : $this->getInput('configLocaleSitemapPageLabel', helper::FILTER_STRING_SHORT), + 'sitemapPageLabel' => empty($this->getInput('configLocaleSitemapPageLabel', helper::FILTER_STRING_SHORT)) ? 'Plan du cours' : $this->getInput('configLocaleSitemapPageLabel', helper::FILTER_STRING_SHORT), 'metaDescription' => $this->getInput('configLocaleMetaDescription', helper::FILTER_STRING_LONG, true), 'title' => $this->getInput('configLocaleTitle', helper::FILTER_STRING_SHORT, true), 'cookies' => [ diff --git a/core/module/config/view/locale/locale.php b/core/module/config/view/locale/locale.php index dca3ef2..29efc44 100644 --- a/core/module/config/view/locale/locale.php +++ b/core/module/config/view/locale/locale.php @@ -129,8 +129,8 @@
'Plan du site', - 'placeholder' => 'Plan du site', + 'label' => 'Plan du cours', + 'placeholder' => 'Plan du cours', 'value' => $this->getData(['config', 'sitemapPageLabel']), ]); ?>
diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 95fc695..d4f3e4e 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -18,7 +18,7 @@ class init extends common 'legalPageId' => 'none', 'searchPageId' => 'none', 'searchPageLabel' => 'Rechercher', - 'sitemapPageLabel' => 'Plan du site', + 'sitemapPageLabel' => 'Plan du cours', '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 !', diff --git a/core/module/sitemap/sitemap.php b/core/module/sitemap/sitemap.php index 8cbad33..ce9d8c3 100644 --- a/core/module/sitemap/sitemap.php +++ b/core/module/sitemap/sitemap.php @@ -109,7 +109,7 @@ class sitemap extends common // Valeurs en sortie $this->addOutput([ - 'title' => helper::translate('Plan du site'), + 'title' => helper::translate('Plan du cours'), 'view' => 'index' ]); } diff --git a/core/module/theme/view/footer/footer.php b/core/module/theme/view/footer/footer.php index 131956f..807fd34 100644 --- a/core/module/theme/view/footer/footer.php +++ b/core/module/theme/view/footer/footer.php @@ -103,7 +103,7 @@ ]); ?>
- $this->getData(['theme', 'footer', 'displaySiteMap']) ]); ?>