phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin/inc class.uicategories.inc.php,1.25,1.26


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.uicategories.inc.php,1.25,1.26
Date: Sat, 12 Oct 2002 14:44:00 -0400

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv5651/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/admin/inc/class.uicategories.inc.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** class.uicategories.inc.php  12 Oct 2002 18:01:21 -0000      1.25
--- class.uicategories.inc.php  12 Oct 2002 18:43:58 -0000      1.26
***************
*** 283,287 ****
                                {
                                        $this->bo->save_cat($values);
!                                       
$GLOBALS['phpgw']->template->set_var('message',lang('Category x has been added 
!', $cat_name));
                                }
                        }
--- 283,287 ----
                                {
                                        $this->bo->save_cat($values);
!                                       
$GLOBALS['phpgw']->template->set_var('message',lang('Category x has been added 
!', $values['name']));
                                }
                        }
***************
*** 290,303 ****
                        
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
  
!                       
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->formatted_list(array
!                       (
!                               'select'      => 'select',
!                               'all'         => 'all',
!                               'cat_parent'  => $cat_parent,
!                               'global_cats' => $global_cats
!                       )));
  
!                       
$GLOBALS['phpgw']->template->set_var('cat_name',$cat_name);
!                       
$GLOBALS['phpgw']->template->set_var('cat_description',$cat_description);
  
                        $GLOBALS['phpgw']->template->parse('buttons','add');
--- 290,300 ----
                        
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
  
!                       
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->formatted_list(array('select'
           => 'select',
!                                                                               
                                                                                
                                'all'                   => 'all',
!                                                                               
                                                                                
                                'parent'                => $values['parent'],
!                                                                               
                                                                                
                                'global_cats'   => $global_cats)));
  
!                       
$GLOBALS['phpgw']->template->set_var('cat_name',$values['name']);
!                       
$GLOBALS['phpgw']->template->set_var('cat_description',$values['descr']);
  
                        $GLOBALS['phpgw']->template->parse('buttons','add');





reply via email to

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