diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php index a78c43fca60..f48ec9e6539 100644 --- a/htdocs/core/class/html.formother.class.php +++ b/htdocs/core/class/html.formother.class.php @@ -1042,7 +1042,7 @@ class FormOther $emptybox->showBox(array(),array()); } print "\n"; - print "\n"; + print "\n"; print '
'; @@ -1073,7 +1073,7 @@ class FormOther $emptybox->showBox(array(),array()); } print "
\n"; - print "\n"; + print "\n"; print '
'; print "\n"; diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php index c6ada78322a..8385982fe70 100644 --- a/htdocs/imports/import.php +++ b/htdocs/imports/import.php @@ -482,7 +482,7 @@ if ($step == 3 && $datatoimport) if ($action == 'delete') { print $form->formconfirm($_SERVER["PHP_SELF"].'?urlfile='.urlencode(GETPOST('urlfile')).'&step=3'.$param, $langs->trans('DeleteFile'), $langs->trans('ConfirmDeleteFile'), 'confirm_deletefile', '', 0, 1); - + } print ''; @@ -824,7 +824,7 @@ if ($step == 4 && $datatoimport) } print "\n"; - print "\n"; + print "\n"; print '
'; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 54fb4f781b7..98adfca23e0 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1506,7 +1506,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a print '
'; print "\n\n"; - if (empty($conf->dol_hide_leftmenu) && (empty($conf->use_javascript_ajax) || ! empty($conf->dol_use_jmobile) || empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT))) print '
'; + if (empty($conf->dol_hide_leftmenu) && empty($conf->dol_use_jmobile) && empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print '
'; } @@ -1537,7 +1537,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me $hookmanager->initHooks(array('searchform','leftblock')); if (empty($conf->dol_use_jmobile) && ! empty($conf->use_javascript_ajax) && ! empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print "\n".'
'."\n"; - else print '
'; + else print '
'; print "\n"; @@ -1715,7 +1715,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me print $leftblock; if (empty($conf->dol_use_jmobile) && ! empty($conf->use_javascript_ajax) && ! empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print '
'."\n"; - else print '
'; // End div id="id-left" + else print '
'; // End div id="id-left" } print "\n"; @@ -1736,10 +1736,7 @@ function main_area($title='') { global $conf, $langs; - if (empty($conf->dol_use_jmobile) && ! empty($conf->use_javascript_ajax) && ! empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) - { - print '
'."\n"; - } + if (empty($conf->dol_use_jmobile) && ! empty($conf->use_javascript_ajax) && ! empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print '
'."\n"; if (empty($conf->dol_hide_leftmenu)) print '
'; print "\n"; @@ -1864,22 +1861,22 @@ if (! function_exists("llxFooter")) } print "\n\n"; - print '
'."\n"; + print '
'."\n"; if (! empty($conf->dol_use_jmobile)) print '
'; // end data-role="page" if (empty($conf->dol_use_jmobile) && ! empty($conf->use_javascript_ajax) && ! empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print '
'."\n"; - if (empty($conf->dol_hide_leftmenu)) print '
'; // End div id-right + if (empty($conf->dol_hide_leftmenu)) print '
'; // End div id-right print "\n"; if ($comment) print ''."\n"; printCommonFooter($zone); - if (empty($conf->dol_hide_leftmenu)) print ''; // End div container + if (empty($conf->dol_hide_leftmenu) && empty($conf->dol_use_jmobile) && empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print ' '."\n"; // End div container print "\n"; print "\n"; } } -?> +?> \ No newline at end of file