[Top][All Lists]
[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));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: preferences/inc class.uicategories.inc.php,1.15,1.16,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: notes/inc class.bo.inc.php,1.10,1.11
- Next by Date:
[Phpgroupware-cvs] CVS: etemplate/setup etemplates.inc.php,1.24,1.25 phpgw_en.lang,1.17,1.18
- Previous by thread:
[Phpgroupware-cvs] CVS: notes/inc class.bo.inc.php,1.10,1.11
- Next by thread:
[Phpgroupware-cvs] CVS: etemplate/setup etemplates.inc.php,1.24,1.25 phpgw_en.lang,1.17,1.18
- Index(es):