diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 94ae9fb0fbc..c96db183a3f 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -8922,10 +8922,11 @@ class Form
$addgendertxt .= '';
break;
case 'other':
- $addgendertxt .= '';
+ $addgendertxt .= '';
break;
}
}
+
/*
$addadmin = '';
if (property_exists($object, 'admin')) {
@@ -9067,7 +9068,7 @@ class Form
$ret .= dol_htmlentities($fullname).$addgendertxt.((!empty($object->societe) && $object->societe != $fullname) ? ' ('.dol_htmlentities($object->societe).')' : '');
}
} elseif (in_array($object->element, array('contact', 'user', 'usergroup'))) {
- $ret .= dol_htmlentities($object->getFullName($langs));
+ $ret .= dol_htmlentities($object->getFullName($langs)).$addgendertxt;
} elseif (in_array($object->element, array('action', 'agenda'))) {
$ret .= $object->ref.'
'.$object->label;
} elseif (in_array($object->element, array('adherent_type'))) {
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 76e7a74450d..d01e3b8d55d 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -901,7 +901,7 @@ div.urllink, div.urllink a {
color: #339 !important;
}
-i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before {
+i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before, i.fa-transgender::before {
color: #888 !important;
opacity: 0.4;
padding-: 3px;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 879bd52e864..fe54b2365b5 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -1050,7 +1050,7 @@ div.urllink, div.urllink a {
.fa-info-circle {
padding-: 3px;
}
-i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before {
+i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before, i.fa-transgender::before {
color: #888 !important;
opacity: 0.4;
padding-: 3px;
diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php
index b0630f0394e..9f25d49bd50 100644
--- a/htdocs/user/class/user.class.php
+++ b/htdocs/user/class/user.class.php
@@ -80,6 +80,7 @@ class User extends CommonObject
* @var string gender
*/
public $gender;
+
public $birth;
/**
diff --git a/htdocs/user/list.php b/htdocs/user/list.php
index 422d36d791f..2ec8ac37b87 100644
--- a/htdocs/user/list.php
+++ b/htdocs/user/list.php
@@ -661,7 +661,7 @@ if (!empty($arrayfields['u.firstname']['checked'])) {
print '