diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index 1eecf26664c..fe05c551945 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -595,7 +595,7 @@ $moreforfilter = '';
// Filter on categories
if (!empty($conf->categorie->enabled) && $user->rights->categorie->lire) {
$moreforfilter .= '
';
- $moreforfilter .= $langs->trans('Categories').': ';
+ $moreforfilter .= img_picto($langs->trans("Category"), 'category', 'class="paddingright"');
$moreforfilter .= $formother->select_categories(Categorie::TYPE_USER, $search_categ, 'search_categ', 1);
$moreforfilter .= '
';
}
@@ -724,7 +724,7 @@ if (!empty($arrayfields['u.gender']['checked'])) {
print_liste_field_titre("Gender", $_SERVER['PHP_SELF'], "u.gender", $param, "", "", $sortfield, $sortorder);
}
if (!empty($arrayfields['u.employee']['checked'])) {
- print_liste_field_titre("Employee", $_SERVER['PHP_SELF'], "u.employee", $param, "", "", $sortfield, $sortorder);
+ print_liste_field_titre("Employee", $_SERVER['PHP_SELF'], "u.employee", $param, "", "", $sortfield, $sortorder, 'center ');
}
if (!empty($arrayfields['u.fk_user']['checked'])) {
print_liste_field_titre("HierarchicalResponsible", $_SERVER['PHP_SELF'], "u.fk_user", $param, "", "", $sortfield, $sortorder);
@@ -822,6 +822,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) {
$li = $userstatic->getNomUrl(-1, '', 0, 0, 24, 1, 'login', '', 1);
print '';
+
if (!empty($arrayfields['u.login']['checked'])) {
print '| ';
print $li;
@@ -836,13 +837,13 @@ while ($i < ($limit ? min($num, $limit) : $num)) {
}
}
if (!empty($arrayfields['u.lastname']['checked'])) {
- print ' | '.$obj->lastname.' | ';
+ print ''.dol_escape_htmltag($obj->lastname).' | ';
if (!$i) {
$totalarray['nbfield']++;
}
}
if (!empty($arrayfields['u.firstname']['checked'])) {
- print ''.$obj->firstname.' | ';
+ print ''.dol_escape_htmltag($obj->firstname).' | ';
if (!$i) {
$totalarray['nbfield']++;
}
@@ -858,7 +859,7 @@ while ($i < ($limit ? min($num, $limit) : $num)) {
}
}
if (!empty($arrayfields['u.employee']['checked'])) {
- print ''.yn($obj->employee).' | ';
+ print ''.yn($obj->employee).' | ';
if (!$i) {
$totalarray['nbfield']++;
}