34 global $langs, $conf, $user;
37 $langs->loadLangs(array(
'categories',
'products'));
42 $head[$h][0] = DOL_URL_ROOT.
'/categories/viewcat.php?id='.$object->id.
'&type='.$type;
43 $head[$h][1] = $langs->trans(
"Category");
44 $head[$h][2] =
'card';
47 $head[$h][0] = DOL_URL_ROOT.
'/categories/photos.php?id='.$object->id.
'&type='.$type;
48 $head[$h][1] = $langs->trans(
"Photos");
49 $head[$h][2] =
'photos';
52 if (!empty($conf->global->MAIN_MULTILANGS)) {
53 $head[$h][0] = DOL_URL_ROOT.
'/categories/traduction.php?id='.$object->id.
'&type='.$type;
54 $head[$h][1] = $langs->trans(
"Translation");
55 $head[$h][2] =
'translation';
59 $head[$h][0] = DOL_URL_ROOT.
'/categories/info.php?id='.$object->id.
'&type='.$type;
60 $head[$h][1] = $langs->trans(
"Info");
61 $head[$h][2] =
'info';
83 global $langs, $conf, $user;
85 $langs->load(
"categories");
90 $head[$h][0] = DOL_URL_ROOT.
'/categories/admin/categorie.php';
91 $head[$h][1] = $langs->trans(
"Setup");
92 $head[$h][2] =
'setup';
95 $head[$h][0] = DOL_URL_ROOT.
'/categories/admin/categorie_extrafields.php';
96 $head[$h][1] = $langs->trans(
"ExtraFieldsCategories");
97 $head[$h][2] =
'attributes_categories';