mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
NEW llxHeader BodyCss divers (#30723)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
This commit is contained in:
parent
db727ee62d
commit
545015d27b
|
|
@ -230,7 +230,7 @@ $formaccounting = new FormAccounting($db);
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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);
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ $formadmin = new FormAdmin($db);
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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 = '';
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ $title = $langs->trans('AccountAccounting')." - ".$langs->trans('Card');
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_en_Partie_Double#Configuration';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_card');
|
||||
|
||||
|
||||
// Create mode
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ $formaccounting = new FormAccounting($db);
|
|||
$title= $langs->trans('AccountingCategory');
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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';
|
||||
|
|
|
|||
|
|
@ -408,7 +408,7 @@ $formadmin = new FormAdmin($db);
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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 = '';
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ $title = $langs->trans('Closure');
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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');
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ $formaccounting = new FormAccounting($db);
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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');
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ $form = new Form($db);
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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>';
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ $title = $langs->trans('AccountingPeriods');
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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";
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ $title = $langs->trans("Fiscalyear")." - ".$langs->trans("Info");
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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);
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ $form = new Form($db);
|
|||
|
||||
$title = $langs->trans('ConfigAccountingExpert');
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_en_Partie_Double#Configuration';
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_index');
|
||||
|
||||
|
||||
$linkback = '';
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ $formadmin = new FormAdmin($db);
|
|||
|
||||
$title = $langs->trans('AccountingJournals');
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_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 = '';
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ $form = new Form($db);
|
|||
$help_url = 'EN:Module_Double_Entry_Accounting#Setup|FR:Module_Comptabilité_en_Partie_Double#Configuration';
|
||||
$title = $langs->trans('ChartOfIndividualAccountsOfSubsidiaryLedger');
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-admin_subaccount');
|
||||
|
||||
|
||||
// Customer
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ $title = $langs->trans('Closure');
|
|||
|
||||
$help_url = 'EN:Module_Double_Entry_Accounting|FR:Module_Comptabilité_en_Partie_Double#Cl.C3.B4ture_annuelle';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-accountancy page-closure-index');
|
||||
|
||||
$formconfirm = '';
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ if (!$permissiontoread) {
|
|||
* View
|
||||
*/
|
||||
|
||||
llxHeader();
|
||||
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-ecm page-search');
|
||||
|
||||
$form = new Form($db);
|
||||
$ecmdirstatic = new EcmDirectory($db);
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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>';
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ if ($id > 0 || !empty($ref)) {
|
|||
$help_url = 'EN:Module_Services_En|FR:Module_Services|ES:Mó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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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>';
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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>';
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user