mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add user ip address
This commit is contained in:
parent
df75a6b184
commit
89de3de2ae
|
|
@ -571,6 +571,7 @@ Source=Source
|
|||
Prefix=Prefix
|
||||
Before=Before
|
||||
After=After
|
||||
IPAddress=IP address
|
||||
# Week day
|
||||
Day1=Monday
|
||||
Day2=Tuesday
|
||||
|
|
|
|||
|
|
@ -571,6 +571,7 @@ Source=Origine
|
|||
Prefix=Préfixe
|
||||
Before=Avant
|
||||
After=Après
|
||||
IPAddress=Adresse IP
|
||||
# Week day
|
||||
Day1=Lundi
|
||||
Day2=Mardi
|
||||
|
|
|
|||
|
|
@ -1098,6 +1098,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a
|
|||
$loginhtmltext.='<br><b>'.$langs->trans("Administrator").'</b>: '.yn($user->admin);
|
||||
$type=($user->societe_id?$langs->trans("External").$company:$langs->trans("Internal"));
|
||||
$loginhtmltext.='<br><b>'.$langs->trans("Type").'</b>: '.$type;
|
||||
$loginhtmltext.='<br><b>'.$langs->trans("IPAddress").'</b>: '.$_SERVER["REMOTE_ADDR"];
|
||||
$loginhtmltext.='<br>';
|
||||
$loginhtmltext.='<br><u>'.$langs->trans("Connection").'</u>';
|
||||
if ($conf->global->MAIN_MODULE_MULTICOMPANY) $loginhtmltext.='<br><b>'.$langs->trans("ConnectedOnMultiCompany").'</b>: '.$conf->entity.' (user entity '.$user->entity.')';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user