diff --git a/htdocs/resource/agenda.php b/htdocs/resource/agenda.php index a71d381c382..176f8afa851 100644 --- a/htdocs/resource/agenda.php +++ b/htdocs/resource/agenda.php @@ -136,7 +136,8 @@ if ($object->id > 0) { if (getDolGlobalString('MAIN_HTML_TITLE') && preg_match('/productnameonly/', getDolGlobalString('MAIN_HTML_TITLE')) && $object->name) { $title = $object->ref." - ".$title; } - llxHeader('', $title); + $help_url = ''; + llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_agenda'); if (isModEnabled('notification')) { $langs->load("mails"); diff --git a/htdocs/resource/card.php b/htdocs/resource/card.php index 318a1496f6c..9a8d99b2033 100644 --- a/htdocs/resource/card.php +++ b/htdocs/resource/card.php @@ -217,7 +217,8 @@ if (empty($reshook)) { */ $title = $langs->trans($action == 'create' ? 'AddResource' : 'ResourceSingular'); -llxHeader('', $title, ''); +$help_url = ''; +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-resource page-card'); $form = new Form($db); $formresource = new FormResource($db); diff --git a/htdocs/resource/contact.php b/htdocs/resource/contact.php index 5ecd8b2961f..a3feb378b44 100644 --- a/htdocs/resource/contact.php +++ b/htdocs/resource/contact.php @@ -109,7 +109,8 @@ $formcompany = new FormCompany($db); $contactstatic = new Contact($db); $userstatic = new User($db); -llxHeader('', $langs->trans("Resource")); +$help_url = ''; +llxHeader('', $langs->trans("Resource"), $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_contact'); // View and edit mode diff --git a/htdocs/resource/document.php b/htdocs/resource/document.php index 9bf219dfcec..4172ed23178 100644 --- a/htdocs/resource/document.php +++ b/htdocs/resource/document.php @@ -95,8 +95,8 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; */ $form = new Form($db); - -llxHeader('', $langs->trans("Resource")); +$help_url = ''; +llxHeader('', $langs->trans("Resource"), $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_documents'); if ($object->id > 0) { $object->fetch_thirdparty(); diff --git a/htdocs/resource/element_resource.php b/htdocs/resource/element_resource.php index f92b6bbb7ac..e9f25d47d57 100644 --- a/htdocs/resource/element_resource.php +++ b/htdocs/resource/element_resource.php @@ -301,7 +301,8 @@ if ($reshook < 0) { $form = new Form($db); $pagetitle = $langs->trans('ResourceElementPage'); -llxHeader('', $pagetitle, ''); +$help_url = ''; +llxHeader('', $pagetitle, $help_url, '', 0, 0, '', '', '', 'mod-resource page-element_resource'); $now = dol_now(); $delay_warning = $conf->global->MAIN_DELAY_ACTIONS_TODO * 24 * 60 * 60; diff --git a/htdocs/resource/list.php b/htdocs/resource/list.php index 7f09a9d6b3a..236383bbed5 100644 --- a/htdocs/resource/list.php +++ b/htdocs/resource/list.php @@ -358,7 +358,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && !$ // Output page -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-resource page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/resource/note.php b/htdocs/resource/note.php index 391d8b929fa..141a61d47b2 100644 --- a/htdocs/resource/note.php +++ b/htdocs/resource/note.php @@ -72,7 +72,9 @@ if (empty($reshook)) { * View */ -llxHeader(); +$title = ''; +$help_url = ''; +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-resource page-card_notes'); $form = new Form($db);