From 8858c3e769da04a68631d9842467cd1c3b705465 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 23 Oct 2019 21:27:29 +0200 Subject: [PATCH] Look and feel v11 --- htdocs/user/card.php | 68 ++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/htdocs/user/card.php b/htdocs/user/card.php index 4540933532b6d..7ff0fdb3d9c67 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -1030,7 +1030,7 @@ } // Tel - print ''.$langs->trans("PhonePro").''; + print ''.img_picto('', 'object_phoning').' '.$langs->trans("PhonePro").''; print ''; if (! empty($ldap_phone)) { @@ -1044,7 +1044,7 @@ print ''; // Tel portable - print ''.$langs->trans("PhoneMobile").''; + print ''.img_picto('', 'object_phoning_mobile').' '.$langs->trans("PhoneMobile").''; print ''; if (! empty($ldap_mobile)) { @@ -1058,7 +1058,7 @@ print ''; // Fax - print ''.$langs->trans("Fax").''; + print ''.img_picto('', 'object_phoning_fax').' '.$langs->trans("Fax").''; print ''; if (! empty($ldap_fax)) { @@ -1071,6 +1071,20 @@ } print ''; + // EMail + print 'global->USER_MAIL_REQUIRED)?' class="fieldrequired"':'').'>'.img_picto('', 'object_email').' '.$langs->trans("EMail").''; + print ''; + if (! empty($ldap_mail)) + { + print ''; + print $ldap_mail; + } + else + { + print ''; + } + print ''; + // Skype if (! empty($conf->socialnetworks->enabled)) { @@ -1139,20 +1153,6 @@ print ''; } - // EMail - print 'global->USER_MAIL_REQUIRED)?' class="fieldrequired"':'').'>'.$langs->trans("EMail").''; - print ''; - if (! empty($ldap_mail)) - { - print ''; - print $ldap_mail; - } - else - { - print ''; - } - print ''; - // Accountancy code if ($conf->accounting->enabled) { @@ -2376,7 +2376,7 @@ } // Tel pro - print "".''.$langs->trans("PhonePro").''; + print "".''.img_picto('', 'object_phoning').' '.$langs->trans("PhonePro").''; print ''; if ($caneditfield && empty($object->ldap_sid)) { @@ -2390,7 +2390,7 @@ print ''; // Tel mobile - print "".''.$langs->trans("PhoneMobile").''; + print "".''.img_picto('', 'object_phoning_mobile').' '.$langs->trans("PhoneMobile").''; print ''; if ($caneditfield && empty($object->ldap_sid)) { @@ -2404,7 +2404,7 @@ print ''; // Fax - print "".''.$langs->trans("Fax").''; + print "".''.img_picto('', 'object_phoning_fax').' '.$langs->trans("Fax").''; print ''; if ($caneditfield && empty($object->ldap_sid)) { @@ -2417,6 +2417,20 @@ } print ''; + // EMail + print "".'global->USER_MAIL_REQUIRED)?' class="fieldrequired"':'').'>'.img_picto('', 'object_email').' '.$langs->trans("EMail").''; + print ''; + if ($caneditfield && empty($object->ldap_sid)) + { + print ''; + } + else + { + print ''; + print $object->email; + } + print ''; + // Skype if (! empty($conf->socialnetworks->enabled)) { @@ -2485,20 +2499,6 @@ print ''; } - // EMail - print "".'global->USER_MAIL_REQUIRED)?' class="fieldrequired"':'').'>'.$langs->trans("EMail").''; - print ''; - if ($caneditfield && empty($object->ldap_sid)) - { - print ''; - } - else - { - print ''; - print $object->email; - } - print ''; - // OpenID url if (isset($conf->file->main_authentication) && preg_match('/openid/', $conf->file->main_authentication) && ! empty($conf->global->MAIN_OPENIDURL_PERUSER)) {