Fix: Pb liens invalides

This commit is contained in:
Laurent Destailleur 2005-02-05 21:46:35 +00:00
parent 96e112dda7
commit 32d1bf98df

View File

@ -50,7 +50,6 @@ llxHeader("","Addon Utilisateur");
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* Nouvel utilisateur */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -72,16 +71,15 @@ if ($_GET["id"])
$head[$h][0] = DOL_URL_ROOT.'/user/fiche.php?id='.$fuser->id; $head[$h][0] = DOL_URL_ROOT.'/user/fiche.php?id='.$fuser->id;
$head[$h][1] = $langs->trans("UserCard"); $head[$h][1] = $langs->trans("UserCard");
if ($_GET["action"] != 'perms') { $hselected=$h; }
$h++; $h++;
if ($user->admin) if ($user->admin)
{ {
$head[$h][0] = DOL_URL_ROOT.'/user/fiche.php?action=perms&id='.$fuser->id; $head[$h][0] = DOL_URL_ROOT.'/user/perms.php?id='.$fuser->id;
$head[$h][1] = $langs->trans("Permissions"); $head[$h][1] = $langs->trans("Permissions");
$h++; $h++;
} }
if ($conf->bookmark4u->enabled) if ($conf->bookmark4u->enabled)
{ {
$head[$h][0] = DOL_URL_ROOT.'/user/addon.php?id='.$fuser->id; $head[$h][0] = DOL_URL_ROOT.'/user/addon.php?id='.$fuser->id;