phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: preferences/inc class.uicategories.inc.php,1.23,


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences/inc class.uicategories.inc.php,1.23,1.24
Date: Tue, 15 Oct 2002 17:41:52 -0400

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

Modified Files:
        class.uicategories.inc.php 
Log Message:
update cats

Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uicategories.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** class.uicategories.inc.php  13 Oct 2002 22:04:10 -0000      1.23
--- class.uicategories.inc.php  15 Oct 2002 21:41:50 -0000      1.24
***************
*** 178,182 ****
                                }
  
!                               $level = $cats[$i]['level'];
  
                                if ($level > 0)
--- 178,182 ----
                                }
  
!                               $level  = $cats[$i]['level'];
  
                                if ($level > 0)
***************
*** 220,225 ****
                                if ($cats_level || ($level == 0))
                                {
!                                       if ($cats[$i]['owner'] == 
$this->account || $cats[$i]['app_name'] == 'phpgw')
                                        {
                                                $link_data['menuaction'] = 
'preferences.uicategories.add';
                                                $link_data['parent'] = 
$cats[$i]['cat_id'];
--- 220,227 ----
                                if ($cats_level || ($level == 0))
                                {
!                                       if ($cats[$i]['owner'] == 
$this->account || $cats[$i]['app_name'] == 'phpgw'
!                                               || ($cats[$i]['owner'] == -1 && 
$cats[$i]['app_name'] == $cats_app))
                                        {
+                                               $link_data['parent'] = '';
                                                $link_data['menuaction'] = 
'preferences.uicategories.add';
                                                $link_data['parent'] = 
$cats[$i]['cat_id'];
***************
*** 234,237 ****
--- 236,240 ----
                                }
  
+                               $link_data['cat_id'] = '';
                                $link_data['cat_id'] = $cats[$i]['cat_id'];
                                if ($cats[$i]['owner'] == $this->account && 
$cats[$i]['app_name'] != 'phpgw')





reply via email to

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