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


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences/inc class.uicategories.inc.php,1.15,1.16
Date: Fri, 11 Oct 2002 20:48:38 -0400

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

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

Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uicategories.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** class.uicategories.inc.php  4 Oct 2002 20:58:39 -0000       1.15
--- class.uicategories.inc.php  12 Oct 2002 00:48:36 -0000      1.16
***************
*** 532,548 ****
                        if (get_var('confirm',array('POST')))
                        {
!                               switch (get_var('subs',array('POST')))
                                {
!                                       case 'move':
!                                               
$this->bo->delete(array('cat_id' => $this->cat_id,'modify_subs' => True));
!                                               Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
!                                               break;
!                                       case 'drop':
!                                               
$this->bo->delete(array('cat_id' => $this->cat_id,'drop_subs' => True));
!                                               Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
!                                               break;
!                                       default:
!                                               $error_msg = lang('Please 
choose one of the methods to handle the subcategories');
!                                               break;
                                }
                        }
--- 532,556 ----
                        if (get_var('confirm',array('POST')))
                        {
!                               if (get_var('subs',array('POST')))
                                {
!                                       switch (get_var('subs',array('POST')))
!                                       {
!                                               case 'move':
!                                                       
$this->bo->delete(array('cat_id' => $this->cat_id,'modify_subs' => True));
!                                                       Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
!                                                       break;
!                                               case 'drop':
!                                                       
$this->bo->delete(array('cat_id' => $this->cat_id,'drop_subs' => True));
!                                                       Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
!                                                       break;
!                                               default:
!                                                       $error_msg = 
lang('Please choose one of the methods to handle the subcategories');
!                                                       break;
!                                       }
!                               }
!                               else
!                               {
!                                       $this->bo->delete(array('cat_id' => 
$this->cat_id));
!                                       Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
                                }
                        }





reply via email to

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