From c1ab2cd23b226e008da6493cc5c7886b548bfc09 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 4 Oct 2009 10:17:25 +0000 Subject: [PATCH] Fix: design --- htdocs/lib/security.lib.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index 4365581f077..236bee20525 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -178,7 +178,9 @@ function dol_loginfunction($langs,$conf,$mysoc) { $urllogo=DOL_URL_ROOT.'/theme/dolibarr_logo.png'; } - print ''."\n"; + $rowspan = 2; + if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) $rowspan++; + print ''."\n"; if (empty($conf->browser->phone)) { print 'Logo'; print $html->selectarray('entity',$entity,$lastentity,0,0,0,1,'tabindex="3"'); print ''."\n"; - print ' '."\n"; } // Security graphical code @@ -217,7 +218,7 @@ function dol_loginfunction($langs,$conf,$mysoc) print '   '.$langs->trans("SecurityCode").''."\n"; print ''."\n"; - print ''."\n"; + print '
'."\n"; // Force width to a small value print ''."\n"; $width=128;$height=36; if (! empty($conf->browser->phone)) $width=64; $height=24;