[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/templates/verdilak navbar.inc.php,1.27
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/templates/verdilak navbar.inc.php,1.27.2.4,1.27.2.5 |
Date: |
Thu, 20 Mar 2003 18:54:10 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/templates/verdilak
In directory subversions:/tmp/cvs-serv11613/verdilak
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/verdilak/Attic/navbar.inc.php,v
retrieving revision 1.27.2.4
retrieving revision 1.27.2.5
diff -C2 -r1.27.2.4 -r1.27.2.5
*** navbar.inc.php 13 Mar 2003 14:42:25 -0000 1.27.2.4
--- navbar.inc.php 20 Mar 2003 23:54:08 -0000 1.27.2.5
***************
*** 89,98 ****
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 where session_flags != 'A'");
- $db->next_record();
$var['current_users'] = '<a style="font-family:
Geneva,Arial,Helvetica,sans-serif; font-size: 12pt;" href="'
.
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
. '"> '
! . lang('Current users') . ': ' . $db->f(0) .
'</a>';
}
$now = time();
--- 89,95 ----
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) &&
isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
{
$var['current_users'] = '<a style="font-family:
Geneva,Arial,Helvetica,sans-serif; font-size: 12pt;" href="'
.
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions')
. '"> '
! . lang('Current users') . ': ' .
$GLOBALS['phpgw']->session->total() . '</a>';
}
$now = time();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/templates/verdilak navbar.inc.php,1.27.2.4,1.27.2.5,
Ralf Becker <address@hidden> <=
- Prev 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
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/templates/linux-at-work.de navbar.inc.php,1.6.2.4,1.6.2.5
- Previous 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
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/templates/linux-at-work.de navbar.inc.php,1.6.2.4,1.6.2.5
- Index(es):