forked from Wavyzz/dolibarr
Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -268,14 +268,15 @@ class Documentation
|
||||
}
|
||||
|
||||
/**
|
||||
* Output header + body
|
||||
* Output header + body
|
||||
*
|
||||
* @param string $title Title of page
|
||||
* @param string[] $arrayofjs Array of complementary js files
|
||||
* @param string[] $arrayofcss Array of complementary css files
|
||||
* @param string[] $arrayofjs Array of complementary js files
|
||||
* @param string[] $arrayofcss Array of complementary css files
|
||||
* @param string $hidenavmenu Hide nav menu
|
||||
* @return void
|
||||
*/
|
||||
public function docHeader($title = '', $arrayofjs = [], $arrayofcss = [])
|
||||
public function docHeader($title = '', $arrayofjs = [], $arrayofcss = [], $hidenavmenu = '')
|
||||
{
|
||||
global $langs;
|
||||
$title = (!empty($title)) ? dol_escape_htmltag($title) : $langs->trans('Documentation');
|
||||
@@ -284,7 +285,7 @@ class Documentation
|
||||
|
||||
top_htmlhead('', $title, 0, 0, $arrayofjs, $arrayofcss);
|
||||
|
||||
print '<body class="dolibarr-doc'.(GETPOST('hidenavmenu') ? "-bis" : "").'">';
|
||||
print '<body class="dolibarr-doc'.($hidenavmenu ? "-bis" : "").'">';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user