mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
New: Date of user and group creation contains hour
This commit is contained in:
parent
59aad44353
commit
e6cb0acc55
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user