[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety navbar.inc.php,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety navbar.inc.php,1.30.2.5,1.30.2.6 |
Date: |
Thu, 20 Mar 2003 18:54:10 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/idsociety
In directory subversions:/tmp/cvs-serv11613/idsociety
Modified Files:
Tag: Version-0_9_14-branch
navbar.inc.php
Log Message:
Moved list_sessions and total from admin.socurrentsessions into the
session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as
the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the
number of loged-in-users.
Aktivated the accesslog für php4-sessions too.
Index: navbar.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/phpgwapi/templates/idsociety/Attic/navbar.inc.php,v
retrieving revision 1.30.2.5
retrieving revision 1.30.2.6
diff -C2 -r1.30.2.5 -r1.30.2.6
*** navbar.inc.php 5 Mar 2003 00:13:07 -0000 1.30.2.5
--- navbar.inc.php 20 Mar 2003 23:54:08 -0000 1.30.2.6
***************
*** 161,169 ****
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) &&
isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
{
- $db = $GLOBALS['phpgw']->db;
- $db->query('select count(session_id) from
phpgw_sessions');
- $db->next_record();
$var['current_users'] = '<a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
! . '"> ' . lang('Current users') . ': ' .
$db->f(0) . '</a>';
$tpl->set_var($var);
}
--- 161,166 ----
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) &&
isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
{
$var['current_users'] = '<a href="' .
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
! . '"> ' . lang('Current users') . ': ' .
$GLOBALS['phpgw']->session->total() . '</a>';
$tpl->set_var($var);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/templates/idsociety navbar.inc.php,1.30.2.5,1.30.2.6,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default navbar.inc.php,1.28.2.1,1.28.2.2
- Next by Date:
[Phpgroupware-cvs] CVS: admin/inc class.bocurrentsessions.inc.php,1.6.2.1,1.6.2.2 class.socurrentsessions.inc.php,1.3,NONE
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/templates/default navbar.inc.php,1.28.2.1,1.28.2.2
- Next by thread:
[Phpgroupware-cvs] CVS: admin/inc class.bocurrentsessions.inc.php,1.6.2.1,1.6.2.2 class.socurrentsessions.inc.php,1.3,NONE
- Index(es):