phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: preferences/inc class.uiaclprefs.inc.php,1.1.2.2


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences/inc class.uiaclprefs.inc.php,1.1.2.2,1.1.2.3
Date: Mon, 27 May 2002 19:07:51 -0400

Update of /cvsroot/phpgroupware/preferences/inc
In directory subversions:/tmp/cvs-serv10405

Modified Files:
      Tag: Version-0_9_14-branch
        class.uiaclprefs.inc.php 
Log Message:
nextmatchs fix

Index: class.uiaclprefs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uiaclprefs.inc.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** class.uiaclprefs.inc.php    27 May 2002 22:21:03 -0000      1.1.2.2
--- class.uiaclprefs.inc.php    27 May 2002 23:07:49 -0000      1.1.2.3
***************
*** 26,31 ****
                function index()
                {
!                       $acl_app = $GLOBALS['HTTP_POST_VARS']['acl_app'] ? 
$GLOBALS['HTTP_POST_VARS']['acl_app'] : $GLOBALS['HTTP_GET_VARS']['acl_app'];
!                       $owner   = $GLOBALS['owner'];
  
                        if (! $acl_app)
--- 26,35 ----
                function index()
                {
!                       $acl_app        = $GLOBALS['HTTP_POST_VARS']['acl_app'] 
? $GLOBALS['HTTP_POST_VARS']['acl_app'] : $GLOBALS['HTTP_GET_VARS']['acl_app'];
!                       $start          = $GLOBALS['HTTP_POST_VARS']['start'] ? 
$GLOBALS['HTTP_POST_VARS']['start'] : $GLOBALS['HTTP_GET_VARS']['start'];
!                       $query          = $GLOBALS['HTTP_POST_VARS']['query'] ? 
$GLOBALS['HTTP_POST_VARS']['query'] : $GLOBALS['HTTP_GET_VARS']['query'];
!                       $s_groups       = 
$GLOBALS['HTTP_POST_VARS']['s_groups'] ? $GLOBALS['HTTP_POST_VARS']['s_groups'] 
: $GLOBALS['HTTP_GET_VARS']['s_groups'];
!                       $s_users        = $GLOBALS['HTTP_POST_VARS']['s_users'] 
? $GLOBALS['HTTP_POST_VARS']['s_users'] : $GLOBALS['HTTP_GET_VARS']['s_users'];
!                       $owner          = $GLOBALS['owner'];
  
                        if (! $acl_app)
***************
*** 74,82 ****
                        }
  
!                       $acct = CreateObject('phpgwapi.accounts',$owner);
!                       $groups = $acct->get_list('groups');
!                       $users = $acct->get_list('accounts');
!                       $owner_name = $acct->id2name($owner);           // get 
owner name for title
!                       if($is_group = $acct->get_type($owner) == 'g')
                        {
                                $owner_name = lang('Group').' 
('.$owner_name.')';
--- 78,86 ----
                        }
  
!                       $acct                   = 
CreateObject('phpgwapi.accounts',$owner);
!                       $groups                 = $acct->get_list('groups');
!                       $users                  = $acct->get_list('accounts');
!                       $owner_name             = $acct->id2name($owner);       
        // get owner name for title
!                       if($is_group    = $acct->get_type($owner) == 'g')
                        {
                                $owner_name = lang('Group').' 
('.$owner_name.')';




reply via email to

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