diff --git a/htdocs/core/get_menudiv.php b/htdocs/core/get_menudiv.php index 59ab4c9ecf3..cdc1391e2bb 100644 --- a/htdocs/core/get_menudiv.php +++ b/htdocs/core/get_menudiv.php @@ -48,9 +48,10 @@ $left=($langs->trans("DIRECTION")=='rtl'?'right':'left'); $title=$langs->trans("Menu"); // URL http://mydolibarr/core/get_menudiv.php?dol_use_jmobile=1 can be used for tests +$head=''."\n"; $arrayofjs=array(); $arrayofcss=array(); -top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); +top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); print ''."\n"; diff --git a/htdocs/core/search_page.php b/htdocs/core/search_page.php index 1ea6138873e..a2516c160a3 100644 --- a/htdocs/core/search_page.php +++ b/htdocs/core/search_page.php @@ -45,12 +45,18 @@ $left=($langs->trans("DIRECTION")=='rtl'?'right':'left'); * View */ +$title=$langs->trans("Search"); + // URL http://mydolibarr/core/search_page?dol_use_jmobile=1 can be used for tests -top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); +$head=''."\n"; +$arrayofjs=array(); +$arrayofcss=array(); +top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); -print ''."\n"; +print ''."\n"; +print '
'; //print '
'; $nbofsearch=0; @@ -112,6 +118,7 @@ print '
'."\n"; print ''; print "\n"; +print ''; print ''."\n"; $db->close(); diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index f2905e95181..48169cdfd31 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1685,6 +1685,7 @@ function main_area($title='') print "\n"; + if (! empty($conf->dol_use_jmobile)) print '
'; print '
'."\n"; if (! empty($conf->global->MAIN_ONLY_LOGIN_ALLOWED)) print info_admin($langs->trans("WarningYouAreInMaintenanceMode",$conf->global->MAIN_ONLY_LOGIN_ALLOWED)); } @@ -1804,7 +1805,7 @@ if (! function_exists("llxFooter")) print "\n\n"; print '
'."\n"; - + if (! empty($conf->dol_use_jmobile)) print '
'; // end data-role="page" //XXX print "\n".' '."\n"; if (! empty($conf->use_javascript_ajax) && ! empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) print ' '."\n";