phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc/class.uistatistics.inc.php, 1.54


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.uistatistics.inc.php, 1.54
Date: Thu, 17 Jun 2004 16:23:25 +0200

Update of /projects/inc
Modified Files:
        Branch: 
          class.uistatistics.inc.php

date: 2004/06/17 14:23:25;  author: ceb;  state: Exp;  lines: +8 -5

Log Message:
update
=====================================================================
Index: projects/inc/class.uistatistics.inc.php
diff -u projects/inc/class.uistatistics.inc.php:1.53 
projects/inc/class.uistatistics.inc.php:1.54
--- projects/inc/class.uistatistics.inc.php:1.53        Wed Jun  2 16:27:56 2004
+++ projects/inc/class.uistatistics.inc.php     Thu Jun 17 14:23:25 2004
@@ -357,11 +357,13 @@
             {
                                if(in_array($pro[$i]['project_id'],$pro_user))
                                {
-                                       $emps[$pro[$i]['project_id']] = 
$this->boprojects->get_employee_roles(array('project_id' => 
$pro[$i]['project_id'],'formatted' => True));
+                                       //$emps[$pro[$i]['project_id']] = 
$this->boprojects->get_employee_roles(array('project_id' => 
$pro[$i]['project_id'],'formatted' => True));
+                                       $emps[$pro[$i]['project_id']] = 
$this->boprojects->selected_employees(array('project_id' => 
$pro[$i]['project_id'],'roles_included' => True,
+                                                                               
                                                                                
                                'admins_included' => True));
                                }
 
                                
$this->nextmatchs->template_alternate_row_color(&$GLOBALS['phpgw']->template);
-
+                               //_debug_array($emps);
 // --------------- template declaration for list records 
-------------------------------------
 
                                if ($action == 'mains')
@@ -406,8 +408,9 @@
                                {
                                        foreach($emps[$pro[$i]['project_id']] 
as $e)
                                        {
-                                               
$GLOBALS['phpgw']->template->set_var('emp_name',$e['emp_name']);
-                                               
$GLOBALS['phpgw']->template->set_var('emp_roles',$e['role_name']);
+                                               //_debug_array($e);
+                                               
$GLOBALS['phpgw']->template->set_var('emp_name',$e['account_fullname']);
+                                               
$GLOBALS['phpgw']->template->set_var('emp_role',$e['role_name']);
                                                
$GLOBALS['phpgw']->template->fp('users','user_list',True);
                                        }
                                        
$GLOBALS['phpgw']->template->set_var('lang_name',lang('name'));




reply via email to

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