Converted current sessions over to 3 tier design

This commit is contained in:
jengo 2001-08-16 02:46:07 +00:00
parent 1fc7368927
commit 5749ad83d8
4 changed files with 7 additions and 6 deletions

View File

@ -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') . '">&nbsp;'
. lang('Current users') . ': ' . $db->f(0) . '</a>');
$tpl->set_var('current_users','<a href="' . $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
. '">&nbsp;' . lang('Current users') . ': ' . $db->f(0) . '</a>');
}
$tpl->set_var('user_info',$phpgw->common->display_fullname() . " - "
. lang($phpgw->common->show_date(time(),"l")) . " "

View File

@ -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') . '">&nbsp;'
. lang('Current users') . ': ' . $db->f(0) . '</a>');
$tpl->set_var("current_users",'<a href="' . $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
. '">&nbsp;' . lang('Current users') . ': ' . $db->f(0) . '</a>');
}
$tpl->set_var('user_info',$phpgw->common->display_fullname() . ' - '
. lang($phpgw->common->show_date(time(),'l')) . ' '

View File

@ -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') . '">&nbsp;'
$tpl->set_var('current_users','<a href="' . $phpgw->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '">&nbsp;'
. lang('Current users') . ': ' . $db->f(0) . '</a>');
}
*/

View File

@ -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') . '">&nbsp;'
$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') . '">&nbsp;'
. lang('Current users') . ': ' . $db->f(0) . '</a>');
}
$tpl->set_var('user_info',$phpgw->common->display_fullname() . ' - '