diff --git a/htdocs/lib/functions.inc.php3 b/htdocs/lib/functions.inc.php3 index e0ad366d639..ab8febf574f 100644 --- a/htdocs/lib/functions.inc.php3 +++ b/htdocs/lib/functions.inc.php3 @@ -254,7 +254,7 @@ function print_titre($titre) * * */ -function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='') +function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $sortorder='', $form='') { global $conf; print ''; @@ -267,6 +267,12 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so { print ''; } + + if ($form) + { + print ''; + } + print '
'.$titre.'
'.$form.''; if (strlen($sortfield))