forked from extern/egroupware
Converted current sessions over to 3 tier design
This commit is contained in:
parent
1fc7368927
commit
5749ad83d8
@ -81,8 +81,8 @@
|
||||
$db = $phpgw->db;
|
||||
$db->query("select count(session_id) from phpgw_sessions where session_flags != 'A'");
|
||||
$db->next_record();
|
||||
$tpl->set_var('current_users','<a href="' . $phpgw->link('/admin/currentusers.php') . '"> '
|
||||
. lang('Current users') . ': ' . $db->f(0) . '</a>');
|
||||
$tpl->set_var('current_users','<a href="' . $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
|
||||
. '"> ' . lang('Current users') . ': ' . $db->f(0) . '</a>');
|
||||
}
|
||||
$tpl->set_var('user_info',$phpgw->common->display_fullname() . " - "
|
||||
. lang($phpgw->common->show_date(time(),"l")) . " "
|
||||
|
@ -108,8 +108,8 @@
|
||||
$db = $phpgw->db;
|
||||
$db->query('select count(session_id) from phpgw_sessions');
|
||||
$db->next_record();
|
||||
$tpl->set_var("current_users",'<a href="' . $phpgw->link('/admin/currentusers.php') . '"> '
|
||||
. lang('Current users') . ': ' . $db->f(0) . '</a>');
|
||||
$tpl->set_var("current_users",'<a href="' . $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
|
||||
. '"> ' . lang('Current users') . ': ' . $db->f(0) . '</a>');
|
||||
}
|
||||
$tpl->set_var('user_info',$phpgw->common->display_fullname() . ' - '
|
||||
. lang($phpgw->common->show_date(time(),'l')) . ' '
|
||||
|
@ -81,7 +81,7 @@
|
||||
$db = $phpgw->db;
|
||||
$db->query("select count(session_id) from phpgw_sessions");
|
||||
$db->next_record();
|
||||
$tpl->set_var('current_users','<a href="' . $phpgw->link('/admin/currentusers.php') . '"> '
|
||||
$tpl->set_var('current_users','<a href="' . $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '"> '
|
||||
. lang('Current users') . ': ' . $db->f(0) . '</a>');
|
||||
}
|
||||
*/
|
||||
|
@ -91,7 +91,8 @@
|
||||
$db = $phpgw->db;
|
||||
$db->query("select count(session_id) from phpgw_sessions where session_flags != 'A'");
|
||||
$db->next_record();
|
||||
$tpl->set_var('current_users','<a style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12pt;" href="' . $phpgw->link('/admin/currentusers.php') . '"> '
|
||||
$tpl->set_var('current_users','<a style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12pt;" href="'
|
||||
. $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '"> '
|
||||
. lang('Current users') . ': ' . $db->f(0) . '</a>');
|
||||
}
|
||||
$tpl->set_var('user_info',$phpgw->common->display_fullname() . ' - '
|
||||
|
Loading…
Reference in New Issue
Block a user