From 2caf7e6c0baced89bdf9936dbf54cc20a4761311 Mon Sep 17 00:00:00 2001 From: ATM john Date: Sat, 16 Dec 2023 13:46:47 +0100 Subject: [PATCH] Add llxHeader body css for command --- htdocs/commande/agenda.php | 2 +- htdocs/commande/card.php | 2 +- htdocs/commande/contact.php | 2 +- htdocs/commande/document.php | 2 +- htdocs/commande/list.php | 2 +- htdocs/commande/note.php | 2 +- htdocs/commande/stats/index.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/commande/agenda.php b/htdocs/commande/agenda.php index 00dffc78012..5cf1dd6c184 100644 --- a/htdocs/commande/agenda.php +++ b/htdocs/commande/agenda.php @@ -128,7 +128,7 @@ if ($object->id > 0) { $title = $langs->trans("Agenda"); //if (!empty($conf->global->MAIN_HTML_TITLE) && preg_match('/thirdpartynameonly/',$conf->global->MAIN_HTML_TITLE) && $object->name) $title=$object->name." - ".$title; $help_url = 'EN:Module_Agenda_En|DE:Modul_Terminplanung'; - llxHeader('', $title, $help_url); + llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-card_agenda'); if (isModEnabled('notification')) { $langs->load("mails"); diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 791f67fcd56..63d8d4c1462 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -1638,7 +1638,7 @@ if ($action == 'create') { } $help_url = 'EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes|DE:Modul_Kundenaufträge'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-card'); $form = new Form($db); $formfile = new FormFile($db); diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php index a5fc715eb38..f02212c7c3f 100644 --- a/htdocs/commande/contact.php +++ b/htdocs/commande/contact.php @@ -119,7 +119,7 @@ if ($id > 0 || !empty($ref)) { $title = $object->ref." - ".$langs->trans('ContactsAddresses'); $help_url = 'EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes|DE:Modul_Kundenaufträge'; - llxHeader('', $title, $help_url); + llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-card_contact'); $head = commande_prepare_head($object); print dol_get_fiche_head($head, 'contact', $langs->trans("CustomerOrder"), -1, 'order'); diff --git a/htdocs/commande/document.php b/htdocs/commande/document.php index 66964b2636a..96f97f4a6d6 100644 --- a/htdocs/commande/document.php +++ b/htdocs/commande/document.php @@ -100,7 +100,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php'; */ $title = $object->ref." - ".$langs->trans('Documents'); $help_url = 'EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes|DE:Modul_Kundenaufträge'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-card_documents'); $form = new Form($db); diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 8c8f661fac8..9d7a70bf305 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -1148,7 +1148,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-list'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php index edcd2a14f16..368a8333317 100644 --- a/htdocs/commande/note.php +++ b/htdocs/commande/note.php @@ -83,7 +83,7 @@ if (empty($reshook)) { */ $title = $object->ref." - ".$langs->trans('Notes'); $help_url = 'EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes|DE:Modul_Kundenaufträge'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-card_notes'); $form = new Form($db); diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php index 702ee59d5e9..b1c4a814fc0 100644 --- a/htdocs/commande/stats/index.php +++ b/htdocs/commande/stats/index.php @@ -101,7 +101,7 @@ if ($mode == 'supplier') { $dir = $conf->fournisseur->commande->dir_temp; } -llxHeader('', $title); +llxHeader('', $title, '', '', 0, 0, '', '', '', 'mod-order page-stats'); print load_fiche_titre($title, '', $picto);