phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74,1.75


From: Bettina gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74,1.75
Date: Mon, 14 Jan 2002 21:52:53 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv13142

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.74
retrieving revision 1.75
diff -C2 -r1.74 -r1.75
*** class.categories.inc.php    13 Jan 2002 00:39:26 -0000      1.74
--- class.categories.inc.php    15 Jan 2002 02:52:51 -0000      1.75
***************
*** 356,369 ****
                @result $s array - populated with categories
                */
!               function formatted_list($format,$type,$selected = '',$public = 
False,$site_link = 'site')
                {
                        return 
$this->formated_list($format,$type,$selected,$public,$site_link);
                }
!               function formated_list($format,$type,$selected = '',$public = 
False,$site_link = 'site')
                {
                        if(is_array($format))
                        {
                                $temp_format = $format['format'];
!                               $type = $format['type'];
                                $selected = 
(isset($format['selected'])?$format['selected']:'');
                                $public = 
(isset($format['public'])?$format['public']:False);
--- 356,370 ----
                @result $s array - populated with categories
                */
!               function formatted_list($format,$type = 'all',$selected = 
'',$public = False,$site_link = 'site')
                {
                        return 
$this->formated_list($format,$type,$selected,$public,$site_link);
                }
! 
!               function formated_list($format,$type = 'all',$selected = 
'',$public = False,$site_link = 'site')
                {
                        if(is_array($format))
                        {
                                $temp_format = $format['format'];
!                               $type = 
(isset($format['type'])?$format['type']:'all');
                                $selected = 
(isset($format['selected'])?$format['selected']:'');
                                $public = 
(isset($format['public'])?$format['public']:False);
***************
*** 554,561 ****
                        switch($item)
                        {
!                               case 'name':  $value = 'cat_name'; break;
!                               case 'owner': $value = 'cat_owner'; break;
!                               case 'main':  $value = 'cat_main'; break;
!                               case 'level': $value = 'cat_level'; break;
                        }
  
--- 555,563 ----
                        switch($item)
                        {
!                               case 'name':    $value = 'cat_name'; break;
!                               case 'owner':   $value = 'cat_owner'; break;
!                               case 'main':    $value = 'cat_main'; break;
!                               case 'level':   $value = 'cat_level'; break;
!                               case 'data':    $value = 'cat_data'; break;     
                        }
  




reply via email to

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