Merge pull request #27146 from atm-john/issue_265856_part_002

NEW : llxHeader body css for modulebuilder see #26856
This commit is contained in:
Laurent Destailleur 2023-12-17 20:55:20 +01:00 committed by GitHub
commit 625aa2fa6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View file

@ -85,7 +85,7 @@ $form = new Form($db);
$help_url = '';
$page_name = "MyModuleAbout";
llxHeader('', $langs->trans($page_name), $help_url);
llxHeader('', $langs->trans($page_name), $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-admin_about');
// Subheader
$linkback = '<a href="'.($backtopage ? $backtopage : DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1').'">'.$langs->trans("BackToModuleList").'</a>';

View file

@ -97,7 +97,7 @@ $textobject = $langs->transnoentitiesnoconv("MyObject");
$help_url = '';
$page_name = "MyModuleSetup";
llxHeader('', $langs->trans("MyModuleSetup"), $help_url);
llxHeader('', $langs->trans("MyModuleSetup"), $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-admin_extrafields');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';

View file

@ -286,7 +286,7 @@ $form = new Form($db);
$help_url = '';
$page_name = "MyModuleSetup";
llxHeader('', $langs->trans($page_name), $help_url);
llxHeader('', $langs->trans($page_name), $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-admin');
// Subheader
$linkback = '<a href="'.($backtopage ? $backtopage : DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1').'">'.$langs->trans("BackToModuleList").'</a>';

View file

@ -102,7 +102,7 @@ if (isset($user->socid) && $user->socid > 0) {
$form = new Form($db);
$formfile = new FormFile($db);
llxHeader("", $langs->trans("MyModuleArea"));
llxHeader("", $langs->trans("MyModuleArea"), '', '', 0, 0, '', '', '', 'mod-mymodule page-index');
print load_fiche_titre($langs->trans("MyModuleArea"), '', 'mymodule.png@mymodule');

View file

@ -193,7 +193,7 @@ if ($object->id > 0) {
//$title = $object->ref." - ".$langs->trans("Agenda");
$help_url = 'EN:Module_Agenda_En|DE:Modul_Terminplanung';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-card_agenda');
if (isModEnabled('notification')) {
$langs->load("mails");

View file

@ -238,7 +238,7 @@ if ($action == 'create') {
}
$help_url = '';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-card');
// Example : Adding jquery code
// print '<script type="text/javascript">

View file

@ -147,7 +147,7 @@ $title = $langs->trans("MyObject")." - ".$langs->trans('ContactsAddresses');
//$title = $object->ref." - ".$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-mymodule page-card_contact');
$form = new Form($db);
$formcompany = new FormCompany($db);

View file

@ -173,7 +173,7 @@ $title = $langs->trans("MyObject")." - ".$langs->trans("Files");
//$title = $object->ref." - ".$langs->trans("Files");
$help_url = '';
//Example $help_url='EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-card_document');
// Show tabs
$head = myobjectPrepareHead($object);

View file

@ -430,7 +430,7 @@ if ($num == 1 && getDolGlobalInt('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $sear
// 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, $morejs, $morecss, '', 'mod-mymodule page-list bodyforlist'); // Can use also classforhorizontalscrolloftabs instead of bodyforlist for no horizontal scroll
// Example : Adding jquery code
// print '<script type="text/javascript">

View file

@ -155,7 +155,7 @@ $title = $langs->trans('MyObject').' - '.$langs->trans("Notes");
$help_url = '';
//$help_url='EN:Customers_Orders|FR:Commandes_Clients|ES:Pedidos de clientes';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-mymodule page-card_notes');
if ($id > 0 || !empty($ref)) {
$object->fetch_thirdparty();