Now uses the dbs timestamp field

This commit is contained in:
jengo 2001-08-05 08:05:45 +00:00
parent d6e74430bc
commit f9726cefbe

View File

@ -63,12 +63,12 @@
while(list($rno,$r)=each($rows))
{
unset($r['acount_pwd']); // remove the accounts_pwd
$r['log_date_e'] = date('Y.n.d:H.i.s',$r['log_date']);
$r['log_msg_date_e'] = date('Y.n.d:H.i.s',$r['log_msg_date']);
$r['log_full_name'] = $r['account_lastname'] . ', ' .$r['account_firstname'];
$r['account_lastlogin_e'] = date('Y.n.d:H.i.s',$r['account_lastlogin']);
$r['account_lastpwd_change_e'] = date('Y.n.d:H.i.s',$r['account_lastpwd_change']);
$r['account_lastloginfrom_e'] = 'www.nowhere.com';
$r['log_date_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_date']));
$r['log_msg_date_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['log_msg_date']));
$r['log_full_name'] = $r['account_lastname'] . ', ' .$r['account_firstname'];
$r['account_lastlogin_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastlogin']));
$r['account_lastpwd_change_e'] = $GLOBALS['phpgw']->common->show_date($GLOBALS['phpgw']->db->from_timestamp($r['account_lastpwd_change']));
$r['account_lastloginfrom_e'] = 'www.nowhere.com';
$r['log_msg_text'] = lang($r['log_msg_msg'],explode('|',$r['log_msg_parms']));