[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.75,1.76
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.75,1.76 |
Date: |
Tue, 12 Mar 2002 23:16:54 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv2391
Modified Files:
class.categories.inc.php
Log Message:
update cats
Index: class.categories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.categories.inc.php,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -r1.75 -r1.76
*** class.categories.inc.php 15 Jan 2002 02:52:51 -0000 1.75
--- class.categories.inc.php 13 Mar 2002 04:16:46 -0000 1.76
***************
*** 23,26 ****
--- 23,27 ----
\**************************************************************************/
/* $Id$ */
+ /* $Source$ */
/*!
***************
*** 145,153 ****
}
reset($public_user_list);
! $grant_cats = " (cat_owner='" .
$this->account_id . "' OR cat_access='public' AND cat_owner in(" .
implode(',',$public_user_list) . ")) ";
}
else
{
! $grant_cats = " cat_owner='" .
$this->account_id . "' ";
}
--- 146,154 ----
}
reset($public_user_list);
! $grant_cats = " (cat_owner='" .
$this->account_id . "' OR cat_owner='-1' OR cat_access='public' AND cat_owner
in(" . implode(',',$public_user_list) . ")) ";
}
else
{
! $grant_cats = " cat_owner='" .
$this->account_id . "' or cat_owner='-1' ";
}
***************
*** 224,232 ****
}
reset($public_user_list);
! $grant_cats = " (cat_owner='" .
$this->account_id . "' OR cat_access='public' AND cat_owner in(" .
implode(',',$public_user_list) . ")) ";
}
else
{
! $grant_cats = " cat_owner='" .
$this->account_id . "' ";
}
--- 225,233 ----
}
reset($public_user_list);
! $grant_cats = " (cat_owner='" .
$this->account_id . "' OR cat_owner='-1' OR cat_access='public' AND cat_owner
in(" . implode(',',$public_user_list) . ")) ";
}
else
{
! $grant_cats = " cat_owner='" .
$this->account_id . "' or cat_owner='-1' ";
}
***************
*** 408,411 ****
--- 409,417 ----
$s .= '<' . lang('Global') .
'>';
}
+ if ($cats[$i]['owner'] == '-1')
+ {
+ $s .= '<' . lang('Global') .
' ' . $GLOBALS['phpgw_info']['apps'][$this->app_name]['title'] . '>';
+ }
+
$s .= '</option>' . "\n";
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.75,1.76,
Bettina Gille <address@hidden> <=