If action is empty, place an   into the td

This commit is contained in:
Miles Lott 2001-04-13 22:45:57 +00:00
parent 16954060aa
commit 2ef69a2a53

View File

@ -81,7 +81,14 @@
$phpgw->template->set_var('row_loginid',$loginid);
$phpgw->template->set_var('row_ip',$phpgw->db->f('session_ip'));
$phpgw->template->set_var('row_logintime',$phpgw->common->show_date($phpgw->db->f('session_logintime')));
$phpgw->template->set_var('row_action',$phpgw->strip_html($phpgw->db->f('session_action')));
if($phpgw->db->f('session_action'))
{
$phpgw->template->set_var('row_action',$phpgw->strip_html($phpgw->db->f('session_action')));
}
else
{
$phpgw->template->set_var('row_action',' ');
}
$phpgw->template->set_var('row_idle',gmdate('G:i:s',(time() - $phpgw->db->f('session_dla'))));
if ($phpgw->db->f('session_id') != $phpgw_info['user']['sessionid'])