From a7347b89d1ad7c946a217d3bf9d52809b1c687e0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 24 Nov 2020 16:54:13 +0100 Subject: [PATCH] Look and feel v13 --- htdocs/user/card.php | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 52b94cbc2f9..ba7cd546d54 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -1018,50 +1018,54 @@ if ($action == 'create' || $action == 'adduserldap') } // Tel - print ''.img_picto('', 'object_phoning').' '.$langs->trans("PhonePro").''; + print ''.$langs->trans("PhonePro").''; print ''; + print img_picto('', 'object_phoning'); if (!empty($ldap_phone)) { print ''; print $ldap_phone; } else { - print ''; + print ''; } print ''; // Tel portable - print ''.img_picto('', 'object_phoning_mobile').' '.$langs->trans("PhoneMobile").''; + print ''.$langs->trans("PhoneMobile").''; print ''; + print img_picto('', 'object_phoning_mobile'); if (!empty($ldap_mobile)) { print ''; print $ldap_mobile; } else { - print ''; + print ''; } print ''; // Fax - print ''.img_picto('', 'object_phoning_fax').' '.$langs->trans("Fax").''; + print ''.$langs->trans("Fax").''; print ''; + print img_picto('', 'object_phoning_fax'); if (!empty($ldap_fax)) { print ''; print $ldap_fax; } else { - print ''; + print ''; } print ''; // EMail - print 'global->USER_MAIL_REQUIRED) ? ' class="fieldrequired"' : '').'>'.img_picto('', 'object_email').' '.$langs->trans("EMail").''; + print 'global->USER_MAIL_REQUIRED) ? ' class="fieldrequired"' : '').'>'.$langs->trans("EMail").''; print ''; + print img_picto('', 'object_email'); if (!empty($ldap_mail)) { print ''; print $ldap_mail; } else { - print ''; + print ''; } print ''; @@ -1093,7 +1097,7 @@ if ($action == 'create' || $action == 'adduserldap') { print ''.$langs->trans("AccountancyCode").''; print ''; - print ''; + print ''; print ''; } @@ -2357,11 +2361,12 @@ if ($action == 'create' || $action == 'adduserldap') } // Tel pro - print "".''.img_picto('', 'object_phoning').' '.$langs->trans("PhonePro").''; + print "".''.$langs->trans("PhonePro").''; print ''; + print img_picto('', 'object_phoning'); if ($caneditfield && empty($object->ldap_sid)) { - print ''; + print ''; } else { print ''; print $object->office_phone; @@ -2369,11 +2374,12 @@ if ($action == 'create' || $action == 'adduserldap') print ''; // Tel mobile - print "".''.img_picto('', 'object_phoning_mobile').' '.$langs->trans("PhoneMobile").''; + print "".''.$langs->trans("PhoneMobile").''; print ''; + print img_picto('', 'object_phoning_mobile'); if ($caneditfield && empty($object->ldap_sid)) { - print ''; + print ''; } else { print ''; print $object->user_mobile; @@ -2381,11 +2387,12 @@ if ($action == 'create' || $action == 'adduserldap') print ''; // Fax - print "".''.img_picto('', 'object_phoning_fax').' '.$langs->trans("Fax").''; + print "".''.$langs->trans("Fax").''; print ''; + print img_picto('', 'object_phoning_fax'); if ($caneditfield && empty($object->ldap_sid)) { - print ''; + print ''; } else { print ''; print $object->office_fax; @@ -2393,11 +2400,12 @@ if ($action == 'create' || $action == 'adduserldap') print ''; // EMail - print "".'global->USER_MAIL_REQUIRED) ? ' class="fieldrequired"' : '').'>'.img_picto('', 'object_email').' '.$langs->trans("EMail").''; + print "".'global->USER_MAIL_REQUIRED) ? ' class="fieldrequired"' : '').'>'.$langs->trans("EMail").''; print ''; + print img_picto('', 'object_email'); if ($caneditfield && empty($object->ldap_sid)) { - print ''; + print ''; } else { print ''; print $object->email;