diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 33dde1369a1..4f9c5fd05da 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -753,6 +753,7 @@ if (! function_exists("llxHeader")) top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); // Show html headers top_menu($head, $title, $target, $disablejs, $disablehead, $arrayofjs, $arrayofcss); left_menu('', $help_url); + main_area(); } } @@ -862,6 +863,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs print ''."\n"; print ''."\n"; print ''."\n"; + //print ''."\n"; // This one is required for some Ajax features if (! defined('DISABLE_PROTOTYPE') && $conf->global->MAIN_USE_PROTOTYPE) @@ -1228,14 +1230,25 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me print "\n"; print "\n"; + + print ''; print ''."\n"; // print ''."\n"; // print '
'."\n"; - print ''."\n"; - +} +/** + * Begin main area + */ +function main_area() +{ + global $conf, $langs; + + print ''."\n"; + print "\n"; + print '
'."\n"; if (! empty($conf->global->MAIN_ONLY_LOGIN_ALLOWED)) print info_admin($langs->trans("WarningYouAreInMaintenanceMode",$conf->global->MAIN_ONLY_LOGIN_ALLOWED));