';
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 86ec2ee5c38..baf8d6be46e 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -882,7 +882,7 @@ if ($action == 'create')
print '';
}
- dol_fiche_head('');
+ print dol_get_fiche_head('');
print '';
@@ -1584,7 +1584,7 @@ if ($action == 'create')
$res = $object->fetch_optionals();
$head = shipping_prepare_head($object);
- dol_fiche_head($head, 'shipping', $langs->trans("Shipment"), -1, 'sending');
+ print dol_get_fiche_head($head, 'shipping', $langs->trans("Shipment"), -1, 'sending');
$formconfirm = '';
diff --git a/htdocs/expedition/contact.php b/htdocs/expedition/contact.php
index 69c5080ea83..d2adaadf484 100644
--- a/htdocs/expedition/contact.php
+++ b/htdocs/expedition/contact.php
@@ -152,7 +152,7 @@ if ($id > 0 || !empty($ref))
$langs->trans("OrderCard");
$head = shipping_prepare_head($object);
- dol_fiche_head($head, 'contact', $langs->trans("Shipment"), -1, 'sending');
+ print dol_get_fiche_head($head, 'contact', $langs->trans("Shipment"), -1, 'sending');
// Shipment card
diff --git a/htdocs/expedition/document.php b/htdocs/expedition/document.php
index 69f59cb3385..ede667279e6 100644
--- a/htdocs/expedition/document.php
+++ b/htdocs/expedition/document.php
@@ -94,7 +94,7 @@ if ($id > 0 || !empty($ref)) {
$upload_dir = $conf->expedition->dir_output.'/sending/'.dol_sanitizeFileName($object->ref);
$head = shipping_prepare_head($object);
- dol_fiche_head($head, 'documents', $langs->trans("Shipment"), -1, 'sending');
+ print dol_get_fiche_head($head, 'documents', $langs->trans("Shipment"), -1, 'sending');
// Build file list
diff --git a/htdocs/expedition/note.php b/htdocs/expedition/note.php
index 199782398a6..64aa415c4ce 100644
--- a/htdocs/expedition/note.php
+++ b/htdocs/expedition/note.php
@@ -91,7 +91,7 @@ $form = new Form($db);
if ($id > 0 || !empty($ref))
{
$head = shipping_prepare_head($object);
- dol_fiche_head($head, 'note', $langs->trans("Shipment"), -1, 'sending');
+ print dol_get_fiche_head($head, 'note', $langs->trans("Shipment"), -1, 'sending');
// Shipment card
diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php
index 152dee7cd36..5b3949dc584 100644
--- a/htdocs/expedition/shipment.php
+++ b/htdocs/expedition/shipment.php
@@ -250,7 +250,7 @@ if ($id > 0 || !empty($ref))
$res = $object->fetch_optionals();
$head = commande_prepare_head($object);
- dol_fiche_head($head, 'shipping', $langs->trans("CustomerOrder"), -1, 'order');
+ print dol_get_fiche_head($head, 'shipping', $langs->trans("CustomerOrder"), -1, 'order');
$formconfirm = '';
diff --git a/htdocs/expedition/stats/index.php b/htdocs/expedition/stats/index.php
index 9521cd46d10..d500a97ab71 100644
--- a/htdocs/expedition/stats/index.php
+++ b/htdocs/expedition/stats/index.php
@@ -204,7 +204,7 @@ $type = 'shipment_stats';
complete_head_from_modules($conf, $langs, null, $head, $h, $type);
-dol_fiche_head($head, 'byyear', $langs->trans("Statistics"), -1);
+print dol_get_fiche_head($head, 'byyear', $langs->trans("Statistics"), -1);
print '';
diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php
index 4579c1a3e8f..c0896151284 100644
--- a/htdocs/expensereport/card.php
+++ b/htdocs/expensereport/card.php
@@ -1390,7 +1390,7 @@ if ($action == 'create')
print ' ';
print ' ';
- dol_fiche_head('');
+ print dol_get_fiche_head('');
print ' ';
print '';
@@ -1527,7 +1527,7 @@ if ($action == 'create')
print '';
print '';
- dol_fiche_head($head, 'card', $langs->trans("ExpenseReport"), 0, 'trip');
+ print dol_get_fiche_head($head, 'card', $langs->trans("ExpenseReport"), 0, 'trip');
if ($object->status == 99)
{
@@ -1625,7 +1625,7 @@ if ($action == 'create')
print '';
} else {
- dol_fiche_head($head, 'card', $langs->trans("ExpenseReport"), -1, 'trip');
+ print dol_get_fiche_head($head, 'card', $langs->trans("ExpenseReport"), -1, 'trip');
// Clone confirmation
if ($action == 'clone') {
diff --git a/htdocs/expensereport/document.php b/htdocs/expensereport/document.php
index 6814c0a5b0d..531140e1b2a 100644
--- a/htdocs/expensereport/document.php
+++ b/htdocs/expensereport/document.php
@@ -110,7 +110,7 @@ if ($object->id)
$head = expensereport_prepare_head($object);
- dol_fiche_head($head, 'documents', $langs->trans("ExpenseReport"), -1, 'trip');
+ print dol_get_fiche_head($head, 'documents', $langs->trans("ExpenseReport"), -1, 'trip');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/expensereport/info.php b/htdocs/expensereport/info.php
index 0b50a69071f..00510e4e5fd 100644
--- a/htdocs/expensereport/info.php
+++ b/htdocs/expensereport/info.php
@@ -77,7 +77,7 @@ if ($id > 0 || !empty($ref))
$head = expensereport_prepare_head($object);
- dol_fiche_head($head, 'info', $langs->trans("ExpenseReport"), -1, 'trip');
+ print dol_get_fiche_head($head, 'info', $langs->trans("ExpenseReport"), -1, 'trip');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php
index 0a264c59a2a..0186bd08103 100644
--- a/htdocs/expensereport/list.php
+++ b/htdocs/expensereport/list.php
@@ -341,7 +341,7 @@ if ($resql)
$linkback = ''.$langs->trans("BackToList").'';
$head = user_prepare_head($fuser);
- dol_fiche_head($head, 'expensereport', $title, -1, 'user');
+ print dol_get_fiche_head($head, 'expensereport', $title, -1, 'user');
dol_banner_tab($fuser, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
diff --git a/htdocs/expensereport/note.php b/htdocs/expensereport/note.php
index 171e8980fab..31667d74a4e 100644
--- a/htdocs/expensereport/note.php
+++ b/htdocs/expensereport/note.php
@@ -90,7 +90,7 @@ if ($id > 0 || !empty($ref))
$head = expensereport_prepare_head($object);
- dol_fiche_head($head, 'note', $langs->trans("ExpenseReport"), -1, 'trip');
+ print dol_get_fiche_head($head, 'note', $langs->trans("ExpenseReport"), -1, 'trip');
$linkback = ''.$langs->trans("BackToList").'';
diff --git a/htdocs/expensereport/payment/card.php b/htdocs/expensereport/payment/card.php
index 718e96b12b0..4a5099cc03a 100644
--- a/htdocs/expensereport/payment/card.php
+++ b/htdocs/expensereport/payment/card.php
@@ -81,7 +81,7 @@ $form = new Form($db);
$head = payment_expensereport_prepare_head($object);
-dol_fiche_head($head, 'payment', $langs->trans("ExpenseReportPayment"), -1, 'payment');
+print dol_get_fiche_head($head, 'payment', $langs->trans("ExpenseReportPayment"), -1, 'payment');
/*
* Confirm deleting of the payment
diff --git a/htdocs/expensereport/payment/info.php b/htdocs/expensereport/payment/info.php
index b548eb54be2..281e760684d 100644
--- a/htdocs/expensereport/payment/info.php
+++ b/htdocs/expensereport/payment/info.php
@@ -56,7 +56,7 @@ $object->info($object->id);
$head = payment_expensereport_prepare_head($object);
-dol_fiche_head($head, 'info', $langs->trans("ExpenseReportPayment"), -1, 'payment');
+print dol_get_fiche_head($head, 'info', $langs->trans("ExpenseReportPayment"), -1, 'payment');
//$linkback = '' . $langs->trans("BackToList") . '';
diff --git a/htdocs/expensereport/payment/payment.php b/htdocs/expensereport/payment/payment.php
index 1f0c1e8da4c..54ecd8874a9 100644
--- a/htdocs/expensereport/payment/payment.php
+++ b/htdocs/expensereport/payment/payment.php
@@ -206,7 +206,7 @@ if ($action == 'create' || empty($action))
print '';
print '';
- dol_fiche_head(null, '0', '', -1);
+ print dol_get_fiche_head(null, '0', '', -1);
$linkback = '';
// $linkback = '' . $langs->trans("BackToList") . '';
@@ -241,7 +241,7 @@ if ($action == 'create' || empty($action))
dol_fiche_end();
- dol_fiche_head();
+ print dol_get_fiche_head();
print ''."\n";
diff --git a/htdocs/expensereport/stats/index.php b/htdocs/expensereport/stats/index.php
index 2079a2bf045..b789fc57345 100644
--- a/htdocs/expensereport/stats/index.php
+++ b/htdocs/expensereport/stats/index.php
@@ -201,7 +201,7 @@ $h++;
complete_head_from_modules($conf, $langs, null, $head, $h, 'trip_stats');
-dol_fiche_head($head, 'byyear', $langs->trans("Statistics"), -1);
+print dol_get_fiche_head($head, 'byyear', $langs->trans("Statistics"), -1);
print '';
diff --git a/htdocs/exports/export.php b/htdocs/exports/export.php
index d7075d86e1b..412167c55f2 100644
--- a/htdocs/exports/export.php
+++ b/htdocs/exports/export.php
@@ -428,7 +428,7 @@ if ($step == 1 || !$datatoexport)
$hselected = $h;
$h++;
- dol_fiche_head($head, $hselected, $langs->trans("NewExport"), -1);
+ print dol_get_fiche_head($head, $hselected, $langs->trans("NewExport"), -1);
print ' '.$langs->trans("SelectExportDataSet").' ';
@@ -489,7 +489,7 @@ if ($step == 2 && $datatoexport)
$hselected = $h;
$h++;
- dol_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
+ print dol_get_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
print ' ';
print ' ';
@@ -687,7 +687,7 @@ if ($step == 3 && $datatoexport)
$hselected = $h;
$h++;
- dol_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
+ print dol_get_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
print ' ';
print ' ';
@@ -875,7 +875,7 @@ if ($step == 4 && $datatoexport)
$hselected = $h;
$h++;
- dol_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
+ print dol_get_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
print ' ';
print ' ';
@@ -1133,7 +1133,7 @@ if ($step == 5 && $datatoexport)
$hselected = $h;
$h++;
- dol_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
+ print dol_get_fiche_head($head, $hselected, $langs->trans("NewExport"), -2);
/*
* Confirmation suppression fichier
diff --git a/htdocs/fichinter/admin/fichinter_extrafields.php b/htdocs/fichinter/admin/fichinter_extrafields.php
index c19bce3c9d1..84dfeb7cfd3 100644
--- a/htdocs/fichinter/admin/fichinter_extrafields.php
+++ b/htdocs/fichinter/admin/fichinter_extrafields.php
@@ -69,7 +69,7 @@ print load_fiche_titre($langs->trans("InterventionsSetup"), $linkback, 'title_se
$head = fichinter_admin_prepare_head();
-dol_fiche_head($head, 'attributes', $langs->trans("Interventions"), -1, 'intervention');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("Interventions"), -1, 'intervention');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
diff --git a/htdocs/fichinter/admin/fichinterdet_extrafields.php b/htdocs/fichinter/admin/fichinterdet_extrafields.php
index 768de47cfd0..5a13bdb4b32 100644
--- a/htdocs/fichinter/admin/fichinterdet_extrafields.php
+++ b/htdocs/fichinter/admin/fichinterdet_extrafields.php
@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans("InterventionsSetup"), $linkback, 'title_se
$head = fichinter_admin_prepare_head();
-dol_fiche_head($head, 'attributesdet', $langs->trans("Interventions"), -1, 'intervention');
+print dol_get_fiche_head($head, 'attributesdet', $langs->trans("Interventions"), -1, 'intervention');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
diff --git a/htdocs/fichinter/card-rec.php b/htdocs/fichinter/card-rec.php
index b8ff3714596..0a4bbfe922f 100644
--- a/htdocs/fichinter/card-rec.php
+++ b/htdocs/fichinter/card-rec.php
@@ -256,7 +256,7 @@ if ($action == 'create') {
print ' ';
print ' ';
- dol_fiche_head();
+ print dol_get_fiche_head();
$rowspan = 4;
if (!empty($conf->projet->enabled) && $object->fk_project > 0) $rowspan++;
@@ -429,7 +429,7 @@ if ($action == 'create') {
}
} elseif ($action == 'selsocforcreatefrommodel') {
print load_fiche_titre($langs->trans("CreateRepeatableIntervention"), '', 'intervention');
- dol_fiche_head('');
+ print dol_get_fiche_head('');
print ' |