Make area on home page using div instead of tables

This commit is contained in:
Laurent Destailleur 2011-08-17 22:13:26 +00:00
parent f6a44ba5bb
commit 41fb7beb2a

View File

@ -20,7 +20,7 @@
/**
* \file htdocs/index.php
* \brief Dolibarr home page
* \version $Id: index.php,v 1.202 2011/08/15 17:43:43 eldy Exp $
* \version $Id: index.php,v 1.203 2011/08/17 22:13:26 eldy Exp $
*/
define('NOCSRFCHECK',1); // This is login page. We must be able to go on it from another web site.
@ -90,8 +90,7 @@ if (! empty($conf->global->MAIN_MOTD))
}
if (! empty($conf->global->MAIN_TRY_DIV)) print '<div class="fichecenter"><div class="fichethirdleft">';
else print '<table width="100%" class="notopnoleftnoright"><tr><td valign="top" class="notopnoleft">';
print '<div class="fichecenter"><div class="fichethirdleft">';
/*
@ -255,8 +254,7 @@ if ($user->societe_id == 0)
}
if (! empty($conf->global->MAIN_TRY_DIV)) print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
else print '</td><td width="65%" valign="top" class="notopnoleftnoright">';
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
/*
@ -516,8 +514,7 @@ foreach($dashboardlines as $key => $board)
print '</table>'; // End table array
if (! empty($conf->global->MAIN_TRY_DIV)) print '</div></div></div><div class="fichecenter"><br>';
else print '</td></tr></table>'; // End table left area
print '</div></div></div><div class="fichecenter"><br>';
@ -528,7 +525,7 @@ else print '</td></tr></table>'; // End table left area
printBoxesArea($user,"0");
if (! empty($conf->global->MAIN_TRY_DIV)) print '</div>';
print '</div>';
/*
* Show security warnings
@ -568,7 +565,7 @@ if ($user->admin && empty($conf->global->MAIN_REMOVE_INSTALL_WARNING))
$db->close();
llxFooter('$Date: 2011/08/15 17:43:43 $ - $Revision: 1.202 $');
llxFooter('$Date: 2011/08/17 22:13:26 $ - $Revision: 1.203 $');
/**