From 9144d15393aefd3e470d9ba06d384bdbede10ae1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 7 Oct 2009 16:45:20 +0000 Subject: [PATCH] Better look for smartphone --- htdocs/lib/security.lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index 25f796f1a39..057773394a1 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -219,7 +219,7 @@ function dol_loginfunction($langs,$conf,$mysoc) { //print "Info session: ".session_name().session_id();print_r($_SESSION); print '   '.$langs->trans("SecurityCode").''."\n"; - print ''."\n"; + print ''."\n"; print ''."\n"; // Force width to a small value print ''."\n"; @@ -232,7 +232,7 @@ function dol_loginfunction($langs,$conf,$mysoc) print ''; print ''."\n"; } - + print ''."\n"; print ''; } - + print '
 

'; @@ -261,7 +261,7 @@ function dol_loginfunction($langs,$conf,$mysoc) print ')'; print '
'."\n"; // Hidden fields @@ -279,7 +279,7 @@ function dol_loginfunction($langs,$conf,$mysoc) } if (! empty($conf->global->MAIN_HOME)) { - print '
'; + print '
browser->phone)?' width="750"':'').'>
'; $i=0; while (eregi('__\(([a-zA-Z]+)\)__',$conf->global->MAIN_HOME,$reg) && $i < 100) {