New: Show number of users in groups

This commit is contained in:
Laurent Destailleur 2011-02-11 23:39:21 +00:00
parent 76fffce112
commit fc874dfdda
3 changed files with 6 additions and 4 deletions

View File

@ -109,4 +109,5 @@ ConfirmCreateThirdParty=Are you sure you want to create a third party for this m
LoginToCreate=Login to create
NameToCreate=Name of third party to create
YourRole=Your roles
YourQuotaOfUsersIsReached=Your quota of active users is reached !
YourQuotaOfUsersIsReached=Your quota of active users is reached !
NbOfUsers=Nb of users

View File

@ -109,4 +109,5 @@ ConfirmCreateThirdParty=Êtes-vous sûr de vouloir créer un tiers pour cet adh
LoginToCreate=Login à créer
NameToCreate=Nom du tiers à créer
YourRole=Vos rôles
YourQuotaOfUsersIsReached=Votre quota d'utilisateurs actifs est atteint !
YourQuotaOfUsersIsReached=Votre quota d'utilisateurs actifs est atteint !
NbOfUsers=Nb d'utilisateurs

View File

@ -78,7 +78,7 @@ if ($resql)
print "<table class=\"noborder\" width=\"100%\">";
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,"","",$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 "</tr>\n";
$var=True;
@ -94,7 +94,7 @@ if ($resql)
print img_redstar($langs->trans("GlobalGroup"));
}
print "</td>";
print '<td>'.$obj->nb.'</td>';
print '<td align="center">'.$obj->nb.'</td>';
print '<td width="100" align="center">'.dol_print_date($db->jdate($obj->datec),"day").'</td>';
print "</tr>\n";
$i++;