diff --git a/htdocs/accountancy/customer/list.php b/htdocs/accountancy/customer/list.php index ccafecb446b..01716baab82 100644 --- a/htdocs/accountancy/customer/list.php +++ b/htdocs/accountancy/customer/list.php @@ -1,11 +1,11 @@ - * Copyright (C) 2013-2024 Alexandre Spangaro - * Copyright (C) 2014-2015 Ari Elbaz (elarifr) - * Copyright (C) 2013-2021 Florian Henry - * Copyright (C) 2014 Juanjo Menent - * Copyright (C) 2016 Laurent Destailleur - * Copyright (C) 2021 Gauthier VERDOL +/* Copyright (C) 2013-2014 Olivier Geffroy + * Copyright (C) 2013-2024 Alexandre Spangaro + * Copyright (C) 2014-2015 Ari Elbaz (elarifr) + * Copyright (C) 2013-2021 Florian Henry + * Copyright (C) 2014 Juanjo Menent + * Copyright (C) 2016 Laurent Destailleur + * Copyright (C) 2021 Gauthier VERDOL * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -232,7 +232,7 @@ $formother = new FormOther($db); $help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilité_en_Partie_Double#Liaisons_comptables'; -llxHeader('', $langs->trans("CustomersVentilation"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy accountancy-customer page-list'); +llxHeader('', $langs->trans("CustomersVentilation"), $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-accountancy accountancy-customer page-list'); if (empty($chartaccountcode)) { print $langs->trans("ErrorChartOfAccountSystemNotSelected"); diff --git a/htdocs/accountancy/expensereport/list.php b/htdocs/accountancy/expensereport/list.php index 1c2e3f9e20c..a9d51afb1d1 100644 --- a/htdocs/accountancy/expensereport/list.php +++ b/htdocs/accountancy/expensereport/list.php @@ -1,11 +1,11 @@ - * Copyright (C) 2013-2024 Alexandre Spangaro - * Copyright (C) 2014-2015 Ari Elbaz (elarifr) - * Copyright (C) 2013-2014 Florian Henry - * Copyright (C) 2014 Juanjo Menent - * Copyright (C) 2016 Laurent Destailleur - * Copyright (C) 2024 Frédéric France +/* Copyright (C) 2013-2014 Olivier Geffroy + * Copyright (C) 2013-2024 Alexandre Spangaro + * Copyright (C) 2014-2015 Ari Elbaz (elarifr) + * Copyright (C) 2013-2014 Florian Henry + * Copyright (C) 2014 Juanjo Menent + * Copyright (C) 2016 Laurent Destailleur + * Copyright (C) 2024 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -225,7 +225,7 @@ $formother = new FormOther($db); $help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilité_en_Partie_Double#Liaisons_comptables'; -llxHeader('', $langs->trans("ExpenseReportsVentilation"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy accountancy-expensereport page-list'); +llxHeader('', $langs->trans("ExpenseReportsVentilation"), $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-accountancy accountancy-expensereport page-list'); if (empty($chartaccountcode)) { print $langs->trans("ErrorChartOfAccountSystemNotSelected"); diff --git a/htdocs/accountancy/supplier/list.php b/htdocs/accountancy/supplier/list.php index 4d04a33b5d0..871af8194eb 100644 --- a/htdocs/accountancy/supplier/list.php +++ b/htdocs/accountancy/supplier/list.php @@ -1,11 +1,11 @@ - * Copyright (C) 2013-2024 Alexandre Spangaro - * Copyright (C) 2014-2015 Ari Elbaz (elarifr) - * Copyright (C) 2013-2021 Florian Henry - * Copyright (C) 2021 Gauthier VERDOL - * Copyright (C) 2014 Juanjo Menent s - * Copyright (C) 2016 Laurent Destailleur +/* Copyright (C) 2013-2014 Olivier Geffroy + * Copyright (C) 2013-2024 Alexandre Spangaro + * Copyright (C) 2014-2015 Ari Elbaz (elarifr) + * Copyright (C) 2013-2021 Florian Henry + * Copyright (C) 2021 Gauthier VERDOL + * Copyright (C) 2014 Juanjo Menent s + * Copyright (C) 2016 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -234,7 +234,7 @@ $formother = new FormOther($db); $help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilité_en_Partie_Double#Liaisons_comptables'; -llxHeader('', $langs->trans("SuppliersVentilation"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy accountancy-supplier page-list'); +llxHeader('', $langs->trans("SuppliersVentilation"), $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-accountancy accountancy-supplier page-list'); if (empty($chartaccountcode)) { print $langs->trans("ErrorChartOfAccountSystemNotSelected"); diff --git a/htdocs/adherents/subscription/list.php b/htdocs/adherents/subscription/list.php index c80b54be482..7062d83d122 100644 --- a/htdocs/adherents/subscription/list.php +++ b/htdocs/adherents/subscription/list.php @@ -1,7 +1,8 @@ - * Copyright (C) 2003 Jean-Louis Bergamo - * Copyright (C) 2004-2023 Laurent Destailleur +/* Copyright (C) 2001-2002 Rodolphe Quiedeville + * Copyright (C) 2003 Jean-Louis Bergamo + * Copyright (C) 2004-2023 Laurent Destailleur + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -292,7 +293,7 @@ if (!empty($date_select)) { } $help_url = 'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros|DE:Modul_Mitglieder'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/admin/emailcollector_list.php b/htdocs/admin/emailcollector_list.php index a01c9f1c6d9..351a4fbbf18 100644 --- a/htdocs/admin/emailcollector_list.php +++ b/htdocs/admin/emailcollector_list.php @@ -1,5 +1,6 @@ +/* Copyright (C) 2007-2017 Laurent Destailleur + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -309,7 +310,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-user page-emailcollector_list'); +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist mod-user page-emailcollector_list'); $linkback = ''.$langs->trans("BackToModuleList").''; diff --git a/htdocs/asset/list.php b/htdocs/asset/list.php index 7efb3102429..8e1057d0bc8 100644 --- a/htdocs/asset/list.php +++ b/htdocs/asset/list.php @@ -1,7 +1,7 @@ - * Copyright (C) 2018 Alexandre Spangaro - * Copyright (C) 2018 Ferran Marcet +/* Copyright (C) 2007-2017 Laurent Destailleur + * Copyright (C) 2018-2024 Alexandre Spangaro + * Copyright (C) 2018 Ferran Marcet * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -354,7 +354,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-asset page-list'); +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist mod-asset page-list'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/asset/model/list.php b/htdocs/asset/model/list.php index b3cd864387c..f9418a51f57 100644 --- a/htdocs/asset/model/list.php +++ b/htdocs/asset/model/list.php @@ -1,6 +1,6 @@ - * Copyright (C) 2018 Alexandre Spangaro +/* Copyright (C) 2007-2017 Laurent Destailleur + * Copyright (C) 2018-2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -357,7 +357,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-asset page-model-list'); +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist mod-asset page-model-list'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php index 30c979dd830..86af171516d 100644 --- a/htdocs/blockedlog/admin/blockedlog_list.php +++ b/htdocs/blockedlog/admin/blockedlog_list.php @@ -1,8 +1,9 @@ - * Copyright (C) 2017-2018 Laurent Destailleur - * Copyright (C) 2018 Frédéric France +/* Copyright (C) 2017 ATM Consulting + * Copyright (C) 2017-2018 Laurent Destailleur + * Copyright (C) 2018 Frédéric France * Copyright (C) 2024 MDW + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -306,7 +307,7 @@ if (GETPOST('withtab', 'alpha')) { } $help_url = "EN:Module_Unalterable_Archives_-_Logs|FR:Module_Archives_-_Logs_Inaltérable"; -llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-blockedlog page-admin_blockedlog_list'); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-blockedlog page-admin_blockedlog_list'); $MAXLINES = 10000; diff --git a/htdocs/bookmarks/list.php b/htdocs/bookmarks/list.php index ac4b4fc3d8c..8d9896433df 100644 --- a/htdocs/bookmarks/list.php +++ b/htdocs/bookmarks/list.php @@ -1,5 +1,6 @@ +/* Copyright (C) 2005-2022 Laurent Destailleur + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -213,7 +214,7 @@ $num = $db->num_rows($resql); // Output page // -------------------------------------------------------------------- -llxHeader('', $title, '', '', 0, 0, '', '', '', 'mod-bookmarks page-list'); +llxHeader('', $title, '', '', 0, 0, '', '', '', 'bodyforlist mod-bookmarks page-list'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index 420ff107c5f..fa3b146865d 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -1,12 +1,13 @@ - * Copyright (C) 2003 Eric Seigne - * Copyright (C) 2004-2016 Laurent Destailleur - * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2017 Open-DSI - * Copyright (C) 2018-2024 Frédéric France - * Copyright (C) 2020 Tobias Sekan +/* Copyright (C) 2001-2004 Rodolphe Quiedeville + * Copyright (C) 2003 Eric Seigne + * Copyright (C) 2004-2016 Laurent Destailleur + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2017 Open-DSI + * Copyright (C) 2018-2024 Frédéric France + * Copyright (C) 2020 Tobias Sekan * Copyright (C) 2024 MDW + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -295,7 +296,7 @@ $now = dol_now(); $help_url = 'EN:Module_Agenda_En|FR:Module_Agenda|ES:M&omodulodulo_Agenda|DE:Modul_Terminplanung'; $title = $langs->trans("Agenda"); -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); // Define list of all external calendars $listofextcals = array(); diff --git a/htdocs/comm/mailing/list.php b/htdocs/comm/mailing/list.php index a1f3df49b18..e1f4a4cb591 100644 --- a/htdocs/comm/mailing/list.php +++ b/htdocs/comm/mailing/list.php @@ -1,7 +1,8 @@ - * Copyright (C) 2005-2010 Regis Houssin +/* Copyright (C) 2005-2023 Laurent Destailleur + * Copyright (C) 2005-2010 Regis Houssin * Copyright (C) 2024 MDW + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -268,7 +269,7 @@ if ($filteremail) { $title .= ' ('.$langs->trans("SentTo", $filteremail).')'; } -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php index 23ea35a2f09..bfdff73df75 100644 --- a/htdocs/comm/propal/list.php +++ b/htdocs/comm/propal/list.php @@ -1,22 +1,22 @@ - * Copyright (C) 2004-2016 Laurent Destailleur - * Copyright (C) 2004 Eric Seigne - * Copyright (C) 2005 Marc Barilley / Ocebo - * Copyright (C) 2005-2013 Regis Houssin - * Copyright (C) 2006 Andre Cianfarani - * Copyright (C) 2010-2011 Juanjo Menent - * Copyright (C) 2010-2022 Philippe Grand - * Copyright (C) 2012 Christophe Battarel - * Copyright (C) 2013 Cédric Salvador - * Copyright (C) 2015 Jean-François Ferry - * Copyright (C) 2016-2021 Ferran Marcet - * Copyright (C) 2017-2023 Charlene Benke - * Copyright (C) 2018 Nicolas ZABOURI - * Copyright (C) 2019-2021 Alexandre Spangaro - * Copyright (C) 2021 Anthony Berton - * Copyright (C) 2021-2024 Frédéric France - * Copyright (C) 2022 Josep Lluís Amador +/* Copyright (C) 2001-2007 Rodolphe Quiedeville + * Copyright (C) 2004-2016 Laurent Destailleur + * Copyright (C) 2004 Eric Seigne + * Copyright (C) 2005 Marc Barilley / Ocebo + * Copyright (C) 2005-2013 Regis Houssin + * Copyright (C) 2006 Andre Cianfarani + * Copyright (C) 2010-2011 Juanjo Menent + * Copyright (C) 2010-2022 Philippe Grand + * Copyright (C) 2012 Christophe Battarel + * Copyright (C) 2013 Cédric Salvador + * Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2016-2021 Ferran Marcet + * Copyright (C) 2017-2023 Charlene Benke + * Copyright (C) 2018 Nicolas ZABOURI + * Copyright (C) 2019-2024 Alexandre Spangaro + * Copyright (C) 2021 Anthony Berton + * Copyright (C) 2021-2024 Frédéric France + * Copyright (C) 2022 Josep Lluís Amador * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -876,7 +876,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s } $help_url = 'EN:Commercial_Proposals|FR:Proposition_commerciale|ES:Presupuestos'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $param = '&search_status='.urlencode($search_status); if (!empty($mode)) { diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 1202547aeda..88fe138c231 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -1,20 +1,21 @@ - * Copyright (C) 2004-2019 Laurent Destailleur - * Copyright (C) 2005 Marc Barilley / Ocebo - * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2012 Juanjo Menent - * Copyright (C) 2013 Christophe Battarel - * Copyright (C) 2013 Cédric Salvador - * Copyright (C) 2015-2024 Frédéric France - * Copyright (C) 2015 Marcos García - * Copyright (C) 2015 Jean-François Ferry - * Copyright (C) 2016-2023 Ferran Marcet - * Copyright (C) 2018-2023 Charlene Benke - * Copyright (C) 2021-2024 Anthony Berton - * Copyright (C) 2024 MDW - * Copyright (C) 2024 Noé Cendrier - * Copyright (C) 2024 Benjamin Falière +/* Copyright (C) 2001-2005 Rodolphe Quiedeville + * Copyright (C) 2004-2019 Laurent Destailleur + * Copyright (C) 2005 Marc Barilley / Ocebo + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2012 Juanjo Menent + * Copyright (C) 2013 Christophe Battarel + * Copyright (C) 2013 Cédric Salvado + * Copyright (C) 2015-2024 Frédéric France + * Copyright (C) 2015 Marcos García + * Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2016-2023 Ferran Marcet + * Copyright (C) 2018-2023 Charlene Benke + * Copyright (C) 2021-2024 Anthony Berton + * Copyright (C) 2024 MDW + * Copyright (C) 2024 Noé Cendrier + * Copyright (C) 2024 Benjamin Falière + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1205,7 +1206,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-order page-list'); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-order page-list'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/commande/list_det.php b/htdocs/commande/list_det.php index 3808f0346b1..a52d304ccbd 100644 --- a/htdocs/commande/list_det.php +++ b/htdocs/commande/list_det.php @@ -30,7 +30,7 @@ */ /** - * \file htdocs/commande/list.php + * \file htdocs/commande/list_det.php * \ingroup order * \brief Page to list orders */ diff --git a/htdocs/compta/bank/list.php b/htdocs/compta/bank/list.php index 64c4d7d5fc6..65d24516de5 100644 --- a/htdocs/compta/bank/list.php +++ b/htdocs/compta/bank/list.php @@ -1,11 +1,12 @@ - * Copyright (C) 2004-2019 Laurent Destailleur - * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2015 Jean-François Ferry - * Copyright (C) 2018 Ferran Marcet - * Copyright (C) 2020 Tobias Sekan +/* Copyright (C) 2001-2005 Rodolphe Quiedeville + * Copyright (C) 2004-2019 Laurent Destailleur + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2018 Ferran Marcet + * Copyright (C) 2020 Tobias Sekan * Copyright (C) 2024 MDW + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -307,7 +308,7 @@ if ($resql) { -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/compta/bank/various_payment/list.php b/htdocs/compta/bank/various_payment/list.php index 192f07814df..20ae06c02ce 100644 --- a/htdocs/compta/bank/various_payment/list.php +++ b/htdocs/compta/bank/various_payment/list.php @@ -1,8 +1,8 @@ - * Copyright (C) 2017 Laurent Destailleur - * Copyright (C) 2018 Frédéric France - * Copyright (C) 2020 Tobias Sekan +/* Copyright (C) 2017-2024 Alexandre Spangaro + * Copyright (C) 2017 Laurent Destailleur + * Copyright (C) 2018 Frédéric France + * Copyright (C) 2020 Tobias Sekan * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -368,7 +368,7 @@ if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $sear // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index c91a4e15a7f..e16c7615ab8 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -1,24 +1,24 @@ - * Copyright (C) 2004 Eric Seigne - * Copyright (C) 2004-2016 Laurent Destailleur - * Copyright (C) 2005 Marc Barilley / Ocebo - * Copyright (C) 2005-2015 Regis Houssin - * Copyright (C) 2006 Andre Cianfarani - * Copyright (C) 2010-2020 Juanjo Menent - * Copyright (C) 2012 Christophe Battarel - * Copyright (C) 2013 Florian Henry - * Copyright (C) 2013 Cédric Salvador - * Copyright (C) 2015 Jean-François Ferry - * Copyright (C) 2015-2022 Ferran Marcet - * Copyright (C) 2017 Josep Lluís Amador - * Copyright (C) 2018 Charlene Benke - * Copyright (C) 2019-2021 Alexandre Spangaro +/* Copyright (C) 2002-2006 Rodolphe Quiedeville + * Copyright (C) 2004 Eric Seigne + * Copyright (C) 2004-2016 Laurent Destailleur + * Copyright (C) 2005 Marc Barilley / Ocebo + * Copyright (C) 2005-2015 Regis Houssin + * Copyright (C) 2006 Andre Cianfarani + * Copyright (C) 2010-2020 Juanjo Menent + * Copyright (C) 2012 Christophe Battarel + * Copyright (C) 2013 Florian Henry + * Copyright (C) 2013 Cédric Salvador + * Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2015-2022 Ferran Marcet + * Copyright (C) 2017 Josep Lluís Amador + * Copyright (C) 2018 Charlene Benke + * Copyright (C) 2019-2024 Alexandre Spangaro * Copyright (C) 2023 Nick Fragoulis - * Copyright (C) 2023 Joachim Kueter - * Copyright (C) 2024 MDW - * Copyright (C) 2024 Frédéric France - * Copyright (C) 2021-2024 Anthony Berton + * Copyright (C) 2023 Joachim Kueter + * Copyright (C) 2024 MDW + * Copyright (C) 2024 Frédéric France + * Copyright (C) 2021-2024 Anthony Berton * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1010,7 +1010,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, '', '', '', 'bodyforlist'); $param = '&socid='.urlencode((string) ($socid)); if (!empty($mode)) { diff --git a/htdocs/compta/paiement/cheque/list.php b/htdocs/compta/paiement/cheque/list.php index f1ec919283f..504ace20ea0 100644 --- a/htdocs/compta/paiement/cheque/list.php +++ b/htdocs/compta/paiement/cheque/list.php @@ -1,9 +1,9 @@ - * Copyright (C) 2007-2016 Laurent Destailleur - * Copyright (C) 2009-2012 Regis Houssin - * Copyright (C) 2014 Alexandre Spangaro - * Copyright (C) 2016 Juanjo Menent +/* Copyright (C) 2006 Rodolphe Quiedeville + * Copyright (C) 2007-2016 Laurent Destailleur + * Copyright (C) 2009-2012 Regis Houssin + * Copyright (C) 2014-2024 Alexandre Spangaro + * Copyright (C) 2016 Juanjo Menent * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -141,7 +141,7 @@ if (empty($reshook)) { $form = new Form($db); -llxHeader('', $langs->trans("ChequeDeposits")); +llxHeader('', $langs->trans("ChequeDeposits"), '', 0, 0, '', '', '', 'bodyforlist'); $sql = "SELECT bc.rowid, bc.ref, bc.date_bordereau,"; $sql .= " bc.nbcheque, bc.amount, bc.statut, bc.type,"; diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php index 279581096ea..ff73e8a880e 100644 --- a/htdocs/compta/paiement/list.php +++ b/htdocs/compta/paiement/list.php @@ -1,14 +1,14 @@ - * Copyright (C) 2004-2011 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2013 Cédric Salvador - * Copyright (C) 2015 Jean-François Ferry - * Copyright (C) 2015 Juanjo Menent - * Copyright (C) 2017-2023 Alexandre Spangaro - * Copyright (C) 2018-2021 Ferran Marcet - * Copyright (C) 2018 Charlene Benke - * Copyright (C) 2020 Tobias Sekan +/* Copyright (C) 2001-2006 Rodolphe Quiedeville + * Copyright (C) 2004-2011 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2013 Cédric Salvador + * Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2015 Juanjo Menent + * Copyright (C) 2017-2024 Alexandre Spangaro + * Copyright (C) 2018-2021 Ferran Marcet + * Copyright (C) 2018 Charlene Benke + * Copyright (C) 2020 Tobias Sekan * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -177,7 +177,7 @@ $accountstatic = new Account($db); $companystatic = new Societe($db); $bankline = new AccountLine($db); -llxHeader('', $langs->trans('ListPayment')); +llxHeader('', $langs->trans('ListPayment'), '', 0, 0, '', '', '', 'bodyforlist'); if (GETPOST("orphelins", "alpha")) { // Payments not linked to an invoice. Should not happen. For debug only. diff --git a/htdocs/compta/prelevement/list.php b/htdocs/compta/prelevement/list.php index 8ac9dff407a..72ce59256d5 100644 --- a/htdocs/compta/prelevement/list.php +++ b/htdocs/compta/prelevement/list.php @@ -1,9 +1,9 @@ - * Copyright (C) 2005-2016 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2010-2018 Juanjo Menent - * Copyright (C) 2022 Alexandre Spangaro +/* Copyright (C) 2005 Rodolphe Quiedeville + * Copyright (C) 2005-2016 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2010-2018 Juanjo Menent + * Copyright (C) 2022-2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -247,7 +247,7 @@ $num = $db->num_rows($resql); // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/compta/prelevement/orders_list.php b/htdocs/compta/prelevement/orders_list.php index fbf0519c6e8..c8da5cfdd48 100644 --- a/htdocs/compta/prelevement/orders_list.php +++ b/htdocs/compta/prelevement/orders_list.php @@ -1,8 +1,9 @@ - * Copyright (C) 2005-2017 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2010-2012 Juanjo Menent +/* Copyright (C) 2005 Rodolphe Quiedeville + * Copyright (C) 2005-2017 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2010-2012 Juanjo Menent + * Copyright (C) 2024 Alexandre Spangaro * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -231,7 +232,7 @@ $num = $db->num_rows($resql); // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); $param = ''; diff --git a/htdocs/compta/sociales/list.php b/htdocs/compta/sociales/list.php index d7ac5034db2..550c532ddb5 100644 --- a/htdocs/compta/sociales/list.php +++ b/htdocs/compta/sociales/list.php @@ -1,12 +1,12 @@ - * Copyright (C) 2004-2017 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2016 Frédéric France - * Copyright (C) 2020 Pierre Ardoin - * Copyright (C) 2020 Tobias Sekan - * Copyright (C) 2021 Gauthier VERDOL - * Copyright (C) 2021-2023 Alexandre Spangaro +/* Copyright (C) 2001-2003 Rodolphe Quiedeville + * Copyright (C) 2004-2017 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2016 Frédéric France + * Copyright (C) 2020 Pierre Ardoin + * Copyright (C) 2020 Tobias Sekan + * Copyright (C) 2021 Gauthier VERDOL + * Copyright (C) 2021-2024 Alexandre Spangaro * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -195,7 +195,7 @@ $formsocialcontrib = new FormSocialContrib($db); $chargesociale_static = new ChargeSociales($db); $projectstatic = new Project($db); -llxHeader('', $langs->trans("SocialContributions")); +llxHeader('', $langs->trans("SocialContributions"), '', 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/compta/tva/list.php b/htdocs/compta/tva/list.php index 4dbc0a50dcf..6632aa90563 100644 --- a/htdocs/compta/tva/list.php +++ b/htdocs/compta/tva/list.php @@ -1,10 +1,10 @@ - * Copyright (C) 2004-2020 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin - * Copyright (C) 2011-2019 Alexandre Spangaro - * Copyright (C) 2020 Tobias Sekan - * Copyright (C) 2021 Gauthier VERDOL +/* Copyright (C) 2001-2003 Rodolphe Quiedeville + * Copyright (C) 2004-2020 Laurent Destailleur + * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2011-2024 Alexandre Spangaro + * Copyright (C) 2020 Tobias Sekan + * Copyright (C) 2021 Gauthier VERDOL * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -259,7 +259,7 @@ $num = $db->num_rows($resql); // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php index 0ee1f2ae461..bc5af219667 100644 --- a/htdocs/contrat/list.php +++ b/htdocs/contrat/list.php @@ -585,7 +585,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $langs->trans("Contracts")); +llxHeader('', $langs->trans("Contracts"), '', 0, 0, '', '', '', 'bodyforlist'); $i = 0; diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index a01807c45ae..215bfb4e40d 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -238,9 +238,9 @@ if (empty($reshook)) { $form = new Form($db); $cronjob = new Cronjob($db); -$pagetitle = $langs->trans("CronList"); +$title = $langs->trans("CronList"); -llxHeader('', $pagetitle); +llxHeader('', $title, '', 0, 0, '', '', '', 'bodyforlist'); $TTestNotAllowed = array(); $sqlTest = 'SELECT rowid, test FROM '.MAIN_DB_PREFIX.'cronjob'; @@ -424,7 +424,7 @@ if ($mode == 'modulesetup') { } -print_barre_liste($pagetitle, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, ($mode == 'modulesetup' ? '' : 'title_setup'), 0, $newcardbutton, '', $limit); +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, ($mode == 'modulesetup' ? '' : 'title_setup'), 0, $newcardbutton, '', $limit); // Add code for pre mass action (confirmation or email presend form) $topicmail = "SendCronRef"; diff --git a/htdocs/eventorganization/conferenceorbooth_list.php b/htdocs/eventorganization/conferenceorbooth_list.php index cd00973d845..80d48ca05c3 100644 --- a/htdocs/eventorganization/conferenceorbooth_list.php +++ b/htdocs/eventorganization/conferenceorbooth_list.php @@ -305,7 +305,7 @@ if ($projectid > 0 || $projectref) { // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, 0, 0, '', '', '', 'bodyforlist'); if ($projectid > 0) { diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php index 9cb60aef3a8..7f8b2484580 100644 --- a/htdocs/expedition/list.php +++ b/htdocs/expedition/list.php @@ -641,8 +641,10 @@ $companystatic = new Societe($db); $formcompany = new FormCompany($db); $shipment = new Expedition($db); -$helpurl = 'EN:Module_Shipments|FR:Module_Expéditions|ES:Módulo_Expediciones'; -llxHeader('', $langs->trans('ListOfSendings'), $helpurl); +$title = $langs->trans('ListOfSendings'); +$help_url = 'EN:Module_Shipments|FR:Module_Expéditions|ES:Módulo_Expediciones'; + +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist'); $sql = 'SELECT'; if ($search_all || $search_user > 0) { diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php index 59f03517777..b22e0d9d0fc 100644 --- a/htdocs/expensereport/list.php +++ b/htdocs/expensereport/list.php @@ -391,7 +391,7 @@ $num = $db->num_rows($resql); // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, ''); +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/expensereport/payment/list.php b/htdocs/expensereport/payment/list.php index 5efef914f43..5ac0f5574c8 100644 --- a/htdocs/expensereport/payment/list.php +++ b/htdocs/expensereport/payment/list.php @@ -290,7 +290,7 @@ $i = 0; // Output page // -------------------------------------------------------------------- -llxHeader('', $langs->trans('ListPayment')); +llxHeader('', $langs->trans('ListPayment'), '', 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php index 2118a59f8bc..3d81db42c25 100644 --- a/htdocs/fourn/commande/list.php +++ b/htdocs/fourn/commande/list.php @@ -1021,7 +1021,7 @@ if ($resql) { exit; } - llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-supplier-order page-list'); + llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-supplier-order page-list'); $param = ''; if (!empty($mode)) { diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php index 43d8d30a00b..11cb9c1f014 100644 --- a/htdocs/fourn/facture/list.php +++ b/htdocs/fourn/facture/list.php @@ -1,20 +1,20 @@ - * Copyright (C) 2004-2019 Laurent Destailleur - * Copyright (C) 2005-2013 Regis Houssin - * Copyright (C) 2013-2019 Philippe Grand - * Copyright (C) 2013 Florian Henry - * Copyright (C) 2013 Cédric Salvador - * Copyright (C) 2015 Marcos García - * Copyright (C) 2015-2007 Juanjo Menent - * Copyright (C) 2015 Abbes Bahfir - * Copyright (C) 2015-2016 Ferran Marcet - * Copyright (C) 2017 Josep Lluís Amador - * Copyright (C) 2018-2022 Charlene Benke - * Copyright (C) 2018-2024 Frédéric France - * Copyright (C) 2019-2023 Alexandre Spangaro +/* Copyright (C) 2002-2006 Rodolphe Quiedeville + * Copyright (C) 2004-2019 Laurent Destailleur + * Copyright (C) 2005-2013 Regis Houssin + * Copyright (C) 2013-2019 Philippe Grand + * Copyright (C) 2013 Florian Henry + * Copyright (C) 2013 Cédric Salvador + * Copyright (C) 2015 Marcos García + * Copyright (C) 2015-2007 Juanjo Menent + * Copyright (C) 2015 Abbes Bahfir + * Copyright (C) 2015-2016 Ferran Marcet + * Copyright (C) 2017 Josep Lluís Amador + * Copyright (C) 2018-2022 Charlene Benke + * Copyright (C) 2018-2024 Frédéric France + * Copyright (C) 2019-2024 Alexandre Spangaro * Copyright (C) 2023 Nick Fragoulis - * Copyright (C) 2023 Joachim Kueter + * Copyright (C) 2023 Joachim Kueter * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify @@ -812,7 +812,7 @@ if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $sear // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist'); if ($socid) { $soc = new Societe($db); diff --git a/htdocs/fourn/paiement/list.php b/htdocs/fourn/paiement/list.php index 2ceae859c94..39a031a74bb 100644 --- a/htdocs/fourn/paiement/list.php +++ b/htdocs/fourn/paiement/list.php @@ -175,8 +175,10 @@ if (empty($reshook)) { /* * View */ +$title = $langs->trans('ListPayment'); +$help_url = ''; -llxHeader('', $langs->trans('ListPayment')); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist'); $form = new Form($db); $formother = new FormOther($db); diff --git a/htdocs/fourn/product/list.php b/htdocs/fourn/product/list.php index 6ed8503fc00..5fa4cb696ba 100644 --- a/htdocs/fourn/product/list.php +++ b/htdocs/fourn/product/list.php @@ -234,16 +234,16 @@ if ($num == 1 && (GETPOST("mode") == 'search')) { } if (!empty($supplier->id)) { - $texte = $langs->trans("ListOfSupplierProductForSupplier", $supplier->name); + $title = $langs->trans("ListOfSupplierProductForSupplier", $supplier->name); } else { - $texte = $langs->trans("List"); + $title = $langs->trans("List"); } // Output page // -------------------------------------------------------------------- -llxHeader("", "", $texte); +llxHeader("", $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist'); $arrayofselected = is_array($toselect) ? $toselect : array(); @@ -265,7 +265,7 @@ $param = "&sref=".$sref."&snom=".$snom."&fourn_id=".$fourn_id.(isset($type) ? "& $newcardbutton = ''; $newcardbutton .= dolGetButtonTitle($langs->trans('New'), '', 'fa fa-plus-circle', DOL_URL_ROOT.'/product/list.php?action=create&backtopage='.urlencode($_SERVER['PHP_SELF']), '', $permissiontoadd); -print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'generic', 0, $newcardbutton); +print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, 'generic', 0, $newcardbutton); if (!empty($catid)) { print "
"; diff --git a/htdocs/holiday/list.php b/htdocs/holiday/list.php index 218fe17870d..20e8272821c 100644 --- a/htdocs/holiday/list.php +++ b/htdocs/holiday/list.php @@ -241,7 +241,7 @@ $result = $object->updateBalance(); $title = $langs->trans('CPTitreMenu'); $help_url = ''; -llxHeader('', $title); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist'); $max_year = 5; $min_year = 10; diff --git a/htdocs/hrm/job_list.php b/htdocs/hrm/job_list.php index 01342b30a0b..9892dcd355a 100644 --- a/htdocs/hrm/job_list.php +++ b/htdocs/hrm/job_list.php @@ -342,7 +342,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s // Output page // -------------------------------------------------------------------- -llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', ''); +llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist'); // Example : Adding jquery code // print '