54 return function () use ($keyBoth, $keyServiceOnly, $keyProductOnly, $noconv) {
56 $label = $noconv ? $langs->transnoentitiesnoconv($keyBoth) : $langs->trans($keyBoth);
58 $label = $langs->trans($keyServiceOnly);
60 $label = $langs->trans($keyProductOnly);
103 $extrafieldsadminmap = array(
105 'headfunction' =>
'societe_admin_prepare_head',
106 'headfile' =>
'core/lib/company.lib.php',
107 'tabid' =>
'attributes',
108 'headlabel' =>
'ThirdParties',
109 'textobject' =>
'ThirdParty',
110 'headpicto' =>
'company',
111 'title' =>
'CompanySetup',
112 'helpurl' =>
'EN:Module Third Parties setup|FR:Paramétrage_du_module_Tiers',
113 'langs' => array(
'companies',
'admin',
'members'),
115 'socpeople' => array(
116 'headfunction' =>
'societe_admin_prepare_head',
117 'headfile' =>
'core/lib/company.lib.php',
118 'tabid' =>
'attributes_contacts',
119 'headlabel' =>
'ThirdParties',
120 'textobject' =>
'ContactsAddresses',
121 'headpicto' =>
'company',
122 'title' =>
'CompanySetup',
123 'helpurl' =>
'EN:Module Third Parties setup|FR:Paramétrage_du_module_Tiers',
124 'langs' => array(
'companies',
'admin'),
127 'headfunction' =>
'product_admin_prepare_head',
128 'headfile' =>
'core/lib/product.lib.php',
129 'tabid' =>
'attributes',
131 'headpicto' =>
'product',
134 'langs' => array(
'companies',
'admin',
'products'),
136 'product_lang' => array(
137 'headfunction' =>
'product_admin_prepare_head',
138 'headfile' =>
'core/lib/product.lib.php',
139 'tabid' =>
'translationAttributes',
140 'headlabel' =>
'ProductLangExtrafieldsSetup',
141 'textobject' =>
'Product',
142 'headpicto' =>
'product',
143 'title' =>
'ProductLangExtrafieldsSetup',
145 'langs' => array(
'admin',
'products'),
147 'product_price' => array(
148 'headfunction' =>
'product_admin_prepare_head',
149 'headfile' =>
'core/lib/product.lib.php',
150 'tabid' =>
'levelAttributes',
152 'headpicto' =>
'product',
155 'langs' => array(
'companies',
'admin',
'products'),
157 'product_customer_price' => array(
158 'headfunction' =>
'product_admin_prepare_head',
159 'headfile' =>
'core/lib/product.lib.php',
160 'tabid' =>
'customerAttributes',
162 'headpicto' =>
'product',
165 'langs' => array(
'companies',
'admin',
'products'),
167 'product_fournisseur_price' => array(
168 'headfunction' =>
'product_admin_prepare_head',
169 'headfile' =>
'core/lib/product.lib.php',
170 'tabid' =>
'supplierAttributes',
172 'headpicto' =>
'product',
175 'langs' => array(
'companies',
'admin',
'products'),
177 'product_lot' => array(
178 'headfunction' =>
'product_lot_admin_prepare_head',
179 'headfile' =>
'core/lib/product.lib.php',
180 'tabid' =>
'attributes',
181 'headlabel' =>
'Batch',
182 'headpicto' =>
'lot',
183 'title' =>
'ProductLotSetup',
185 'langs' => array(
'companies',
'admin',
'products',
'productbatch'),
188 'headfunction' =>
'stock_admin_prepare_head',
189 'headfile' =>
'core/lib/stock.lib.php',
190 'tabid' =>
'attributes',
191 'headlabel' =>
'StockSetup',
192 'textobject' =>
'Warehouses',
193 'headpicto' =>
'stock',
194 'title' =>
'StockSetup',
196 'langs' => array(
'companies',
'admin',
'stocks'),
198 'stock_mouvement' => array(
199 'headfunction' =>
'stock_admin_prepare_head',
200 'headfile' =>
'core/lib/stock.lib.php',
201 'tabid' =>
'stockMouvementAttributes',
202 'headlabel' =>
'StockMouvementExtraFields',
203 'textobject' =>
'StockMovement',
204 'headpicto' =>
'account',
205 'title' =>
'StockSetup',
207 'langs' => array(
'stock@stock',
'admin'),
209 'inventory' => array(
210 'headfunction' =>
'stock_admin_prepare_head',
211 'headfile' =>
'core/lib/stock.lib.php',
212 'tabid' =>
'inventoryAttributes',
213 'headlabel' =>
'InventoryExtraFields',
214 'textobject' =>
'Inventory',
215 'headpicto' =>
'account',
216 'title' =>
'StockSetup',
218 'langs' => array(
'stock@stock',
'admin'),
220 'product_attribute' => array(
221 'headfunction' =>
'adminProductAttributePrepareHead',
222 'headfile' =>
'variants/lib/variants.lib.php',
223 'tabid' =>
'product_attribute',
224 'headlabel' =>
'ProductAttributeExtrafieldsSetup',
225 'headpicto' =>
'product',
226 'title' =>
'ProductAttributeExtrafieldsSetup',
228 'langs' => array(
'admin',
'other',
'product'),
230 'product_attribute_value' => array(
231 'headfunction' =>
'adminProductAttributePrepareHead',
232 'headfile' =>
'variants/lib/variants.lib.php',
233 'tabid' =>
'product_attribute_value',
234 'headlabel' =>
'ProductAttributeValueExtrafieldsSetup',
235 'headpicto' =>
'product',
236 'title' =>
'ProductAttributeValueExtrafieldsSetup',
238 'langs' => array(
'admin',
'other',
'sendings'),
241 'headfunction' =>
'member_admin_prepare_head',
242 'headfile' =>
'core/lib/member.lib.php',
243 'tabid' =>
'attributes',
244 'headlabel' =>
'Members',
245 'headpicto' =>
'user',
246 'title' =>
'MembersSetup',
247 'helpurl' =>
'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros|DE:Modul_Mitglieder',
248 'langs' => array(
'admin',
'members'),
250 'adherent_type' => array(
251 'headfunction' =>
'member_admin_prepare_head',
252 'headfile' =>
'core/lib/member.lib.php',
253 'tabid' =>
'attributes_type',
254 'headlabel' =>
'Members',
255 'textobject' =>
'MembersTypes',
256 'headpicto' =>
'user',
257 'title' =>
'MembersSetup',
258 'helpurl' =>
'EN:Module_Foundations|FR:Module_Adhérents|ES:Módulo_Miembros|DE:Modul_Mitglieder',
259 'langs' => array(
'admin',
'members'),
261 'bank_account' => array(
262 'headfunction' =>
'bank_admin_prepare_head',
263 'headfile' =>
'core/lib/bank.lib.php',
264 'tabid' =>
'attributes',
265 'headlabel' =>
'BankSetupModule',
266 'textobject' =>
'Bank',
267 'headpicto' =>
'account',
268 'title' =>
'BankSetupModule',
270 'langs' => array(
'banks',
'admin'),
273 'headfunction' =>
'bank_admin_prepare_head',
274 'headfile' =>
'core/lib/bank.lib.php',
275 'tabid' =>
'bankline_extrafields',
276 'headlabel' =>
'BankSetupModule',
277 'textobject' =>
'BankTransaction',
278 'headpicto' =>
'account',
279 'title' =>
'BankSetupModule',
281 'langs' => array(
'admin',
'companies',
'bills',
'other',
'banks'),
284 'headfunction' =>
'bank_admin_prepare_head',
285 'headfile' =>
'core/lib/bank.lib.php',
286 'tabid' =>
'bank_payments_extrafields',
287 'headlabel' =>
'BankSetupModule',
288 'textobject' =>
'BankTransaction',
289 'headpicto' =>
'account',
290 'title' =>
'BankSetupModule',
292 'langs' => array(
'admin',
'companies',
'bills',
'other',
'banks'),
294 'payment_various' => array(
295 'headfunction' =>
'bank_admin_prepare_head',
296 'headfile' =>
'core/lib/bank.lib.php',
297 'tabid' =>
'bank_various_payment_extrafields',
298 'headlabel' =>
'BankSetupModule',
299 'textobject' =>
'VariousPayments',
301 'title' =>
'BankSetupModule',
303 'langs' => array(
'admin',
'banks',
'other'),
306 'headfunction' =>
'bomAdminPrepareHead',
307 'headfile' =>
'bom/lib/bom.lib.php',
308 'tabid' =>
'bom_extrafields',
309 'headlabel' =>
'ExtraFields',
310 'textobject' =>
'BOM',
311 'headpicto' =>
'account',
312 'title' =>
'BOMsSetup',
314 'langs' => array(
'mrp',
'admin'),
316 'bom_bomline' => array(
317 'headfunction' =>
'bomAdminPrepareHead',
318 'headfile' =>
'bom/lib/bom.lib.php',
319 'tabid' =>
'bomline_extrafields',
320 'headlabel' =>
'ExtraFields',
321 'textobject' =>
'BOM',
322 'headpicto' =>
'account',
323 'title' =>
'BOMsSetup',
325 'langs' => array(
'mrp',
'admin'),
328 'headfunction' =>
'expedition_admin_prepare_head',
329 'headfile' =>
'core/lib/expedition.lib.php',
330 'tabid' =>
'attributes_receivings',
331 'headlabel' =>
'Receivings',
332 'textobject' =>
'Receivings',
333 'headpicto' =>
'shipment',
334 'title' =>
'SendingsSetup',
336 'langs' => array(
'admin',
'other',
'sendings'),
338 'deliverydet' => array(
339 'headfunction' =>
'expedition_admin_prepare_head',
340 'headfile' =>
'core/lib/expedition.lib.php',
341 'tabid' =>
'attributeslines_receivings',
342 'headlabel' =>
'Receivings',
343 'textobject' =>
'Receivings',
344 'headpicto' =>
'shipment',
345 'title' =>
'SendingsSetup',
347 'langs' => array(
'admin',
'other',
'sendings'),
349 'expedition' => array(
350 'headfunction' =>
'expedition_admin_prepare_head',
351 'headfile' =>
'core/lib/expedition.lib.php',
352 'tabid' =>
'attributes_shipment',
353 'headlabel' =>
'Sendings',
354 'textobject' =>
'Sendings',
355 'headpicto' =>
'shipment',
356 'title' =>
'SendingsSetup',
358 'langs' => array(
'admin',
'other',
'sendings'),
360 'expeditiondet' => array(
361 'headfunction' =>
'expedition_admin_prepare_head',
362 'headfile' =>
'core/lib/expedition.lib.php',
363 'tabid' =>
'attributeslines_shipment',
364 'headlabel' =>
'Sendings',
365 'textobject' =>
'Sendings',
366 'headpicto' =>
'shipment',
367 'title' =>
'SendingsSetup',
369 'langs' => array(
'admin',
'other',
'sendings'),
371 'reception' => array(
372 'headfunction' =>
'reception_admin_prepare_head',
373 'headfile' =>
'core/lib/reception.lib.php',
374 'tabid' =>
'attributes_reception',
375 'headlabel' =>
'Receptions',
376 'textobject' =>
'Receptions',
377 'headpicto' =>
'reception',
378 'title' =>
'ReceptionsSetup',
380 'langs' => array(
'admin',
'other',
'receptions',
'sendings'),
382 'receptiondet_batch' => array(
383 'headfunction' =>
'reception_admin_prepare_head',
384 'headfile' =>
'core/lib/reception.lib.php',
385 'tabid' =>
'attributeslines_reception',
386 'headlabel' =>
'Receptions',
387 'textobject' =>
'Receptions',
388 'headpicto' =>
'reception',
389 'title' =>
'ReceptionsSetup',
391 'langs' => array(
'admin',
'other',
'receptions'),
393 'ecm_directories' => array(
394 'headfunction' =>
'ecm_admin_prepare_head',
395 'headfile' =>
'core/lib/ecm.lib.php',
396 'tabid' =>
'attributes_ecm_directories',
398 'textobject' =>
'ECM',
400 'title' =>
'ECMSetup',
402 'langs' => array(
'admin',
'other',
'ecm'),
404 'ecm_files' => array(
405 'headfunction' =>
'ecm_admin_prepare_head',
406 'headfile' =>
'core/lib/ecm.lib.php',
407 'tabid' =>
'attributes_ecm_files',
409 'textobject' =>
'ECM',
411 'title' =>
'ECMSetup',
413 'langs' => array(
'admin',
'other',
'ecm'),
415 'actioncomm' => array(
416 'headfunction' =>
'eventorganizationAdminPrepareHead',
417 'headfile' =>
'core/lib/eventorganization.lib.php',
418 'tabid' =>
'eventorganization_extrafields',
419 'headlabel' =>
'ExtraFields',
420 'textobject' =>
'ConferenceOrBooth',
421 'headpicto' =>
'eventorganization',
422 'title' =>
'EventOrganizationSetup',
424 'langs' => array(
'eventorganization',
'admin'),
426 'eventorganization_conferenceorboothattendee' => array(
427 'headfunction' =>
'eventorganizationAdminPrepareHead',
428 'headfile' =>
'core/lib/eventorganization.lib.php',
429 'tabid' =>
'conferenceorboothattendee_extrafields',
430 'headlabel' =>
'ConferenceOrBoothAttendeeExtraFields',
431 'textobject' =>
'ConferenceOrBoothAttendee',
432 'headpicto' =>
'eventorganization',
433 'title' =>
'EventOrganizationSetup',
435 'langs' => array(
'eventorganization',
'admin'),
438 'headfunction' =>
'agenda_prepare_head',
439 'headfile' =>
'core/lib/agenda.lib.php',
440 'tabid' =>
'attributes',
441 'headlabel' =>
'Agenda',
442 'textobject' =>
'Agenda',
443 'headpicto' =>
'action',
444 'title' =>
'AgendaSetup',
445 'helpurl' =>
'EN:Module_Agenda_En|FR:Module_Agenda|ES:Módulo_Agenda|DE:Modul_Terminplanung',
446 'langs' => array(
'admin',
'other',
'agenda'),
447 'elementtype' =>
'actioncomm',
449 'expensereport' => array(
450 'headfunction' =>
'expensereport_admin_prepare_head',
451 'headfile' =>
'core/lib/expensereport.lib.php',
452 'tabid' =>
'attributes',
453 'headlabel' =>
'ExpenseReports',
454 'textobject' =>
'ExpenseReports',
455 'headpicto' =>
'trip',
456 'title' =>
'ExpenseReportsSetup',
458 'langs' => array(
'admin',
'errors',
'trips',
'other'),
461 'headfunction' =>
'holiday_admin_prepare_head',
462 'headfile' =>
'core/lib/holiday.lib.php',
463 'tabid' =>
'attributes',
464 'headlabel' =>
'Holidays',
465 'textobject' =>
'Holidays',
466 'headpicto' =>
'holiday',
467 'title' =>
'HolidaySetup',
469 'langs' => array(
'admin',
'errors',
'holiday',
'other'),
471 'knowledgemanagement_knowledgerecord' => array(
472 'headfunction' =>
'knowledgemanagementAdminPrepareHead',
473 'headfile' =>
'knowledgemanagement/lib/knowledgemanagement.lib.php',
475 'headlabel' =>
'KnowledgeRecordExtraFields',
476 'textobject' =>
'KnowledgeRecord',
477 'headpicto' =>
'knowledgemanagement',
478 'title' =>
'KnowledgeManagementSetup',
480 'langs' => array(
'knowledgemanagement',
'admin'),
483 'headfunction' =>
'mrpAdminPrepareHead',
484 'headfile' =>
'mrp/lib/mrp.lib.php',
485 'tabid' =>
'mrp_extrafields',
486 'headlabel' =>
'ExtraFields',
487 'textobject' =>
'ManufacturingOrder',
488 'headpicto' =>
'account',
489 'title' =>
'MrpSetupPage',
491 'langs' => array(
'mrp',
'admin'),
493 'mrp_production' => array(
494 'headfunction' =>
'mrpAdminPrepareHead',
495 'headfile' =>
'mrp/lib/mrp.lib.php',
496 'tabid' =>
'mrp_production_extrafields',
497 'headlabel' =>
'ExtraFields',
498 'textobject' =>
'ManufacturingOrder',
499 'headpicto' =>
'account',
500 'title' =>
'MrpSetupPage',
502 'langs' => array(
'mrp',
'admin'),
505 'headfunction' =>
'order_admin_prepare_head',
506 'headfile' =>
'core/lib/order.lib.php',
507 'tabid' =>
'attributes',
508 'headlabel' =>
'Orders',
509 'textobject' =>
'Orders',
510 'headpicto' =>
'order',
511 'title' =>
'OrdersSetup',
513 'langs' => array(
'admin',
'other',
'orders'),
515 'commandedet' => array(
516 'headfunction' =>
'order_admin_prepare_head',
517 'headfile' =>
'core/lib/order.lib.php',
518 'tabid' =>
'attributeslines',
519 'headlabel' =>
'Orders',
520 'textobject' =>
'Orders',
521 'headpicto' =>
'order',
522 'title' =>
'OrdersSetup',
524 'langs' => array(
'admin',
'other',
'orders'),
535 'commande_fournisseur' => array(
536 'headfunction' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'supplier_order_admin_prepare_head' :
'supplierorder_admin_prepare_head',
537 'headfile' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'core/lib/supplier_order.lib.php' :
'core/lib/fourn.lib.php',
538 'tabid' =>
'supplierorder',
539 'headlabel' =>
'Suppliers',
540 'textobject' =>
'SuppliersOrders',
541 'headpicto' =>
'company',
542 'title' =>
'SuppliersSetup',
544 'langs' => array(
'admin',
'other',
'orders'),
546 'commande_fournisseurdet' => array(
547 'headfunction' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'supplier_order_admin_prepare_head' :
'supplierorder_admin_prepare_head',
548 'headfile' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'core/lib/supplier_order.lib.php' :
'core/lib/fourn.lib.php',
549 'tabid' =>
'supplierorderdet',
550 'headlabel' =>
'Suppliers',
551 'textobject' =>
'SuppliersOrders',
552 'headpicto' =>
'company',
553 'title' =>
'SuppliersSetup',
555 'langs' => array(
'admin',
'other',
'orders'),
567 'facture_fourn' => array(
568 'headfunction' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'supplier_invoice_admin_prepare_head' :
'supplierorder_admin_prepare_head',
569 'headfile' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'core/lib/supplier_invoice.lib.php' :
'core/lib/fourn.lib.php',
570 'tabid' =>
'supplierinvoice',
571 'headlabel' =>
'Suppliers',
572 'textobject' =>
'BillsSuppliers',
573 'headpicto' =>
'company',
574 'title' =>
'SuppliersSetup',
576 'langs' => array(
'admin',
'other',
'bills',
'orders',
'suppliers'),
578 'facture_fourn_det' => array(
579 'headfunction' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'supplier_invoice_admin_prepare_head' :
'supplierorder_admin_prepare_head',
580 'headfile' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'core/lib/supplier_invoice.lib.php' :
'core/lib/fourn.lib.php',
581 'tabid' =>
'supplierinvoicedet',
582 'headlabel' =>
'Suppliers',
583 'textobject' =>
'BillsSuppliers',
584 'headpicto' =>
'company',
585 'title' =>
'SuppliersSetup',
587 'langs' => array(
'admin',
'other',
'bills',
'orders',
'suppliers'),
589 'facture_fourn_rec' => array(
590 'headfunction' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'supplier_invoice_admin_prepare_head' :
'supplierorder_admin_prepare_head',
591 'headfile' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'core/lib/supplier_invoice.lib.php' :
'core/lib/fourn.lib.php',
592 'tabid' =>
'attributesrec',
593 'headlabel' =>
'Suppliers',
594 'textobject' =>
'BillsSuppliers',
595 'headpicto' =>
'company',
596 'title' =>
'SuppliersSetup',
598 'langs' => array(
'admin',
'other',
'bills',
'orders',
'suppliers'),
600 'facture_fourn_det_rec' => array(
601 'headfunction' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'supplier_invoice_admin_prepare_head' :
'supplierorder_admin_prepare_head',
602 'headfile' =>
getDolGlobalString(
'MAIN_USE_NEW_SUPPLIERMOD') ?
'core/lib/supplier_invoice.lib.php' :
'core/lib/fourn.lib.php',
603 'tabid' =>
'attributeslinesrec',
604 'headlabel' =>
'Suppliers',
605 'textobject' =>
'BillsSuppliers',
606 'headpicto' =>
'company',
607 'title' =>
'SuppliersSetup',
609 'langs' => array(
'admin',
'other',
'bills',
'orders',
'suppliers'),
612 'headfunction' =>
'resource_admin_prepare_head',
613 'headfile' =>
'core/lib/resource.lib.php',
614 'tabid' =>
'attributes',
615 'headlabel' =>
'ResourceSingular',
616 'textobject' =>
'ResourceSingular',
617 'headpicto' =>
'action',
618 'title' =>
'ResourceSetup',
620 'langs' => array(
'admin',
'other',
'resource'),
623 'headfunction' =>
'ticketAdminPrepareHead',
624 'headfile' =>
'core/lib/ticket.lib.php',
625 'tabid' =>
'attributes',
626 'headlabel' =>
'Module56000Name',
627 'textobject' =>
'Ticket',
628 'headpicto' =>
'ticket',
629 'title' =>
'TicketSetup',
630 'helpurl' =>
'FR:Module_Ticket',
631 'langs' => array(
'ticket',
'admin'),
634 'headfunction' =>
'assetAdminPrepareHead',
635 'headfile' =>
'core/lib/asset.lib.php',
636 'tabid' =>
'asset_extrafields',
637 'headlabel' =>
'AssetSetup',
638 'textobject' =>
'Assets',
639 'headpicto' =>
'asset',
640 'title' =>
'AssetSetup',
642 'langs' => array(
'assets',
'admin',
'companies'),
644 'asset_model' => array(
645 'headfunction' =>
'assetAdminPrepareHead',
646 'headfile' =>
'core/lib/asset.lib.php',
647 'tabid' =>
'assetmodel_extrafields',
648 'headlabel' =>
'AssetSetup',
649 'textobject' =>
'AssetModels',
650 'headpicto' =>
'asset',
651 'title' =>
'AssetSetup',
653 'langs' => array(
'assets',
'admin',
'companies'),
655 'workstation_workstation' => array(
656 'headfunction' =>
'workstationAdminPrepareHead',
657 'headfile' =>
'workstation/lib/workstation.lib.php',
658 'tabid' =>
'workstation_extrafields',
659 'headlabel' =>
'WorkstationSetup',
660 'textobject' =>
'Workstation',
661 'headpicto' =>
'workstation',
662 'title' =>
'WorkstationSetup',
664 'langs' => array(
'workstation',
'admin'),
666 'categorie' => array(
667 'headfunction' =>
'categoriesadmin_prepare_head',
668 'headfile' =>
'core/lib/categories.lib.php',
669 'tabid' =>
'attributes_categories',
670 'headlabel' =>
'Categories',
671 'textobject' =>
'Categories',
672 'headpicto' =>
'category',
673 'title' =>
'Categories',
674 'helpurl' =>
'EN:Module Categories|FR:Module Catégories|ES:Módulo Categorías|DE:Modul_Kategorien',
675 'langs' => array(
'categories',
'admin'),
677 'categorie_lang' => array(
678 'headfunction' =>
'categoriesadmin_prepare_head',
679 'headfile' =>
'core/lib/categories.lib.php',
680 'tabid' =>
'translationAttributes',
681 'headlabel' =>
'CategoriesTranslationsExtrafields',
682 'textobject' =>
'Category',
683 'headpicto' =>
'categorie',
684 'title' =>
'CategoriesTranslationsExtrafields',
686 'langs' => array(
'admin',
'categories'),
689 'headfunction' =>
'propal_admin_prepare_head',
690 'headfile' =>
'core/lib/propal.lib.php',
691 'tabid' =>
'attributes',
692 'headlabel' =>
'Proposals',
693 'textobject' =>
'Proposals',
694 'headpicto' =>
'propal',
695 'title' =>
'PropalSetup',
697 'langs' => array(
'companies',
'admin',
'propal'),
699 'propaldet' => array(
700 'headfunction' =>
'propal_admin_prepare_head',
701 'headfile' =>
'core/lib/propal.lib.php',
702 'tabid' =>
'attributeslines',
703 'headlabel' =>
'Proposals',
704 'textobject' =>
'Proposals',
705 'headpicto' =>
'propal',
706 'title' =>
'PropalSetup',
708 'langs' => array(
'admin',
'other',
'propal'),
710 'supplier_proposal' => array(
711 'headfunction' =>
'supplier_proposal_admin_prepare_head',
712 'headfile' =>
'core/lib/supplier_proposal.lib.php',
713 'tabid' =>
'attributes',
714 'headlabel' =>
'CommRequests',
715 'textobject' =>
'CommRequests',
716 'headpicto' =>
'supplier_proposal',
717 'title' =>
'SupplierProposalSetup',
719 'langs' => array(
'companies',
'admin',
'supplier_proposal'),
721 'supplier_proposaldet' => array(
722 'headfunction' =>
'supplier_proposal_admin_prepare_head',
723 'headfile' =>
'core/lib/supplier_proposal.lib.php',
724 'tabid' =>
'attributeslines',
725 'headlabel' =>
'CommRequests',
726 'textobject' =>
'CommRequests',
727 'headpicto' =>
'supplier_proposal',
728 'title' =>
'SupplierProposalSetup',
730 'langs' => array(
'admin',
'other',
'supplier_proposal'),
733 'headfunction' =>
'invoice_admin_prepare_head',
734 'headfile' =>
'core/lib/invoice.lib.php',
735 'tabid' =>
'attributes',
736 'headlabel' =>
'Invoices',
737 'textobject' =>
function () {
739 return strtolower($langs->transnoentitiesnoconv(
"BillsCustomers"));
741 'headpicto' =>
'bill',
742 'title' =>
'BillsSetup',
744 'langs' => array(
'companies',
'admin',
'bills'),
746 'facturedet' => array(
747 'headfunction' =>
'invoice_admin_prepare_head',
748 'headfile' =>
'core/lib/invoice.lib.php',
749 'tabid' =>
'attributeslines',
750 'headlabel' =>
'Invoices',
751 'textobject' =>
function () {
753 return strtolower($langs->transnoentitiesnoconv(
"BillsCustomers"));
755 'headpicto' =>
'bill',
756 'title' =>
'BillsSetup',
758 'langs' => array(
'companies',
'admin',
'bills'),
760 'facture_rec' => array(
761 'headfunction' =>
'invoice_admin_prepare_head',
762 'headfile' =>
'core/lib/invoice.lib.php',
763 'tabid' =>
'attributesrec',
764 'headlabel' =>
'Invoices',
765 'textobject' =>
function () {
767 return strtolower($langs->transnoentitiesnoconv(
"BillsCustomers"));
769 'headpicto' =>
'bill',
770 'title' =>
'BillsSetup',
772 'langs' => array(
'companies',
'admin',
'bills'),
774 'facturedet_rec' => array(
775 'headfunction' =>
'invoice_admin_prepare_head',
776 'headfile' =>
'core/lib/invoice.lib.php',
777 'tabid' =>
'attributeslinesrec',
778 'headlabel' =>
'Invoices',
779 'textobject' =>
function () {
781 return strtolower($langs->transnoentitiesnoconv(
"BillsCustomers"));
783 'headpicto' =>
'bill',
784 'title' =>
'BillsSetup',
786 'langs' => array(
'companies',
'admin',
'bills'),
789 'headfunction' =>
'contract_admin_prepare_head',
790 'headfile' =>
'core/lib/contract.lib.php',
791 'tabid' =>
'attributes',
792 'headlabel' =>
'Contracts',
793 'headpicto' =>
'contract',
794 'title' =>
'ContractsSetup',
795 'helpurl' =>
'EN:Module_Contracts|FR:Module_Contrat|ES:Contratos_de_servicio',
796 'langs' => array(
'companies',
'admin',
'contracts'),
798 'contratdet' => array(
799 'headfunction' =>
'contract_admin_prepare_head',
800 'headfile' =>
'core/lib/contract.lib.php',
801 'tabid' =>
'attributeslines',
802 'headlabel' =>
'Contracts',
803 'headpicto' =>
'contract',
804 'title' =>
'ContractsSetup',
805 'helpurl' =>
'EN:Module_Contracts|FR:Module_Contrat|ES:Contratos_de_servicio',
806 'langs' => array(
'companies',
'admin',
'contracts'),
809 'headfunction' =>
'donation_admin_prepare_head',
810 'headfile' =>
'core/lib/donation.lib.php',
811 'tabid' =>
'attributes',
812 'headlabel' =>
'Donations',
813 'textobject' =>
'Donations',
814 'headpicto' =>
'payment',
815 'title' =>
'DonationsSetup',
817 'langs' => array(
'companies',
'admin',
'donations'),
819 'fichinter' => array(
820 'headfunction' =>
'fichinter_admin_prepare_head',
821 'headfile' =>
'core/lib/fichinter.lib.php',
822 'tabid' =>
'attributes',
823 'headlabel' =>
'Interventions',
824 'textobject' =>
'Interventions',
825 'headpicto' =>
'intervention',
826 'title' =>
'InterventionsSetup',
828 'langs' => array(
'companies',
'admin',
'members',
'interventions'),
830 'fichinterdet' => array(
831 'headfunction' =>
'fichinter_admin_prepare_head',
832 'headfile' =>
'core/lib/fichinter.lib.php',
833 'tabid' =>
'attributesdet',
834 'headlabel' =>
'Interventions',
835 'textobject' =>
'Interventions',
836 'headpicto' =>
'intervention',
837 'title' =>
'InterventionsSetup',
839 'langs' => array(
'companies',
'admin',
'members',
'interventions'),
841 'hrm_skill' => array(
842 'headfunction' =>
'hrmAdminPrepareHead',
843 'headfile' =>
'hrm/lib/hrm.lib.php',
844 'tabid' =>
'skillsAttributes',
845 'headlabel' =>
'HrmSetup',
846 'textobject' =>
'Skills',
847 'headpicto' =>
'hrm',
848 'title' =>
'HrmSetup',
850 'langs' => array(
'hrm',
'admin'),
853 'headfunction' =>
'hrmAdminPrepareHead',
854 'headfile' =>
'hrm/lib/hrm.lib.php',
855 'tabid' =>
'jobsAttributes',
856 'headlabel' =>
'HrmSetup',
857 'textobject' =>
'JobProfile',
858 'headpicto' =>
'hrm',
859 'title' =>
'HrmSetup',
861 'langs' => array(
'hrm',
'admin'),
863 'hrm_evaluation' => array(
864 'headfunction' =>
'hrmAdminPrepareHead',
865 'headfile' =>
'hrm/lib/hrm.lib.php',
866 'tabid' =>
'evaluationsAttributes',
867 'headlabel' =>
'HrmSetup',
868 'textobject' =>
'Evaluation',
869 'headpicto' =>
'hrm',
870 'title' =>
'HrmSetup',
872 'langs' => array(
'hrm',
'admin'),
874 'partnership' => array(
875 'headfunction' =>
'partnershipAdminPrepareHead',
876 'headfile' =>
'partnership/lib/partnership.lib.php',
877 'tabid' =>
'partnership_extrafields',
878 'headlabel' =>
'PartnershipSetup',
879 'textobject' =>
'Partnership',
880 'headpicto' =>
'partnership',
881 'title' =>
'PartnershipSetup',
883 'langs' => array(
'partnership',
'admin'),
886 'headfunction' =>
'project_admin_prepare_head',
887 'headfile' =>
'core/lib/project.lib.php',
888 'tabid' =>
'attributes',
889 'headlabel' =>
'Projects',
890 'textobject' =>
'Project',
891 'headpicto' =>
'project',
892 'title' =>
'ProjectsSetup',
894 'langs' => array(
'project',
'admin'),
896 'projet_task' => array(
897 'headfunction' =>
'project_admin_prepare_head',
898 'headfile' =>
'core/lib/project.lib.php',
899 'tabid' =>
'attributes_task',
900 'headlabel' =>
'Projects',
901 'textobject' =>
'Project',
902 'headpicto' =>
'project',
903 'title' =>
'ProjectsSetup',
905 'langs' => array(
'project',
'admin'),
907 'recruitment_recruitmentjobposition' => array(
908 'headfunction' =>
'recruitmentAdminPrepareHead',
909 'headfile' =>
'recruitment/lib/recruitment.lib.php',
910 'tabid' =>
'jobposition_extrafields',
912 'textobject' =>
'JobPosition',
914 'title' =>
'RecruitmentSetup',
916 'langs' => array(
'recruitment',
'admin'),
918 'recruitment_recruitmentcandidature' => array(
919 'headfunction' =>
'recruitmentAdminPrepareHead',
920 'headfile' =>
'recruitment/lib/recruitment.lib.php',
921 'tabid' =>
'candidature_extrafields',
923 'textobject' =>
'Candidature',
925 'title' =>
'RecruitmentSetup',
927 'langs' => array(
'recruitment',
'admin'),
930 'headfunction' =>
'salaries_admin_prepare_head',
931 'headfile' =>
'core/lib/salaries.lib.php',
932 'tabid' =>
'attributes',
933 'headlabel' =>
'Salaries',
934 'textobject' =>
'Salaries',
935 'headpicto' =>
'payment',
936 'title' =>
'SalariesSetup',
938 'langs' => array(
'admin',
'salaries'),
941 'headfunction' =>
'user_admin_prepare_head',
942 'headfile' =>
'core/lib/usergroups.lib.php',
943 'tabid' =>
'attributes',
944 'headlabel' =>
'MenuUsersAndGroups',
945 'textobject' =>
'Users',
946 'headpicto' =>
'user',
947 'title' =>
'UsersSetup',
948 'helpurl' =>
'EN:Module_Users|FR:Module_Utilisateurs|ES:Módulo_Usuarios|DE:Modul_Benutzer',
949 'langs' => array(
'users',
'admin'),
951 'usergroup' => array(
952 'headfunction' =>
'user_admin_prepare_head',
953 'headfile' =>
'core/lib/usergroups.lib.php',
954 'tabid' =>
'attributes_group',
955 'headlabel' =>
'MenuUsersAndGroups',
956 'textobject' =>
'Groups',
957 'headpicto' =>
'user',
958 'title' =>
'UsersSetup',
959 'helpurl' =>
'EN:Module_Users|FR:Module_Utilisateurs|ES:Módulo_Usuarios',
960 'langs' => array(
'users',
'admin'),
962 'bookcal_availabilities' => array(
963 'headfunction' =>
'bookcalAdminPrepareHead',
964 'headfile' =>
'bookcal/lib/bookcal.lib.php',
965 'tabid' =>
'availabilities_extrafields',
966 'headlabel' =>
'BookCalSetup',
967 'headpicto' =>
'fa-calendar-check',
968 'title' =>
'BookCalSetup',
970 'langs' => array(
'agenda',
'admin'),
972 'bookcal_calendar' => array(
973 'headfunction' =>
'bookcalAdminPrepareHead',
974 'headfile' =>
'bookcal/lib/bookcal.lib.php',
975 'tabid' =>
'calendar_extrafields',
976 'headlabel' =>
'BookCalSetup',
977 'headpicto' =>
'agenda',
978 'title' =>
'BookCalSetup',
980 'langs' => array(
'agenda',
'admin'),
982 'quickmemo_memo' => array(
983 'headfunction' =>
'quickmemoAdminPrepareHead',
984 'headfile' =>
'quickmemo/lib/quickmemo.lib.php',
985 'tabid' =>
'memo_extrafields',
986 'headlabel' =>
'QuickMemoSetup',
987 'textobject' =>
'Memo',
988 'headpicto' =>
'quickmemo@quickmemo',
989 'title' =>
'QuickMemoSetup',
991 'langs' => array(
'quickmemo',
'admin'),
998 $parameters = array(
'extrafieldsadminmap' => $extrafieldsadminmap);
1001 $reshook = $hookmanager->executeHooks(
'getExtrafieldsAdminMap', $parameters, $tmpobject, $hookaction);
1002 if ($reshook >= 0 && !empty($hookmanager->resArray[
'extrafieldsadminmap']) && is_array($hookmanager->resArray[
'extrafieldsadminmap'])) {
1005 $extrafieldsadminmap += $hookmanager->resArray[
'extrafieldsadminmap'];
1009 return $extrafieldsadminmap;