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 '
'; } /*!