diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index 236bee20525..275d1c8e601 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -161,7 +161,6 @@ function dol_loginfunction($langs,$conf,$mysoc) print ''."\n"; - // Show logo (search in order: small company logo, large company logo, theme logo, common logo) $width=0; $urllogo=DOL_URL_ROOT.'/theme/login_logo.png'; @@ -190,6 +189,8 @@ function dol_loginfunction($langs,$conf,$mysoc) print ''; print ''."\n"; + if (! empty($conf->browser->phone)) print ' '; // More space with phones + // Password field print '   '.$langs->trans("Password").'   '."\n"; print ' '; // More space with phones + print '   '.$langs->trans("Entity").'   '."\n"; print ''; print $html->selectarray('entity',$entity,$lastentity,0,0,0,1,'tabindex="3"'); @@ -229,7 +232,7 @@ function dol_loginfunction($langs,$conf,$mysoc) print ''; print ''."\n"; } - + print ' '."\n"; print '
'; @@ -238,6 +241,8 @@ function dol_loginfunction($langs,$conf,$mysoc) if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK) || empty($conf->global->MAIN_HELPCENTER_DISABLELINK)) { + if (! empty($conf->browser->phone)) print ' '; // More space with phones + print ''; if (empty($conf->global->MAIN_SECURITY_DISABLEFORGETPASSLINK)) { diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index d4f62d85531..4f745b09505 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -264,6 +264,8 @@ print ''."\n"; if (function_exists("imagecreatefrompng") && ! $disabled) { + if (! empty($conf->browser->phone)) print ' '; // More space with phones + //print "Info session: ".session_name().session_id();print_r($_SESSION); print '   '.$langs->trans("SecurityCode").''; print '';