From ad39392d591142ca1e2c3e491d5024836f85ac93 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 29 Oct 2010 17:54:15 +0000 Subject: [PATCH] Test: use jquery layout for the left menu --- htdocs/main.inc.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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));