diff --git a/htdocs/index.php b/htdocs/index.php index d6ce8c90067..bce4c521ad5 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -100,7 +100,7 @@ if (! empty($conf->global->MAIN_MOTD)) } -print '
'; + /* @@ -112,7 +112,7 @@ $boxstat=''; // Load translation files required by page $langs->loadLangs(array('commercial', 'bills', 'orders', 'contracts')); -if (empty($user->societe_id)) +if (empty($user->societe_id) && empty($conf->global->MAIN_DISABLE_GLOBAL_BOXSTATS)) { $boxstat.='
'; $boxstat.=''; @@ -359,9 +359,8 @@ if (empty($user->societe_id)) $boxstat.='
'; $boxstat.='
'; } -//print $boxstat; -print '
'; + /* @@ -636,7 +635,13 @@ $boxwork.=''; $boxwork.=''; // End table array of working board $boxwork.='
'; -print '
'; + + +print '
'; +print $boxwork; +print '
'; + +print '
'; print '
'; @@ -649,7 +654,7 @@ $boxlist.='
'; $boxlist.='
'; -$boxlist.=$boxwork; +//$boxlist.=$boxwork; $boxlist.=$resultboxes['boxlista']; $boxlist.= '
';