diff --git a/htdocs/accountancy/index.php b/htdocs/accountancy/index.php index 0bede00d86d..0d20ae9027d 100644 --- a/htdocs/accountancy/index.php +++ b/htdocs/accountancy/index.php @@ -50,7 +50,7 @@ $hookmanager->initHooks(array('accountancyindex')); llxHeader('', $langs->trans("AccountancyArea")); -print load_fiche_titre($langs->trans("AccountancyArea"), '', 'title_accountancy'); +print load_fiche_titre($langs->trans("AccountancyArea"), '', 'accountancy'); //dol_fiche_head(); $step = 0; diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 546092397c3..2fd2cf22940 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -52,7 +52,7 @@ $staticmember=new Adherent($db); $statictype=new AdherentType($db); $subscriptionstatic=new Subscription($db); -print load_fiche_titre($langs->trans("MembersArea"), '', 'title_members.png'); +print load_fiche_titre($langs->trans("MembersArea"), '', 'members'); $Adherents=array(); $AdherentsAValider=array(); diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 15e4e226587..ef9091a9638 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -79,7 +79,7 @@ if (! empty($conf->fournisseur->enabled)) $supplierorderstatic=new CommandeFourn llxHeader("", $langs->trans("CommercialArea")); -print load_fiche_titre($langs->trans("CommercialArea"), '', 'title_commercial.png'); +print load_fiche_titre($langs->trans("CommercialArea"), '', 'commercial'); print '
'; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 451d8e01ed7..48c6d8664b1 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -87,7 +87,7 @@ $thirdpartystatic = new Societe($db); llxHeader("", $langs->trans("AccountancyTreasuryArea")); -print load_fiche_titre($langs->trans("AccountancyTreasuryArea"), '', 'title_invoicing.png'); +print load_fiche_titre($langs->trans("AccountancyTreasuryArea"), '', 'invoicing'); print '
'; diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 1cea52c8453..84476525abf 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -3030,37 +3030,33 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ $fakey = 'fa-cog'; $fasize = '1.4em'; } - elseif ($pictowithoutext == 'home') { - $fakey = 'fa-home'; - $fasize = '2.4em'; - } elseif ($pictowithoutext == 'companies') { $fakey = 'fa-building'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'products') { $fakey = 'fa-box-open'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'commercial') { $fakey = 'fa-user-tie'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'invoicing') { $fakey = 'fa-file-invoice'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'accountancy') { $fakey = 'fa-coins'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'project') { $fakey = 'fa-project-diagram'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'hrm') { $fakey = 'fa-umbrella-beach'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'members') { $fakey = 'fa-user-friends'; @@ -3068,11 +3064,11 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $ } elseif ($pictowithoutext == 'ticket') { $fakey = 'fa-sticky-note'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'generic') { $fakey = 'fa-folder-open'; - $fasize = '2.4em'; + $fasize = '1.4em'; } elseif ($pictowithoutext == 'switch_off') { $fakey = 'fa-toggle-off'; diff --git a/htdocs/core/tools.php b/htdocs/core/tools.php index cd65ace73bf..49b17c20520 100644 --- a/htdocs/core/tools.php +++ b/htdocs/core/tools.php @@ -43,7 +43,7 @@ llxHeader("", $langs->trans("Tools"), ""); $text=$langs->trans("Tools"); -print load_fiche_titre($text); +print load_fiche_titre($text, '', 'generic'); // Show description of content print '
'.$langs->trans("ToolsDesc").'


'; diff --git a/htdocs/hrm/index.php b/htdocs/hrm/index.php index ece34cf12b5..a6ef15c6908 100644 --- a/htdocs/hrm/index.php +++ b/htdocs/hrm/index.php @@ -77,7 +77,7 @@ $childids[]=$user->id; llxHeader('', $langs->trans('HRMArea')); -print load_fiche_titre($langs->trans("HRMArea"), '', 'title_hrm.png'); +print load_fiche_titre($langs->trans("HRMArea"), '', 'hrm'); if (! empty($setupcompanynotcomplete)) diff --git a/htdocs/index.php b/htdocs/index.php index 45c7e1509e2..071d2fc0c82 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -80,7 +80,7 @@ llxHeader('', $title); $resultboxes=FormOther::getBoxesArea($user, "0"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb) -print load_fiche_titre($langs->trans("HomeArea"), $resultboxes['selectboxlist'], 'title_home'); +print load_fiche_titre($langs->trans("HomeArea"), $resultboxes['selectboxlist'], 'home'); if (! empty($conf->global->MAIN_MOTD)) { diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 5b74ef07f80..157f613ef03 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -77,7 +77,7 @@ if ((isset($_GET["type"]) && $_GET["type"] == 1) || empty($conf->product->enable llxHeader("", $langs->trans("ProductsAndServices"), $helpurl); $linkback=""; -print load_fiche_titre($transAreaType, $linkback, 'title_products.png'); +print load_fiche_titre($transAreaType, $linkback, 'products'); print '
'; diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index 6b9247530fd..ba15aef57cf 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -88,7 +88,7 @@ $morehtml.=''; $morehtml.=''; $morehtml.=''; -print_barre_liste($title, 0, $_SERVER["PHP_SELF"], '', '', '', '', 0, -1, 'title_project.png', 0, $morehtml); +print_barre_liste($title, 0, $_SERVER["PHP_SELF"], '', '', '', '', 0, -1, 'project', 0, $morehtml); // Show description of content print '
'; diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 2010edeb217..acfd42a064d 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -55,7 +55,7 @@ $helpurl='EN:Module_Third_Parties|FR:Module_Tiers|ES:Módulo_Terceros'; llxHeader("", $langs->trans("ThirdParties"), $helpurl); $linkback=''; -print load_fiche_titre($transAreaType, $linkback, 'title_companies.png'); +print load_fiche_titre($transAreaType, $linkback, 'companies'); //print ''; diff --git a/htdocs/ticket/index.php b/htdocs/ticket/index.php index 9517346f3fc..16a13953077 100644 --- a/htdocs/ticket/index.php +++ b/htdocs/ticket/index.php @@ -77,7 +77,7 @@ $tickesupstatic = new Ticket($db); llxHeader('', $langs->trans('TicketsIndex'), ''); $linkback=''; -print load_fiche_titre($langs->trans('TicketsIndex'), $linkback, 'title_ticket.png'); +print load_fiche_titre($langs->trans('TicketsIndex'), $linkback, 'ticket'); $dir = '';