mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
New: Added USER_LOGIN trigger event
This commit is contained in:
parent
d6497ab90c
commit
fc89d15020
|
|
@ -113,8 +113,8 @@ class InterfaceLogevents
|
|||
// Initialisation donnees (date,duree,texte,desc)
|
||||
$this->date=time();
|
||||
$this->duree=0;
|
||||
$this->texte=$langs->transnoentities("UserLogged",$object->nom);
|
||||
$this->desc=$langs->transnoentities("UserLogged",$object->nom);
|
||||
$this->texte=$langs->transnoentities("UserLogged",$object->login);
|
||||
$this->desc=$langs->transnoentities("UserLogged",$object->login);
|
||||
}
|
||||
if ($action == 'USER_CREATE')
|
||||
{
|
||||
|
|
@ -124,8 +124,8 @@ class InterfaceLogevents
|
|||
// Initialisation donnees (date,duree,texte,desc)
|
||||
$this->date=time();
|
||||
$this->duree=0;
|
||||
$this->texte=$langs->transnoentities("NewUserCreated",$object->nom);
|
||||
$this->desc=$langs->transnoentities("NewUserCreated",$object->nom);
|
||||
$this->texte=$langs->transnoentities("NewUserCreated",$object->login);
|
||||
$this->desc=$langs->transnoentities("NewUserCreated",$object->login);
|
||||
}
|
||||
elseif ($action == 'USER_MODIFY')
|
||||
{
|
||||
|
|
@ -135,8 +135,8 @@ class InterfaceLogevents
|
|||
// Initialisation donnees (date,duree,texte,desc)
|
||||
$this->date=time();
|
||||
$this->duree=0;
|
||||
$this->texte=$langs->transnoentities("UserModified",$object->nom);
|
||||
$this->desc=$langs->transnoentities("UserModified",$object->nom);
|
||||
$this->texte=$langs->transnoentities("EventUserModified",$object->login);
|
||||
$this->desc=$langs->transnoentities("EventUserModified",$object->login);
|
||||
}
|
||||
elseif ($action == 'USER_NEW_PASSWORD')
|
||||
{
|
||||
|
|
@ -146,8 +146,8 @@ class InterfaceLogevents
|
|||
// Initialisation donnees (date,duree,texte,desc)
|
||||
$this->date=time();
|
||||
$this->duree=0;
|
||||
$this->texte=$langs->transnoentities("NewUserPassword",$object->nom);
|
||||
$this->desc=$langs->transnoentities("NewUserPassword",$object->nom);
|
||||
$this->texte=$langs->transnoentities("NewUserPassword",$object->login);
|
||||
$this->desc=$langs->transnoentities("NewUserPassword",$object->login);
|
||||
}
|
||||
elseif ($action == 'USER_DISABLE')
|
||||
{
|
||||
|
|
@ -156,8 +156,8 @@ class InterfaceLogevents
|
|||
// Initialisation donnees (date,duree,texte,desc)
|
||||
$this->date=time();
|
||||
$this->duree=0;
|
||||
$this->texte=$langs->transnoentities("UserDisabled",$object->nom);
|
||||
$this->desc=$langs->transnoentities("UserDisabled",$object->nom);
|
||||
$this->texte=$langs->transnoentities("UserDisabled",$object->login);
|
||||
$this->desc=$langs->transnoentities("UserDisabled",$object->login);
|
||||
}
|
||||
elseif ($action == 'USER_DELETE')
|
||||
{
|
||||
|
|
@ -166,8 +166,8 @@ class InterfaceLogevents
|
|||
// Initialisation donnees (date,duree,texte,desc)
|
||||
$this->date=time();
|
||||
$this->duree=0;
|
||||
$this->texte=$langs->transnoentities("UserDeleted",$object->nom);
|
||||
$this->desc=$langs->transnoentities("Userdeleted",$object->nom);
|
||||
$this->texte=$langs->transnoentities("UserDeleted",$object->login);
|
||||
$this->desc=$langs->transnoentities("Userdeleted",$object->login);
|
||||
}
|
||||
|
||||
// Groupes
|
||||
|
|
|
|||
|
|
@ -84,4 +84,13 @@ Reactivate=Reactivate
|
|||
CreateInternalUserDesc=This form allows you to creat an user internal to your company/fundation. To creat an external user (customer, supplier, ...), use button 'Create Dolibarr user' from third party's contact card.
|
||||
InternalExternalDesc=An <b>internal</b> user is a user that is part of your company/fundation.<br>An <b>external</b> user is a customer, supplier or other.<br><br>In both cases, permissions defines rights on Dolibarr, also external user can have a different menu manager than internal user (See Home - Setup - Display)
|
||||
PermissionInheritedFromAGroup=Permission granted because ineherited from one of a user's group.
|
||||
IdPhoneCaller=Id phone caller
|
||||
IdPhoneCaller=Id phone caller
|
||||
UserLogged=User %s connected
|
||||
NewUserCreated=User %s created
|
||||
NewUserPassword=Password change for %s
|
||||
EventUserModified=User %s modified
|
||||
UserDisabled=User %s disabled
|
||||
UserDeleted=User %s removed
|
||||
NewGroupCreated=Group %s created
|
||||
GroupModified=Group %s modified
|
||||
GroupDeleted=Group %s removed
|
||||
|
|
@ -84,4 +84,13 @@ Reactivate=R
|
|||
CreateInternalUserDesc=Cet écran permet de créer un utilisateur interne à votre société/institution. Pour créer un utilisateur externe (client, fournisseur, ...), utiliser le bouton 'Créer utilisateur Dolibarr' qui se trouve sur la fiche contact du tiers en question.
|
||||
InternalExternalDesc=Un utilisateur <b>interne</b> est un utilisateur appartenant à votre société/institution.<br>Un utilisateur <b>externe</b> est un utilisateur client, fournisseur ou autre.<br><br>Dans les 2 cas, les permissions utilisateurs définissent les droits d'accès mais l'utilisateur externe peut en plus avoir un gestionnaire de menu différent de l'utilisateur interne (Voir Accueil - Configuration - Affichage)
|
||||
PermissionInheritedFromAGroup=La permission est accordée car héritée d'un groupe auquel appartient l'utilisateur.
|
||||
IdPhoneCaller=Id appelant (téléphone)
|
||||
IdPhoneCaller=Id appelant (téléphone)
|
||||
UserLogged=Connexion utilisateur %s
|
||||
NewUserCreated=Création utilisateur %s
|
||||
NewUserPassword=Changement mot de passe de %s
|
||||
EventUserModified=Modification utiliateur %s
|
||||
UserDisabled=Désactivation utilisateur %s
|
||||
UserDeleted=Suppression utilisateur %s
|
||||
NewGroupCreated=Création groupe %s
|
||||
GroupModified=Modification groupe %s
|
||||
GroupDeleted=Suppression groupe %s
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user