61 global $conf, $user, $langs;
63 $textHead = $langs->trans(
"BoxLoginInformation");
64 $this->info_box_head = array(
70 $this->info_box_contents[$line][0] = array(
71 'td' =>
'class="tdoverflowmax150 maxwidth150onsmartphone"',
72 'text' => $langs->trans(
"User"),
74 $this->info_box_contents[$line][1] = array(
75 'td' =>
'class="tdoverflowmax150 maxwidth150onsmartphone"',
76 'text' => $user->getNomUrl(-1),
81 $this->info_box_contents[$line][0] = array(
83 'text' => $langs->trans(
"PreviousConnexion"),
85 if ($user->datepreviouslogin) {
86 $tmp =
dol_print_date($user->datepreviouslogin,
"dayhour",
'tzuserrel');
88 $tmp = $langs->trans(
"Unknown");
90 $this->info_box_contents[$line][1] = array(