Modif permissions
This commit is contained in:
parent
024f859b1e
commit
183b2d9775
@ -230,7 +230,7 @@ if ($_GET["id"])
|
|||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
print "\n<div class=\"tabsAction\">\n";
|
print "\n<div class=\"tabsAction\">\n";
|
||||||
|
|
||||||
if ($_GET["action"] == '')
|
if ($_GET["action"] == '' && $user->admin)
|
||||||
{
|
{
|
||||||
print "<a class=\"tabAction\" href=\"fiche.php?action=create_commercial&distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
|
print "<a class=\"tabAction\" href=\"fiche.php?action=create_commercial&distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user