NEW Add key __USER_REMOTE_IP__ into available substitution variables
This commit is contained in:
parent
eb3eee9b6a
commit
6cae36cc33
@ -5620,7 +5620,8 @@ function getCommonSubstitutionArray($outputlangs, $onlykey=0, $exclude=null, $ob
|
|||||||
'__USER_LASTNAME__' => (string) $user->lastname,
|
'__USER_LASTNAME__' => (string) $user->lastname,
|
||||||
'__USER_FIRSTNAME__' => (string) $user->firstname,
|
'__USER_FIRSTNAME__' => (string) $user->firstname,
|
||||||
'__USER_FULLNAME__' => (string) $user->getFullName($outputlangs),
|
'__USER_FULLNAME__' => (string) $user->getFullName($outputlangs),
|
||||||
'__USER_SUPERVISOR_ID__' => (string) $user->fk_user
|
'__USER_SUPERVISOR_ID__' => (string) $user->fk_user,
|
||||||
|
'__USER_REMOTE_IP__' => (string) $_SERVER['REMOTE_ADDR']
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -227,7 +227,9 @@ Chart=Chart
|
|||||||
PassEncoding=Password encoding
|
PassEncoding=Password encoding
|
||||||
PermissionsAdd=Permissions added
|
PermissionsAdd=Permissions added
|
||||||
PermissionsDelete=Permissions removed
|
PermissionsDelete=Permissions removed
|
||||||
|
YourPasswordMustHaveAtLeastXChars=Your password must have at least <strong>%s</strong> chars
|
||||||
|
YourPasswordHasBeenReset=Your password has been reset successfully
|
||||||
|
ApplicantIpAddress=IP address of applicant
|
||||||
##### Export #####
|
##### Export #####
|
||||||
ExportsArea=Exports area
|
ExportsArea=Exports area
|
||||||
AvailableFormats=Available formats
|
AvailableFormats=Available formats
|
||||||
|
|||||||
@ -44,7 +44,9 @@ NewGroup=New group
|
|||||||
CreateGroup=Create group
|
CreateGroup=Create group
|
||||||
RemoveFromGroup=Remove from group
|
RemoveFromGroup=Remove from group
|
||||||
PasswordChangedAndSentTo=Password changed and sent to <b>%s</b>.
|
PasswordChangedAndSentTo=Password changed and sent to <b>%s</b>.
|
||||||
|
PasswordChangeRequest=Request to change password for <b>%s</b>
|
||||||
PasswordChangeRequestSent=Request to change password for <b>%s</b> sent to <b>%s</b>.
|
PasswordChangeRequestSent=Request to change password for <b>%s</b> sent to <b>%s</b>.
|
||||||
|
ConfirmPasswordReset=Confirm password reset
|
||||||
MenuUsersAndGroups=Users & Groups
|
MenuUsersAndGroups=Users & Groups
|
||||||
LastGroupsCreated=Latest %s created groups
|
LastGroupsCreated=Latest %s created groups
|
||||||
LastUsersCreated=Latest %s users created
|
LastUsersCreated=Latest %s users created
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user