Petites corrections
This commit is contained in:
parent
1f4ba11970
commit
29a4193450
@ -164,7 +164,7 @@ class search extends common {
|
||||
$r [] = $value['preview'];
|
||||
}
|
||||
// Générer une chaine de caractères
|
||||
self::$resultList= implode("<br />", $r);
|
||||
self::$resultList= implode("", $r);
|
||||
}
|
||||
} else {
|
||||
self::$resultTitle = 'Aucun résultat';
|
||||
|
@ -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;
|
||||
}
|
@ -26,8 +26,11 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4><?php echo $module::$resultTitle; ?></h4>
|
||||
<p><?php echo $module::$resultList; ?>
|
||||
<p><?php echo $module::$resultError; ?>
|
||||
<?php if ($module::$resultList)
|
||||
echo '<p>'.$module::$resultList.'</p>';
|
||||
?>
|
||||
<?php if ($module::$resultError)
|
||||
echo '<p>'.$module::$resultError.'</p>'; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo template::formClose(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user