[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: preferences/inc class.bocategories.inc.php,1.1,1
From: |
Bettina gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: preferences/inc class.bocategories.inc.php,1.1,1.2 class.uicategories.inc.php,1.1,1.2 |
Date: |
Sat, 12 Jan 2002 13:28:44 -0500 |
Update of /cvsroot/phpgroupware/preferences/inc
In directory subversions:/tmp/cvs-serv1398/inc
Modified Files:
class.bocategories.inc.php class.uicategories.inc.php
Log Message:
update cats
Index: class.bocategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.bocategories.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.bocategories.inc.php 12 Jan 2002 04:09:56 -0000 1.1
--- class.bocategories.inc.php 12 Jan 2002 18:28:42 -0000 1.2
***************
*** 112,130 ****
}
! function check_values($action,$values)
{
- if ($action == 'add')
- {
- $values['id'] = '';
- }
-
if (strlen($values['descr']) >= 255)
{
$error[] = lang('Description can not exceed 255
characters in length !');
- }
-
- if (strlen($values['data']) >= 8000)
- {
- $error[] = lang('Data can not exceed 8000
characters in length !');
}
--- 112,120 ----
}
! function check_values($values)
{
if (strlen($values['descr']) >= 255)
{
$error[] = lang('Description can not exceed 255
characters in length !');
}
Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uicategories.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.uicategories.inc.php 12 Jan 2002 04:09:56 -0000 1.1
--- class.uicategories.inc.php 12 Jan 2002 18:28:42 -0000 1.2
***************
*** 274,285 ****
if ($submit)
{
! $values = array();
! $values['parent'] = $cat_parent;
! $values['descr'] = $cat_description;
! $values['name'] = $cat_name;
! $values['access'] = $cat_access;
! $values['data'] = $cat_data;
! $error = $this->bo->check_values('add',$values);
if (is_array($error))
{
--- 274,288 ----
if ($submit)
{
! $values = array
! (
! 'id' => '',
! 'parent' => $cat_parent,
! 'descr' => $cat_description,
! 'name' => $cat_name,
! 'access' => $cat_access,
! 'data' => $cat_data
! );
! $error = $this->bo->check_values($values);
if (is_array($error))
{
***************
*** 391,403 ****
if ($submit)
{
! $values = array();
! $values['id'] = $cat_id;
! $values['parent'] = $cat_parent;
! $values['descr'] = $cat_description;
! $values['name'] = $cat_name;
! $values['access'] = $cat_access;
! $values['data'] = $cat_data;
! $error =
$this->bo->check_values('edit',$values);
if (is_array($error))
{
--- 394,408 ----
if ($submit)
{
! $values = array
! (
! 'id' => $cat_id,
! 'parent' => $cat_parent,
! 'descr' => $cat_description,
! 'name' => $cat_name,
! 'access' => $cat_access,
! 'data' => $cat_data
! );
! $error = $this->bo->check_values($values);
if (is_array($error))
{
***************
*** 508,512 ****
echo parse_navbar();
! $this->t->set_var('messages',lang('Are you sure
you want to delete this category ?'));
$exists = $this->bo->exists(array
--- 513,517 ----
echo parse_navbar();
! $this->t->set_var('deleteheader',lang('Are you
sure you want to delete this category ?'));
$exists = $this->bo->exists(array
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: preferences/inc class.bocategories.inc.php,1.1,1.2 class.uicategories.inc.php,1.1,1.2,
Bettina gille <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: admin/inc class.bocategories.inc.php,1.2,1.3 class.uicategories.inc.php,1.5,1.6
- Next by Date:
[Phpgroupware-cvs] CVS: email/setup phpgw_en.lang,1.6,1.7
- Previous by thread:
[Phpgroupware-cvs] CVS: admin/inc class.bocategories.inc.php,1.2,1.3 class.uicategories.inc.php,1.5,1.6
- Next by thread:
[Phpgroupware-cvs] CVS: email/setup phpgw_en.lang,1.6,1.7
- Index(es):