[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: admin/inc class.uicategories.inc.php,1.22,1.23
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: admin/inc class.uicategories.inc.php,1.22,1.23 |
Date: |
Fri, 11 Oct 2002 20:48:21 -0400 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv25436
Modified Files:
class.uicategories.inc.php
Log Message:
update delete cats
Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uicategories.inc.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** class.uicategories.inc.php 4 Oct 2002 20:58:25 -0000 1.22
--- class.uicategories.inc.php 12 Oct 2002 00:48:19 -0000 1.23
***************
*** 428,444 ****
if ($GLOBALS['HTTP_POST_VARS']['confirm'])
{
! switch ($GLOBALS['HTTP_POST_VARS']['subs'])
{
! 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;
}
}
--- 428,452 ----
if ($GLOBALS['HTTP_POST_VARS']['confirm'])
{
! if ($GLOBALS['HTTP_POST_VARS']['subs'])
{
! switch
($GLOBALS['HTTP_POST_VARS']['subs'])
! {
! 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: admin/inc class.uicategories.inc.php,1.22,1.23,
Bettina Gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/setup etemplates.inc.php,1.23,1.24 phpgw_en.lang,1.16,1.17
- Next by Date:
[Phpgroupware-cvs] CVS: stocks/inc class.ui.inc.php,1.13,1.14
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/setup etemplates.inc.php,1.23,1.24 phpgw_en.lang,1.16,1.17
- Next by thread:
[Phpgroupware-cvs] CVS: stocks/inc class.ui.inc.php,1.13,1.14
- Index(es):