Ajout d'une fonction print_fiche_titre

This commit is contained in:
Rodolphe Quiedeville 2003-06-28 14:05:03 +00:00
parent 06a69b2914
commit fe39b95a79

View File

@ -268,11 +268,24 @@ function print_liste_field_titre_new($name, $file, $field, $begin="", $options="
function print_titre($titre)
{
global $conf;
print '<table width="100%" border="0" cellpadding="3" cellspacing="0">';
print '<tr><td><div class="titre">'.$titre.'</div></td>';
print '</tr></table>';
}
/*
*
*
*/
function print_fiche_titre($titre, $mesg='')
{
print '<table width="100%" border="0" cellpadding="3" cellspacing="0">';
print '<tr><td><div class="titre">'.$titre.'</div></td>';
if (strlen($mesg))
{
print '<td>'.$mesg.'</td>';
}
print '</tr></table>';
}
/*
*
*