Browse Source

replace deprecated

Frédéric FRANCE 4 years ago
parent
commit
9a470fa42d
100 changed files with 121 additions and 121 deletions
  1. 1 1
      htdocs/adherents/admin/adherent.php
  2. 1 1
      htdocs/adherents/admin/adherent_emails.php
  3. 1 1
      htdocs/adherents/admin/adherent_extrafields.php
  4. 1 1
      htdocs/adherents/admin/adherent_type_extrafields.php
  5. 1 1
      htdocs/adherents/admin/website.php
  6. 1 1
      htdocs/adherents/ldap.php
  7. 1 1
      htdocs/adherents/note.php
  8. 1 1
      htdocs/adherents/stats/byproperties.php
  9. 1 1
      htdocs/adherents/stats/geo.php
  10. 1 1
      htdocs/adherents/stats/index.php
  11. 2 2
      htdocs/adherents/subscription.php
  12. 2 2
      htdocs/adherents/subscription/card.php
  13. 1 1
      htdocs/adherents/subscription/info.php
  14. 4 4
      htdocs/adherents/type.php
  15. 1 1
      htdocs/adherents/type_ldap.php
  16. 2 2
      htdocs/adherents/type_translation.php
  17. 1 1
      htdocs/admin/accountant.php
  18. 1 1
      htdocs/admin/agenda.php
  19. 1 1
      htdocs/admin/agenda_extrafields.php
  20. 1 1
      htdocs/admin/agenda_extsites.php
  21. 1 1
      htdocs/admin/agenda_other.php
  22. 1 1
      htdocs/admin/agenda_reminder.php
  23. 1 1
      htdocs/admin/agenda_xcal.php
  24. 1 1
      htdocs/admin/bank.php
  25. 1 1
      htdocs/admin/bank_extrafields.php
  26. 1 1
      htdocs/admin/bom.php
  27. 1 1
      htdocs/admin/bom_extrafields.php
  28. 1 1
      htdocs/admin/chequereceipts.php
  29. 1 1
      htdocs/admin/commande.php
  30. 1 1
      htdocs/admin/commande_fournisseur_dispatch_extrafields.php
  31. 1 1
      htdocs/admin/company.php
  32. 1 1
      htdocs/admin/confexped.php
  33. 1 1
      htdocs/admin/contract.php
  34. 1 1
      htdocs/admin/dav.php
  35. 1 1
      htdocs/admin/defaultvalues.php
  36. 1 1
      htdocs/admin/ecm.php
  37. 1 1
      htdocs/admin/ecm_directories_extrafields.php
  38. 1 1
      htdocs/admin/ecm_files_extrafields.php
  39. 3 3
      htdocs/admin/emailcollector_card.php
  40. 1 1
      htdocs/admin/events.php
  41. 1 1
      htdocs/admin/expedition.php
  42. 1 1
      htdocs/admin/expedition_extrafields.php
  43. 1 1
      htdocs/admin/expeditiondet_extrafields.php
  44. 1 1
      htdocs/admin/expensereport.php
  45. 1 1
      htdocs/admin/expensereport_extrafields.php
  46. 1 1
      htdocs/admin/expensereport_ik.php
  47. 1 1
      htdocs/admin/expensereport_rules.php
  48. 1 1
      htdocs/admin/export.php
  49. 1 1
      htdocs/admin/facture.php
  50. 1 1
      htdocs/admin/facture_situation.php
  51. 1 1
      htdocs/admin/fichinter.php
  52. 1 1
      htdocs/admin/holiday.php
  53. 1 1
      htdocs/admin/holiday_extrafields.php
  54. 1 1
      htdocs/admin/import.php
  55. 1 1
      htdocs/admin/ldap.php
  56. 1 1
      htdocs/admin/ldap_contacts.php
  57. 1 1
      htdocs/admin/ldap_groups.php
  58. 1 1
      htdocs/admin/ldap_members.php
  59. 1 1
      htdocs/admin/ldap_members_types.php
  60. 1 1
      htdocs/admin/ldap_users.php
  61. 1 1
      htdocs/admin/limits.php
  62. 1 1
      htdocs/admin/livraison.php
  63. 1 1
      htdocs/admin/livraison_extrafields.php
  64. 1 1
      htdocs/admin/livraisondet_extrafields.php
  65. 2 2
      htdocs/admin/mailman.php
  66. 3 3
      htdocs/admin/mails.php
  67. 3 3
      htdocs/admin/mails_emailing.php
  68. 1 1
      htdocs/admin/mails_senderprofile_list.php
  69. 1 1
      htdocs/admin/mails_templates.php
  70. 3 3
      htdocs/admin/mails_ticket.php
  71. 1 1
      htdocs/admin/menus.php
  72. 2 2
      htdocs/admin/menus/edit.php
  73. 1 1
      htdocs/admin/menus/index.php
  74. 1 1
      htdocs/admin/menus/other.php
  75. 1 1
      htdocs/admin/modulehelp.php
  76. 4 4
      htdocs/admin/modules.php
  77. 1 1
      htdocs/admin/mrp.php
  78. 1 1
      htdocs/admin/mrp_extrafields.php
  79. 1 1
      htdocs/admin/multicurrency.php
  80. 1 1
      htdocs/admin/oauth.php
  81. 1 1
      htdocs/admin/oauthlogintokens.php
  82. 1 1
      htdocs/admin/openinghours.php
  83. 1 1
      htdocs/admin/order_extrafields.php
  84. 1 1
      htdocs/admin/orderdet_extrafields.php
  85. 1 1
      htdocs/admin/payment.php
  86. 1 1
      htdocs/admin/perms.php
  87. 1 1
      htdocs/admin/propal.php
  88. 1 1
      htdocs/admin/proxy.php
  89. 2 2
      htdocs/admin/receiptprinter.php
  90. 1 1
      htdocs/admin/reception_extrafields.php
  91. 1 1
      htdocs/admin/reception_setup.php
  92. 1 1
      htdocs/admin/resource.php
  93. 1 1
      htdocs/admin/resource_extrafields.php
  94. 1 1
      htdocs/admin/security.php
  95. 1 1
      htdocs/admin/security_file.php
  96. 1 1
      htdocs/admin/security_other.php
  97. 1 1
      htdocs/admin/socialnetworks.php
  98. 2 2
      htdocs/admin/spip.php
  99. 1 1
      htdocs/admin/stock.php
  100. 1 1
      htdocs/admin/supplier_invoice.php

+ 1 - 1
htdocs/adherents/admin/adherent.php

@@ -132,7 +132,7 @@ print load_fiche_titre($langs->trans("MembersSetup"), $linkback, 'title_setup');
 
 $head = member_admin_prepare_head();
 
-dol_fiche_head($head, 'general', $langs->trans("Members"), -1, 'user');
+print dol_get_fiche_head($head, 'general', $langs->trans("Members"), -1, 'user');
 
 print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
 print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/adherents/admin/adherent_emails.php

@@ -119,7 +119,7 @@ print load_fiche_titre($langs->trans("MembersSetup"), $linkback, 'title_setup');
 
 $head = member_admin_prepare_head();
 
-dol_fiche_head($head, 'emails', $langs->trans("Members"), -1, 'user');
+print dol_get_fiche_head($head, 'emails', $langs->trans("Members"), -1, 'user');
 
 // TODO Use global form
 //print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';

+ 1 - 1
htdocs/adherents/admin/adherent_extrafields.php

@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans("MembersSetup"), $linkback, 'title_setup');
 
 $head = member_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes', $langs->trans("Members"), -1, 'user');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("Members"), -1, 'user');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/adherents/admin/adherent_type_extrafields.php

@@ -73,7 +73,7 @@ print load_fiche_titre($langs->trans("MembersSetup"), $linkback, 'title_setup');
 
 $head = member_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes_type', $langs->trans("Members"), -1, 'user');
+print dol_get_fiche_head($head, 'attributes_type', $langs->trans("Members"), -1, 'user');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/adherents/admin/website.php

@@ -94,7 +94,7 @@ print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">';
 print '<input type="hidden" name="action" value="update">';
 print '<input type="hidden" name="token" value="'.newToken().'">';
 
-dol_fiche_head($head, 'website', $langs->trans("Members"), -1, 'user');
+print dol_get_fiche_head($head, 'website', $langs->trans("Members"), -1, 'user');
 
 if ($conf->use_javascript_ajax) {
     print "\n".'<script type="text/javascript" language="javascript">';

+ 1 - 1
htdocs/adherents/ldap.php

@@ -84,7 +84,7 @@ llxHeader('', $langs->trans("Member"), 'EN:Module_Foundations|FR:Module_Adh&eacu
 
 $head = member_prepare_head($object);
 
-dol_fiche_head($head, 'ldap', $langs->trans("Member"), 0, 'user');
+print dol_get_fiche_head($head, 'ldap', $langs->trans("Member"), 0, 'user');
 
 $linkback = '<a href="'.DOL_URL_ROOT.'/adherents/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
 

+ 1 - 1
htdocs/adherents/note.php

@@ -66,7 +66,7 @@ $form = new Form($db);
 if ($id) {
 	$head = member_prepare_head($object);
 
-	dol_fiche_head($head, 'note', $langs->trans("Member"), -1, 'user');
+	print dol_get_fiche_head($head, 'note', $langs->trans("Member"), -1, 'user');
 
 	print "<form method=\"post\" action=\"".$_SERVER['PHP_SELF']."\">";
 	print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/adherents/stats/byproperties.php

@@ -128,7 +128,7 @@ if ($resql) {
 
 $head = member_stats_prepare_head($adh);
 
-dol_fiche_head($head, 'statsbyproperties', $langs->trans("Statistics"), -1, 'user');
+print dol_get_fiche_head($head, 'statsbyproperties', $langs->trans("Statistics"), -1, 'user');
 
 
 // Print title

+ 1 - 1
htdocs/adherents/stats/geo.php

@@ -196,7 +196,7 @@ if ($mode) {
 
 $head = member_stats_prepare_head($adh);
 
-dol_fiche_head($head, $tab, $langs->trans("Statistics"), -1, 'user');
+print dol_get_fiche_head($head, $tab, $langs->trans("Statistics"), -1, 'user');
 
 
 // Print title

+ 1 - 1
htdocs/adherents/stats/index.php

@@ -133,7 +133,7 @@ if (!$mesg) {
 
 $head = member_stats_prepare_head($adh);
 
-dol_fiche_head($head, 'statssubscription', $langs->trans("Statistics"), -1, 'user');
+print dol_get_fiche_head($head, 'statssubscription', $langs->trans("Statistics"), -1, 'user');
 
 
 print '<div class="fichecenter"><div class="fichethirdleft">';

+ 2 - 2
htdocs/adherents/subscription.php

@@ -408,7 +408,7 @@ if ($rowid > 0) {
     print '<input type="hidden" name="token" value="'.newToken().'">';
     print '<input type="hidden" name="rowid" value="'.$object->id.'">';
 
-    dol_fiche_head($head, 'subscription', $langs->trans("Member"), -1, 'user');
+    print dol_get_fiche_head($head, 'subscription', $langs->trans("Member"), -1, 'user');
 
     $linkback = '<a href="'.DOL_URL_ROOT.'/adherents/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
 
@@ -802,7 +802,7 @@ if ($rowid > 0) {
         print '<input type="hidden" name="memberlabel" id="memberlabel" value="'.dol_escape_htmltag($object->getFullName($langs)).'">';
         print '<input type="hidden" name="thirdpartylabel" id="thirdpartylabel" value="'.dol_escape_htmltag($object->company).'">';
 
-		dol_fiche_head('');
+		print dol_get_fiche_head('');
 
 		print "<table class=\"border\" width=\"100%\">\n";
         print '<tbody>';

+ 2 - 2
htdocs/adherents/subscription/card.php

@@ -170,7 +170,7 @@ if ($user->rights->adherent->cotisation->creer && $action == 'edit') {
 	print "<input type=\"hidden\" name=\"rowid\" value=\"$rowid\">";
 	print "<input type=\"hidden\" name=\"fk_bank\" value=\"".$object->fk_bank."\">";
 
-	dol_fiche_head($head, 'general', $langs->trans("Subscription"), 0, 'payment');
+	print dol_get_fiche_head($head, 'general', $langs->trans("Subscription"), 0, 'payment');
 
 	$linkback = '<a href="'.DOL_URL_ROOT.'/adherents/subscription/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
 
@@ -256,7 +256,7 @@ if ($rowid && $action != 'edit') {
 
 	$head = subscription_prepare_head($object);
 
-	dol_fiche_head($head, 'general', $langs->trans("Subscription"), -1, 'payment');
+	print dol_get_fiche_head($head, 'general', $langs->trans("Subscription"), -1, 'payment');
 
 	// Confirmation to delete subscription
 	if ($action == 'delete') {

+ 1 - 1
htdocs/adherents/subscription/info.php

@@ -51,7 +51,7 @@ $result = $object->fetch($rowid);
 
 $head = subscription_prepare_head($object);
 
-dol_fiche_head($head, 'info', $langs->trans("Subscription"), -1, 'payment');
+print dol_get_fiche_head($head, 'info', $langs->trans("Subscription"), -1, 'payment');
 
 $linkback = '<a href="'.DOL_URL_ROOT.'/adherents/subscription/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
 

+ 4 - 4
htdocs/adherents/type.php

@@ -207,7 +207,7 @@ llxHeader('', $langs->trans("MembersTypeSetup"), 'EN:Module_Foundations|FR:Modul
 
 // List of members type
 if (!$rowid && $action != 'create' && $action != 'edit') {
-	//dol_fiche_head('');
+	//print dol_get_fiche_head('');
 
 	$sql = "SELECT d.rowid, d.libelle as label, d.subscription, d.vote, d.statut as status, d.morphy";
 	$sql .= " FROM ".MAIN_DB_PREFIX."adherent_type as d";
@@ -308,7 +308,7 @@ if ($action == 'create') {
 	print '<input type="hidden" name="token" value="'.newToken().'">';
 	print '<input type="hidden" name="action" value="add">';
 
-	dol_fiche_head('');
+	print dol_get_fiche_head('');
 
 	print '<table class="border centpercent">';
 	print '<tbody>';
@@ -389,7 +389,7 @@ if ($rowid > 0) {
 
 		$head = member_type_prepare_head($object);
 
-		dol_fiche_head($head, 'card', $langs->trans("MemberType"), -1, 'group');
+		print dol_get_fiche_head($head, 'card', $langs->trans("MemberType"), -1, 'group');
 
 		$linkback = '<a href="'.DOL_URL_ROOT.'/adherents/type.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
 
@@ -710,7 +710,7 @@ if ($rowid > 0) {
 		print '<input type="hidden" name="rowid" value="'.$object->id.'">';
 		print '<input type="hidden" name="action" value="update">';
 
-		dol_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group');
+		print dol_get_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group');
 
 		print '<table class="border centpercent">';
 

+ 1 - 1
htdocs/adherents/type_ldap.php

@@ -86,7 +86,7 @@ $form = new Form($db);
 
 $head = member_type_prepare_head($object);
 
-dol_fiche_head($head, 'ldap', $langs->trans("MemberType"), -1, 'group');
+print dol_get_fiche_head($head, 'ldap', $langs->trans("MemberType"), -1, 'group');
 
 $linkback = '<a href="'.DOL_URL_ROOT.'/adherents/type.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>';
 

+ 2 - 2
htdocs/adherents/type_translation.php

@@ -160,7 +160,7 @@ if (!empty($object->multilangs)) {
 }
 
 
-dol_fiche_head($head, 'translation', $titre, 0, 'group');
+print dol_get_fiche_head($head, 'translation', $titre, 0, 'group');
 
 $linkback = '<a href="'.dol_buildpath('/adherents/type.php', 1).'">'.$langs->trans("BackToList").'</a>';
 
@@ -258,7 +258,7 @@ if ($action == 'add' && $user->rights->adherent->configurer) {
 	print '<input type="hidden" name="action" value="vadd">';
 	print '<input type="hidden" name="rowid" value="'.GETPOST("rowid", 'int').'">';
 
-	dol_fiche_head();
+	print dol_get_fiche_head();
 
 	print '<table class="border centpercent">';
 	print '<tr><td class="tdtop titlefieldcreate fieldrequired">'.$langs->trans('Language').'</td><td>';

+ 1 - 1
htdocs/admin/accountant.php

@@ -82,7 +82,7 @@ print load_fiche_titre($langs->trans("CompanyFoundation"), '', 'title_setup');
 
 $head = company_admin_prepare_head();
 
-dol_fiche_head($head, 'accountant', $langs->trans("Company"), -1, 'company');
+print dol_get_fiche_head($head, 'accountant', $langs->trans("Company"), -1, 'company');
 
 $form = new Form($db);
 $formother = new FormOther($db);

+ 1 - 1
htdocs/admin/agenda.php

@@ -132,7 +132,7 @@ $param .= '&search_event='.urlencode($search_event);
 
 $head = agenda_prepare_head();
 
-dol_fiche_head($head, 'autoactions', $langs->trans("Agenda"), -1, 'action');
+print dol_get_fiche_head($head, 'autoactions', $langs->trans("Agenda"), -1, 'action');
 
 print '<span class="opacitymedium">'.$langs->trans("AgendaAutoActionDesc")." ".$langs->trans("OnlyActiveElementsAreShown", 'modules.php').'</span><br>';
 print "<br>\n";

+ 1 - 1
htdocs/admin/agenda_extrafields.php

@@ -74,7 +74,7 @@ print load_fiche_titre($langs->trans("AgendaSetup"), $linkback, 'title_setup');
 
 $head = agenda_prepare_head();
 
-dol_fiche_head($head, 'attributes', $langs->trans("Agenda"), -1, 'action');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("Agenda"), -1, 'action');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/agenda_extsites.php

@@ -136,7 +136,7 @@ print '<input type="hidden" name="action" value="save">';
 
 $head = agenda_prepare_head();
 
-dol_fiche_head($head, 'extsites', $langs->trans("Agenda"), -1, 'action');
+print dol_get_fiche_head($head, 'extsites', $langs->trans("Agenda"), -1, 'action');
 
 print '<span class="opacitymedium">'.$langs->trans("AgendaExtSitesDesc")."</span><br>\n";
 print "<br>\n";

+ 1 - 1
htdocs/admin/agenda_other.php

@@ -175,7 +175,7 @@ print load_fiche_titre($langs->trans("AgendaSetup"), $linkback, 'title_setup');
 
 $head = agenda_prepare_head();
 
-dol_fiche_head($head, 'other', $langs->trans("Agenda"), -1, 'action');
+print dol_get_fiche_head($head, 'other', $langs->trans("Agenda"), -1, 'action');
 
 
 /*

+ 1 - 1
htdocs/admin/agenda_reminder.php

@@ -166,7 +166,7 @@ print load_fiche_titre($langs->trans("AgendaSetup"), $linkback, 'title_setup');
 
 $head = agenda_prepare_head();
 
-dol_fiche_head($head, 'reminders', $langs->trans("Agenda"), -1, 'action');
+print dol_get_fiche_head($head, 'reminders', $langs->trans("Agenda"), -1, 'action');
 
 print '<form action="'.$_SERVER["PHP_SELF"].'" name="agenda">';
 print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/admin/agenda_xcal.php

@@ -80,7 +80,7 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
 
 $head = agenda_prepare_head();
 
-dol_fiche_head($head, 'xcal', $langs->trans("Agenda"), -1, 'action');
+print dol_get_fiche_head($head, 'xcal', $langs->trans("Agenda"), -1, 'action');
 
 print '<span class="opacitymedium">'.$langs->trans("AgendaSetupOtherDesc")."</span><br>\n";
 print "<br>\n";

+ 1 - 1
htdocs/admin/bank.php

@@ -215,7 +215,7 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
 print '<input type="hidden" name="action" value="save">';
 
 $head = bank_admin_prepare_head(null);
-dol_fiche_head($head, 'general', $langs->trans("BankSetupModule"), -1, 'account');
+print dol_get_fiche_head($head, 'general', $langs->trans("BankSetupModule"), -1, 'account');
 
 //Show bank account order
 print load_fiche_titre($langs->trans("BankOrderShow"), '', '');

+ 1 - 1
htdocs/admin/bank_extrafields.php

@@ -71,7 +71,7 @@ print load_fiche_titre($langs->trans("BankSetupModule"), $linkback, 'title_setup
 
 $head = bank_admin_prepare_head(null);
 
-dol_fiche_head($head, 'attributes', $langs->trans("BankSetupModule"), -1, 'account');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("BankSetupModule"), -1, 'account');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/bom.php

@@ -181,7 +181,7 @@ print load_fiche_titre($langs->trans("BOMsSetup"), $linkback, 'title_setup');
 
 $head = bomAdminPrepareHead();
 
-dol_fiche_head($head, 'settings', $langs->trans("BOMs"), -1, 'bom');
+print dol_get_fiche_head($head, 'settings', $langs->trans("BOMs"), -1, 'bom');
 
 /*
  * BOMs Numbering model

+ 1 - 1
htdocs/admin/bom_extrafields.php

@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans("BOMsSetup"), $linkback, 'title_setup');
 
 $head = bomAdminPrepareHead();
 
-dol_fiche_head($head, 'bom_extrafields', $langs->trans("ExtraFields"), -1, 'account');
+print dol_get_fiche_head($head, 'bom_extrafields', $langs->trans("ExtraFields"), -1, 'account');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/chequereceipts.php

@@ -99,7 +99,7 @@ $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_valu
 print load_fiche_titre($langs->trans("BankSetupModule"), $linkback, 'title_setup');
 
 $head = bank_admin_prepare_head(null);
-dol_fiche_head($head, 'checkreceipts', $langs->trans("BankSetupModule"), -1, 'account');
+print dol_get_fiche_head($head, 'checkreceipts', $langs->trans("BankSetupModule"), -1, 'account');
 
 /*
  *  Numbering module

+ 1 - 1
htdocs/admin/commande.php

@@ -246,7 +246,7 @@ print load_fiche_titre($langs->trans("OrdersSetup"), $linkback, 'title_setup');
 
 $head = order_admin_prepare_head();
 
-dol_fiche_head($head, 'general', $langs->trans("Orders"), -1, 'order');
+print dol_get_fiche_head($head, 'general', $langs->trans("Orders"), -1, 'order');
 
 /*
  * Orders Numbering model

+ 1 - 1
htdocs/admin/commande_fournisseur_dispatch_extrafields.php

@@ -79,7 +79,7 @@ print "<br>\n";
 
 $head = reception_admin_prepare_head();
 
-dol_fiche_head($head, 'attributeslines_reception', $langs->trans("Receptions"), -1, 'sending');
+print dol_get_fiche_head($head, 'attributeslines_reception', $langs->trans("Receptions"), -1, 'sending');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/company.php

@@ -373,7 +373,7 @@ print load_fiche_titre($langs->trans("CompanyFoundation"), '', 'title_setup');
 
 $head = company_admin_prepare_head();
 
-dol_fiche_head($head, 'company', $langs->trans("Company"), -1, 'company');
+print dol_get_fiche_head($head, 'company', $langs->trans("Company"), -1, 'company');
 
 print '<span class="opacitymedium">'.$langs->trans("CompanyFundationDesc", $langs->transnoentities("Save"))."</span><br>\n";
 print "<br>\n";

+ 1 - 1
htdocs/admin/confexped.php

@@ -92,7 +92,7 @@ print load_fiche_titre($langs->trans("SendingsSetup"), $linkback, 'title_setup')
 print '<br>';
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'general', $langs->trans("Sendings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'general', $langs->trans("Sendings"), -1, 'shipment');
 
 // Miscellaneous parameters
 

+ 1 - 1
htdocs/admin/contract.php

@@ -178,7 +178,7 @@ print load_fiche_titre($langs->trans("ContractsSetup"), $linkback, 'title_setup'
 
 $head = contract_admin_prepare_head();
 
-dol_fiche_head($head, 'contract', $langs->trans("Contracts"), -1, 'contract');
+print dol_get_fiche_head($head, 'contract', $langs->trans("Contracts"), -1, 'contract');
 
 /*
  * Contracts Numbering model

+ 1 - 1
htdocs/admin/dav.php

@@ -69,7 +69,7 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
 
 $head = dav_admin_prepare_head();
 
-dol_fiche_head($head, 'webdav', '', -1, 'action');
+print dol_get_fiche_head($head, 'webdav', '', -1, 'action');
 
 if ($action == 'edit')
 {

+ 1 - 1
htdocs/admin/defaultvalues.php

@@ -224,7 +224,7 @@ print '<input type="hidden" name="page" value="'.$page.'">';
 
 $head = defaultvalues_prepare_head();
 
-dol_fiche_head($head, $mode, '', -1, '');
+print dol_get_fiche_head($head, $mode, '', -1, '');
 
 if ($mode == 'sortorder')
 {

+ 1 - 1
htdocs/admin/ecm.php

@@ -73,7 +73,7 @@ print '<br>';
 
 $head = ecm_admin_prepare_head();
 
-dol_fiche_head($head, 'ecm', $langs->trans("ECM"), -1, 'ecm');
+print dol_get_fiche_head($head, 'ecm', $langs->trans("ECM"), -1, 'ecm');
 
 print '<table class="noborder centpercent">';
 print '<tr class="liste_titre">';

+ 1 - 1
htdocs/admin/ecm_directories_extrafields.php

@@ -80,7 +80,7 @@ print "<br>\n";
 
 $head = ecm_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes_ecm_directories', $langs->trans("ECM"), -1, 'ecm');
+print dol_get_fiche_head($head, 'attributes_ecm_directories', $langs->trans("ECM"), -1, 'ecm');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/ecm_files_extrafields.php

@@ -80,7 +80,7 @@ print "<br>\n";
 
 $head = ecm_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes_ecm_files', $langs->trans("ECM"), -1, 'ecm');
+print dol_get_fiche_head($head, 'attributes_ecm_files', $langs->trans("ECM"), -1, 'ecm');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 3 - 3
htdocs/admin/emailcollector_card.php

@@ -247,7 +247,7 @@ if ($action == 'create') {
 	print '<input type="hidden" name="action" value="add">';
 	print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
 
-	dol_fiche_head(array(), '');
+	print dol_get_fiche_head(array(), '');
 
 	print '<table class="border centpercent tableforfield">'."\n";
 
@@ -283,7 +283,7 @@ if (($id || $ref) && $action == 'edit')
 	print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
 	print '<input type="hidden" name="id" value="'.$object->id.'">';
 
-	dol_fiche_head();
+	print dol_get_fiche_head();
 
 	print '<table class="border centpercent tableforfield">'."\n";
 
@@ -313,7 +313,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
 	$object->fetchActions();
 
 	$head = emailcollectorPrepareHead($object);
-	dol_fiche_head($head, 'card', $langs->trans("EmailCollector"), -1, 'email');
+	print dol_get_fiche_head($head, 'card', $langs->trans("EmailCollector"), -1, 'email');
 
 	$formconfirm = '';
 

+ 1 - 1
htdocs/admin/events.php

@@ -102,7 +102,7 @@ print '<input type="hidden" name="action" value="save">';
 
 $head = security_prepare_head();
 
-dol_fiche_head($head, 'audit', '', -1);
+print dol_get_fiche_head($head, 'audit', '', -1);
 
 print '<table class="noborder" width="100%">';
 print "<tr class=\"liste_titre\">";

+ 1 - 1
htdocs/admin/expedition.php

@@ -184,7 +184,7 @@ print load_fiche_titre($langs->trans("SendingsSetup"), $linkback, 'title_setup')
 print '<br>';
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'shipment', $langs->trans("Sendings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'shipment', $langs->trans("Sendings"), -1, 'shipment');
 
 // Shipment numbering model
 

+ 1 - 1
htdocs/admin/expedition_extrafields.php

@@ -76,7 +76,7 @@ print "<br>\n";
 
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes_shipment', $langs->trans("Sendings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'attributes_shipment', $langs->trans("Sendings"), -1, 'shipment');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/expeditiondet_extrafields.php

@@ -77,7 +77,7 @@ print "<br>\n";
 
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'attributeslines_shipment', $langs->trans("Sendings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'attributeslines_shipment', $langs->trans("Sendings"), -1, 'shipment');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/expensereport.php

@@ -187,7 +187,7 @@ print load_fiche_titre($langs->trans("ExpenseReportsSetup"), $linkback, 'title_s
 
 $head = expensereport_admin_prepare_head();
 
-dol_fiche_head($head, 'expensereport', $langs->trans("ExpenseReports"), -1, 'trip');
+print dol_get_fiche_head($head, 'expensereport', $langs->trans("ExpenseReports"), -1, 'trip');
 
 /*
  * Expense report numbering model

+ 1 - 1
htdocs/admin/expensereport_extrafields.php

@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans("ExpenseReportsSetup"), $linkback, 'title_s
 
 $head = expensereport_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes', $langs->trans("ExpenseReports"), -1, 'trip');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("ExpenseReports"), -1, 'trip');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/expensereport_ik.php

@@ -95,7 +95,7 @@ $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_valu
 print load_fiche_titre($langs->trans("ExpenseReportsSetup"), $linkback, 'title_setup');
 
 $head = expensereport_admin_prepare_head();
-dol_fiche_head($head, 'expenseik', $langs->trans("ExpenseReportsIk"), -1, 'trip');
+print dol_get_fiche_head($head, 'expenseik', $langs->trans("ExpenseReportsIk"), -1, 'trip');
 
 echo '<span class="opacitymedium">'.$langs->trans('ExpenseReportIkDesc').'</span>';
 print '<br><br>';

+ 1 - 1
htdocs/admin/expensereport_rules.php

@@ -151,7 +151,7 @@ $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_valu
 print load_fiche_titre($langs->trans("ExpenseReportsSetup"), $linkback, 'title_setup');
 
 $head = expensereport_admin_prepare_head();
-dol_fiche_head($head, 'expenserules', $langs->trans("ExpenseReportsRules"), -1, 'trip');
+print dol_get_fiche_head($head, 'expenserules', $langs->trans("ExpenseReportsRules"), -1, 'trip');
 
 echo '<span class="opacitymedium">'.$langs->trans('ExpenseReportRulesDesc').'</span>';
 print '<br><br>';

+ 1 - 1
htdocs/admin/export.php

@@ -71,7 +71,7 @@ $head[$h][1] = $langs->trans("Setup");
 $head[$h][2] = 'setup';
 $h++;
 
-dol_fiche_head($head, 'setup', $langs->trans("ExportsArea"), -1, "technic");
+print dol_get_fiche_head($head, 'setup', $langs->trans("ExportsArea"), -1, "technic");
 
 print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
 print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/admin/facture.php

@@ -245,7 +245,7 @@ $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_valu
 print load_fiche_titre($langs->trans("BillsSetup"), $linkback, 'title_setup');
 
 $head = invoice_admin_prepare_head();
-dol_fiche_head($head, 'general', $langs->trans("Invoices"), -1, 'invoice');
+print dol_get_fiche_head($head, 'general', $langs->trans("Invoices"), -1, 'invoice');
 
 /*
  *  Numbering module

+ 1 - 1
htdocs/admin/facture_situation.php

@@ -71,7 +71,7 @@ $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_valu
 print load_fiche_titre($langs->trans("BillsSetup"), $linkback, 'title_setup');
 
 $head = invoice_admin_prepare_head();
-dol_fiche_head($head, 'situation', $langs->trans("InvoiceSituation"), -1, 'invoice');
+print dol_get_fiche_head($head, 'situation', $langs->trans("InvoiceSituation"), -1, 'invoice');
 
 
 print '<span class="opacitymedium">'.$langs->trans("InvoiceFirstSituationDesc").'</span><br><br>';

+ 1 - 1
htdocs/admin/fichinter.php

@@ -240,7 +240,7 @@ print load_fiche_titre($langs->trans("InterventionsSetup"), $linkback, 'title_se
 
 $head = fichinter_admin_prepare_head();
 
-dol_fiche_head($head, 'ficheinter', $langs->trans("Interventions"), -1, 'intervention');
+print dol_get_fiche_head($head, 'ficheinter', $langs->trans("Interventions"), -1, 'intervention');
 
 // Interventions numbering model
 

+ 1 - 1
htdocs/admin/holiday.php

@@ -177,7 +177,7 @@ print load_fiche_titre($langs->trans("HolidaySetup"), $linkback, 'title_setup');
 
 $head = holiday_admin_prepare_head();
 
-dol_fiche_head($head, 'holiday', $langs->trans("Holidays"), -1, 'holiday');
+print dol_get_fiche_head($head, 'holiday', $langs->trans("Holidays"), -1, 'holiday');
 
 /*
  * Holiday Numbering model

+ 1 - 1
htdocs/admin/holiday_extrafields.php

@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans("HolidaySetup"), $linkback, 'title_setup');
 
 $head = holiday_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes', $langs->trans("Holidays"), -1, 'holiday');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("Holidays"), -1, 'holiday');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/import.php

@@ -70,7 +70,7 @@ $head[$h][1] = $langs->trans("Setup");
 $head[$h][2] = 'setup';
 $h++;
 
-dol_fiche_head($head, 'setup', $langs->trans("ImportArea"), -1, "technic");
+print dol_get_fiche_head($head, 'setup', $langs->trans("ImportArea"), -1, "technic");
 
 print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
 print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/admin/ldap.php

@@ -108,7 +108,7 @@ $form = new Form($db);
 print '<form method="post" action="'.$_SERVER["PHP_SELF"].'?action=setvalue">';
 print '<input type="hidden" name="token" value="'.newToken().'">';
 
-dol_fiche_head($head, 'ldap', $langs->trans("LDAPSetup"), -1);
+print dol_get_fiche_head($head, 'ldap', $langs->trans("LDAPSetup"), -1);
 
 print '<table class="noborder centpercent">';
 

+ 1 - 1
htdocs/admin/ldap_contacts.php

@@ -105,7 +105,7 @@ if (!function_exists("ldap_connect"))
 	setEventMessages($langs->trans("LDAPFunctionsNotAvailableOnPHP"), null, 'errors');
 }
 
-dol_fiche_head($head, 'contacts', $langs->trans("LDAPSetup"), -1);
+print dol_get_fiche_head($head, 'contacts', $langs->trans("LDAPSetup"), -1);
 
 
 print $langs->trans("LDAPDescContact").'<br>';

+ 1 - 1
htdocs/admin/ldap_groups.php

@@ -95,7 +95,7 @@ if (!function_exists("ldap_connect"))
 	setEventMessages($langs->trans("LDAPFunctionsNotAvailableOnPHP"), null, 'errors');
 }
 
-dol_fiche_head($head, 'groups', $langs->trans("LDAPSetup"), -1);
+print dol_get_fiche_head($head, 'groups', $langs->trans("LDAPSetup"), -1);
 
 
 print $langs->trans("LDAPDescGroups").'<br>';

+ 1 - 1
htdocs/admin/ldap_members.php

@@ -125,7 +125,7 @@ if (!function_exists("ldap_connect"))
 print '<form method="post" action="'.$_SERVER["PHP_SELF"].'?action=setvalue">';
 print '<input type="hidden" name="token" value="'.newToken().'">';
 
-dol_fiche_head($head, 'members', $langs->trans("LDAPSetup"), -1);
+print dol_get_fiche_head($head, 'members', $langs->trans("LDAPSetup"), -1);
 
 
 print $langs->trans("LDAPDescMembers").'<br>';

+ 1 - 1
htdocs/admin/ldap_members_types.php

@@ -93,7 +93,7 @@ if (!function_exists("ldap_connect"))
 	setEventMessages($langs->trans("LDAPFunctionsNotAvailableOnPHP"), null, 'errors');
 }
 
-dol_fiche_head($head, 'memberstypes', $langs->trans("LDAPSetup"), -1);
+print dol_get_fiche_head($head, 'memberstypes', $langs->trans("LDAPSetup"), -1);
 
 
 print $langs->trans("LDAPDescMembersTypes").'<br>';

+ 1 - 1
htdocs/admin/ldap_users.php

@@ -121,7 +121,7 @@ print '<form method="post" action="'.$_SERVER["PHP_SELF"].'?action=setvalue">';
 print '<input type="hidden" name="token" value="'.newToken().'">';
 
 
-dol_fiche_head($head, 'users', $langs->trans("LDAPSetup"), -1);
+print dol_get_fiche_head($head, 'users', $langs->trans("LDAPSetup"), -1);
 
 print $langs->trans("LDAPDescUsers").'<br>';
 print '<br>';

+ 1 - 1
htdocs/admin/limits.php

@@ -125,7 +125,7 @@ if (!empty($conf->multicurrency->enabled) && !empty($conf->global->MULTICURRENCY
 	if (!empty($aCurrencies) && count($aCurrencies) > 1)
 	{
 		$head = multicurrencyLimitPrepareHead($aCurrencies);
-		dol_fiche_head($head, $currencycode, '', -1, "multicurrency");
+		print dol_get_fiche_head($head, $currencycode, '', -1, "multicurrency");
 	}
 }
 

+ 1 - 1
htdocs/admin/livraison.php

@@ -179,7 +179,7 @@ print load_fiche_titre($langs->trans("SendingsSetup"), $linkback, 'title_setup')
 print '<br>';
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'receivings', $langs->trans("Receivings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'receivings', $langs->trans("Receivings"), -1, 'shipment');
 
 
 // Delivery numbering model

+ 1 - 1
htdocs/admin/livraison_extrafields.php

@@ -76,7 +76,7 @@ print "<br>\n";
 
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes_receivings', $langs->trans("Receivings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'attributes_receivings', $langs->trans("Receivings"), -1, 'shipment');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/livraisondet_extrafields.php

@@ -77,7 +77,7 @@ print "<br>\n";
 
 $head = expedition_admin_prepare_head();
 
-dol_fiche_head($head, 'attributeslines_receivings', $langs->trans("Receivings"), -1, 'shipment');
+print dol_get_fiche_head($head, 'attributeslines_receivings', $langs->trans("Receivings"), -1, 'shipment');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 2 - 2
htdocs/admin/mailman.php

@@ -153,7 +153,7 @@ if (!empty($conf->global->ADHERENT_USE_MAILMAN))
     print '<input type="hidden" name="token" value="'.newToken().'">';
     print '<input type="hidden" name="action" value="update">';
 
-    dol_fiche_head($head, 'mailman', $langs->trans("Setup"), -1, 'user');
+    print dol_get_fiche_head($head, 'mailman', $langs->trans("Setup"), -1, 'user');
 
     //$link=img_picto($langs->trans("Active"),'tick').' ';
     $link = '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=unset&token='.newToken().'&value=0&name=ADHERENT_USE_MAILMAN">';
@@ -204,7 +204,7 @@ if (!empty($conf->global->ADHERENT_USE_MAILMAN))
 
     print '</form>';
 } else {
-    dol_fiche_head($head, 'mailman', $langs->trans("Setup"), 0, 'user');
+    print dol_get_fiche_head($head, 'mailman', $langs->trans("Setup"), 0, 'user');
 
     $link = '<a href="'.$_SERVER["PHP_SELF"].'?action=set&token='.newToken().'&value=1&name=ADHERENT_USE_MAILMAN">';
     //$link.=img_$langs->trans("Activate")

+ 3 - 3
htdocs/admin/mails.php

@@ -273,7 +273,7 @@ if ($action == 'edit')
 	print '<input type="hidden" name="token" value="'.newToken().'">';
 	print '<input type="hidden" name="action" value="update">';
 
-	dol_fiche_head($head, 'common', '', -1);
+	print dol_get_fiche_head($head, 'common', '', -1);
 
 	print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
 	print "<br>\n";
@@ -516,7 +516,7 @@ if ($action == 'edit')
 
 	print '</form>';
 } else {
-	dol_fiche_head($head, 'common', '', -1);
+	print dol_get_fiche_head($head, 'common', '', -1);
 
 	print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
 	print "<br>\n";
@@ -843,7 +843,7 @@ if ($action == 'edit')
 		print '<div id="formmailbeforetitle" name="formmailbeforetitle"></div>';
 		print load_fiche_titre($action == 'testhtml' ? $langs->trans("DoTestSendHTML") : $langs->trans("DoTestSend"));
 
-		dol_fiche_head('');
+		print dol_get_fiche_head('');
 
 		// Cree l'objet formulaire mail
 		include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';

+ 3 - 3
htdocs/admin/mails_emailing.php

@@ -226,7 +226,7 @@ if ($action == 'edit')
 	print '<input type="hidden" name="token" value="'.newToken().'">';
 	print '<input type="hidden" name="action" value="update">';
 
-	dol_fiche_head($head, 'common_emailing', '', -1);
+	print dol_get_fiche_head($head, 'common_emailing', '', -1);
 
 	print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
 	print "<br>\n";
@@ -394,7 +394,7 @@ if ($action == 'edit')
 
 	print '</form>';
 } else {
-    dol_fiche_head($head, 'common_emailing', '', -1);
+    print dol_get_fiche_head($head, 'common_emailing', '', -1);
 
     print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
     print "<br>\n";
@@ -559,7 +559,7 @@ if ($action == 'edit')
 	    print '<div id="formmailbeforetitle" name="formmailbeforetitle"></div>';
 		print load_fiche_titre($action == 'testhtml' ? $langs->trans("DoTestSendHTML") : $langs->trans("DoTestSend"));
 
-		dol_fiche_head('');
+		print dol_get_fiche_head('');
 
 		// Cree l'objet formulaire mail
 		include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';

+ 1 - 1
htdocs/admin/mails_senderprofile_list.php

@@ -205,7 +205,7 @@ print load_fiche_titre($title, $linkback, $titlepicto);
 
 $head = email_admin_prepare_head();
 
-dol_fiche_head($head, 'senderprofiles', '', -1);
+print dol_get_fiche_head($head, 'senderprofiles', '', -1);
 
 print '<span class="opacitymedium">'.$langs->trans("EMailsSenderProfileDesc")."</span><br>\n";
 print "<br>\n";

+ 1 - 1
htdocs/admin/mails_templates.php

@@ -436,7 +436,7 @@ print load_fiche_titre($title, $linkback, $titlepicto);
 
 $head = email_admin_prepare_head();
 
-dol_fiche_head($head, 'templates', '', -1);
+print dol_get_fiche_head($head, 'templates', '', -1);
 
 // Confirmation de la suppression de la ligne
 if ($action == 'delete')

+ 3 - 3
htdocs/admin/mails_ticket.php

@@ -215,7 +215,7 @@ if ($action == 'edit')
 	print '<input type="hidden" name="token" value="'.newToken().'">';
 	print '<input type="hidden" name="action" value="update">';
 
-	dol_fiche_head($head, 'common_ticket', '', -1);
+	print dol_get_fiche_head($head, 'common_ticket', '', -1);
 
 	print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
 	print "<br>\n";
@@ -371,7 +371,7 @@ if ($action == 'edit')
 
 	print '</form>';
 } else {
-    dol_fiche_head($head, 'common_ticket', '', -1);
+    print dol_get_fiche_head($head, 'common_ticket', '', -1);
 
     print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
     print "<br>\n";
@@ -525,7 +525,7 @@ if ($action == 'edit')
 	    print '<div id="formmailbeforetitle" name="formmailbeforetitle"></div>';
 		print load_fiche_titre($action == 'testhtml' ? $langs->trans("DoTestSendHTML") : $langs->trans("DoTestSend"));
 
-		dol_fiche_head('');
+		print dol_get_fiche_head('');
 
 		// Cree l'objet formulaire mail
 		include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php';

+ 1 - 1
htdocs/admin/menus.php

@@ -151,7 +151,7 @@ print '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
 print '<input type="hidden" name="token" value="'.newToken().'">';
 print '<input type="hidden" name="action" value="update">';
 
-dol_fiche_head($head, 'handler', '', -1);
+print dol_get_fiche_head($head, 'handler', '', -1);
 
 print '<span class="opacitymedium">'.$langs->trans("MenusDesc")."</span><br>\n";
 print "<br>\n";

+ 2 - 2
htdocs/admin/menus/edit.php

@@ -299,7 +299,7 @@ if ($action == 'create')
 	print '<form action="./edit.php?action=add&menuId='.GETPOST('menuId', 'int').'" method="post" name="formmenucreate">';
 	print '<input type="hidden" name="token" value="'.newToken().'">';
 
-	dol_fiche_head();
+	print dol_get_fiche_head();
 
 	print '<table class="border centpercent">';
 
@@ -417,7 +417,7 @@ if ($action == 'create')
 	print '<input type="hidden" name="handler_origine" value="'.$menu_handler.'">';
 	print '<input type="hidden" name="menuId" value="'.GETPOST('menuId', 'int').'">';
 
-	dol_fiche_head();
+	print dol_get_fiche_head();
 
 	print '<table class="border centpercent">';
 

+ 1 - 1
htdocs/admin/menus/index.php

@@ -229,7 +229,7 @@ $head[$h][1] = $langs->trans("Miscellaneous");
 $head[$h][2] = 'misc';
 $h++;
 
-dol_fiche_head($head, 'editor', '', -1);
+print dol_get_fiche_head($head, 'editor', '', -1);
 
 print '<span class="opacitymedium">'.$langs->trans("MenusEditorDesc")."</span><br>\n";
 print "<br>\n";

+ 1 - 1
htdocs/admin/menus/other.php

@@ -75,7 +75,7 @@ $head[$h][1] = $langs->trans("Miscellaneous");
 $head[$h][2] = 'misc';
 $h++;
 
-dol_fiche_head($head, 'misc', '', -1);
+print dol_get_fiche_head($head, 'misc', '', -1);
 
 
 // Other Options

+ 1 - 1
htdocs/admin/modulehelp.php

@@ -265,7 +265,7 @@ $picto = 'object_'.$objMod->picto;
 print load_fiche_titre(($modulename ? $modulename : $moduledesc), $moreinfo, $picto, 0, '', 'titlemodulehelp');
 print '<br>';
 
-dol_fiche_head($head, $mode, '', -1);
+print dol_get_fiche_head($head, $mode, '', -1);
 
 if (!$modulename)
 {

+ 4 - 4
htdocs/admin/modules.php

@@ -496,7 +496,7 @@ if ($mode == 'common' || $mode == 'commonkanban')
 	$newmode = $mode;
 	if ($newmode == 'common') $newmode = 'commonkanban';
 
-	dol_fiche_head($head, $newmode, '', -1);
+	print dol_get_fiche_head($head, $newmode, '', -1);
 
 	$moreforfilter = '<div class="valignmiddle">';
 
@@ -895,7 +895,7 @@ if ($mode == 'common' || $mode == 'commonkanban')
 
 if ($mode == 'marketplace')
 {
-	dol_fiche_head($head, $mode, '', -1);
+	print dol_get_fiche_head($head, $mode, '', -1);
 
 	// Marketplace
 	print '<div class="div-table-responsive-no-min">';
@@ -980,7 +980,7 @@ if ($mode == 'marketplace')
 
 if ($mode == 'deploy')
 {
-	dol_fiche_head($head, $mode, '', -1);
+	print dol_get_fiche_head($head, $mode, '', -1);
 
 	$dolibarrdataroot = preg_replace('/([\\/]+)$/i', '', DOL_DATA_ROOT);
 	$allowonlineinstall = true;
@@ -1141,7 +1141,7 @@ if ($mode == 'deploy')
 
 if ($mode == 'develop')
 {
-	dol_fiche_head($head, $mode, '', -1);
+	print dol_get_fiche_head($head, $mode, '', -1);
 
 	// Marketplace
 	print "<table summary=\"list_of_modules\" class=\"noborder\" width=\"100%\">\n";

+ 1 - 1
htdocs/admin/mrp.php

@@ -182,7 +182,7 @@ print load_fiche_titre($langs->trans("MrpSetupPage"), $linkback, 'title_setup');
 
 $head = mrpAdminPrepareHead();
 
-dol_fiche_head($head, 'settings', $langs->trans("MOs"), -1, 'mrp');
+print dol_get_fiche_head($head, 'settings', $langs->trans("MOs"), -1, 'mrp');
 
 /*
  * MOs Numbering model

+ 1 - 1
htdocs/admin/mrp_extrafields.php

@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans("MrpSetupPage"), $linkback, 'title_setup');
 
 $head = mrpAdminPrepareHead();
 
-dol_fiche_head($head, 'mrp_extrafields', $langs->trans("ExtraFields"), -1, 'account');
+print dol_get_fiche_head($head, 'mrp_extrafields', $langs->trans("ExtraFields"), -1, 'account');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/multicurrency.php

@@ -176,7 +176,7 @@ print load_fiche_titre($langs->trans($page_name), $linkback);
 
 // Configuration header
 $head = multicurrencyAdminPrepareHead();
-dol_fiche_head($head, 'settings', $langs->trans("ModuleSetup"), -1, "multicurrency");
+print dol_get_fiche_head($head, 'settings', $langs->trans("ModuleSetup"), -1, "multicurrency");
 
 
 print '<table class="noborder centpercent">';

+ 1 - 1
htdocs/admin/oauth.php

@@ -85,7 +85,7 @@ print '<input type="hidden" name="action" value="update">';
 
 $head = oauthadmin_prepare_head();
 
-dol_fiche_head($head, 'services', '', -1, 'technic');
+print dol_get_fiche_head($head, 'services', '', -1, 'technic');
 
 
 print '<span class="opacitymedium">'.$langs->trans("ListOfSupportedOauthProviders").'</span><br><br>';

+ 1 - 1
htdocs/admin/oauthlogintokens.php

@@ -123,7 +123,7 @@ print load_fiche_titre($langs->trans('ConfigOAuth'), $linkback, 'title_setup');
 
 $head = oauthadmin_prepare_head();
 
-dol_fiche_head($head, 'tokengeneration', '', -1, 'technic');
+print dol_get_fiche_head($head, 'tokengeneration', '', -1, 'technic');
 
 if (GETPOST('error')) {
 	setEventMessages(GETPOST('error'), null, 'errors');

+ 1 - 1
htdocs/admin/openinghours.php

@@ -75,7 +75,7 @@ print load_fiche_titre($langs->trans("CompanyFoundation"), '', 'title_setup');
 
 $head = company_admin_prepare_head();
 
-dol_fiche_head($head, 'openinghours', $langs->trans("Company"), -1, 'company');
+print dol_get_fiche_head($head, 'openinghours', $langs->trans("Company"), -1, 'company');
 
 print '<span class="opacitymedium">'.$langs->trans("OpeningHoursDesc")."</span><br>\n";
 print "<br>\n";

+ 1 - 1
htdocs/admin/order_extrafields.php

@@ -73,7 +73,7 @@ print load_fiche_titre($langs->trans("OrdersSetup"), $linkback, 'title_setup');
 
 $head = order_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes', $langs->trans("Orders"), -1, 'order');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("Orders"), -1, 'order');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/orderdet_extrafields.php

@@ -74,7 +74,7 @@ print load_fiche_titre($langs->trans("OrdersSetup"), $linkback, 'title_setup');
 
 $head = order_admin_prepare_head();
 
-dol_fiche_head($head, 'attributeslines', $langs->trans("Orders"), -1, 'order');
+print dol_get_fiche_head($head, 'attributeslines', $langs->trans("Orders"), -1, 'order');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/payment.php

@@ -101,7 +101,7 @@ $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_valu
 print load_fiche_titre($langs->trans("BillsSetup"), $linkback, 'title_setup');
 
 $head = invoice_admin_prepare_head();
-dol_fiche_head($head, 'payment', $langs->trans("Invoices"), -1, 'invoice');
+print dol_get_fiche_head($head, 'payment', $langs->trans("Invoices"), -1, 'invoice');
 
 /*
  *  Numbering module

+ 1 - 1
htdocs/admin/perms.php

@@ -116,7 +116,7 @@ $db->commit();
 
 $head = security_prepare_head();
 
-dol_fiche_head($head, 'default', '', -1);
+print dol_get_fiche_head($head, 'default', '', -1);
 
 
 // Show warning about external users

+ 1 - 1
htdocs/admin/propal.php

@@ -206,7 +206,7 @@ print load_fiche_titre($langs->trans("PropalSetup"), $linkback, 'title_setup');
 
 $head = propal_admin_prepare_head();
 
-dol_fiche_head($head, 'general', $langs->trans("Proposals"), -1, 'propal');
+print dol_get_fiche_head($head, 'general', $langs->trans("Proposals"), -1, 'propal');
 
 /*
  *  Module numerotation

+ 1 - 1
htdocs/admin/proxy.php

@@ -94,7 +94,7 @@ print '<input type="hidden" name="action" value="set_proxy">';
 
 $head = security_prepare_head();
 
-dol_fiche_head($head, 'proxy', '', -1);
+print dol_get_fiche_head($head, 'proxy', '', -1);
 
 
 if ($conf->use_javascript_ajax)

+ 2 - 2
htdocs/admin/receiptprinter.php

@@ -282,7 +282,7 @@ if ($mode == 'config' && $user->admin) {
 	}
 
 
-	dol_fiche_head($head, $mode, $langs->trans("ModuleSetup"), -1, 'technic');
+	print dol_get_fiche_head($head, $mode, $langs->trans("ModuleSetup"), -1, 'technic');
 
 	print '<span class="opacitymedium">'.$langs->trans("ReceiptPrinterDesc")."</span><br><br>\n";
 
@@ -387,7 +387,7 @@ if ($mode == 'config' && $user->admin) {
 
 // mode = template
 if ($mode == 'template' && $user->admin) {
-	dol_fiche_head($head, $mode, $langs->trans("ModuleSetup"), -1, 'technic');
+	print dol_get_fiche_head($head, $mode, $langs->trans("ModuleSetup"), -1, 'technic');
 
 	print '<form method="post" action="'.$_SERVER["PHP_SELF"].'?mode=template" autocomplete="off">';
 	print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/admin/reception_extrafields.php

@@ -79,7 +79,7 @@ print "<br>\n";
 
 $head = reception_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes_reception', $langs->trans("Receptions"), -1, 'sending');
+print dol_get_fiche_head($head, 'attributes_reception', $langs->trans("Receptions"), -1, 'sending');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/reception_setup.php

@@ -189,7 +189,7 @@ print load_fiche_titre($langs->trans("ReceptionsSetup"), $linkback, 'title_setup
 print '<br>';
 $head = reception_admin_prepare_head();
 
-dol_fiche_head($head, 'reception', $langs->trans("Receptions"), -1, 'sending');
+print dol_get_fiche_head($head, 'reception', $langs->trans("Receptions"), -1, 'sending');
 
 // Reception numbering model
 

+ 1 - 1
htdocs/admin/resource.php

@@ -70,7 +70,7 @@ print load_fiche_titre($langs->trans('ResourceSetup'), $linkback, 'title_setup')
 
 $head = resource_admin_prepare_head();
 
-dol_fiche_head($head, 'general', $langs->trans("ResourceSingular"), -1, 'action');
+print dol_get_fiche_head($head, 'general', $langs->trans("ResourceSingular"), -1, 'action');
 
 print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
 print '<input type="hidden" name="token" value="'.newToken().'">';

+ 1 - 1
htdocs/admin/resource_extrafields.php

@@ -73,7 +73,7 @@ print "<br>\n";
 
 $head = resource_admin_prepare_head();
 
-dol_fiche_head($head, 'attributes', $langs->trans("ResourceSingular"), -1, 'action');
+print dol_get_fiche_head($head, 'attributes', $langs->trans("ResourceSingular"), -1, 'action');
 
 require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
 

+ 1 - 1
htdocs/admin/security.php

@@ -197,7 +197,7 @@ print "<br>\n";
 
 $head = security_prepare_head();
 
-dol_fiche_head($head, 'passwords', '', -1);
+print dol_get_fiche_head($head, 'passwords', '', -1);
 
 
 // Choix du gestionnaire du generateur de mot de passe

+ 1 - 1
htdocs/admin/security_file.php

@@ -100,7 +100,7 @@ print '<input type="hidden" name="action" value="updateform">';
 
 $head = security_prepare_head();
 
-dol_fiche_head($head, 'file', '', -1);
+print dol_get_fiche_head($head, 'file', '', -1);
 
 
 // Upload options

+ 1 - 1
htdocs/admin/security_other.php

@@ -93,7 +93,7 @@ print '<input type="hidden" name="action" value="updateform">';
 
 $head = security_prepare_head();
 
-dol_fiche_head($head, 'misc', '', -1);
+print dol_get_fiche_head($head, 'misc', '', -1);
 
 
 // Other Options

+ 1 - 1
htdocs/admin/socialnetworks.php

@@ -89,7 +89,7 @@ $h++;
 
 print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
 
-dol_fiche_head($head, 'setup', '', 0, 'user');
+print dol_get_fiche_head($head, 'setup', '', 0, 'user');
 
 print '<br>';
 

+ 2 - 2
htdocs/admin/spip.php

@@ -126,7 +126,7 @@ if (!empty($conf->global->ADHERENT_USE_SPIP))
 	print '<input type="hidden" name="token" value="'.newToken().'">';
 	print '<input type="hidden" name="action" value="update">';
 
-	dol_fiche_head($head, 'spip', $langs->trans("Setup"), -1, 'user');
+	print dol_get_fiche_head($head, 'spip', $langs->trans("Setup"), -1, 'user');
 
     //$link=img_picto($langs->trans("Active"),'tick').' ';
     $link = '<a href="'.$_SERVER["PHP_SELF"].'?action=unset&token='.newToken().'&value=0&name=ADHERENT_USE_SPIP">';
@@ -152,7 +152,7 @@ if (!empty($conf->global->ADHERENT_USE_SPIP))
 
     print '</form>';
 } else {
-    dol_fiche_head($head, 'spip', $langs->trans("Setup"), 0, 'user');
+    print dol_get_fiche_head($head, 'spip', $langs->trans("Setup"), 0, 'user');
 
     $link = '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=set&amp;token='.newToken().'&amp;value=1&amp;name=ADHERENT_USE_SPIP">';
     //$link.=$langs->trans("Activate");

+ 1 - 1
htdocs/admin/stock.php

@@ -184,7 +184,7 @@ print load_fiche_titre($langs->trans("StockSetup"), $linkback, 'title_setup');
 
 $head = stock_admin_prepare_head();
 
-dol_fiche_head($head, 'general', $langs->trans("StockSetup"), -1, 'stock');
+print dol_get_fiche_head($head, 'general', $langs->trans("StockSetup"), -1, 'stock');
 
 $form = new Form($db);
 $formproduct = new FormProduct($db);

+ 1 - 1
htdocs/admin/supplier_invoice.php

@@ -199,7 +199,7 @@ print "<br>";
 
 $head = supplierorder_admin_prepare_head();
 
-dol_fiche_head($head, 'invoice', $langs->trans("Suppliers"), -1, 'company');
+print dol_get_fiche_head($head, 'invoice', $langs->trans("Suppliers"), -1, 'company');
 
 
 // Supplier invoice numbering module

Some files were not shown because too many files changed in this diff