diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index 8a5b6bf34b4..4365581f077 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -121,7 +121,7 @@ function dol_loginfunction($langs,$conf,$mysoc) // Table 2 print ''."\n"; - print ''; + print ''."\n"; print ''; @@ -157,10 +157,10 @@ function dol_loginfunction($langs,$conf,$mysoc) } // Login field - print ''; + print ''."\n"; print ''; + print '" tabindex="1" />'."\n"; // Show logo (search in order: small company logo, large company logo, theme logo, common logo) $width=0; @@ -178,7 +178,7 @@ function dol_loginfunction($langs,$conf,$mysoc) { $urllogo=DOL_URL_ROOT.'/theme/dolibarr_logo.png'; } - print ''; + print ''."\n"; print ''; + print ''."\n"; // Entity field if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) @@ -203,32 +203,33 @@ function dol_loginfunction($langs,$conf,$mysoc) //TODO: creer class $entity = array('1'=>'company1','2'=>'company2'); - print ''; + print ''."\n"; print ''; + print ''."\n"; + print ''."\n"; } - print ''."\n"; - // Security graphical code if (function_exists("imagecreatefrompng") && ! empty($conf->global->MAIN_SECURITY_ENABLECAPTCHA)) { //print "Info session: ".session_name().session_id();print_r($_SESSION); - print ''; - print ''."\n"; + print ''."\n"; + print ''."\n"; + print '
 
 
  '.$langs->trans("Login").'     '.$langs->trans("Login").'   '; + print ''."\n"; if (empty($conf->browser->phone)) { print 'Logo'."\n"; // Password field - print '
  '.$langs->trans("Password").'  
  '.$langs->trans("Password").'   '; - print '
  '.$langs->trans("Entity").'  
  '.$langs->trans("Entity").'   '; print $html->selectarray('entity',$entity,$lastentity,0,0,0,1,'tabindex="3"'); - print '
 
 
  '.$langs->trans("SecurityCode").''; + print '
  '.$langs->trans("SecurityCode").''."\n"; - print ''; - print ''; + print '
'."\n"; + print ''."\n"; $width=128;$height=36; if (! empty($conf->browser->phone)) $width=64; $height=24; - print ''; - print ''; - print '
'.img_refresh().'
'; + print '
'.img_refresh().'
'."\n"; print ''; - print ''; + print ''."\n"; } + + print ' '."\n"; print '
'; print '';