From e6cb0acc55ac595f012d25e010adda616e9d4284 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 25 May 2011 09:51:01 +0000 Subject: [PATCH] New: Date of user and group creation contains hour --- htdocs/user/group/index.php | 8 ++++---- htdocs/user/home.php | 6 +++--- htdocs/user/index.php | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/htdocs/user/group/index.php b/htdocs/user/group/index.php index 8b37b08d10e..b725674c48d 100644 --- a/htdocs/user/group/index.php +++ b/htdocs/user/group/index.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2010 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -21,7 +21,7 @@ /** * \file htdocs/user/group/index.php * \ingroup core - * \brief Page d'accueil de la gestion des groupes + * \brief Page of user groups * \version $Id$ */ @@ -79,7 +79,7 @@ if ($resql) print ''; print_liste_field_titre($langs->trans("Group"),$_SERVER["PHP_SELF"],"g.nom",$param,"","",$sortfield,$sortorder); print_liste_field_titre($langs->trans("NbOfUsers"),$_SERVER["PHP_SELF"],"g.nb",$param,"",'align="center"',$sortfield,$sortorder); - print_liste_field_titre($langs->trans("DateCreation"),$_SERVER["PHP_SELF"],"g.datec",$param,"","",$sortfield,$sortorder); + print_liste_field_titre($langs->trans("DateCreation"),$_SERVER["PHP_SELF"],"g.datec",$param,"",'align="right"',$sortfield,$sortorder); print "\n"; $var=True; while ($i < $num) @@ -95,7 +95,7 @@ if ($resql) } print ""; print ''.$obj->nb.''; - print ''.dol_print_date($db->jdate($obj->datec),"day").''; + print ''.dol_print_date($db->jdate($obj->datec),"dayhour").''; print "\n"; $i++; } diff --git a/htdocs/user/home.php b/htdocs/user/home.php index 71fadea4ce9..5830fd8a46c 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -19,7 +19,7 @@ /** * \file htdocs/user/home.php - * \brief Page acceuil de la zone utilisateurs et groupes + * \brief Home page of users and groups management * \version $Id$ */ @@ -167,7 +167,7 @@ else /* - * Derniers groupes crees + * Last groups created */ if ($canreadperms) { @@ -200,7 +200,7 @@ if ($canreadperms) print img_picto($langs->trans("GlobalGroup"),'redstar'); } print ""; - print ''.dol_print_date($db->jdate($obj->datec),'dayhour').''; + print ''.dol_print_date($db->jdate($obj->datec),'dayhour').''; print ""; $i++; } diff --git a/htdocs/user/index.php b/htdocs/user/index.php index 6bd0ab4607d..e392602dfaf 100644 --- a/htdocs/user/index.php +++ b/htdocs/user/index.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2010 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -21,7 +21,7 @@ /** * \file htdocs/user/index.php * \ingroup core - * \brief Page d'accueil de la gestion des utilisateurs + * \brief Page of users * \version $Id$ */ @@ -129,7 +129,7 @@ if ($result) print ''; // Date creation - print ''.dol_print_date($db->jdate($obj->datec),"day").''; + print ''.dol_print_date($db->jdate($obj->datec),"dayhour").''; // Date last login print ''.dol_print_date($db->jdate($obj->datelastlogin),"dayhour").'';