diff --git a/core/module/config/config.php b/core/module/config/config.php index be28aefe..27bb4a4a 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -446,6 +446,7 @@ class config extends common { 'timezone' => $this->getInput('configTimezone', helper::FILTER_STRING_SHORT, true), 'itemsperPage' => $this->getInput('configItemsperPage', helper::FILTER_INT,true), 'legalPageId' => $this->getInput('configLegalPageId'), + 'searchPageId' => $this->getInput('configSearchPageId'), 'metaDescription' => $this->getInput('configMetaDescription', helper::FILTER_STRING_LONG, true), 'title' => $this->getInput('configTitle', helper::FILTER_STRING_SHORT, true), 'autoUpdate' => $this->getInput('configAutoUpdate', helper::FILTER_BOOLEAN), diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 0fb94b39..fd273d6a 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -54,7 +54,7 @@

Pages spéciales

-
+
getData(['page']); foreach($pages as $page => $pageId) { @@ -69,13 +69,20 @@ 'help' => 'La page par défaut, c\'est la première page vue par vos visiteurs' ]); ?>
-
+
'Sélectionner'] , helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC') ) , [ 'label' => 'Mentions légales', 'selected' => $this->getData(['config', 'legalPageId']), 'help' => 'Les mentions légales sont obligatoires en France. Une option du thèmz - pied de page ajoute un lien discret vers cette page.' ]); ?>
+
+ 'Sélectionner'] , helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC') ) , [ + 'label' => 'Recherche dans le site', + 'selected' => $this->getData(['config', 'searchPageId']), + 'help' => 'Définir la page contenant un module de recherche permet d\'activer le lein dans le pied de page.' + ]); ?> +