revert param_ihm
This commit is contained in:
parent
6615ee7e6f
commit
8f9143cef7
@ -66,13 +66,10 @@ function user_prepare_head($object)
|
||||
$h++;
|
||||
}
|
||||
|
||||
//Display this tab only if can updte information
|
||||
if (!empty($user->admin) || !empty($user->rights->user->self->creer)) {
|
||||
$head[$h][0] = DOL_URL_ROOT.'/user/param_ihm.php?id='.$object->id;
|
||||
$head[$h][1] = $langs->trans("UserGUISetup");
|
||||
$head[$h][2] = 'guisetup';
|
||||
$h++;
|
||||
}
|
||||
$head[$h][0] = DOL_URL_ROOT.'/user/param_ihm.php?id='.$object->id;
|
||||
$head[$h][1] = $langs->trans("UserGUISetup");
|
||||
$head[$h][2] = 'guisetup';
|
||||
$h++;
|
||||
|
||||
if (! empty($conf->clicktodial->enabled))
|
||||
{
|
||||
|
||||
@ -258,7 +258,7 @@ else
|
||||
}
|
||||
else
|
||||
{
|
||||
if (($user->id == $fuser->id || ! empty($user->admin)) && $caneditfield) // Si utilisateur edite = utilisateur courant (pas besoin de droits particulier car il s'agit d'une page de modif d'output et non de données) ou si admin
|
||||
if ($user->id == $fuser->id || ! empty($user->admin)) // Si utilisateur edite = utilisateur courant (pas besoin de droits particulier car il s'agit d'une page de modif d'output et non de données) ou si admin
|
||||
{
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit&id='.$fuser->id.'">'.$langs->trans("Modify").'</a>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user