diff --git a/library/ZendAfi/View/Helper/Accueil/Kiosque.php b/library/ZendAfi/View/Helper/Accueil/Kiosque.php index ab5a421b6ae85bd7b852df072bd695cf1fec94a4..cbaac0790b89f7ce322ec7b6042d67ed9c79159b 100644 --- a/library/ZendAfi/View/Helper/Accueil/Kiosque.php +++ b/library/ZendAfi/View/Helper/Accueil/Kiosque.php @@ -193,9 +193,11 @@ class ZendAfi_View_Helper_Accueil_Kiosque extends ZendAfi_View_Helper_Accueil_Ba $notices = Class_Notice::findAllByRequeteRecherche($requetes['req_liste'],$nombre_notices_par_page,$page); } - return - $this->getPagerHtml($page, $nombre_notices_par_page, $nombre_total_notices) - .$this->renderNoticesKiosqueHtml($notices); + $html = $this->renderNoticesKiosqueHtml($notices); + if (!$this->isModeChrono()) + $html = $this->getPagerHtml($page, $nombre_notices_par_page, $nombre_total_notices).$html; + + return $html; } diff --git a/library/ZendAfi/View/Helper/ListeNotices/Chrono.php b/library/ZendAfi/View/Helper/ListeNotices/Chrono.php index 2b41ba7b956866f40acc88db37d4d8fe454c471a..07873acb28774ac9dcca2b05c890d92b376f9479 100644 --- a/library/ZendAfi/View/Helper/ListeNotices/Chrono.php +++ b/library/ZendAfi/View/Helper/ListeNotices/Chrono.php @@ -40,7 +40,9 @@ class ZendAfi_View_Helper_ListeNotices_Chrono extends ZendAfi_View_Helper_ListeN 'type' => 'timeline', 'embed_id' => $embed_id, 'width' => '100%', - 'height' => 600, + 'height' => 700, + 'start_at_end' => true, + 'start_zoom_adjust' => -4, 'source' => json_decode($this->view->MoteurRecherche_Resultat_TimelineJsonVisitor($resultat, $preferences)), 'js' => BASE_URL.'/public/opac/TimelineJS-2.25/compiled/js/timeline.js', 'css' => BASE_URL.'/public/opac/TimelineJS-2.25/compiled/css/timeline.css',