fix links

This commit is contained in:
Frédéric FRANCE 2023-02-08 23:33:39 +01:00
parent f1c15e1714
commit de31fb83f0
2 changed files with 9 additions and 9 deletions

View File

@ -52,15 +52,15 @@ function establishment_prepare_head($object)
$head[$h][2] = 'info'; $head[$h][2] = 'info';
$h++; $h++;
$head[$h][0] = dol_buildpath("/hrm/admin/setup.php", 1); // $head[$h][0] = dol_buildpath("/hrm/admin/setup.php", 1);
$head[$h][1] = $langs->trans("Settings"); // $head[$h][1] = $langs->trans("Settings");
$head[$h][2] = 'settings'; // $head[$h][2] = 'settings';
$h++; // $h++;
$head[$h][0] = dol_buildpath("/hrm/admin/about.php", 1); // $head[$h][0] = dol_buildpath("/hrm/admin/about.php", 1);
$head[$h][1] = $langs->trans("About"); // $head[$h][1] = $langs->trans("About");
$head[$h][2] = 'about'; // $head[$h][2] = 'about';
$h++; // $h++;
complete_head_from_modules($conf, $langs, null, $head, $h, 'hrm'); complete_head_from_modules($conf, $langs, null, $head, $h, 'hrm');

View File

@ -138,7 +138,7 @@ if ($object->id > 0) {
// Object card // Object card
// ------------------------------------------------------------ // ------------------------------------------------------------
$linkback = '<a href="'.DOL_URL_ROOT.'/hrm/hrm/myobject_list.php?restore_lastsearch_values=1'.(!empty($socid) ? '&socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>'; $linkback = '<a href="'.DOL_URL_ROOT.'/hrm/admin/admin_establishment.php?restore_lastsearch_values=1'.(!empty($socid) ? '&socid='.$socid : '').'">'.$langs->trans("BackToList").'</a>';
$morehtmlref = '<div class="refidno">'; $morehtmlref = '<div class="refidno">';
/* /*