diff --git a/module/search/search.php b/module/search/search.php index 8b2e6d07..49d3e815 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -42,13 +42,12 @@ class search extends common { public function config() { if($this->isPost()) { // Soumission du formulaire - $this->setData(['module', $this->getUrl(0), [ + $this->setData(['module', 'search', [ 'submitText' => $this->getInput('searchSubmitText'), 'placeHolder' => $this->getInput('searchPlaceHolder'), 'resultHideContent' => $this->getInput('searchResultHideContent',helper::FILTER_BOOLEAN), 'keywordColor' => $this->getInput('searchKeywordColor') ]]); - // Création des fichiers CSS $content = file_get_contents('module/search/ressource/vartheme.css'); $themeCss = file_get_contents('module/search/ressource/theme.css'); diff --git a/module/search/view/config/config.php b/module/search/view/config/config.php index c1fed71d..9e79794e 100755 --- a/module/search/view/config/config.php +++ b/module/search/view/config/config.php @@ -22,20 +22,20 @@ 'class' => 'colorPicker', 'help' => 'Le curseur horizontal règle le niveau de transparence.', 'label' => 'Mot-clef en évidence', - 'value' => $this->getData(['module', $this->getUrl(0), 'keywordColor']) + 'value' => $this->getData(['module', 'search', 'keywordColor']) ]); ?>