phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/templates/justweb navbar.inc.php,1.20.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/templates/justweb navbar.inc.php,1.20.2.1,1.20.2.2
Date: Thu, 20 Mar 2003 18:54:10 -0500

Update of /cvsroot/phpgroupware/phpgwapi/templates/justweb
In directory subversions:/tmp/cvs-serv11613/justweb

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/justweb/Attic/navbar.inc.php,v
retrieving revision 1.20.2.1
retrieving revision 1.20.2.2
diff -C2 -r1.20.2.1 -r1.20.2.2
*** navbar.inc.php      5 Mar 2003 00:13:07 -0000       1.20.2.1
--- navbar.inc.php      20 Mar 2003 23:54:08 -0000      1.20.2.2
***************
*** 77,85 ****
                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')
 . '">&nbsp;'
!                               . lang('Current users') . ': ' . $db->f(0) . 
'</a>';
                }
  */
--- 77,82 ----
                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')
 . '">&nbsp;'
!                               . lang('Current users') . ': ' . 
$GLOBALS['phpgw']->session->total() . '</a>';
                }
  */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]