diff --git a/htdocs/accountancy/admin/accountmodel.php b/htdocs/accountancy/admin/accountmodel.php
index e63e44b4f80632b6a6cfd373df121e77dbe1f9cf..e22e993796f7b7800ab8ad2771e3618f811390bf 100644
--- a/htdocs/accountancy/admin/accountmodel.php
+++ b/htdocs/accountancy/admin/accountmodel.php
@@ -80,7 +80,7 @@ if ($user->societe_id > 0) accessforbidden();
 if (! $user->rights->accounting->chartofaccount) accessforbidden();
 
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('admin'));
 
 // This page is a generic page to edit dictionaries
diff --git a/htdocs/accountancy/admin/categories_list.php b/htdocs/accountancy/admin/categories_list.php
index e78737c3fb98b3bc3e6e6ad3e23e0edf4c3b6269..1bf9a693efd8273a6c62f8b41dcb5fcec2a1adc3 100644
--- a/htdocs/accountancy/admin/categories_list.php
+++ b/htdocs/accountancy/admin/categories_list.php
@@ -80,7 +80,7 @@ $pagenext = $page + 1;
 
 $search_country_id = GETPOST('search_country_id','int');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('admin'));
 
 // This page is a generic page to edit dictionaries
diff --git a/htdocs/accountancy/admin/journals_list.php b/htdocs/accountancy/admin/journals_list.php
index 1421d71be970a6214d6b34d85ec7bfb2f7c0ad13..68d5e5af5c0b15f2e9bc840c7333e6614b8f3c2c 100644
--- a/htdocs/accountancy/admin/journals_list.php
+++ b/htdocs/accountancy/admin/journals_list.php
@@ -66,7 +66,7 @@ if (empty($sortorder)) $sortorder='ASC';
 
 $error = 0;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('admin'));
 
 // This page is a generic page to edit dictionaries
diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php
index fe3bd4f4cfd174efa2a26237475de3993b361da9..147040fbf673569a6ed4396a8362dfdf45bb4dc5 100644
--- a/htdocs/adherents/card.php
+++ b/htdocs/adherents/card.php
@@ -112,7 +112,7 @@ if ($id)
 	$caneditfieldmember=$user->rights->adherent->creer;
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('membercard','globalcard'));
 
 
diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php
index 949d55020c83a06cda5f9daa6d59adae9f71a822..ec6bb85710cec6645484deb51accfb796e4311e5 100644
--- a/htdocs/adherents/list.php
+++ b/htdocs/adherents/list.php
@@ -77,7 +77,7 @@ $pagenext = $page + 1;
 if (! $sortorder) { $sortorder=($filter=='outofdate'?"DESC":"ASC"); }
 if (! $sortfield) { $sortfield=($filter=='outofdate'?"d.datefin":"d.lastname"); }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('memberlist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/adherents/subscription.php b/htdocs/adherents/subscription.php
index 21de6e305b58acc3bf0e625b71cdadbadb4deed4..d1cbcea4864e68aeebcef5cf9660edd8a4c39c79 100644
--- a/htdocs/adherents/subscription.php
+++ b/htdocs/adherents/subscription.php
@@ -89,7 +89,7 @@ if ($rowid)
     $caneditfieldmember=$user->rights->adherent->creer;
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('subscription'));
 
 // PDF
diff --git a/htdocs/adherents/subscription/list.php b/htdocs/adherents/subscription/list.php
index af3174c0b60e55ab56c4e861c3c14a35e890c384..628ceb390e31b95c828947a7e3ed7fa1d32d6c18 100644
--- a/htdocs/adherents/subscription/list.php
+++ b/htdocs/adherents/subscription/list.php
@@ -53,7 +53,7 @@ $pagenext = $page + 1;
 if (! $sortorder) {  $sortorder="DESC"; }
 if (! $sortfield) {  $sortfield="c.dateadh"; }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('subscriptionlist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index f2fa12446b3e0bb89533fb41fb5741d5acda3351..f0be2ee9fae2bb71b7abe22a206c5c9c0f79364f 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -79,7 +79,7 @@ if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter_x") || GETP
 }
 
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('membertypecard','globalcard'));
 
 
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index 880c9a9ba1a93f08e9d6e5f8b99b07f740476c46..f903ce3e8fca6317220d49df1fca499de1fc82da 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -80,7 +80,7 @@ $pagenext = $page + 1;
 $search_country_id = GETPOST('search_country_id','int');
 $search_code = GETPOST('search_code','alpha');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('admin'));
 
 // This page is a generic page to edit dictionaries
diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php
index e9d38ad37764eeee244cd5307cf19ecdc0bc8f28..a1ac45244e106f30f9df69bca29cc3dbc96028d9 100644
--- a/htdocs/admin/index.php
+++ b/htdocs/admin/index.php
@@ -29,7 +29,7 @@ $langs->load("companies");
 
 if (!$user->admin) accessforbidden();
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('homesetup'));
 
 
diff --git a/htdocs/admin/mails_templates.php b/htdocs/admin/mails_templates.php
index 9ff909862a36f803a3155e37f856c36091628faa..b25e3a6a2eeba157c95c3cc47cc58c56854882c6 100644
--- a/htdocs/admin/mails_templates.php
+++ b/htdocs/admin/mails_templates.php
@@ -71,7 +71,7 @@ $offset = $listlimit * $page ;
 $pageprev = $page - 1;
 $pagenext = $page + 1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('emailtemplates'));
 
 // Name of SQL tables of dictionaries
diff --git a/htdocs/admin/websites.php b/htdocs/admin/websites.php
index 9aecc4dfb0ad74edde3b55e8a6185802c369b070..1dc91786ada4afb6f22b3f8359cbe8f4a35d60b9 100644
--- a/htdocs/admin/websites.php
+++ b/htdocs/admin/websites.php
@@ -59,7 +59,7 @@ $offset = $listlimit * $page ;
 $pageprev = $page - 1;
 $pagenext = $page + 1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('admin'));
 
 // This page is a generic page to edit dictionaries
diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php
index 3a634cc21cdda3896bae6a40db715394a2c73f73..1bb35fe7fe8b7c7e87ecf2f4b85ea93bd8179225 100644
--- a/htdocs/comm/action/card.php
+++ b/htdocs/comm/action/card.php
@@ -95,7 +95,7 @@ $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
 //var_dump($_POST);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('actioncard','globalcard'));
 
 
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 9a1d4db92ae076db18975ecf3c777d7e1be0a3d7..7d150efe140643bdbd0ed0fbc496752e8ab07e7b 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -118,7 +118,7 @@ $langs->load("agenda");
 $langs->load("other");
 $langs->load("commercial");
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('agenda'));
 
 
diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php
index 0e6fbb196a10053efd0203f07ddcdfa8ae55d0e7..7bedc4d83564dd35b02d0c0ec4ecde0b1287b5c5 100644
--- a/htdocs/comm/action/listactions.php
+++ b/htdocs/comm/action/listactions.php
@@ -109,7 +109,7 @@ if (! $user->rights->agenda->allactions->read || $filter=='mine')	// If no permi
 	$filtert=$user->id;
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('agendalist'));
 
 
diff --git a/htdocs/comm/action/pertype.php b/htdocs/comm/action/pertype.php
index c6fe302cf630865b6be7dfc085d5ccd426a3cffc..23d434742a03d37523452476a9e49569c8330288 100644
--- a/htdocs/comm/action/pertype.php
+++ b/htdocs/comm/action/pertype.php
@@ -140,7 +140,7 @@ $langs->load("agenda");
 $langs->load("other");
 $langs->load("commercial");
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('agenda'));
 
 
diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php
index ecb308814339f815313d89cdb40d9688e2aef441..2f1e3735cd2dab31abb87879124a5c82fa06d2b9 100644
--- a/htdocs/comm/action/peruser.php
+++ b/htdocs/comm/action/peruser.php
@@ -139,7 +139,7 @@ $langs->load("agenda");
 $langs->load("other");
 $langs->load("commercial");
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('agenda'));
 
 
diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index 61fcc4dc502e391bc7df1ffe067afeae5a59e9b0..b8906bd1038a88a23e9ec6755d4ba5153ff79ed0 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -80,7 +80,7 @@ $extrafields = new ExtraFields($db);
 // fetch optionals attributes and labels
 $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('commcard','globalcard'));
 
 
diff --git a/htdocs/comm/mailing/advtargetemailing.php b/htdocs/comm/mailing/advtargetemailing.php
index 0262a50d65c213f74af80d7aa00cfdf86acf4423..832cefa577496c34239952fc68123c8ad510d54f 100644
--- a/htdocs/comm/mailing/advtargetemailing.php
+++ b/htdocs/comm/mailing/advtargetemailing.php
@@ -768,7 +768,7 @@ if ($object->fetch($id) >= 0) {
 			$std_soc = new Societe($db);
 			$action_search = 'query';
 
-			// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+			// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 			include_once DOL_DOCUMENT_ROOT . '/core/class/hookmanager.class.php';
 			$hookmanager = new HookManager($db);
 			$hookmanager->initHooks(array ('thirdpartycard'));
diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php
index 956710e2abc62d06a255ee9f5885e496423d9e1a..353117f5fa30fe891fcebd2dd38d3f94e97a89f1 100644
--- a/htdocs/comm/mailing/card.php
+++ b/htdocs/comm/mailing/card.php
@@ -52,7 +52,7 @@ $extrafields = new ExtraFields($db);
 // fetch optionals attributes and labels
 $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('mailingcard','globalcard'));
 
 // Array of possible substitutions (See also file mailing-send.php that should manage same substitutions)
diff --git a/htdocs/comm/mailing/list.php b/htdocs/comm/mailing/list.php
index 65e82b8f939e5d883d6b938d0eb4d5dcdfc09775..fb513c99b9b88df81584d44d5a38fd02c56009e4 100644
--- a/htdocs/comm/mailing/list.php
+++ b/htdocs/comm/mailing/list.php
@@ -45,7 +45,7 @@ $sall=GETPOST('sall', 'alphanohtml');
 $sref=GETPOST("sref", "alpha");
 $filteremail=GETPOST('filteremail','alpha');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('mailinglist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php
index 4e26437fd1913e119e7165ed7a0cc61e916e8d5f..d58f2223adbbcbea56b01871074dcc561d5d9765 100644
--- a/htdocs/comm/propal/card.php
+++ b/htdocs/comm/propal/card.php
@@ -107,7 +107,7 @@ if ($id > 0 || ! empty($ref)) {
 		dol_print_error('', $object->error);
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('propalcard','globalcard'));
 
 $permissionnote = $user->rights->propale->creer; // Used by the include of actions_setnotes.inc.php
diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index cb4aa123f123e9cf216eabe5d52513af44640011..220422a640421f235a5d7ae53495794af459b66b 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -95,7 +95,7 @@ $pagenext = $page + 1;
 if (! $sortfield) $sortfield='p.ref';
 if (! $sortorder) $sortorder='DESC';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='proposallist';
 
 // Security check
@@ -113,7 +113,7 @@ $result = restrictedArea($user, $module, $objectid, $dbtable);
 
 $diroutputmassaction=$conf->propal->dir_output . '/temp/massgeneration/'.$user->id;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('propallist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php
index 189d13c3cedb5a39d77fd67d727e04db65898bc2..eeea825c1e5842ae3dfde338c318fc9a35be923c 100644
--- a/htdocs/commande/card.php
+++ b/htdocs/commande/card.php
@@ -98,7 +98,7 @@ $extralabels = $extrafields->fetch_name_optionals_label($object->table_element);
 // Load object
 include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php';  // Must be include, not include_once
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('ordercard','globalcard'));
 
 $permissionnote = $user->rights->commande->creer; 		// Used by the include of actions_setnotes.inc.php
diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php
index 2f8810333f0e760ee3b8125bd93545ecee803590..c49c1b18a4acf2ac21bf9edf53853126d7a96e27 100644
--- a/htdocs/commande/list.php
+++ b/htdocs/commande/list.php
@@ -96,7 +96,7 @@ if (! $sortorder) $sortorder='DESC';
 // Initialize technical object to manage context to save list fields
 $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'orderlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php
index 95e896160cec9940a51cfac56af644b53c667ff6..e76adb2a67c3509eaa05cf222621b8e0379dcdd6 100644
--- a/htdocs/commande/orderstoinvoice.php
+++ b/htdocs/commande/orderstoinvoice.php
@@ -89,7 +89,7 @@ if ($action == 'create')
 	}
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
 $hookmanager=new HookManager($db);
 $hookmanager->initHooks(array('orderstoinvoice'));
diff --git a/htdocs/compta/bank/bankentries.php b/htdocs/compta/bank/bankentries.php
index 5f6d5156b72cf9a3b8870e98dcf8f4c827377ca0..5f50bf74c1bfd3458158b8f4735cdff8975a97b0 100644
--- a/htdocs/compta/bank/bankentries.php
+++ b/htdocs/compta/bank/bankentries.php
@@ -131,7 +131,7 @@ if ($id > 0 || ! empty($ref))
 $contextpage='banktransactionlist'.(empty($object->ref)?'':'-'.$object->id);
 //var_dump($contextpage);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('banktransactionlist', $contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php
index 44ecbe6eb6f6bd6a0eed2585fd7a6a179970e4b7..0c24d25e0645aee3aa1af6be5476fa819e025a4a 100644
--- a/htdocs/compta/bank/index.php
+++ b/htdocs/compta/bank/index.php
@@ -69,7 +69,7 @@ if (! $sortorder) $sortorder='ASC';
 // Initialize technical object to manage context to save list fields
 $contextpage='bankaccountlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/compta/bank/various_payment/card.php b/htdocs/compta/bank/various_payment/card.php
index c0481829425c0dd6c7fe7939bb0a84ad14282ce2..9444c0585f7db2fe4c8ff87d5e9821e7a98c6f79 100644
--- a/htdocs/compta/bank/various_payment/card.php
+++ b/htdocs/compta/bank/various_payment/card.php
@@ -52,7 +52,7 @@ $result = restrictedArea($user, 'banque', '', '', '');
 
 $object = new PaymentVarious($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('variouscard','globalcard'));
 
 
diff --git a/htdocs/compta/deplacement/card.php b/htdocs/compta/deplacement/card.php
index 949a77016980d62d768fdc008a028c0915fe8bbd..555ea52b4e05c8fc8d5319f30001f63dc9125b73 100644
--- a/htdocs/compta/deplacement/card.php
+++ b/htdocs/compta/deplacement/card.php
@@ -46,7 +46,7 @@ $confirm = GETPOST('confirm','alpha');
 
 $object = new Deplacement($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('tripsandexpensescard','globalcard'));
 
 $permissionnote=$user->rights->deplacement->creer;	// Used by the include of actions_setnotes.inc.php
diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index e9be0a0b962a442332c7a2f97f8f5fac8038272c..c79beaac4f331cc9ec8372756f4cb4ff798936f8 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -114,7 +114,7 @@ if ($id > 0 || ! empty($ref)) {
 	$ret = $object->fetch($id, $ref, '', '', $conf->global->INVOICE_USE_SITUATION);
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('invoicecard','globalcard'));
 
 $permissionnote = $user->rights->facture->creer; // Used by the include of actions_setnotes.inc.php
diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php
index aa5c6103638693dca406b41fe44d7e6a1d066ba2..221167a485a34fba1c51fa663ea9a52c918e5a9c 100644
--- a/htdocs/compta/facture/fiche-rec.php
+++ b/htdocs/compta/facture/fiche-rec.php
@@ -93,7 +93,7 @@ if (($id > 0 || $ref) && $action != 'create' && $action != 'add')
 	}
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('invoicereccard','globalcard'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 746106b2307d0fc221fb8e3b735e4713faba431a..00b18c00759335d6f2fe522438c88141e789ff22 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -110,7 +110,7 @@ if (! $sortfield) $sortfield='f.datef';
 $pageprev = $page - 1;
 $pagenext = $page + 1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='invoicelist';
 
 // Security check
@@ -124,7 +124,7 @@ $object=new Facture($db);
 
 $now=dol_now();
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('invoicelist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/compta/localtax/card.php b/htdocs/compta/localtax/card.php
index 315b89637af81aab2e7ce8c05a2bd672d81fd1a7..bd1f83d7f439752ca0d865716b9bb7c04750505b 100644
--- a/htdocs/compta/localtax/card.php
+++ b/htdocs/compta/localtax/card.php
@@ -44,7 +44,7 @@ $result = restrictedArea($user, 'tax', '', '', 'charges');
 
 $localtax = new Localtax($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('localtaxvatcard','globalcard'));
 
 
diff --git a/htdocs/compta/paiement/list.php b/htdocs/compta/paiement/list.php
index efc9d5e10d279ab6c6ef51aec5ca58a9e51c4942..ec2bbc78fc66a788c34d5b0292434835c398de95 100644
--- a/htdocs/compta/paiement/list.php
+++ b/htdocs/compta/paiement/list.php
@@ -68,7 +68,7 @@ $pagenext = $page + 1;
 if (! $sortorder) $sortorder="DESC";
 if (! $sortfield) $sortfield="p.rowid";
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('paymentlist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/compta/salaries/card.php b/htdocs/compta/salaries/card.php
index 9abbecd35fcba22ea5f52665d5058d705b9e90da..20079ad18ee5b34f51e011844e1911621045cb52 100644
--- a/htdocs/compta/salaries/card.php
+++ b/htdocs/compta/salaries/card.php
@@ -48,7 +48,7 @@ $result = restrictedArea($user, 'salaries', '', '', '');
 
 $object = new PaymentSalary($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('salarycard','globalcard'));
 
 
diff --git a/htdocs/compta/tva/card.php b/htdocs/compta/tva/card.php
index 4a3ea9ee516654791a373d978db8700fcc9235e5..ea26d2c55a8344669e659b65337b96379ce76c5a 100644
--- a/htdocs/compta/tva/card.php
+++ b/htdocs/compta/tva/card.php
@@ -45,7 +45,7 @@ $result = restrictedArea($user, 'tax', '', '', 'charges');
 
 $object = new Tva($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('taxvatcard','globalcard'));
 
 
diff --git a/htdocs/contact/agenda.php b/htdocs/contact/agenda.php
index 6c412c146d1cc3e210e713c084851285aec35c6f..74ec89bf5d16d98bf5f715765e21430296e3521f 100644
--- a/htdocs/contact/agenda.php
+++ b/htdocs/contact/agenda.php
@@ -100,7 +100,7 @@ $pagenext = $page + 1;
 if (! $sortfield) $sortfield='a.datep, a.id';
 if (! $sortorder) $sortorder='DESC';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('contactcard','globalcard'));
 
 
diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php
index 67a7d9b31e4df2e897b739ae4f3eff48248b9b7a..ae13bb44a3ad1e97c99d2538f6a0205a29c035a4 100644
--- a/htdocs/contact/card.php
+++ b/htdocs/contact/card.php
@@ -76,7 +76,7 @@ if (! empty($canvas))
 if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'contact', $id, 'socpeople&societe', '', '', 'rowid', $objcanvas); // If we create a contact with no company (shared contacts), no check on write permission
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('contactcard','globalcard'));
 
 
diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php
index b2f8066367cc28dd17038bcd89cc92bc1749331d..1293a258fab0642f981cc7d8bf6c14349289a00a 100644
--- a/htdocs/contact/list.php
+++ b/htdocs/contact/list.php
@@ -114,7 +114,7 @@ else if ($type == "o")
 	$urlfiche="";
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php
index 3c644e4260c9cbe1b0fb98d15b51c1573fef9579..4e19d6109b8ca286a4810884d5b3fa58ed574da5 100644
--- a/htdocs/contrat/card.php
+++ b/htdocs/contrat/card.php
@@ -68,7 +68,7 @@ $usehm=(! empty($conf->global->MAIN_USE_HOURMIN_IN_DATE_RANGE)?$conf->global->MA
 if ($user->societe_id) $socid=$user->societe_id;
 $result=restrictedArea($user,'contrat',$id);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('contractcard','globalcard'));
 
 $object = new Contrat($db);
diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php
index 11a259abce79f3dd5459f3ef6132914b9ed53968..29e13412892f602579faae83c93866b25149562f 100644
--- a/htdocs/contrat/list.php
+++ b/htdocs/contrat/list.php
@@ -86,10 +86,10 @@ $staticcontratligne=new ContratLigne($db);
 
 if ($search_status == '') $search_status=1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='contractlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/contrat/services.php b/htdocs/contrat/services.php
index 0af99eeed33eb20c763212218e8cc16374594ae0..3d5db42495a4504a86d9f3e5f53124a67cd0672d 100644
--- a/htdocs/contrat/services.php
+++ b/htdocs/contrat/services.php
@@ -77,7 +77,7 @@ $filter_opcloture=GETPOST('filter_opcloture');
 // Initialize context for list
 $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'servicelist'.$mode;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php
index 3b830e4801fa9478edbf7fa57137859cae613748..620efae0437e51143fe36a72ed0179f15b7a1436 100644
--- a/htdocs/cron/list.php
+++ b/htdocs/cron/list.php
@@ -50,7 +50,7 @@ $pagenext = $page + 1;
 if (! $sortfield) $sortfield='t.status';
 if (! $sortorder) $sortorder='ASC';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='cronjoblist';
 
 $status=GETPOST('status','int');
@@ -62,7 +62,7 @@ $securitykey = GETPOST('securitykey','alpha');
 
 $diroutputmassaction=$conf->cronjob->dir_output . '/temp/massgeneration/'.$user->id;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('cronjoblist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/don/card.php b/htdocs/don/card.php
index 8e1bd00d893398e4df15cc4c7619ece0ed57cb0c..33f2375a1bf73e594b55f35c5dcb01e7d83c466e 100644
--- a/htdocs/don/card.php
+++ b/htdocs/don/card.php
@@ -60,7 +60,7 @@ $result = restrictedArea($user, 'don', $id);
 // fetch optionals attributes and labels
 $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('doncard','globalcard'));
 
 /*
diff --git a/htdocs/don/list.php b/htdocs/don/list.php
index a4f5f07679facec680becb21e8a5d594b883f9e6..24ee68eb0f7a4fcef45711ed12f0954b8a2abc12 100644
--- a/htdocs/don/list.php
+++ b/htdocs/don/list.php
@@ -61,7 +61,7 @@ if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter.x") || GETP
 	$search_amount="";
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('orderlist'));
 
 
diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 966f1f95972f1ea5c1c15f2b8395901eb470084b..e3a1b0bc3fa748cdc09f63cdb10b51d08288bd89 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -98,7 +98,7 @@ $extralabelslines=$extrafieldsline->fetch_name_optionals_label($object->table_el
 // Load object. Make an object->fetch
 include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php';  // Must be include, not include_once
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('expeditioncard','globalcard'));
 
 $permissiondellink=$user->rights->expedition->livraison->creer;	// Used by the include of actions_dellink.inc.php
diff --git a/htdocs/expedition/list.php b/htdocs/expedition/list.php
index 091b5e44bb829117c6c17b6d7494628a3c547f0d..c4a07580a9a908a173a4362e3e92c44f5d32a8b7 100644
--- a/htdocs/expedition/list.php
+++ b/htdocs/expedition/list.php
@@ -64,12 +64,12 @@ $offset = $limit * $page;
 $pageprev = $page - 1;
 $pagenext = $page + 1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='shipmentlist';
 
 $viewstatut=GETPOST('viewstatut');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('shipmentlist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php
index dff27139581dceb62c7d48feb402cb13652a8b7f..d9c195f4ca9db381ffa1f32d0b8bb9afcdefaaa7 100644
--- a/htdocs/expensereport/card.php
+++ b/htdocs/expensereport/card.php
@@ -105,7 +105,7 @@ $extralabels = $extrafields->fetch_name_optionals_label($object->table_element);
 // Load object
 include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php';  // Must be include, not include_once
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('expensereportcard','globalcard'));
 
 $permissionnote = $user->rights->expensereport->creer; 		// Used by the include of actions_setnotes.inc.php
diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php
index 9cf47ddea94905956a11bd967ff48a9d0d2fd49d..8a8014edcb6a803071a85b917ed353ffe8517ff8 100644
--- a/htdocs/expensereport/list.php
+++ b/htdocs/expensereport/list.php
@@ -79,10 +79,10 @@ $optioncss = GETPOST('optioncss','alpha');
 if ($search_status == '') $search_status=-1;
 if ($search_user == '') $search_user=-1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='expensereportlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('expensereportlist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php
index 51cd5a62d3f59b1f6a494a97eab424a81748dec9..9e463eb8ac4d9485d3437c36e4ec9f77ec70fc02 100644
--- a/htdocs/fichinter/card.php
+++ b/htdocs/fichinter/card.php
@@ -76,7 +76,7 @@ $hideref 	 = (GETPOST('hideref','int') ? GETPOST('hideref','int') : (! empty($co
 if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'ficheinter', $id, 'fichinter');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('interventioncard','globalcard'));
 
 $object = new Fichinter($db);
diff --git a/htdocs/fichinter/list.php b/htdocs/fichinter/list.php
index 68d4e2bef349d8da9b353a389259533074576bed..0404f976328ecbf419c4aeafab0e80b3a21c285a 100644
--- a/htdocs/fichinter/list.php
+++ b/htdocs/fichinter/list.php
@@ -82,7 +82,7 @@ $search_desc=GETPOST('search_desc','alpha');
 $search_status=GETPOST('search_status');
 $optioncss = GETPOST('optioncss','alpha');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/fourn/card.php b/htdocs/fourn/card.php
index 7b24ee4f08216dec4b7d2dbf26a32fb9f100f152..e5e42042015d36c9e2ee69074e8e4320dd497e97 100644
--- a/htdocs/fourn/card.php
+++ b/htdocs/fourn/card.php
@@ -58,7 +58,7 @@ $extrafields = new ExtraFields($db);
 // fetch optionals attributes and labels
 $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('suppliercard','globalcard'));
 
 
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index f77eb949c9adf5b3255b8d8263950b51c04c7cca..2137e7ca74733c50c3065cebe8c16481a9f56225 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -92,7 +92,7 @@ $datelivraison=dol_mktime(GETPOST('liv_hour','int'), GETPOST('liv_min','int'), G
 if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'fournisseur', $id, '', 'commande');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('ordersuppliercard','globalcard'));
 
 $object = new CommandeFournisseur($db);
diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php
index 86fb7e5c4f51864092a88a1acece695ee8340c48..9e8d841e97611798378f6aa70cba94cd195eda28 100644
--- a/htdocs/fourn/commande/list.php
+++ b/htdocs/fourn/commande/list.php
@@ -114,10 +114,10 @@ if (! $sortorder) $sortorder='DESC';
 
 if ($search_status == '') $search_status=-1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='supplierorderlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('orderlist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/fourn/commande/orderstoinvoice.php b/htdocs/fourn/commande/orderstoinvoice.php
index 9fb9a63828de2efe0d4fcbc131d98c7b49ee202a..a503776b65390bbc076d8eac1f0c0233bc896959 100644
--- a/htdocs/fourn/commande/orderstoinvoice.php
+++ b/htdocs/fourn/commande/orderstoinvoice.php
@@ -88,7 +88,7 @@ if ($action == 'create')
 	}
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 include_once DOL_DOCUMENT_ROOT . '/core/class/hookmanager.class.php';
 $hookmanager = new HookManager($db);
 $hookmanager->initHooks(array('orderstoinvoicesupplier'));
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index 0ec657ccdfe8dbb77fe6fe7592a0edadab766e4c..306ad62d69bf1c05b81a3936de836ea0aaf5621c 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -81,7 +81,7 @@ $socid='';
 if (! empty($user->societe_id)) $socid=$user->societe_id;
 $result = restrictedArea($user, 'fournisseur', $id, 'facture_fourn', 'facture');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('invoicesuppliercard','globalcard'));
 
 $object=new FactureFournisseur($db);
diff --git a/htdocs/fourn/facture/list.php b/htdocs/fourn/facture/list.php
index 782a78981ed3680ada176a7d8a3a4f8bc72c7b45..0e19c73615b258b99c3f2c1cf290113c58bc1e7a 100644
--- a/htdocs/fourn/facture/list.php
+++ b/htdocs/fourn/facture/list.php
@@ -116,7 +116,7 @@ $pagenext = $page + 1;
 if (! $sortorder) $sortorder="DESC";
 if (! $sortfield) $sortfield="f.datef,f.rowid";
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='supplierinvoicelist';
 
 $diroutputmassaction=$conf->fournisseur->facture->dir_output . '/temp/massgeneration/'.$user->id;
@@ -125,7 +125,7 @@ $object=new FactureFournisseur($db);
 
 $now=dol_now();
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('supplierinvoicelist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php
index f51246d8eea8693f3de17596c9893e207e8cc20c..59b6e2a27e924538edddac22ceeb33df5a5ca3f9 100644
--- a/htdocs/fourn/facture/paiement.php
+++ b/htdocs/fourn/facture/paiement.php
@@ -79,7 +79,7 @@ if ($user->societe_id > 0)
 }
 
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('paymentsupplier'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/livraison/card.php b/htdocs/livraison/card.php
index 4bfcc4611e6d6effb3eae988c93f90f53fc2800c..bf8dc3e9bed68a0575c573ea55787f5fba9862f8 100644
--- a/htdocs/livraison/card.php
+++ b/htdocs/livraison/card.php
@@ -74,7 +74,7 @@ $extralabelslines=$extrafieldsline->fetch_name_optionals_label($object->table_el
 // Load object. Make an object->fetch
 include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php';  // Must be include, not include_once
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('deliverycard','globalcard'));
 
 /*
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 26f455131cd3b0c2df91fe18fe57a7d98f2e1800..67458a664454b614798aa656b881568d63332e20 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -643,7 +643,7 @@ if (! defined('NOLOGIN'))
         }
         else
 		{
-	       // Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+	       // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 	       $hookmanager->initHooks(array('main'));
 
 	       // Code for search criteria persistence.
diff --git a/htdocs/margin/tabs/thirdpartyMargins.php b/htdocs/margin/tabs/thirdpartyMargins.php
index 3c9e721b3f6c868acd19582ca39673f660ea0897..d7257a3cb1d8b9c96f981cb3c2771bd8ac353d95 100644
--- a/htdocs/margin/tabs/thirdpartyMargins.php
+++ b/htdocs/margin/tabs/thirdpartyMargins.php
@@ -52,7 +52,7 @@ if (! $sortfield) $sortfield="f.datef";
 $object = new Societe($db);
 if ($socid > 0) $object->fetch($socid);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('thirdpartymargins','globalcard'));
 
 
diff --git a/htdocs/product/card.php b/htdocs/product/card.php
index 02ad2f5172caa81229d83b91e924a54c4111c439..d42dc87b4b9b1f1383442d9a21ad645222a9d3fb 100644
--- a/htdocs/product/card.php
+++ b/htdocs/product/card.php
@@ -113,7 +113,7 @@ $fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref : ''));
 $fieldtype = (! empty($ref) ? 'ref' : 'rowid');
 $result=restrictedArea($user,'produit|service',$fieldvalue,'product&product','','',$fieldtype,$objcanvas);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productcard','globalcard'));
 
 
diff --git a/htdocs/product/document.php b/htdocs/product/document.php
index 2cf2f36b4192d028eb75418cdeaef74f21e4ae41..2b76fb0a11194f22fca2f212b9d2093d6e08a6b7 100644
--- a/htdocs/product/document.php
+++ b/htdocs/product/document.php
@@ -50,7 +50,7 @@ $fieldtype = (! empty($ref) ? 'ref' : 'rowid');
 if ($user->societe_id) $socid=$user->societe_id;
 $result=restrictedArea($user,'produit|service',$fieldvalue,'product&product','','',$fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productdocuments'));
 
 // Get parameters
diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php
index a12499e4eaca4513e40b6de73c5e982f0d9b558c..84532ad219e467a074502360c278064dca75c017 100644
--- a/htdocs/product/fournisseurs.php
+++ b/htdocs/product/fournisseurs.php
@@ -65,7 +65,7 @@ $fieldtype = (! empty($ref) ? 'ref' : 'rowid');
 if ($user->societe_id) $socid=$user->societe_id;
 $result=restrictedArea($user,'produit|service&fournisseur',$fieldvalue,'product&product','','',$fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('pricesuppliercard','globalcard'));
 
 $object = new ProductFournisseur($db);
diff --git a/htdocs/product/info.php b/htdocs/product/info.php
index e6011c7945cf6ab154be1ddcd78620a677a61bba..b73883a9aa01c8b7938638053a11f63ad779f584 100644
--- a/htdocs/product/info.php
+++ b/htdocs/product/info.php
@@ -36,7 +36,7 @@ $ref = GETPOST('ref','alpha');
 
 $result=restrictedArea($user,'produit|service',$id,'product&product');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('infoproduct'));
 
 $object = new Product($db);
diff --git a/htdocs/product/list-with-listview.php b/htdocs/product/list-with-listview.php
index 947cfaecbc2a629d846c4030260ea7158bd2d274..8e4218db227a1c422115f426b7604fbe18ee62fc 100644
--- a/htdocs/product/list-with-listview.php
+++ b/htdocs/product/list-with-listview.php
@@ -93,7 +93,7 @@ $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'productser
 if ((string) $type == '1') { $contextpage='servicelist'; if ($search_type=='') $search_type='1'; }
 if ((string) $type == '0') { $contextpage='productlist'; if ($search_type=='') $search_type='0'; }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 $form=new Form($db);
diff --git a/htdocs/product/price.php b/htdocs/product/price.php
index 41f5cda1eb72254974524c03bf9fb017b160564b..c1a6568f82b658d786dadbef10e266ed32a5df7d 100644
--- a/htdocs/product/price.php
+++ b/htdocs/product/price.php
@@ -72,7 +72,7 @@ if ($id > 0 || ! empty($ref))
 // Clean param
 if (! empty($conf->global->PRODUIT_MULTIPRICES) && empty($conf->global->PRODUIT_MULTIPRICES_LIMIT)) $conf->global->PRODUIT_MULTIPRICES_LIMIT = 5;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productpricecard','globalcard'));
 
 
diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php
index 94eeb756385c4c14e4da52f586f9672a806a574a..f4c0c66cdecff986cfba8957a9e503ef95aeaf31 100644
--- a/htdocs/product/stats/commande.php
+++ b/htdocs/product/stats/commande.php
@@ -44,7 +44,7 @@ $socid='';
 if (! empty($user->societe_id)) $socid=$user->societe_id;
 $result=restrictedArea($user,'produit|service',$fieldvalue,'product&product','','',$fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productstatsorder'));
 
 $mesg = '';
diff --git a/htdocs/product/stats/commande_fournisseur.php b/htdocs/product/stats/commande_fournisseur.php
index 3201e7ed2e892ae837f88d33f3903f120c2dd8d5..dafb2b5aafdf591712689f1271bff3220bfc733d 100644
--- a/htdocs/product/stats/commande_fournisseur.php
+++ b/htdocs/product/stats/commande_fournisseur.php
@@ -44,7 +44,7 @@ if (! empty($user->societe_id))
 	$socid = $user->societe_id;
 $result = restrictedArea($user, 'produit|service', $fieldvalue, 'product&product', '', '', $fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array (
 		'productstatssupplyorder'
 ));
diff --git a/htdocs/product/stats/contrat.php b/htdocs/product/stats/contrat.php
index cae9c86104fe552b272822a6e6ad3f45ebdd1ad2..b5a8ec2b039e2bc99e080533ff0d14477f872060 100644
--- a/htdocs/product/stats/contrat.php
+++ b/htdocs/product/stats/contrat.php
@@ -41,7 +41,7 @@ $fieldtype = (! empty($ref) ? 'ref' : 'rowid');
 if ($user->societe_id) $socid=$user->societe_id;
 $result=restrictedArea($user,'produit|service',$fieldvalue,'product&product','','',$fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productstatscontract'));
 
 $mesg = '';
diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php
index 92a80cf018ed4309201d29723a6118f829d4b481..d4f447128a129ccb5b4e1c21386b1a4b1742e204 100644
--- a/htdocs/product/stats/facture.php
+++ b/htdocs/product/stats/facture.php
@@ -45,7 +45,7 @@ $socid='';
 if (! empty($user->societe_id)) $socid=$user->societe_id;
 $result=restrictedArea($user,'produit|service',$fieldvalue,'product&product','','',$fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productstatsinvoice'));
 
 $showmessage=GETPOST('showmessage');
diff --git a/htdocs/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php
index 8da1a68d9c20a1b0f4e30724d55c62416690f960..5701b8960e578491efff0ae3d0108641f0ed9616 100644
--- a/htdocs/product/stats/facture_fournisseur.php
+++ b/htdocs/product/stats/facture_fournisseur.php
@@ -46,7 +46,7 @@ $socid = '';
 if (! empty($user->societe_id)) $socid=$user->societe_id;
 $result = restrictedArea($user, 'produit|service', $fieldvalue, 'product&product', '', '', $fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('productstatssupplyinvoice'));
 
 $mesg = '';
diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php
index ec796422f0bed434aba7c41e85b36a37409c5813..c9aa8fd85bce7898e6f168011a4f5a4e90e788e5 100644
--- a/htdocs/product/stats/propal.php
+++ b/htdocs/product/stats/propal.php
@@ -43,7 +43,7 @@ $socid='';
 if (! empty($user->societe_id)) $socid=$user->societe_id;
 $result = restrictedArea($user, 'produit|service', $fieldvalue, 'product&product', '', '', $fieldtype);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array ('productstatspropal'));
 
 $mesg = '';
diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php
index 665d340f6f956f308faea7f1118b0f97c0e5119c..28e3f187f135360ffc87aa858e9be060a5c85f65 100644
--- a/htdocs/product/stock/card.php
+++ b/htdocs/product/stock/card.php
@@ -53,7 +53,7 @@ $backtopage=GETPOST("backtopage");
 // Security check
 $result=restrictedArea($user,'stock');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('warehousecard','globalcard'));
 
 $object = new Entrepot($db);
diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php
index 7a8010117a212fe5af365284f3817d3e3dd7e7fd..a227d62c5d935133f80ae5723758f25b7ddb31a8 100644
--- a/htdocs/product/stock/mouvement.php
+++ b/htdocs/product/stock/mouvement.php
@@ -79,7 +79,7 @@ $pdluoid=GETPOST('pdluoid','int');
 // Initialize context for list
 $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'movementlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php
index 81942468ab3ef866a1c12591f980b0457e1daa06..69421aa562476145424367e5264af401afc87a55 100644
--- a/htdocs/product/stock/product.php
+++ b/htdocs/product/stock/product.php
@@ -96,7 +96,7 @@ if (! empty($canvas))
     $objcanvas->getCanvas('stockproduct','card',$canvas);
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('stockproductcard','globalcard'));
 
 
diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php
index 174d93f4aefa82d1a8a0b6fcf12c9c2f1bcc7595..e8c4835212090aa0f25e784a7fc71ff31b4fb843 100644
--- a/htdocs/projet/card.php
+++ b/htdocs/projet/card.php
@@ -51,7 +51,7 @@ if ($id == '' && $ref == '' && ($action != "create" && $action != "add" && $acti
 $mine = GETPOST('mode')=='mine' ? 1 : 0;
 //if (! $user->rights->projet->all->lire) $mine=1;	// Special for projects
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('projectcard','globalcard'));
 
 $object = new Project($db);
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index 827719148fe68ed5a8ee2e1e9ce41feba1a5295a..0c638f8dd6b2ad5a19d5978b12ccefc01a69bc05 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -99,7 +99,7 @@ if ($search_status == '') $search_status=-1;	// -1 or 1
 // Initialize context for list
 $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'projectlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php
index 064281633c827f694a26a8904126e02097b50a0d..a9e50f96f91c1800647f355a5953113951af40c4 100644
--- a/htdocs/projet/tasks.php
+++ b/htdocs/projet/tasks.php
@@ -64,7 +64,7 @@ $socid=0;
 //if ($user->societe_id > 0) $socid = $user->societe_id;    // For external user, no check is done on company because readability is managed by public status of project and assignement.
 $result = restrictedArea($user, 'projet', $id, 'projet&project');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('projecttaskcard','globalcard'));
 
 $progress=GETPOST('progress', 'int');
diff --git a/htdocs/projet/tasks/list.php b/htdocs/projet/tasks/list.php
index 18f133513b160789c90e3daa24f12f302a88a3b4..47387ec625a5b28613c0630b22a535d3916f7cc7 100644
--- a/htdocs/projet/tasks/list.php
+++ b/htdocs/projet/tasks/list.php
@@ -70,7 +70,7 @@ $search_eyear	= GETPOST('search_eyear','int');
 // Initialize context for list
 $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'tasklist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php
index 6018b8bef69dd4c94b050dc5f7848a596eebcbde..2d35be97f4a451fe3774877e462da02a4fc76e27 100644
--- a/htdocs/projet/tasks/task.php
+++ b/htdocs/projet/tasks/task.php
@@ -50,7 +50,7 @@ $socid=0;
 //if ($user->societe_id > 0) $socid = $user->societe_id;    // For external user, no check is done on company because readability is managed by public status of project and assignement.
 if (! $user->rights->projet->lire) accessforbidden();
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('projecttaskcard','globalcard'));
 
 $object = new Task($db);
diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php
index 08eb429f664b1b2da6c76baac98d77eb10059bee..2ace6736889d9a623b73bd32fcb53ed7c3ae3e68 100644
--- a/htdocs/projet/tasks/time.php
+++ b/htdocs/projet/tasks/time.php
@@ -69,7 +69,7 @@ $pagenext = $page + 1;
 if (! $sortfield) $sortfield='t.task_date,t.task_datehour,t.rowid';
 if (! $sortorder) $sortorder='DESC';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('projecttaskcard','globalcard'));
 
 $object = new Task($db);
diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php
index d5db9866c1fcfe3dbd4cc0cef10523365cb1dfa7..a24b43b806aa4a0cac0c27bbd17792ac12dad232 100644
--- a/htdocs/public/demo/index.php
+++ b/htdocs/public/demo/index.php
@@ -45,7 +45,7 @@ $conf->dol_use_jmobile=GETPOST('dol_use_jmobile','int');
 global $dolibarr_main_demo;
 if (empty($dolibarr_main_demo)) accessforbidden('Parameter dolibarr_main_demo must be defined in conf file with value "default login,default pass" to enable the demo entry page',0,0,1);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $res=$hookmanager->initHooks(array('demo'));
 
 $demoprofiles=array();
diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php
index 15ea29e9954da0979eaca5f4bb92c39777ecfaa1..4d1ce4da9c763014c8e7e35c570daa4b5598bfd4 100644
--- a/htdocs/societe/agenda.php
+++ b/htdocs/societe/agenda.php
@@ -61,7 +61,7 @@ $pagenext = $page + 1;
 if (! $sortfield) $sortfield='a.datep,a.id';
 if (! $sortorder) $sortorder='DESC';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('agendathirdparty'));
 
 
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index d6710f68c922abe0315c8ae9346e90dfa1b97ad3..e26b4733c84e6eba147ac62a8c6d43d417e2076c 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -69,7 +69,7 @@ $extrafields = new ExtraFields($db);
 // fetch optionals attributes and labels
 $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('thirdpartycard','globalcard'));
 
 if ($action == 'view' && $object->fetch($socid)<=0)
diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php
index 29bc06ff760e676fbb883f969e74dbe9c1c5919a..1fcd73f0ddc85dc12af5402258ced341f0c44025 100644
--- a/htdocs/societe/consumption.php
+++ b/htdocs/societe/consumption.php
@@ -78,7 +78,7 @@ $langs->load("interventions");
 $langs->load("contracts");
 $langs->load("products");
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('consumptionthirdparty'));
 
 
diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php
index 422768bce31c72076abe396b495a003f67f231e3..3bde7f099677da5afa28d5330100aa4ea2dbbde9 100644
--- a/htdocs/societe/list.php
+++ b/htdocs/societe/list.php
@@ -95,7 +95,7 @@ $offset = $limit * $page;
 $pageprev = $page - 1;
 $pagenext = $page + 1;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='thirdpartylist';
 /*if ($search_type == '1,3') { $contextpage='customerlist'; $type='c'; }
 if ($search_type == '2,3') { $contextpage='prospectlist'; $type='p'; }
@@ -105,7 +105,7 @@ if ($type == 'c') { $contextpage='customerlist'; if ($search_type=='') $search_t
 if ($type == 'p') { $contextpage='prospectlist'; if ($search_type=='') $search_type='2,3'; }
 if ($type == 'f') { $contextpage='supplierlist'; if ($search_type=='') $search_type='4'; }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php
index eacd047d93ad5cf0f5fe423f2a66a0df6ec491bd..8487185ecd51c67bd5aaea81fde969f8559565ad 100644
--- a/htdocs/societe/notify/card.php
+++ b/htdocs/societe/notify/card.php
@@ -59,7 +59,7 @@ $now=dol_now();
 
 $object = new Societe($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('thirdpartynotification','globalcard'));
 
 
diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php
index 952a34a9a5929d15e336914020b2162f9cf3e0ba..05e39ffc576c633f622077eb3be3ccf2b92be474 100644
--- a/htdocs/societe/price.php
+++ b/htdocs/societe/price.php
@@ -52,7 +52,7 @@ $result = restrictedArea($user, 'societe', $socid, '&societe');
 
 $object = new Societe($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('thirdpartycustomerprice','globalcard'));
 
 
diff --git a/htdocs/societe/project.php b/htdocs/societe/project.php
index 72c371ce934949732faed977a8faa973054570ba..df2deb9da0c73340c2a7240e304b14c552a3428d 100644
--- a/htdocs/societe/project.php
+++ b/htdocs/societe/project.php
@@ -39,7 +39,7 @@ $socid = GETPOST('socid','int');
 if ($user->societe_id) $socid=$user->societe_id;
 $result = restrictedArea($user, 'societe', $socid, '&societe');
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('projectthirdparty'));
 
 
diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php
index 36914d745856c9446d2540de87b9b51e01606753..cb5dffc33991e30e94ed458f9cd084931621b1a5 100644
--- a/htdocs/societe/rib.php
+++ b/htdocs/societe/rib.php
@@ -59,11 +59,11 @@ $extrafields = new ExtraFields($db);
 // fetch optionals attributes and labels
 $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('thirdpartybancard','globalcard'));
 
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('thirdpartybancard'));
 
 
diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php
index 020473fee594bdb7d79a8d4c87df6309958f3356..c7807d8c4e508e8d8241987fc099227aea5e91f3 100644
--- a/htdocs/supplier_proposal/card.php
+++ b/htdocs/supplier_proposal/card.php
@@ -97,7 +97,7 @@ if ($id > 0 || ! empty($ref)) {
 		dol_print_error('', $object->error);
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('supplier_proposalcard','globalcard'));
 
 $permissionnote = $user->rights->supplier_proposal->creer; // Used by the include of actions_setnotes.inc.php
diff --git a/htdocs/supplier_proposal/list.php b/htdocs/supplier_proposal/list.php
index 7eb5d1323ed8aa44ac79b87fcfe6b36a66f91aa3..e401fdbe710f4833541d0686677beacdb77025aa 100644
--- a/htdocs/supplier_proposal/list.php
+++ b/htdocs/supplier_proposal/list.php
@@ -96,7 +96,7 @@ if ($object_statut != '') $search_status=$object_statut;
 // Nombre de ligne pour choix de produit/service predefinis
 $NBLINES=4;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $contextpage='supplierproposallist';
 
 // Security check
@@ -114,7 +114,7 @@ $result = restrictedArea($user, $module, $objectid, $dbtable);
 
 $diroutputmassaction=$conf->supplier_proposal->dir_output . '/temp/massgeneration/'.$user->id;
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('supplier_proposallist'));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/user/agenda_extsites.php b/htdocs/user/agenda_extsites.php
index e789a8277f3c64f45a68db496a49a680275ef728..255b476eb612c05543900fea0cf9e33f2da78ff9 100644
--- a/htdocs/user/agenda_extsites.php
+++ b/htdocs/user/agenda_extsites.php
@@ -67,7 +67,7 @@ $result = restrictedArea($user, 'user', $id, 'user&user', $feature2);
 if (($object->id != $user->id) && (! $user->rights->user->user->lire))
   accessforbidden();
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));
 
 /*
diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php
index 1500a3be55c8705055ca1afe7ca130eb69debdc0..2ba3c67d0b409b9cd3fc67b1d3885fce5f6f40d7 100644
--- a/htdocs/user/clicktodial.php
+++ b/htdocs/user/clicktodial.php
@@ -41,7 +41,7 @@ if ($user->id == $id)	// A user can always read its own card
 }
 $result = restrictedArea($user, 'user', $id, 'user&user', $feature2);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));
 
 /*
diff --git a/htdocs/user/document.php b/htdocs/user/document.php
index b15af46bcd8eff21c7bc87ffec739602515031ff..bc4727feaa8d26f85b40fec51bbee44e17cf9cc5 100644
--- a/htdocs/user/document.php
+++ b/htdocs/user/document.php
@@ -93,7 +93,7 @@ if ($id > 0 || ! empty($ref))
 	$upload_dir = $conf->user->multidir_output[$entitytouseforuserdir] . "/" . $object->id ;
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));
 
 
diff --git a/htdocs/user/group/perms.php b/htdocs/user/group/perms.php
index 77532de7c3eea5313213013af8f95fbb1aae2a90..94a9c9c188346cb90bc6f1cd74fc720f31785f92 100644
--- a/htdocs/user/group/perms.php
+++ b/htdocs/user/group/perms.php
@@ -72,7 +72,7 @@ if (! empty($conf->multicompany->enabled))
 		$entity=(! empty($object->entity) ? $object->entity : $conf->entity);
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('groupcard','globalcard'));
 
 
diff --git a/htdocs/user/index.php b/htdocs/user/index.php
index da5ddd99339f46364779482f3bd522d525847ce6..f5434f822d59b2632a3bc40671268d1e9c000b8f 100644
--- a/htdocs/user/index.php
+++ b/htdocs/user/index.php
@@ -60,7 +60,7 @@ if (! $sortorder) $sortorder="ASC";
 // Initialize context for list
 $contextpage=GETPOST('contextpage','aZ')?GETPOST('contextpage','aZ'):'userlist';
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array($contextpage));
 $extrafields = new ExtraFields($db);
 
diff --git a/htdocs/user/ldap.php b/htdocs/user/ldap.php
index 252ed9f82b4446cc836b8762fcfbb4ebcf4ef2fc..96c0ac881be296fd5dade914666b84c2366e8bca 100644
--- a/htdocs/user/ldap.php
+++ b/htdocs/user/ldap.php
@@ -45,7 +45,7 @@ $object = new User($db);
 $object->fetch($id, '', '', 1);
 $object->getrights();
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));
 
 /*
diff --git a/htdocs/user/note.php b/htdocs/user/note.php
index b9e8cb698695ed3df5ab625a5b3098b5aab5ae38..1734e7286d4896d878db4db476706151aae379cb 100644
--- a/htdocs/user/note.php
+++ b/htdocs/user/note.php
@@ -49,7 +49,7 @@ $feature2 = (($socid && $user->rights->user->self->creer)?'':'user');
 if ($user->id == $id) $feature2=''; // A user can always read its own card
 $result = restrictedArea($user, 'user', $id, 'user&user', $feature2);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));
 
 
diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php
index 9ffeb05f280b1068587e4497a262f12526361991..8831b56f09a7d67deaad52529d97b05a9c38a873 100644
--- a/htdocs/user/param_ihm.php
+++ b/htdocs/user/param_ihm.php
@@ -78,7 +78,7 @@ $searchformtitle=array($langs->trans("Companies"),$langs->trans("Contacts"),$lan
 $form = new Form($db);
 $formadmin=new FormAdmin($db);
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));
 
 
diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php
index 041213fbe6441f59027c15ea4ca0c9aa9f91b4f3..5d87232c9289ae74560fb601c78e81252de990d5 100644
--- a/htdocs/user/perms.php
+++ b/htdocs/user/perms.php
@@ -79,7 +79,7 @@ if (! empty($conf->multicompany->enabled))
 		$entity=(! empty($object->entity) ? $object->entity : $conf->entity);
 }
 
-// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
+// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
 $hookmanager->initHooks(array('usercard','globalcard'));