Merge pull request #23848 from frederic34/establishment

fix links
This commit is contained in:
Laurent Destailleur 2023-02-09 14:46:59 +01:00 committed by GitHub
commit d61f301396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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">';
/* /*