diff --git a/module/search/search.php b/module/search/search.php index 90ae8899..205aee32 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -164,7 +164,7 @@ class search extends common { $r [] = $value['preview']; } // Générer une chaine de caractères - self::$resultList= implode("
", $r); + self::$resultList= implode("", $r); } } else { self::$resultTitle = 'Aucun résultat'; diff --git a/module/search/view/index/index.css b/module/search/view/index/index.css index 775fd2dc..5a7d9319 100644 --- a/module/search/view/index/index.css +++ b/module/search/view/index/index.css @@ -1,11 +1,11 @@ .searchTitle { font: caption; font-style: italic; - margin-left: .5em; + margin-left: 1em; } .searchKeyword { background: yellow; } .searchResult { - margin: .8em 0 .8em 0.5em; + margin: .3em 0 .3em 1em; } \ No newline at end of file diff --git a/module/search/view/index/index.php b/module/search/view/index/index.php index 1a86d1c6..1e66cdd5 100755 --- a/module/search/view/index/index.php +++ b/module/search/view/index/index.php @@ -26,8 +26,11 @@

-

-

+ '.$module::$resultList.'

'; + ?> + '.$module::$resultError.'

'; ?>