This commit is contained in:
Regis Houssin 2006-03-11 15:14:59 +00:00
parent b59f853b7c
commit d40d049363

View File

@ -239,8 +239,10 @@ if ($user->rights->societe->contact->supprimer)
} }
} }
if ($_GET["action"] == 'create') if ($user->rights->societe->contact->creer)
{ {
if ($_GET["action"] == 'create')
{
/* /*
* Fiche en mode creation * Fiche en mode creation
* *
@ -314,9 +316,9 @@ if ($_GET["action"] == 'create')
print "</table><br>"; print "</table><br>";
print "</form>"; print "</form>";
} }
elseif ($_GET["action"] == 'edit' && $_GET["id"]) elseif ($_GET["action"] == 'edit' && $_GET["id"])
{ {
/* /*
* Fiche en mode edition * Fiche en mode edition
* *
@ -420,8 +422,10 @@ elseif ($_GET["action"] == 'edit' && $_GET["id"])
print '</table>'; print '</table>';
print "</form>"; print "</form>";
}
} }
elseif ($_GET["id"])
if ($_GET["id"])
{ {
/* /*
* Fiche en mode visualisation * Fiche en mode visualisation