From 4198296e3e849464ae8a105470d2c77143e7efa9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 27 Dec 2010 17:36:31 +0000 Subject: [PATCH] Fix: W3C --- htdocs/user/fiche.php | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 1f847f17896..0c003ca2c43 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -894,17 +894,17 @@ else print ''; print $html->showrefnav($fuser,'id','',$user->rights->user->user->lire || $user->admin); print ''; - print ''; + print ''."\n"; - // Nom + // Lastname print ''.$langs->trans("Lastname").''; print ''.$fuser->nom.''; - print "\n"; + print ''."\n"; - // Prenom + // Firstname print ''.$langs->trans("Firstname").''; print ''.$fuser->prenom.''; - print "\n"; + print ''."\n"; $rowspan=11; if ($conf->societe->enabled) $rowspan++; @@ -916,17 +916,17 @@ else print ''.$langs->trans("Login").''; if ($fuser->ldap_sid && $fuser->statut==0) { - print ''.$langs->trans("LoginAccountDisableInDolibarr").''; + print ''.$langs->trans("LoginAccountDisableInDolibarr").''; } else { - print ''.$fuser->login.''; + print ''.$fuser->login.''; } // Photo print ''; print $html->showphoto('userphoto',$fuser,100,1); print ''; - print ''; + print ''."\n"; // Password print ''.$langs->trans("Password").''; @@ -960,7 +960,7 @@ else } print ""; } - print "\n"; + print ''."\n"; // Administrator print ''.$langs->trans("Administrator").''; @@ -974,7 +974,7 @@ else print ' '.img_picto($langs->trans("Administrator"),"star"); } print ''; - print "\n"; + print ''."\n"; // Type print ''.$langs->trans("Type").''; @@ -995,19 +995,23 @@ else { print $html->textwithpicto($langs->trans("SuperAdministrator"),$langs->trans("SuperAdministratorDesc")); } - print ''; + print ''; + print ''."\n"; // Tel pro print ''.$langs->trans("PhonePro").''; print ''.dol_print_phone($fuser->office_phone,'',0,0,1).''; + print ''."\n"; // Tel mobile print ''.$langs->trans("PhoneMobile").''; print ''.dol_print_phone($fuser->user_mobile,'',0,0,1).''; + print ''."\n"; // Fax print ''.$langs->trans("Fax").''; print ''.dol_print_phone($fuser->office_fax,'',0,0,1).''; + print ''."\n"; // EMail print ''.$langs->trans("EMail").''; @@ -1018,7 +1022,8 @@ else print ''.$langs->trans("Status").''; print ''; print $fuser->getLibStatut(4); - print ''; + print ''; + print ''."\n"; print ''.$langs->trans("LastConnexion").''; print ''.dol_print_date($fuser->datelastlogin,"dayhour").''; @@ -1028,7 +1033,7 @@ else print ''.dol_print_date($fuser->datepreviouslogin,"dayhour").''; print "\n"; - + if (preg_match('/myopenid/',$conf->authmode)) { print ''.$langs->trans("url_openid").''; @@ -1043,7 +1048,7 @@ else $langs->load("other"); print ''.$langs->trans("LoginWebcal").''; print ''.$fuser->webcal_login.' '; - print "\n"; + print ''."\n"; } // Module Phenix @@ -1055,7 +1060,7 @@ else print "\n"; print ''.$langs->trans("PassPhenix").''; print ''.preg_replace('/./i','*',$fuser->phenix_pass_crypted).' '; - print "\n"; + print ''."\n"; } // Company / Contact @@ -1082,7 +1087,7 @@ else print ''.img_object($langs->trans("ShowContact"),'contact').' '.dol_trunc($contact->getFullName($langs),32).''; } print ''; - print "\n"; + print ''."\n"; } // Module Adherent @@ -1103,7 +1108,7 @@ else print $langs->trans("UserNotLinkedToMember"); } print ''; - print "\n"; + print ''."\n"; } print "\n"; @@ -1499,7 +1504,7 @@ else print $fuser->email; } print ''; - + // openid if (preg_match('/myopenid/',$conf->authmode)) { @@ -1515,7 +1520,7 @@ else print $fuser->openid; } print ''; - } + } // Statut print ''.$langs->trans("Status").'';