diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index d2912f8eadd..964f02a6270 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -591,7 +591,7 @@ if (($action == 'create') || ($action == 'adduserldap')) print ''; // Tel - print ''.$langs->trans("Phone").''; + print ''.$langs->trans("PhonePro").''; print ''; if ($ldap_phone) { @@ -604,6 +604,20 @@ if (($action == 'create') || ($action == 'adduserldap')) } print ''; + // Tel portable + print ''.$langs->trans("PhoneMobile").''; + print ''; + if ($ldap_mobile) + { + print ''; + print $ldap_mobile; + } + else + { + print ''; + } + print ''; + // Fax print ''.$langs->trans("Fax").''; print ''; @@ -618,20 +632,6 @@ if (($action == 'create') || ($action == 'adduserldap')) } print ''; - // Tel portable - print ''.$langs->trans("Mobile").''; - print ''; - if ($ldap_mobile) - { - print ''; - print $ldap_mobile; - } - else - { - print ''; - } - print ''; - // EMail print ''.$langs->trans("EMail").''; print ''; @@ -894,13 +894,17 @@ else print ''; print "\n"; - // Tel, fax, portable - print ''.$langs->trans("Phone").''; + // Tel pro + print ''.$langs->trans("PhonePro").''; print ''.$fuser->office_phone.''; + + // Tel mobile + print ''.$langs->trans("PhoneMobile").''; + print ''.$fuser->user_mobile.''; + + // Fax print ''.$langs->trans("Fax").''; print ''.$fuser->office_fax.''; - print ''.$langs->trans("Mobile").''; - print ''.$fuser->user_mobile.''; // EMail print ''.$langs->trans("EMail").''; @@ -1280,46 +1284,48 @@ else print ''; print "\n"; - // Tel, fax, portable - print "".''.$langs->trans("Phone").''; - print ''; - if ($caneditfield && !$fuser->ldap_sid) - { - print ''; - } - else - { - print ''; - print $fuser->office_phone; - } - print ''; - - print "".''.$langs->trans("Fax").''; - print ''; - if ($caneditfield && !$fuser->ldap_sid) - { - print ''; - } - else - { - print ''; - print $fuser->office_fax; - } - print ''; - - print "".''.$langs->trans("Mobile").''; - print ''; - if ($caneditfield && !$fuser->ldap_sid) - { - print ''; - } - else - { - print ''; - print $fuser->user_mobile; - } - print ''; + // Tel pro + print "".''.$langs->trans("PhonePro").''; + print ''; + if ($caneditfield && !$fuser->ldap_sid) + { + print ''; + } + else + { + print ''; + print $fuser->office_phone; + } + print ''; + + // Tel mobile + print "".''.$langs->trans("PhoneMobile").''; + print ''; + if ($caneditfield && !$fuser->ldap_sid) + { + print ''; + } + else + { + print ''; + print $fuser->user_mobile; + } + print ''; + // Fax + print "".''.$langs->trans("Fax").''; + print ''; + if ($caneditfield && !$fuser->ldap_sid) + { + print ''; + } + else + { + print ''; + print $fuser->office_fax; + } + print ''; + // EMail print "".''.$langs->trans("EMail").''; print '';