33 global $db, $langs, $conf;
35 $langs->load(
"emailcollector@emailcollector");
40 $head[$h][0] =
dol_buildpath(
"/admin/emailcollector_card.php", 1).
'?id='.$object->id;
41 $head[$h][1] = $langs->trans(
"EmailCollector");
42 $head[$h][2] =
'card';
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
emailcollectorPrepareHead($object)
Prepare array of tabs for EmailCollector.
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode= 'add')
Complete or removed entries into a head array (used to build tabs).