phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc/class.uiprojecthours.inc.php, 1.75


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.uiprojecthours.inc.php, 1.75
Date: Fri, 21 May 2004 21:13:28 -0000

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

date: 2004/04/28 13:34:47;  author: ceb;  state: Exp;  lines: +4 -1

Log Message:
update
=====================================================================
Index: projects/inc/class.uiprojecthours.inc.php
diff -u projects/inc/class.uiprojecthours.inc.php:1.74 
projects/inc/class.uiprojecthours.inc.php:1.75
--- projects/inc/class.uiprojecthours.inc.php:1.74      Wed Mar 24 16:35:15 2004
+++ projects/inc/class.uiprojecthours.inc.php   Wed Apr 28 13:34:47 2004
@@ -57,6 +57,7 @@
                        $this->account                                  = 
$GLOBALS['phpgw_info']['user']['account_id'];
                        $this->grants                                   = 
$GLOBALS['phpgw']->acl->get_grants('projects');
                        $this->grants[$this->account]   = PHPGW_ACL_READ + 
PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE;
+                       $this->attachedFiles                    = 
CreateObject('projects.attachedFiles');
 
                        $this->start                                    = 
$this->bohours->start;
                        $this->query                                    = 
$this->bohours->query;
@@ -411,6 +412,8 @@
                                
$GLOBALS['phpgw']->template->set_var('ptime_main',$main['ptime']);
                                
$GLOBALS['phpgw']->template->set_var('atime_main',$main['ahours_jobs']);
                                
$GLOBALS['phpgw']->template->parse('main','project_main',True);
+                               
$GLOBALS['phpgw']->template->set_var('attachment',$this->attachedFiles->get_files($this->project_id));
+                               
$GLOBALS['phpgw']->template->set_var('lang_files',lang('Files'));
                        }
 
                        
$GLOBALS['phpgw']->template->set_var('action_url',$GLOBALS['phpgw']->link('/index.php',$link_data));




reply via email to

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