forked from Wavyzz/dolibarr
Fix warning
This commit is contained in:
@@ -259,14 +259,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');
|
||||
@@ -275,7 +276,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