Add llxHeader body css for bom (#29875)

* Add llxHeader body css for bom

* remove comment

* Rename css class

* Add llxHeader body css for partnership
This commit is contained in:
Anthony Damhet 2024-06-07 16:27:56 +02:00 committed by GitHub
parent e9973dceac
commit 56290e2e4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 15 additions and 14 deletions

View File

@ -132,7 +132,7 @@ $form = new Form($db);
if ($object->id > 0) {
$title = $langs->trans("Agenda");
$help_url = 'EN:Module_Agenda_En|FR:Module_Agenda|ES:Módulo_Agenda|DE:Modul_Agenda';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-bom page-card_agenda');
if (isModEnabled('notification')) {
$langs->load("mails");

View File

@ -313,7 +313,7 @@ $formfile = new FormFile($db);
$title = $langs->trans('BOM');
$help_url = 'EN:Module_BOM';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-bom page-card');
// Part to create
if ($action == 'create') {

View File

@ -106,7 +106,7 @@ $title = $langs->trans("BillOfMaterials").' - '.$langs->trans("Files");
$help_url = 'EN:Module_BOM';
$morehtmlref = "";
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-bom page-card_documents');
if ($object->id) {
/*

View File

@ -132,7 +132,7 @@ $formfile = new FormFile($db);
$title = $langs->trans('BOM');
$help_url ='EN:Module_BOM';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-bom page-net_needs');
// Part to show record

View File

@ -94,7 +94,7 @@ $title = $langs->trans('BillOfMaterials');
$help_url = 'EN:Module_BOM';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-bom page-card_notes');
if ($id > 0 || !empty($ref)) {
$object->fetch_thirdparty();

View File

@ -66,7 +66,7 @@ $textobject = $langs->transnoentitiesnoconv("Partnership");
$help_url = '';
$title = $langs->trans("PartnershipSetup");
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-admin-extrafields');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';

View File

@ -85,9 +85,10 @@ if ($action) {
* View
*/
$help_url = '';
$title = $langs->trans('PartnershipSetup');
llxHeader('', $title);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-admin-setup');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
print load_fiche_titre($title, $linkback, 'title_setup');

View File

@ -82,7 +82,7 @@ $form = new Form($db);
$title = $langs->trans('PartnershipSetup');
$help_url = '';
//$help_url = 'EN:Module_Partnership|FR:Module_Adh&eacute;rents|ES:M&oacute;dulo_Miembros';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-admin-website');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';

View File

@ -143,7 +143,7 @@ $form = new Form($db);
if ($object->id > 0) {
$title = $langs->trans("Agenda");
$help_url = '';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-card_agenda');
if (isModEnabled('notification')) {
$langs->load("mails");

View File

@ -272,7 +272,7 @@ $formproject = new FormProjets($db);
$title = $langs->trans("Partnership");
$help_url = '';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-card');
// Part to create
if ($action == 'create') {

View File

@ -117,7 +117,7 @@ if ($action == 'addcontact' && $permission) {
$title = $langs->trans('Partnership')." - ".$langs->trans('ContactsAddresses');
$help_url = '';
//$help_url='EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-contact');
$form = new Form($db);
$formcompany = new FormCompany($db);

View File

@ -114,7 +114,7 @@ $form = new Form($db);
$title = $langs->trans("Partnership").' - '.$langs->trans("Files");
$help_url = '';
//$help_url='EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-partnership page-card_documents');
if ($object->id) {
/*

View File

@ -479,7 +479,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, '', 'mod-partnership page-list');
if ($managedfor == "member") {
if ($memberid > 0 && $user->hasRight('adherent', 'lire')) {

View File

@ -102,7 +102,7 @@ $form = new Form($db);
//$help_url='EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes';
$help_url = '';
llxHeader('', $langs->trans('Partnership'), $help_url);
llxHeader('', $langs->trans('Partnership'), $help_url, '', 0, 0, '', '', '', 'mod-partnership page-card_notes');
if ($id > 0 || !empty($ref)) {
$object->fetch_thirdparty();