From 9e8d8c5f5c52bb62163556428e23c14ea222937e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 7 Oct 2016 13:16:33 +0200 Subject: [PATCH 1/2] Fix: pdfmake is not present --- htdocs/main.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 554af48ecd3..3abef5d520f 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1222,8 +1222,8 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs print ''."\n"; print ''."\n"; print ''."\n"; - print ''."\n"; - print ''."\n"; + /*print ''."\n"; + print ''."\n";*/ } // jQuery Timepicker if (! empty($conf->global->MAIN_USE_JQUERY_TIMEPICKER) || defined('REQUIRE_JQUERY_TIMEPICKER')) @@ -1444,7 +1444,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a if ($_SESSION["dol_authmode"] != 'forceuser' && $_SESSION["dol_authmode"] != 'http') { $logouthtmltext.=$langs->trans("Logout").'
'; - + $logouttext .=''; $logouttext .= img_picto($langs->trans('Logout').":".$langs->trans('Logout'), 'logout_top.png', 'class="login"', 0, 0, 1); $logouttext .=''; @@ -1455,7 +1455,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a $logouttext .= img_picto($langs->trans('Logout').":".$langs->trans('Logout'), 'logout_top.png', 'class="login"', 0, 0, 1); } } - + print '
'."\n"; // Add login user link From bac21be15a611a9bd7234262db114fd17bce82b2 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 7 Oct 2016 13:32:34 +0200 Subject: [PATCH 2/2] Fix: remove for avoid errors --- htdocs/main.inc.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 3abef5d520f..09b327967b6 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1222,8 +1222,6 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs print ''."\n"; print ''."\n"; print ''."\n"; - /*print ''."\n"; - print ''."\n";*/ } // jQuery Timepicker if (! empty($conf->global->MAIN_USE_JQUERY_TIMEPICKER) || defined('REQUIRE_JQUERY_TIMEPICKER'))