From 41d5898c6f2ec6318d756c27351218114e43df45 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 31 Oct 2004 17:27:05 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Le=20num=E9ro=20de=20la=20page=20s'affic?= =?UTF-8?q?he=20m=EAme=20sur=20la=20page=201=20si=20il=20y=20a=20plusieurs?= =?UTF-8?q?=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/functions.inc.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 3684c6bfb27..5b0e4868a7f 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -1015,11 +1015,12 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so $nextpage = 0; } - print ''; + print '
'; - if ($page > 0) + if ($page > 0 || $num > $conf->liste_limit) { - print ''; + print ''; } else { @@ -1043,11 +1044,11 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so $options .= "&sortorder=$sortorder"; } - // affichage des fleches de navigation + // Affichage des fleches de navigation - print_fleche_navigation($page,$file,$options, $nextpage); + print_fleche_navigation($page,$file,$options,$nextpage); - print '
'.$titre.' - page '.($page+1).'
'.$titre.' - page '.($page+1); + print '
'; + print '
'; } /*!