mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fixed logs not showing the current timestamp
This commit is contained in:
parent
3c92e4fb10
commit
b61103718f
@ -68,12 +68,15 @@
|
||||
reset($rows);
|
||||
while(list($rno,$r)=each($rows))
|
||||
{
|
||||
// _debug_array($r['log_msg_date']);
|
||||
// echo 'Convert: ' . $r['log_date'] . ' -> ' . $GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date']);
|
||||
|
||||
unset($r['acount_pwd']); // remove the accounts_pwd
|
||||
$r['log_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_date']));
|
||||
$r['log_msg_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date']));
|
||||
$r['log_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_date']['value']));
|
||||
$r['log_msg_date_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date']['value']));
|
||||
$r['log_full_name']['value'] = $r['account_lastname']['value'] . ', ' .$r['account_firstname']['value'];
|
||||
$r['account_lastlogin_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastlogin']));
|
||||
$r['account_lastpwd_change_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastpwd_change']));
|
||||
$r['account_lastlogin_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastlogin']['value']));
|
||||
$r['account_lastpwd_change_e']['value'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastpwd_change']['value']));
|
||||
$r['account_lastloginfrom_e']['value'] = 'www.nowhere.com';
|
||||
|
||||
$r['log_msg_text']['value'] = lang($r['log_msg_msg']['value'],explode('|',$r['log_msg_parms']['value']));
|
||||
|
Loading…
Reference in New Issue
Block a user