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.17,


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences/inc class.uicategories.inc.php,1.17,1.18
Date: Sat, 12 Oct 2002 14:43:47 -0400

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

Modified Files:
        class.uicategories.inc.php 
Log Message:
update edit_cats to move the subtree with the cat if the parent changes

Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uicategories.inc.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** class.uicategories.inc.php  12 Oct 2002 18:27:22 -0000      1.17
--- class.uicategories.inc.php  12 Oct 2002 18:43:44 -0000      1.18
***************
*** 329,338 ****
                        }
  
!                       
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list('select',$type,$cat_parent,$global_cats));
!                       
$GLOBALS['phpgw']->template->set_var('cat_name',$cat_name);
!                       
$GLOBALS['phpgw']->template->set_var('cat_description',$cat_description);
  
!                       $GLOBALS['phpgw']->template->set_var('access','<input 
type="checkbox" name="cat_access" value="True"'
!                                                                               
                                . ($cat_access == True ?' checked':'') . '>');
  
                        if ($extra)
--- 329,337 ----
                        }
  
!                       
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list('select',$type,$values['parent'],$global_cats));
!                       
$GLOBALS['phpgw']->template->set_var('cat_name',$values['name']);
!                       
$GLOBALS['phpgw']->template->set_var('cat_description',$values['descr']);
  
!                       
$GLOBALS['phpgw']->template->set_var('access',$values['access'] == 'private'?' 
checked':'');
  
                        if ($extra)
***************
*** 443,447 ****
                        
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list('select',$type,$cats['parent'],$global_cats));
  
!                       
$GLOBALS['phpgw']->template->set_var('access',$cats['access'] == 'private' ?' 
checked':'');
  
                        if ($extra)
--- 442,446 ----
                        
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list('select',$type,$cats['parent'],$global_cats));
  
!                       
$GLOBALS['phpgw']->template->set_var('access',$cats['access'] == 'private'?' 
checked':'');
  
                        if ($extra)





reply via email to

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