phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74,1.74.


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74,1.74.2.1
Date: Wed, 23 Jan 2002 15:46:36 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv17490

Modified Files:
      Tag: Version-0_9_14-branch
        class.categories.inc.php 
Log Message:
Created application level global categories


Index: class.categories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.categories.inc.php,v
retrieving revision 1.74
retrieving revision 1.74.2.1
diff -C2 -r1.74 -r1.74.2.1
*** class.categories.inc.php    13 Jan 2002 00:39:26 -0000      1.74
--- class.categories.inc.php    23 Jan 2002 20:46:34 -0000      1.74.2.1
***************
*** 22,26 ****
        * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA         
   *
        
\**************************************************************************/
!       /* $Id$ */
  
        /*!
--- 22,28 ----
        * Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA         
   *
        
\**************************************************************************/
! 
!       // $Id$
!       // $Source$
  
        /*!
***************
*** 145,153 ****
                                }
                                reset($public_user_list);
                                $grant_cats = " (cat_owner='" . 
$this->account_id . "' OR cat_access='public' AND cat_owner in(" . 
implode(',',$public_user_list) . ")) ";
                        }
                        else
                        {
!                               $grant_cats = " cat_owner='" . 
$this->account_id . "' ";
                        }
  
--- 147,156 ----
                                }
                                reset($public_user_list);
+                               $public_user_list[] = -1;
                                $grant_cats = " (cat_owner='" . 
$this->account_id . "' OR cat_access='public' AND cat_owner in(" . 
implode(',',$public_user_list) . ")) ";
                        }
                        else
                        {
!                               $grant_cats = " cat_owner='" . 
$this->account_id . "' or cat_owner='-1' ";
                        }
  
***************
*** 223,226 ****
--- 226,230 ----
                                        $public_user_list[] = $user;
                                }
+                               $public_user_list[] = -1;
                                reset($public_user_list);
                                $grant_cats = " (cat_owner='" . 
$this->account_id . "' OR cat_access='public' AND cat_owner in(" . 
implode(',',$public_user_list) . ")) ";
***************
*** 228,232 ****
                        else
                        {
!                               $grant_cats = " cat_owner='" . 
$this->account_id . "' ";
                        }
  
--- 232,236 ----
                        else
                        {
!                               $grant_cats = " cat_owner='" . 
$this->account_id . "' or cat_owner='-1' ";
                        }
  




reply via email to

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