diff --git a/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml b/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml index 444ca1929f56a04ff65e737781578844bfbbc3ab..bd507f141c602dfa3c25b5886d0839714bff6cab 100644 --- a/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml +++ b/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml @@ -64,8 +64,7 @@ if (!isset($tags)) $tags=[]; <div style="width:100%" class="conteneur_simple"> <?php // Si facettes ou tags on ouvre un tableau a 2 colonnes - if ($hasFacettes or ($hasTags and (2 == $tagsPosition))) - { + if ($hasFacettes or ($hasTags and (2 == $tagsPosition))) { ?> <table class="resultat_recherche" style="width:100%"> <tr> diff --git a/library/ZendAfi/View/Helper/TagTriRecherche.php b/library/ZendAfi/View/Helper/TagTriRecherche.php index 36176fd6f69d905fab306f23a18841349812f717..b672dde4a9aae31c41e77b3d1c5cedf224d0dfee 100644 --- a/library/ZendAfi/View/Helper/TagTriRecherche.php +++ b/library/ZendAfi/View/Helper/TagTriRecherche.php @@ -23,7 +23,7 @@ class ZendAfi_View_Helper_TagTriRecherche extends Zend_View_Helper_HtmlElement { public function tagTriRecherche($page,$nombre_resultats,$criteres_recherche) { // Nombre de resultats et n° de page - $html='<div><span>'; + $html='<div class="resultats_page"><div><span>'; if(!intval($page)) $page=1; if(!$nombre_resultats) $html.= $this->view->_('Aucune notice trouvée'); if($nombre_resultats == 1) $html.=$this->view->_('1 notice trouvée'); @@ -34,15 +34,16 @@ class ZendAfi_View_Helper_TagTriRecherche extends Zend_View_Helper_HtmlElement { if($url = $criteres_recherche->getUrlCriteresWithoutTri()) { $url_str = $this->view->url($url,null,true); $onchange="var tri=$('#tri').val();document.location='".$url_str."/tri/'+tri;"; - $html.='<span>Trier par </span>'; + $html.='<span>Trier par '; $html.=$this->view->formSelect('tri', $tri_selected, ['onchange' => $onchange], $criteres_recherche->getListeTris()); + $html.='</span>'; } $html.=' <span>page '.$page.'</span>'; - $html.='</div>'; + $html.='</div></div>'; return $html; }