';
dol_print_object_info($object);
diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php
index 8ca880de25f..6a9fdcbffff 100644
--- a/htdocs/accountancy/bookkeeping/card.php
+++ b/htdocs/accountancy/bookkeeping/card.php
@@ -351,7 +351,7 @@ if ($action == 'create')
print ''."\n";
print ''."\n";
- dol_fiche_head();
+ print dol_get_fiche_head();
print '';
@@ -415,7 +415,7 @@ if ($action == 'create')
$head[$h][2] = 'transaction';
$h++;
- dol_fiche_head($head, 'transaction', '', -1);
+ print dol_get_fiche_head($head, 'transaction', '', -1);
//dol_banner_tab($object, '', $backlink);
diff --git a/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php b/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php
index 321ef282dff..9e21a712e7e 100644
--- a/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php
+++ b/htdocs/accountancy/bookkeeping/thirdparty_lettering_customer.php
@@ -135,7 +135,7 @@ $head = societe_prepare_head($object);
dol_htmloutput_mesg(is_numeric($error) ? '' : $error, $errors, 'error');
-dol_fiche_head($head, 'lettering_customer', $langs->trans("ThirdParty"), 0, 'company');
+print dol_get_fiche_head($head, 'lettering_customer', $langs->trans("ThirdParty"), 0, 'company');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php b/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php
index 144c2595d25..a0f930e50d7 100644
--- a/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php
+++ b/htdocs/accountancy/bookkeeping/thirdparty_lettering_supplier.php
@@ -134,7 +134,7 @@ $head = societe_prepare_head($object);
dol_htmloutput_mesg(is_numeric($error) ? '' : $error, $errors, 'error');
-dol_fiche_head($head, 'lettering_supplier', $langs->trans("ThirdParty"), 0, 'company');
+print dol_get_fiche_head($head, 'lettering_supplier', $langs->trans("ThirdParty"), 0, 'company');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/accountancy/customer/card.php b/htdocs/accountancy/customer/card.php
index ed8f347a177..4343946a85e 100644
--- a/htdocs/accountancy/customer/card.php
+++ b/htdocs/accountancy/customer/card.php
@@ -119,7 +119,7 @@ if (!empty($id)) {
print load_fiche_titre($langs->trans('CustomersVentilation'), '', 'title_accountancy');
- dol_fiche_head();
+ print dol_get_fiche_head();
print '';
diff --git a/htdocs/accountancy/expensereport/card.php b/htdocs/accountancy/expensereport/card.php
index ab02592f6b8..153717d05e4 100644
--- a/htdocs/accountancy/expensereport/card.php
+++ b/htdocs/accountancy/expensereport/card.php
@@ -121,7 +121,7 @@ if (!empty($id)) {
print load_fiche_titre($langs->trans('ExpenseReportsVentilation'), '', 'title_accountancy');
- dol_fiche_head();
+ print dol_get_fiche_head();
print '';
diff --git a/htdocs/accountancy/supplier/card.php b/htdocs/accountancy/supplier/card.php
index 4a4747cfaf4..bee34f291f5 100644
--- a/htdocs/accountancy/supplier/card.php
+++ b/htdocs/accountancy/supplier/card.php
@@ -121,7 +121,7 @@ if (!empty($id)) {
print load_fiche_titre($langs->trans('SuppliersVentilation'), '', 'title_accountancy');
- dol_fiche_head();
+ print dol_get_fiche_head();
print '';
diff --git a/htdocs/adherents/agenda.php b/htdocs/adherents/agenda.php
index a7e7a6f3634..c0b5998f035 100644
--- a/htdocs/adherents/agenda.php
+++ b/htdocs/adherents/agenda.php
@@ -118,7 +118,7 @@ if ($object->id > 0) {
if (!empty($conf->notification->enabled)) $langs->load("mails");
$head = member_prepare_head($object);
- dol_fiche_head($head, 'agenda', $langs->trans("Member"), -1, 'user');
+ print dol_get_fiche_head($head, 'agenda', $langs->trans("Member"), -1, 'user');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php
index cd432aa12d6..128b915ef0f 100644
--- a/htdocs/adherents/card.php
+++ b/htdocs/adherents/card.php
@@ -4,7 +4,7 @@
* Copyright (C) 2004-2012 Laurent Destailleur
* Copyright (C) 2005-2018 Regis Houssin
* Copyright (C) 2012 Marcos García
- * Copyright (C) 2012-2018 Philippe Grand
+ * Copyright (C) 2012-2020 Philippe Grand
* Copyright (C) 2015-2018 Alexandre Spangaro
* Copyright (C) 2018 Frédéric France
*
@@ -833,7 +833,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '';
if ($backtopage) print '';
- dol_fiche_head('');
+ print dol_get_fiche_head('');
print '';
print '';
@@ -1058,7 +1058,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '';
if ($backtopage) print '';
- dol_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user');
+ print dol_get_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user');
print '';
@@ -1268,7 +1268,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
*/
$head = member_prepare_head($object);
- dol_fiche_head($head, 'general', $langs->trans("Member"), -1, 'user');
+ print dol_get_fiche_head($head, 'general', $langs->trans("Member"), -1, 'user');
// Confirm create user
if ($action == 'create_user') {
diff --git a/htdocs/adherents/document.php b/htdocs/adherents/document.php
index 32630b9e478..0f6e6250796 100644
--- a/htdocs/adherents/document.php
+++ b/htdocs/adherents/document.php
@@ -100,7 +100,7 @@ if ($id > 0) {
$head = member_prepare_head($object);
- dol_fiche_head($head, 'document', $langs->trans("Member"), -1, 'user');
+ print dol_get_fiche_head($head, 'document', $langs->trans("Member"), -1, 'user');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php
index 249d2dd9b8c..76c6833c07b 100644
--- a/htdocs/compta/facture/note.php
+++ b/htdocs/compta/facture/note.php
@@ -81,7 +81,7 @@ if ($id > 0 || !empty($ref))
$totalpaye = $object->getSommePaiement();
- dol_fiche_head($head, 'note', $langs->trans("InvoiceCustomer"), -1, 'bill');
+ print dol_get_fiche_head($head, 'note', $langs->trans("InvoiceCustomer"), -1, 'bill');
// Invoice content
|