diff --git a/htdocs/ecm/dir_add_card.php b/htdocs/ecm/dir_add_card.php index ff47ad9e272..5856a5aa4e2 100644 --- a/htdocs/ecm/dir_add_card.php +++ b/htdocs/ecm/dir_add_card.php @@ -206,7 +206,7 @@ if ($action == 'add' && $permissiontoadd) { * View */ -llxHeader('', $langs->trans("ECMNewSection")); +llxHeader('', $langs->trans("ECMNewSection"), '', '', 0, 0, '', '', '', 'mod-ecm page-dir_add_card'); $form = new Form($db); $formecm = new FormEcm($db); diff --git a/htdocs/ecm/dir_card.php b/htdocs/ecm/dir_card.php index 46fe08c71fb..bdaea792248 100644 --- a/htdocs/ecm/dir_card.php +++ b/htdocs/ecm/dir_card.php @@ -289,7 +289,7 @@ if ($module == 'ecm' && $ecmdir->id > 0) { $object->fetch($ecmdir->id); } -llxHeader(); +llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-ecm page-dir_card'); // Built the file List $filearrayall = dol_dir_list($upload_dir, "all", 0, '', '', $sortfield, (strtolower($sortorder) == 'desc' ? SORT_DESC : SORT_ASC), 1); diff --git a/htdocs/ecm/file_card.php b/htdocs/ecm/file_card.php index a2551c18932..9810907fd5e 100644 --- a/htdocs/ecm/file_card.php +++ b/htdocs/ecm/file_card.php @@ -238,7 +238,7 @@ if ($action == 'update' && $permissiontoadd) { $form = new Form($db); -llxHeader(); +llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-ecm page-file_card'); $object->section_id = $ecmdir->id; $object->label = $urlfile; diff --git a/htdocs/ecm/file_note.php b/htdocs/ecm/file_note.php index 1406164aec7..03ffd40d09b 100644 --- a/htdocs/ecm/file_note.php +++ b/htdocs/ecm/file_note.php @@ -126,7 +126,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be 'include' * View */ -llxHeader('', $langs->trans('EcmFiles')); +llxHeader('', $langs->trans('EcmFiles'), '', '', 0, 0, '', '', '', 'mod-ecm page-file_note'); $form = new Form($db); diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index 433b763f842..bb525691c3a 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -332,7 +332,7 @@ $moreheadjs .= ''."\n"; -llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', 0, 0); +llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', 0, 'mod-ecm page-index'); $head = ecm_prepare_dasboard_head(null); print dol_get_fiche_head($head, 'index', '', -1, ''); diff --git a/htdocs/ecm/index_auto.php b/htdocs/ecm/index_auto.php index ce1b824db58..ac7f129ccde 100644 --- a/htdocs/ecm/index_auto.php +++ b/htdocs/ecm/index_auto.php @@ -305,7 +305,7 @@ $moreheadjs .= ''."\n"; -llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', 0, 0); +llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', 0, 'mod-ecm page-index_auto'); // Add sections to manage diff --git a/htdocs/ecm/index_medias.php b/htdocs/ecm/index_medias.php index aec8bbbb5eb..1414bc03c6e 100644 --- a/htdocs/ecm/index_medias.php +++ b/htdocs/ecm/index_medias.php @@ -297,7 +297,7 @@ $moreheadjs .= ''."\n"; -llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', 0, 0); +llxHeader($moreheadcss.$moreheadjs, $langs->trans("ECMArea"), '', '', 0, 0, $morejs, '', 0, 'mod-ecm page-index_medias'); $head = ecm_prepare_dasboard_head(null); print dol_get_fiche_head($head, 'index_medias', '', -1, '');