[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] projects/inc/class.uiprojecthours.inc.php, 1.81
From: |
nomail |
Subject: |
[Phpgroupware-cvs] projects/inc/class.uiprojecthours.inc.php, 1.81 |
Date: |
Wed, 11 Aug 2004 17:05:13 +0200 |
Update of /projects/inc
Modified Files:
Branch:
class.uiprojecthours.inc.php
date: 2004/08/11 15:05:13; author: ceb; state: Exp; lines: +4 -4
Log Message:
update
=====================================================================
Index: projects/inc/class.uiprojecthours.inc.php
diff -u projects/inc/class.uiprojecthours.inc.php:1.80
projects/inc/class.uiprojecthours.inc.php:1.81
--- projects/inc/class.uiprojecthours.inc.php:1.80 Sun Jun 27 20:06:30 2004
+++ projects/inc/class.uiprojecthours.inc.php Wed Aug 11 15:05:13 2004
@@ -53,11 +53,10 @@
$this->bohours =
CreateObject('projects.boprojecthours');
$this->boprojects =
$this->bohours->boprojects;
$this->nextmatchs =
CreateObject('phpgwapi.nextmatchs');
- $this->sbox
= CreateObject('phpgwapi.sbox');
+ //$this->sbox
= CreateObject('phpgwapi.sbox');
$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 +410,7 @@
if($this->project_id)
{
+ $this->attached_files =
CreateObject('projects.attached_files');
$main =
$this->boprojects->read_single_project($this->boprojects->return_value('main',$this->project_id),'hours');
$GLOBALS['phpgw']->template->set_var('title_main',$main['title']);
$GLOBALS['phpgw']->template->set_var('main_url',$GLOBALS['phpgw']->link('/index.php','menuaction=projects.uiprojects.view_project&action=mains&project_id='
@@ -423,7 +423,7 @@
$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('attachment',$this->attached_files->get_files($this->project_id));
$GLOBALS['phpgw']->template->set_var('lang_files',lang('Files'));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] projects/inc/class.uiprojecthours.inc.php, 1.81,
nomail <=