diff --git a/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml b/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml index a885830f8bfa5d57b9c4e56e1983f8d4371b008e..80eb1cec8d693e7274efcbaf4f7f6240675691f5 100644 --- a/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml +++ b/application/modules/opac/views/scripts/recherche/resultatRecherche.phtml @@ -12,10 +12,11 @@ if ($this->is_pertinence) { } $this->openBoite($titre); - -print($this->texte_selection); ?> +<div class="criteres_recherche"><?php echo $this->texte_selection ?></div> + + <div class="recherche_actions"> <span> <?php diff --git a/library/ZendAfi/View/Helper/ListeNotices.php b/library/ZendAfi/View/Helper/ListeNotices.php index 11b85f9d59f98a9eba1e23055185f9b74c80acdc..1c0d4b48f44747ab077863a907423f2e2c47c2ce 100644 --- a/library/ZendAfi/View/Helper/ListeNotices.php +++ b/library/ZendAfi/View/Helper/ListeNotices.php @@ -52,19 +52,17 @@ class ZendAfi_View_Helper_ListeNotices extends ZendAfi_View_Helper_BaseHelper { } // Nombre de resultats et n° de page - $html.='<table><tr><td align="left" width="100%">'; + $html.='<div class="resultats_page"><div><span>'; if(!intval($page)) $page=1; if(!$nombre_resultats) $html.= $this->translate()->_('Aucune notice trouvée'); if($nombre_resultats == 1) $html.=$this->translate()->_('1 notice trouvée'); if($nombre_resultats > 1) $html.=sprintf($nombre_resultats.' %s',$this->translate()->_('notices trouvées')); - $html.='</td>'; + $html.='</span>'; // combo tri if($url) { $onchange="var tri=$('#tri').val();document.location='".$url.(strpos($url, '?') ? '&' : '?')."tri='+tri;"; - $html.='<td align="right">Trier par </td>'; - $html.='<td style="padding-right:10px">'; - + $html.='<span style="text-align="right">Trier par'; $html.=$this->view->formSelect('tri', $tri, ['onchange' => $onchange], @@ -74,10 +72,11 @@ class ZendAfi_View_Helper_ListeNotices extends ZendAfi_View_Helper_BaseHelper { 'annee desc' => $this->view->_('Année de publication'), 'type_doc,alpha_titre' => $this->view->_('Type de document'), 'date_creation desc' => $this->view->_('Date de nouveauté')]); + $html .= '</span>'; } - $html.=' <td align="right">page '.$page.'</td>'; - $html.='</td></tr></table>'; + $html.=' <span>page '.$page.'</span>'; + $html.='</div></div>'; if(!$nombre_resultats) return $html; // Liste en fonction du format diff --git a/public/opac/css/global.css b/public/opac/css/global.css index a3eee4891ee2d5e45d11855f969bba4e88813ae1..626b1aa2d624db551895a362774e3a51b10124f1 100644 --- a/public/opac/css/global.css +++ b/public/opac/css/global.css @@ -1169,6 +1169,29 @@ body.abonne_multimedia-hold-view .actions a { } +.liste_notices .resultats_page { + display: table; + width: 100%; + margin: 5px 0px; +} + +.liste_notices .resultats_page div { + display: table-row; +} + +.liste_notices .resultats_page span { + display: table-cell; +} + +.liste_notices .resultats_page span:first-child + span { + text-align: right; + padding-right: 20px; +} + +.liste_notices .resultats_page span:first-child + span select { + margin-left: 5px; +} + .liste_mur { float: left; }