From 644bf76c1880985cdbbb9fdfa4e1bb3e37664b43 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Sun, 17 Dec 2023 23:08:08 +0100 Subject: [PATCH] NEW : llxHeader body css for donation --- htdocs/don/admin/donation.php | 4 +++- htdocs/don/admin/donation_extrafields.php | 3 ++- htdocs/don/card.php | 2 +- htdocs/don/document.php | 2 +- htdocs/don/index.php | 2 +- htdocs/don/info.php | 2 +- htdocs/don/list.php | 2 +- htdocs/don/note.php | 2 +- htdocs/don/payment/card.php | 4 ++-- htdocs/don/payment/payment.php | 4 ++-- htdocs/don/stats/index.php | 6 +++--- htdocs/langs/en_US/donations.lang | 1 + 12 files changed, 19 insertions(+), 15 deletions(-) diff --git a/htdocs/don/admin/donation.php b/htdocs/don/admin/donation.php index 89f03fde211..5a09ccd8f6b 100644 --- a/htdocs/don/admin/donation.php +++ b/htdocs/don/admin/donation.php @@ -173,7 +173,9 @@ if (isModEnabled('accounting')) { $formaccounting = new FormAccounting($db); } -llxHeader('', $langs->trans("DonationsSetup"), 'DonConfiguration'); +$help_url = ''; +llxHeader('', $langs->trans("DonationsSetup"), $help_url, '', 0, 0, '', '', '', 'mod-donation page-admin'); + $linkback = ''.$langs->trans("BackToModuleList").''; print load_fiche_titre($langs->trans("DonationsSetup"), $linkback, 'title_setup'); diff --git a/htdocs/don/admin/donation_extrafields.php b/htdocs/don/admin/donation_extrafields.php index a0454ea08d7..ef2c011d9cf 100644 --- a/htdocs/don/admin/donation_extrafields.php +++ b/htdocs/don/admin/donation_extrafields.php @@ -63,7 +63,8 @@ require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php'; $textobject = $langs->transnoentitiesnoconv("Donations"); -llxHeader('', $langs->trans("DonationsSetup")); +$help_url = ''; +llxHeader('', $langs->trans("DonationsSetup"), $help_url, '', 0, 0, '', '', '', 'mod-donation page-admin_extrafields'); $linkback = ''.$langs->trans("BackToModuleList").''; print load_fiche_titre($langs->trans("DonationsSetup"), $linkback, 'title_setup'); diff --git a/htdocs/don/card.php b/htdocs/don/card.php index 1499e29b7fa..fbd2117c7b5 100644 --- a/htdocs/don/card.php +++ b/htdocs/don/card.php @@ -391,7 +391,7 @@ $title = $langs->trans("Donation"); $help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card'); $form = new Form($db); $formfile = new FormFile($db); diff --git a/htdocs/don/document.php b/htdocs/don/document.php index fd40fea0594..6931f12d744 100644 --- a/htdocs/don/document.php +++ b/htdocs/don/document.php @@ -111,7 +111,7 @@ $title = $langs->trans('Donation')." - ".$langs->trans('Documents'); $help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card_documents'); if ($object->id) { diff --git a/htdocs/don/index.php b/htdocs/don/index.php index f09d6437dae..d817dd98428 100644 --- a/htdocs/don/index.php +++ b/htdocs/don/index.php @@ -56,7 +56,7 @@ $donstatic = new Don($db); $help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden'; -llxHeader('', $langs->trans("Donations"), $help_url); +llxHeader('', $langs->trans("Donations"), $help_url, '', 0, 0, '', '', '', 'mod-donation page-index'); $nb = array(); $somme = array(); diff --git a/htdocs/don/info.php b/htdocs/don/info.php index bf7d9e3d350..a2f9438eb33 100644 --- a/htdocs/don/info.php +++ b/htdocs/don/info.php @@ -69,7 +69,7 @@ $title = $langs->trans('Donation')." - ".$langs->trans('Info'); $help_url = 'EN:Module_Donations|FR:Module_Dons|ES:Módulo_Donaciones|DE:Modul_Spenden'; -llxHeader('', $title, $help_url); +llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-donation page-card_info'); $form = new Form($db); if (isModEnabled('project')) { diff --git a/htdocs/don/list.php b/htdocs/don/list.php index 876df4ee74f..f7d85c3ed0c 100644 --- a/htdocs/don/list.php +++ b/htdocs/don/list.php @@ -202,7 +202,7 @@ if ($num == 1 && !getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $sea // 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, '', '', '', 'mod-donation page-list'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll // Example : Adding jquery code // print '