phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: projects/inc class.boprojects.inc.php,1.42,1.43


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: projects/inc class.boprojects.inc.php,1.42,1.43 class.uiprojects.inc.php,1.50,1.51
Date: Wed, 13 Mar 2002 21:06:17 -0500

Update of /cvsroot/phpgroupware/projects/inc
In directory subversions:/tmp/cvs-serv7866/inc

Modified Files:
        class.boprojects.inc.php class.uiprojects.inc.php 
Log Message:
update accounts data

Index: class.boprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.boprojects.inc.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -r1.42 -r1.43
*** class.boprojects.inc.php    9 Jan 2002 01:06:53 -0000       1.42
--- class.boprojects.inc.php    14 Mar 2002 02:06:14 -0000      1.43
***************
*** 133,146 ****
                function cached_accounts($account_id)
                {
!                       $this->accounts = 
CreateObject('phpgwapi.accounts',$account_id);
! 
!                       $this->accounts->read_repository();
! 
!                       
$cached_data[$this->accounts->data['account_id']]['account_id']         = 
$this->accounts->data['account_id'];
!                       
$cached_data[$this->accounts->data['account_id']]['account_lid']        = 
$this->accounts->data['account_lid'];
!                       
$cached_data[$this->accounts->data['account_id']]['firstname']          = 
$this->accounts->data['firstname'];
!                       
$cached_data[$this->accounts->data['account_id']]['lastname']           = 
$this->accounts->data['lastname'];
! 
!                       return $cached_data;
                }
  
--- 133,137 ----
                function cached_accounts($account_id)
                {
!                       return 
$GLOBALS['phpgw']->accounts->get_account_data($account_id);
                }
  

Index: class.uiprojects.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/projects/inc/class.uiprojects.inc.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -r1.50 -r1.51
*** class.uiprojects.inc.php    13 Mar 2002 20:33:56 -0000      1.50
--- class.uiprojects.inc.php    14 Mar 2002 02:06:14 -0000      1.51
***************
*** 304,311 ****
                                }
  
!                               $cached_data = 
$this->boprojects->cached_accounts($pro[$i]['coordinator']);
!                               $coordinatorout = 
$GLOBALS['phpgw']->strip_html($cached_data[$pro[$i]['coordinator']]['account_lid']
!                                         . ' [' . 
$cached_data[$pro[$i]['coordinator']]['firstname'] . ' '
!                                         . 
$cached_data[$pro[$i]['coordinator']]['lastname'] . ' ]');
  
  // --------------- template declaration for list records 
-------------------------------------
--- 304,309 ----
                                }
  
!                               $adata = 
$this->boprojects->cached_accounts($pro[$i]['coordinator']);
!                               $coordinatorout = 
$GLOBALS['phpgw']->strip_html($adata[$pro[$i]['coordinator']]['fullname'] . ' 
[' . $adata[$pro[$i]['coordinator']]['lid'] . ']');
  
  // --------------- template declaration for list records 
-------------------------------------
***************
*** 904,908 ****
  
                        $this->t->pfp('out','view');
! //                    $phpgw->common->hook('projects_view');
                }
  
--- 902,906 ----
  
                        $this->t->pfp('out','view');
! //                    $GLOBALS['phpgw']->common->hook('projects_view');
                }
  




reply via email to

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