From 933fd1be521919191a7cd105699ea82c2e88e020 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 11 Dec 2019 22:42:05 +0100 Subject: [PATCH] =?UTF-8?q?[10.0.010.dev]=20Libell=C3=A9s=20+=20s=C3=A9lec?= =?UTF-8?q?tion=20homepageId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/config/config.php | 2 +- core/module/config/view/index/index.php | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/core/module/config/config.php b/core/module/config/config.php index 869b46e2..8bd986aa 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -373,6 +373,7 @@ class config extends common { $this->setData([ 'config', [ + 'homePageId' => $this->getInput('configHomePageId', helper::FILTER_ID, true), 'analyticsId' => $this->getInput('configAnalyticsId'), 'autoBackup' => $this->getInput('configAutoBackup', helper::FILTER_BOOLEAN), 'maintenance' => $this->getInput('configMaintenance', helper::FILTER_BOOLEAN), @@ -392,7 +393,6 @@ class config extends common { 'legalPageId' => $this->getInput('configLegalPageId'), 'metaDescription' => $this->getInput('configMetaDescription', helper::FILTER_STRING_LONG, true), 'title' => $this->getInput('configTitle', helper::FILTER_STRING_SHORT, true), - 'googTransLogo' => $this->getInput('configdGoogTransLogo', helper::FILTER_BOOLEAN), '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 d6f1da76..c581219a 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -27,22 +27,21 @@
getData(['page']), 'title', 'SORT_ASC'), [ 'label' => 'Page d\'accueil', - 'selected' =>$this->getData(['config', 'homePageId']), - 'help' => 'La page d\'accueil doit être définie dans une des pages de la langue sélectionnée' + 'selected' =>$this->getData(['config', 'homePageId']) ]); ?>
'Titre du site', 'value' => $this->getData(['config', 'title']), - 'help' => 'Il apparaît dans la barre de titre et les partages sur les réseaux sociaux.' + 'help' => 'Le titre apparaît dans la barre de titre et les partages sur les réseaux sociaux.' ]); ?>
'Description du site', 'value' => $this->getData(['config', 'metaDescription']), - 'help' => 'Elle apparaît dans les partages sur les réseaux sociaux.' + 'help' => 'La description apparaît dans les partages sur les réseaux sociaux.' ]); ?> @@ -108,7 +107,7 @@
$this->getData(['config', 'autoUpdate']), - 'help' => 'Vérifie une fois par jour l\'existence d\'une mise à jour.' + 'help' => 'Vérification quotidiene des mises à jour.' ]); ?>