2
0
forked from Wavyzz/dolibarr

Ajout fonction pour imprimer les infos sur un objet

This commit is contained in:
Rodolphe Quiedeville
2004-02-02 13:11:17 +00:00
parent e8d90a0145
commit d68401e8de

View File

@@ -25,6 +25,14 @@
$yn[0] = "non";
$yn[1] = "oui";
Function dolibarr_print_object_info($object)
{
print "Cr<EFBFBD><EFBFBD> par : " . $object->user_creation->fullname . '<br>';
print "Date de cr<63>ation : " . strftime("%A %d %B %Y %H:%M:%S",$object->date_creation) . '<br>';
print "Modifi<EFBFBD> par : " . '<br>';
print "Date de modification : " . strftime("%A %d %B %Y %H:%M:%S",$object->date_modification) . '<br>';
}
Function dolibarr_print_phone($phone)
{
if (strlen(trim($phone)) == 10)
@@ -481,7 +489,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
print_fleche_navigation($page,$file,$options, $nextpage);
print '</td></tr></table><p>';
print '</td></tr></table>';
}
/*