From e6cb0acc55ac595f012d25e010adda616e9d4284 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> 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 @@ <?php /* Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr> * * 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 '<tr class="liste_titre">'; 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 "</tr>\n"; $var=True; while ($i < $num) @@ -95,7 +95,7 @@ if ($resql) } print "</td>"; print '<td align="center">'.$obj->nb.'</td>'; - print '<td width="100" align="center">'.dol_print_date($db->jdate($obj->datec),"day").'</td>'; + print '<td align="right" nowrap="nowrap">'.dol_print_date($db->jdate($obj->datec),"dayhour").'</td>'; print "</tr>\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 "</td>"; - print '<td width="80" align="center">'.dol_print_date($db->jdate($obj->datec),'dayhour').'</td>'; + print '<td nowrap="nowrap" align="right">'.dol_print_date($db->jdate($obj->datec),'dayhour').'</td>'; print "</tr>"; $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 @@ <?php /* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr> * * 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 '</td>'; // Date creation - print '<td nowrap="nowrap" align="center">'.dol_print_date($db->jdate($obj->datec),"day").'</td>'; + print '<td nowrap="nowrap" align="center">'.dol_print_date($db->jdate($obj->datec),"dayhour").'</td>'; // Date last login print '<td nowrap="nowrap" align="center">'.dol_print_date($db->jdate($obj->datelastlogin),"dayhour").'</td>'; -- GitLab