From fe39b95a79828c9274d0f17055107ec76be61eb9 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 28 Jun 2003 14:05:03 +0000 Subject: [PATCH] Ajout d'une fonction print_fiche_titre --- htdocs/lib/functions.inc.php3 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/htdocs/lib/functions.inc.php3 b/htdocs/lib/functions.inc.php3 index f3a8b04e644..7c5b6d9e99a 100644 --- a/htdocs/lib/functions.inc.php3 +++ b/htdocs/lib/functions.inc.php3 @@ -268,11 +268,24 @@ function print_liste_field_titre_new($name, $file, $field, $begin="", $options=" function print_titre($titre) { - global $conf; print ''; print ''; print '
'.$titre.'
'; } +/* + * + * + */ +function print_fiche_titre($titre, $mesg='') +{ + print ''; + print ''; + if (strlen($mesg)) + { + print ''; + } + print '
'.$titre.'
'.$mesg.'
'; +} /* * *