diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 26ab85940ff..d6689c1612a 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -304,7 +304,7 @@ function top_htmlhead($head, $title="", $target="") if ($conf->use_javascript) { - print ''; + print ''; } print "\n"; @@ -322,7 +322,7 @@ function top_menu($head, $title="", $target="") top_htmlhead($head, $title, $target); - print '
'; + print ''; /* * Si la constante MAIN_NEED_UPDATE est définie (par le script de migration sql en général), c'est que @@ -366,7 +366,10 @@ function top_menu($head, $title="", $target="") print 'atarget?(' target="'.$menutop->atarget.'"'):''; print '>'; - print '
';
+ print '
';
+ print '';
}
print "\n";
@@ -513,7 +516,7 @@ function printSearchForm($urlaction,$urlobject,$title,$htmlmodesearch='search',$
function llxFooter($foot='')
{
- global $dolibarr_auto_user, $micro_start_time;
+ global $conf, $dolibarr_auto_user, $micro_start_time;
print "\n\n".''."\n";
print "\n\n".'';
@@ -523,7 +526,16 @@ function llxFooter($foot='')
print '';
print "\n";
}
+
+ if ($conf->use_javascript)
+ {
+ print '';
+ }
+
+ // Juste pour éviter bug IE qui réorganise mal div précédents si celui-ci absent
+ print "\n".'