NEW llxHeader BodyCss divers (#30723)

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
This commit is contained in:
atm-lena 2024-08-23 15:22:03 +02:00 committed by GitHub
parent db727ee62d
commit 545015d27b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
33 changed files with 33 additions and 33 deletions

View File

@ -230,7 +230,7 @@ $formaccounting = new FormAccounting($db);
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $langs->trans("ListAccounts"), $help_url);
llxHeader('', $langs->trans("ListAccounts"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_account');
if ($action == 'delete') {
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$id, $langs->trans('DeleteAccount'), $langs->trans('ConfirmDeleteAccount'), 'confirm_delete', '', 0, 1);

View File

@ -340,7 +340,7 @@ $formadmin = new FormAdmin($db);
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $langs->trans("Pcg_version"), $help_url);
llxHeader('', $langs->trans("Pcg_version"), $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_accountmodel');
$titre = $langs->trans($tablib[$id]);
$linkback = '';

View File

@ -206,7 +206,7 @@ $title = $langs->trans('AccountAccounting')." - ".$langs->trans('Card');
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_card');
// Create mode

View File

@ -117,7 +117,7 @@ $formaccounting = new FormAccounting($db);
$title= $langs->trans('AccountingCategory');
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_categories');
$linkback = '<a href="'.DOL_URL_ROOT.'/accountancy/admin/categories_list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
$titlepicto = 'setup';

View File

@ -408,7 +408,7 @@ $formadmin = new FormAdmin($db);
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $langs->trans('DictionaryAccountancyCategory'), $help_url);
llxHeader('', $langs->trans('DictionaryAccountancyCategory'), $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_categories_list');
$titre = $langs->trans($tablib[$id]);
$linkback = '';

View File

@ -106,7 +106,7 @@ $title = $langs->trans('Closure');
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_closure');
$linkback = '';
print load_fiche_titre($langs->trans('MenuClosureAccounts'), $linkback, 'title_accountancy');

View File

@ -205,7 +205,7 @@ $formaccounting = new FormAccounting($db);
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $langs->trans('MenuDefaultAccounts'), $help_url);
llxHeader('', $langs->trans('MenuDefaultAccounts'), $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_defaultaccounts');
$linkback = '';
print load_fiche_titre($langs->trans('MenuDefaultAccounts'), $linkback, 'title_accountancy');

View File

@ -136,7 +136,7 @@ $form = new Form($db);
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
$title = $langs->trans('ExportOptions');
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_export');
$linkback = '';
// $linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php?restore_lastsearch_values=1">' . $langs->trans("BackToModuleList") . '</a>';

View File

@ -89,7 +89,7 @@ $title = $langs->trans('AccountingPeriods');
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_fiscalyear');
$sql = "SELECT f.rowid, f.label, f.date_start, f.date_end, f.statut as status, f.entity";
$sql .= " FROM ".MAIN_DB_PREFIX."accounting_fiscalyear as f";

View File

@ -47,7 +47,7 @@ $title = $langs->trans("Fiscalyear")." - ".$langs->trans("Info");
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_fiscalyear_info');
if ($id) {
$object = new Fiscalyear($db);

View File

@ -259,7 +259,7 @@ $form = new Form($db);
$title = $langs->trans('ConfigAccountingExpert');
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_index');
$linkback = '';

View File

@ -351,7 +351,7 @@ $formadmin = new FormAdmin($db);
$title = $langs->trans('AccountingJournals');
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_journals_list');
$titre = $langs->trans("DictionarySetup");
$linkback = '';

View File

@ -129,7 +129,7 @@ $form = new Form($db);
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilit&eacute;_en_Partie_Double#Configuration';
$title = $langs->trans('ChartOfIndividualAccountsOfSubsidiaryLedger');
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_subaccount');
// Customer

View File

@ -164,7 +164,7 @@ $title = $langs->trans('Closure');
$help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilit&eacute;_en_Partie_Double#Cl.C3.B4ture_annuelle';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-closure-index');
$formconfirm = '';

View File

@ -95,7 +95,7 @@ dol_mkdir(DOL_DATA_ROOT.'/api/temp'); // May have been deleted by a purge
* View
*/
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-api page-admin-index');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
print load_fiche_titre($langs->trans("ApiSetup"), $linkback, 'title_setup');

View File

@ -171,7 +171,7 @@ $strMaxRetry = getDolGlobalString('ASTERISK_MAX_RETRY');
* View
*/
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-asterisk page-wrapper');
$sql = "SELECT s.nom as name FROM ".MAIN_DB_PREFIX."societe as s";
$sql .= " LEFT JOIN ".MAIN_DB_PREFIX."socpeople as sp ON sp.fk_soc = s.rowid";

View File

@ -66,7 +66,7 @@ $result = restrictedArea($user, 'don');
$form = new Form($db);
$formcompany = new FormCompany($db);
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-don page-stats_index');
$dir = $conf->don->dir_temp;

View File

@ -104,7 +104,7 @@ if (!$permissiontoread) {
* View
*/
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-ecm page-search');
$form = new Form($db);
$ecmdirstatic = new EcmDirectory($db);

View File

@ -243,7 +243,7 @@ if (!empty($supplier->id)) {
// Output page
// --------------------------------------------------------------------
llxHeader("", $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist');
llxHeader("", $title, $help_url, '', 0, 0, '', '', '', 'bodyforlist mod-fourn-product page-list');
$arrayofselected = is_array($toselect) ? $toselect : array();

View File

@ -93,7 +93,7 @@ if ($action == 'contact') {
$form = new Form($db);
llxHeader('', $langs->trans("margesSetup"));
llxHeader('', $langs->trans("margesSetup"), '', '', 0, 0, '', '', '', 'mod-margin page-admin_margin');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';

View File

@ -104,7 +104,7 @@ $invoicestatic = new Facture($db);
$form = new Form($db);
llxHeader('', $langs->trans("Margins").' - '.$langs->trans("Agents"));
llxHeader('', $langs->trans("Margins").' - '.$langs->trans("Agents"), '', '', 0, 0, '', '', '', 'mod-margin page-agentmargins');
$text = $langs->trans("Margins");
//print load_fiche_titre($text);

View File

@ -157,7 +157,7 @@ $form = new Form($db);
$title = $langs->trans("MarginDetails");
llxHeader('', $title);
llxHeader('', $title, '', '', 0, 0, '', '', '', 'mod-margin page-checkmargins');
// print load_fiche_titre($text);

View File

@ -83,7 +83,7 @@ $invoicestatic = new Facture($db);
$form = new Form($db);
llxHeader('', $langs->trans("Margins").' - '.$langs->trans("Clients"));
llxHeader('', $langs->trans("Margins").' - '.$langs->trans("Clients"), '', '', 0, 0, '', '', '', 'mod-margin page-customermargins');
$text = $langs->trans("Margins");
//print load_fiche_titre($text);

View File

@ -96,7 +96,7 @@ $invoicestatic = new Facture($db);
$form = new Form($db);
llxHeader('', $langs->trans("Margins").' - '.$langs->trans("Products"));
llxHeader('', $langs->trans("Margins").' - '.$langs->trans("Products"), '', '', 0, 0, '', '', '', 'mod-margin page-productmargins');
$text = $langs->trans("Margins");
//print load_fiche_titre($text);

View File

@ -138,7 +138,7 @@ if ($id > 0 || !empty($ref)) {
$help_url = 'EN:Module_Services_En|FR:Module_Services|ES:M&oacute;dulo_Servicios';
}
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-margin page-tabs_productmargins');
$param = "&id=".$object->id;
if ($limit > 0 && $limit != $conf->liste_limit) {

View File

@ -133,7 +133,7 @@ if (getDolGlobalString('MAIN_HTML_TITLE') && preg_match('/thirdpartynameonly/',
$title = $object->name.' - '.$langs->trans("Files");
}
$help_url = 'EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-margin page-tabs_thirdpartymargins');
$param = "&socid=".$socid;
if ($limit > 0 && $limit != $conf->liste_limit) {

View File

@ -138,7 +138,7 @@ if ($action == "setlive") {
$form = new Form($db);
llxHeader('', $langs->trans("PaypalSetup"));
llxHeader('', $langs->trans("PaypalSetup"), '', '', 0, 0, '', '', '', 'mod-paypal page-admin_paypal');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';

View File

@ -57,7 +57,7 @@ $result = restrictedArea($user, 'reception', 0, '');
$form = new Form($db);
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-reception page-stats_index');
print load_fiche_titre($langs->trans("StatisticsOfReceptions"), '', 'dollyrevert');

View File

@ -43,7 +43,7 @@ $result = restrictedArea($user, 'reception', 0, '');
* View
*/
llxHeader();
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-reception page-stats_month');
$WIDTH = DolGraph::getDefaultGraphSizeForStats('width');
$HEIGHT = DolGraph::getDefaultGraphSizeForStats('height');

View File

@ -56,7 +56,7 @@ require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php';
$textobject = $langs->transnoentitiesnoconv("CommRequests");
llxHeader('', $langs->trans("SupplierProposalSetup"));
llxHeader('', $langs->trans("SupplierProposalSetup"), '', '', 0, 0, '', '', '', 'mod-supplier_proposal page-admin_supplier_proposal_extrafields');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';

View File

@ -64,7 +64,7 @@ require DOL_DOCUMENT_ROOT.'/core/actions_extrafields.inc.php';
$textobject = $langs->transnoentitiesnoconv("CommRequests");
llxHeader('', $langs->trans("SupplierProposalSetup"));
llxHeader('', $langs->trans("SupplierProposalSetup"), '', '', 0, 0, '', '', '', 'mod-supplier_proposal page-admin_supplier_proposaldet_extrafields');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
print load_fiche_titre($langs->trans("SupplierProposalSetup"), $linkback, 'title_setup');

View File

@ -2870,7 +2870,7 @@ $moreheadjs .= '<script type="text/javascript">'."\n";
$moreheadjs .= 'var indicatorBlockUI = \''.DOL_URL_ROOT."/theme/".$conf->theme."/img/working.gif".'\';'."\n";
$moreheadjs .= '</script>'."\n";
llxHeader($moreheadcss.$moreheadjs, $langs->trans("Website").(empty($website->ref) ? '' : ' - '.$website->ref), $helpurl, '', 0, 0, $arrayofjs, $arrayofcss, '', '', '<!-- Begin div class="fiche" -->'."\n".'<div class="fichebutwithotherclass">');
llxHeader($moreheadcss.$moreheadjs, $langs->trans("Website").(empty($website->ref) ? '' : ' - '.$website->ref), $helpurl, '', 0, 0, $arrayofjs, $arrayofcss, '', 'mod-website page-index', '<!-- Begin div class="fiche" -->'."\n".'<div class="fichebutwithotherclass">');
print "\n";
print '<!-- Open form for all page -->'."\n";

View File

@ -172,7 +172,7 @@ $formfile = new FormFile($db);
$title = $langs->trans("WebsiteAccount");
$help_url = '';
llxHeader('', $title, $help_url);
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-website page-card_websiteaccount');
// prepare output js
$out_js = '';