phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: admin/inc class.bocategories.inc.php,1.15,1.16 c


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: admin/inc class.bocategories.inc.php,1.15,1.16 class.uicategories.inc.php,1.27,1.28
Date: Sat, 12 Oct 2002 17:17:45 -0400

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv26936/inc

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

Index: class.bocategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.bocategories.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** class.bocategories.inc.php  12 Oct 2002 20:45:27 -0000      1.15
--- class.bocategories.inc.php  12 Oct 2002 21:17:43 -0000      1.16
***************
*** 53,56 ****
--- 53,61 ----
                                $this->start = $start;
                        }
+                       else
+                       {
+                               $this->start = 0;
+                       }
+ 
                        if((empty($query) && !empty($this->query)) || 
!empty($query))
                        {

Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uicategories.inc.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** class.uicategories.inc.php  12 Oct 2002 20:45:27 -0000      1.27
--- class.uicategories.inc.php  12 Oct 2002 21:17:43 -0000      1.28
***************
*** 126,134 ****
                        
$GLOBALS['phpgw']->template->set_var('doneurl',$GLOBALS['phpgw']->link('/admin/index.php'));
  
-                       if(!$start)
-                       {
-                               $start = 0;
-                       }
- 
                        if (!$global_cats)
                        {
--- 126,129 ----
***************
*** 296,302 ****
  
                        
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list(array('format'
      => 'select',
!                                                                               
                                                                                
                                'type'          => 'all',
!                                                                               
                                                                                
                                'selected'      => $parent,
!                                                                               
                                                                                
                                'globals'       => $global_cats)));
  
                        
$GLOBALS['phpgw']->template->set_var('cat_name',$values['name']);
--- 291,297 ----
  
                        
$GLOBALS['phpgw']->template->set_var('category_list',$this->bo->cats->formated_list(array('format'
      => 'select',
!                                                                               
                                                                                
                                        'type'          => 'all',
!                                                                               
                                                                                
                                        'selected'      => $parent,
!                                                                               
                                                                                
                                        'globals'       => $global_cats)));
  
                        
$GLOBALS['phpgw']->template->set_var('cat_name',$values['name']);
***************
*** 344,349 ****
                                }
  
-                               //_debug_array($values);
- 
                                $error = $this->bo->check_values($values);
                                if (is_array($error))
--- 339,342 ----
***************
*** 370,374 ****
  
                        $link_data['menuaction'] = 'admin.uicategories.edit';
!                       $link_data['cat_id']     = $this->cat_id;
                        
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
  
--- 363,367 ----
  
                        $link_data['menuaction'] = 'admin.uicategories.edit';
!                       $link_data['cat_id']    = $this->cat_id;
                        
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
  





reply via email to

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