';
diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php
index 8eef2b06b8b..1e4b969644c 100644
--- a/htdocs/comm/action/card.php
+++ b/htdocs/comm/action/card.php
@@ -636,8 +636,8 @@ if ($action == 'create')
if ($backtopage) print '';
if (empty($conf->global->AGENDA_USE_EVENT_TYPE)) print '';
- if (GETPOST("actioncode") == 'AC_RDV') print_fiche_titre($langs->trans("AddActionRendezVous"));
- else print_fiche_titre($langs->trans("AddAnAction"));
+ if (GETPOST("actioncode") == 'AC_RDV') print load_fiche_titre($langs->trans("AddActionRendezVous"));
+ else print load_fiche_titre($langs->trans("AddAnAction"));
dol_fiche_head();
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index f445c7f3596..6b3384b92dd 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -414,7 +414,7 @@ else // If javascript off
$link.='';
}
-print_fiche_titre($s, $link.' '.$nav, '');
+print load_fiche_titre($s, $link.' '.$nav, '');
// Load events from database into $eventarray
diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php
index 5f8ce1563de..41270d7996e 100644
--- a/htdocs/comm/action/peruser.php
+++ b/htdocs/comm/action/peruser.php
@@ -337,7 +337,7 @@ if ($conf->use_javascript_ajax)
$link='';
-print_fiche_titre($s, $link.' '.$nav, '');
+print load_fiche_titre($s, $link.' '.$nav, '');
// Get event in an array
diff --git a/htdocs/comm/address.php b/htdocs/comm/address.php
index 0dd643a4f8f..eb3c51b1760 100644
--- a/htdocs/comm/address.php
+++ b/htdocs/comm/address.php
@@ -211,7 +211,7 @@ if ($action == 'create')
$object->country = $tmparray['label'];
}
- print_fiche_titre($langs->trans("AddAddress"));
+ print load_fiche_titre($langs->trans("AddAddress"));
print " \n";
diff --git a/htdocs/comm/admin/askpricesupplier_extrafields.php b/htdocs/comm/admin/askpricesupplier_extrafields.php
index b7140c404fc..0fb0554203f 100644
--- a/htdocs/comm/admin/askpricesupplier_extrafields.php
+++ b/htdocs/comm/admin/askpricesupplier_extrafields.php
@@ -60,7 +60,7 @@ llxHeader('',$langs->trans("AskPriceSupplierSetup"));
$linkback=''.$langs->trans("BackToModuleList").'';
-print_fiche_titre($langs->trans("AskPriceSupplierSetup"),$linkback,'title_setup');
+print load_fiche_titre($langs->trans("AskPriceSupplierSetup"),$linkback,'title_setup');
$head = askpricesupplier_admin_prepare_head();
diff --git a/htdocs/comm/admin/askpricesupplierdet_extrafields.php b/htdocs/comm/admin/askpricesupplierdet_extrafields.php
index dd6c9cc92c5..09c215d1f3d 100644
--- a/htdocs/comm/admin/askpricesupplierdet_extrafields.php
+++ b/htdocs/comm/admin/askpricesupplierdet_extrafields.php
@@ -66,7 +66,7 @@ $textobject=$langs->transnoentitiesnoconv("CommRequests");
llxHeader('',$langs->trans("AskPriceSupplierSetup"));
$linkback=''.$langs->trans("BackToModuleList").'';
-print_fiche_titre($langs->trans("AskPriceSupplierSetup"),$linkback,'title_setup');
+print load_fiche_titre($langs->trans("AskPriceSupplierSetup"),$linkback,'title_setup');
$head = askpricesupplier_admin_prepare_head();
diff --git a/htdocs/comm/admin/propal_extrafields.php b/htdocs/comm/admin/propal_extrafields.php
index 6ee525d8051..9c55c606e81 100644
--- a/htdocs/comm/admin/propal_extrafields.php
+++ b/htdocs/comm/admin/propal_extrafields.php
@@ -64,7 +64,7 @@ $textobject=$langs->transnoentitiesnoconv("Proposals");
llxHeader('',$langs->trans("PropalSetup"));
$linkback=''.$langs->trans("BackToModuleList").'';
-print_fiche_titre($langs->trans("PropalSetup"),$linkback,'title_setup');
+print load_fiche_titre($langs->trans("PropalSetup"),$linkback,'title_setup');
$head = propal_admin_prepare_head();
diff --git a/htdocs/comm/admin/propaldet_extrafields.php b/htdocs/comm/admin/propaldet_extrafields.php
index 583825ce234..97d4763ace3 100644
--- a/htdocs/comm/admin/propaldet_extrafields.php
+++ b/htdocs/comm/admin/propaldet_extrafields.php
@@ -72,7 +72,7 @@ $textobject=$langs->transnoentitiesnoconv("Proposals");
llxHeader('',$langs->trans("PropalSetup"));
$linkback=''.$langs->trans("BackToModuleList").'';
-print_fiche_titre($langs->trans("PropalSetup"),$linkback,'title_setup');
+print load_fiche_titre($langs->trans("PropalSetup"),$linkback,'title_setup');
$head = propal_admin_prepare_head();
diff --git a/htdocs/comm/askpricesupplier/card.php b/htdocs/comm/askpricesupplier/card.php
index 29a9b344ba4..d47f147b1aa 100644
--- a/htdocs/comm/askpricesupplier/card.php
+++ b/htdocs/comm/askpricesupplier/card.php
@@ -984,7 +984,7 @@ $now = dol_now();
// Add new askprice
if ($action == 'create')
{
- print_fiche_titre($langs->trans("NewAskPrice"));
+ print load_fiche_titre($langs->trans("NewAskPrice"));
$soc = new Societe($db);
if ($socid > 0)
@@ -1770,7 +1770,7 @@ if ($action == 'create')
print '';
print ' ';
- print_fiche_titre($langs->trans('SendAskByMail'));
+ print load_fiche_titre($langs->trans('SendAskByMail'));
dol_fiche_head('');
diff --git a/htdocs/comm/askpricesupplier/index.php b/htdocs/comm/askpricesupplier/index.php
index 681a889ed25..6936defda49 100644
--- a/htdocs/comm/askpricesupplier/index.php
+++ b/htdocs/comm/askpricesupplier/index.php
@@ -52,7 +52,7 @@ $help_url="EN:Module_Ask_Price_Supplier|FR:Module_Demande_de_prix_fournisseur";
llxHeader("",$langs->trans("AskPriceSupplierArea"),$help_url);
-print_fiche_titre($langs->trans("AskPriceSupplierArea"));
+print load_fiche_titre($langs->trans("AskPriceSupplierArea"));
print '';
diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php
index 7dc359b4568..6aee0fe939c 100644
--- a/htdocs/comm/index.php
+++ b/htdocs/comm/index.php
@@ -68,7 +68,7 @@ if (! empty($conf->commande->enabled)) $orderstatic=new Commande($db);
llxHeader();
-print_fiche_titre($langs->trans("CommercialArea"),'','title_commercial.png');
+print load_fiche_titre($langs->trans("CommercialArea"),'','title_commercial.png');
print ' ';
diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php
index 2d53fbb06e1..fde56efb25e 100644
--- a/htdocs/comm/mailing/card.php
+++ b/htdocs/comm/mailing/card.php
@@ -673,7 +673,7 @@ if ($action == 'create')
print ' ';
print ' ';
- print_fiche_titre($langs->trans("NewMailing"));
+ print load_fiche_titre($langs->trans("NewMailing"));
dol_fiche_head();
@@ -991,7 +991,7 @@ else
}
// Print mail content
- print_fiche_titre($langs->trans("EMail"),'','');
+ print load_fiche_titre($langs->trans("EMail"),'','');
dol_fiche_head('');
@@ -1102,7 +1102,7 @@ else
print ' ';
// Print mail content
- print_fiche_titre($langs->trans("EMail"),'','');
+ print load_fiche_titre($langs->trans("EMail"),'','');
print ' ';
// Subject
diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index 99c73dc4837..cd3ff7b00ee 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -223,7 +223,7 @@ if ($object->fetch($id) >= 0)
// Show email selectors
if ($allowaddtarget && $user->rights->mailing->creer)
{
- print_fiche_titre($langs->trans("ToAddRecipientsChooseHere"),($user->admin?info_admin($langs->trans("YouCanAddYourOwnPredefindedListHere"),1):''),'');
+ print load_fiche_titre($langs->trans("ToAddRecipientsChooseHere"),($user->admin?info_admin($langs->trans("YouCanAddYourOwnPredefindedListHere"),1):''),'');
print '';
print '';
diff --git a/htdocs/comm/mailing/index.php b/htdocs/comm/mailing/index.php
index 5c6ae896e42..59753ee1904 100644
--- a/htdocs/comm/mailing/index.php
+++ b/htdocs/comm/mailing/index.php
@@ -42,7 +42,7 @@ $result=restrictedArea($user,'mailing');
$help_url='EN:Module_EMailing|FR:Module_Mailing|ES:Módulo_Mailing';
llxHeader('','EMailing',$help_url);
-print_fiche_titre($langs->trans("MailingArea"));
+print load_fiche_titre($langs->trans("MailingArea"));
//print '';
//print '';
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 65a6cdb938e..7e4547d2ded 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -1191,7 +1191,7 @@ $now = dol_now();
// Add new proposal
if ($action == 'create')
{
- print_fiche_titre($langs->trans("NewProp"));
+ print load_fiche_titre($langs->trans("NewProp"));
$soc = new Societe($db);
if ($socid > 0)
@@ -2287,7 +2287,7 @@ if ($action == 'create')
print '';
print ' ';
- print_fiche_titre($langs->trans('SendPropalByMail'));
+ print load_fiche_titre($langs->trans('SendPropalByMail'));
dol_fiche_head('');
diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php
index 8fc50f853c6..1bcbec9723d 100644
--- a/htdocs/comm/propal/index.php
+++ b/htdocs/comm/propal/index.php
@@ -52,7 +52,7 @@ $help_url="EN:Module_Commercial_Proposals|FR:Module_Propositions_commerciales|ES
llxHeader("",$langs->trans("ProspectionArea"),$help_url);
-print_fiche_titre($langs->trans("ProspectionArea"));
+print load_fiche_titre($langs->trans("ProspectionArea"));
//print '';
//print '';
diff --git a/htdocs/comm/propal/stats/index.php b/htdocs/comm/propal/stats/index.php
index 9a2a712e339..e99c7122a10 100644
--- a/htdocs/comm/propal/stats/index.php
+++ b/htdocs/comm/propal/stats/index.php
@@ -65,7 +65,7 @@ $langs->load('other');
llxHeader('', $langs->trans("ProposalsStatistics"));
-print_fiche_titre($langs->trans("ProposalsStatistics"),'','title_commercial.png');
+print load_fiche_titre($langs->trans("ProposalsStatistics"),'','title_commercial.png');
$dir=$conf->propal->dir_temp;
diff --git a/htdocs/comm/prospect/index.php b/htdocs/comm/prospect/index.php
index f5f600ddd08..fba2fe9d1cd 100644
--- a/htdocs/comm/prospect/index.php
+++ b/htdocs/comm/prospect/index.php
@@ -44,7 +44,7 @@ $companystatic=new Societe($db);
llxHeader();
-print_fiche_titre($langs->trans("ProspectionArea"));
+print load_fiche_titre($langs->trans("ProspectionArea"));
//print '';
//print '| ';
diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php
index 6d0d1dedb2a..ea9e1382d40 100644
--- a/htdocs/comm/remise.php
+++ b/htdocs/comm/remise.php
@@ -124,7 +124,7 @@ if ($socid > 0)
print ' | ';
print ' ';
- print_fiche_titre($langs->trans("NewRelativeDiscount"),'','');
+ print load_fiche_titre($langs->trans("NewRelativeDiscount"),'','');
print '';
diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php
index 744f1ff39c7..957f109268a 100644
--- a/htdocs/comm/remx.php
+++ b/htdocs/comm/remx.php
@@ -264,7 +264,7 @@ if ($socid > 0)
print ' ';
print ' ';
- print_fiche_titre($langs->trans("NewGlobalDiscount"),'','');
+ print load_fiche_titre($langs->trans("NewGlobalDiscount"),'','');
print '';
print '| '.$langs->trans("AmountHT").' | ';
print '';
diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php
index 54400bb60ef..1af55e25d40 100644
--- a/htdocs/commande/card.php
+++ b/htdocs/commande/card.php
@@ -1233,7 +1233,7 @@ if (! empty($conf->projet->enabled)) { $formproject = new FormProjets($db); }
*/
if ($action == 'create' && $user->rights->commande->creer)
{
- print_fiche_titre($langs->trans('CreateOrder'),'','title_commercial.png');
+ print load_fiche_titre($langs->trans('CreateOrder'),'','title_commercial.png');
$soc = new Societe($db);
if ($socid > 0)
@@ -2376,7 +2376,7 @@ if ($action == 'create' && $user->rights->commande->creer)
print '';
print ' ';
- print_fiche_titre($langs->trans('SendOrderByMail'));
+ print load_fiche_titre($langs->trans('SendOrderByMail'));
dol_fiche_head('');
diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php
index 5baa7b7c30f..d6432a257ba 100644
--- a/htdocs/commande/index.php
+++ b/htdocs/commande/index.php
@@ -53,7 +53,7 @@ $help_url="EN:Module_Customers_Orders|FR:Module_Commandes_Clients|ES:Módulo_Ped
llxHeader("",$langs->trans("Orders"),$help_url);
-print_fiche_titre($langs->trans("OrdersArea"));
+print load_fiche_titre($langs->trans("OrdersArea"));
//print '';
//print '';
diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php
index 2896a6e22c6..136ac6c1b89 100644
--- a/htdocs/commande/orderstoinvoice.php
+++ b/htdocs/commande/orderstoinvoice.php
@@ -370,7 +370,7 @@ if ($action == 'create' && !$error)
$facturestatic=new Facture($db);
llxHeader();
- print_fiche_titre($langs->trans('NewBill'));
+ print load_fiche_titre($langs->trans('NewBill'));
$soc = new Societe($db);
if ($socid) $res=$soc->fetch($socid);
@@ -570,7 +570,7 @@ if (($action != 'create' && $action != 'add') || ($action == 'create' && $error)
$title = $langs->trans('ListOfOrders');
$title.=' - '.$langs->trans('StatusOrderValidated').', '.$langs->trans("StatusOrderSent").', '.$langs->trans('StatusOrderToBill');
$num = $db->num_rows($resql);
- print_fiche_titre($title);
+ print load_fiche_titre($title);
$i = 0;
$period=$html->select_date($date_start,'date_start',0,0,1,'',1,0,1).' - '.$html->select_date($date_end,'date_end',0,0,1,'',1,0,1);
$periodely=$html->select_date($date_starty,'date_start_dely',0,0,1,'',1,0,1).' - '.$html->select_date($date_endy,'date_end_dely',0,0,1,'',1,0,1);
diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php
index ea781a4828f..c4d48d8f72e 100644
--- a/htdocs/commande/stats/index.php
+++ b/htdocs/commande/stats/index.php
@@ -77,7 +77,7 @@ if ($mode == 'supplier')
$dir=$conf->fournisseur->dir_output.'/commande/temp';
}
-print_fiche_titre($title,'','title_commercial.png');
+print load_fiche_titre($title,'','title_commercial.png');
dol_mkdir($dir);
diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php
index 10e9674ec8d..deed3b1b97a 100644
--- a/htdocs/compta/bank/account.php
+++ b/htdocs/compta/bank/account.php
@@ -469,7 +469,7 @@ if ($id > 0 || ! empty($ref))
// Form to add a transaction with no invoice
if ($user->rights->banque->modifier && $action == 'addline')
{
- print_fiche_titre($langs->trans("AddBankRecordLong"),'','');
+ print load_fiche_titre($langs->trans("AddBankRecordLong"),'','');
print '';
print '';
diff --git a/htdocs/compta/bank/budget.php b/htdocs/compta/bank/budget.php
index f22ce342bf0..c35dec41e7d 100644
--- a/htdocs/compta/bank/budget.php
+++ b/htdocs/compta/bank/budget.php
@@ -44,7 +44,7 @@ $companystatic=new Societe($db);
llxHeader();
// List movements bu category for bank transactions
-print_fiche_titre($langs->trans("BankTransactionByCategories"), '', 'title_bank.png');
+print load_fiche_titre($langs->trans("BankTransactionByCategories"), '', 'title_bank.png');
print '';
print "";
diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php
index c6c34d87129..063fee8ca78 100644
--- a/htdocs/compta/bank/card.php
+++ b/htdocs/compta/bank/card.php
@@ -243,7 +243,7 @@ if ($action == 'create')
{
$account=new Account($db);
- print_fiche_titre($langs->trans("NewFinancialAccount"), '', 'title_bank.png');
+ print load_fiche_titre($langs->trans("NewFinancialAccount"), '', 'title_bank.png');
if ($conf->use_javascript_ajax)
{
@@ -777,7 +777,7 @@ else
$account = new Account($db);
$account->fetch(GETPOST('id','int'));
- print_fiche_titre($langs->trans("EditFinancialAccount"), '', 'title_bank.png');
+ print load_fiche_titre($langs->trans("EditFinancialAccount"), '', 'title_bank.png');
if ($conf->use_javascript_ajax)
{
diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php
index 00755959ab9..1d9da7f9f59 100644
--- a/htdocs/compta/bank/categ.php
+++ b/htdocs/compta/bank/categ.php
@@ -108,7 +108,7 @@ if ($action == 'delete')
llxHeader();
-print_fiche_titre($langs->trans("Rubriques"), '', 'title_bank.png');
+print load_fiche_titre($langs->trans("Rubriques"), '', 'title_bank.png');
print ' | | | | |