diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php
index 2bebb622d88..e9af3ca3b36 100644
--- a/htdocs/lib/functions.inc.php
+++ b/htdocs/lib/functions.inc.php
@@ -25,6 +25,14 @@
$yn[0] = "non";
$yn[1] = "oui";
+Function dolibarr_print_object_info($object)
+{
+ print "Créé par : " . $object->user_creation->fullname . '
';
+ print "Date de création : " . strftime("%A %d %B %Y %H:%M:%S",$object->date_creation) . '
';
+ print "Modifié par : " . '
';
+ print "Date de modification : " . strftime("%A %d %B %Y %H:%M:%S",$object->date_modification) . '
';
+}
+
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 '
'; + print ''; } /*