phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] projects/inc/class.uiprojects.inc.php, 1.152


From: nomail
Subject: [Phpgroupware-cvs] projects/inc/class.uiprojects.inc.php, 1.152
Date: Wed, 11 Aug 2004 17:05:13 +0200

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

date: 2004/08/11 15:05:13;  author: ceb;  state: Exp;  lines: +8 -8

Log Message:
update
=====================================================================
Index: projects/inc/class.uiprojects.inc.php
diff -u projects/inc/class.uiprojects.inc.php:1.151 
projects/inc/class.uiprojects.inc.php:1.152
--- projects/inc/class.uiprojects.inc.php:1.151 Wed Jul 21 13:19:31 2004
+++ projects/inc/class.uiprojects.inc.php       Wed Aug 11 15:05:13 2004
@@ -58,8 +58,8 @@
 
                        $this->boprojects                               = 
CreateObject('projects.boprojects',True, $action);
                        $this->nextmatchs                               = 
CreateObject('phpgwapi.nextmatchs');
-                       $this->sbox                                             
= CreateObject('phpgwapi.sbox');
-                       $this->attachedFiles                    = 
CreateObject('projects.attachedFiles');
+                       //$this->sbox                                   = 
CreateObject('phpgwapi.sbox');
+                       $this->attached_files                   = 
CreateObject('projects.attached_files');
 
                        $this->start                                    = 
$this->boprojects->start;
                        $this->query                                    = 
$this->boprojects->query;
@@ -334,7 +334,7 @@
                                
$GLOBALS['phpgw']->template->set_var('number_main',$main['number']);
                                
$GLOBALS['phpgw']->template->set_var('customer_main',$main['customerout']);
                                
$GLOBALS['phpgw']->template->set_var('url_main',$main['url']);
-                               
$GLOBALS['phpgw']->template->set_var('attachment',$this->attachedFiles->get_files($pro_main));
+                               
$GLOBALS['phpgw']->template->set_var('attachment',$this->attached_files->get_files($pro_main));
                                
$GLOBALS['phpgw']->template->set_var('lang_files',lang('Files'));
                                
$GLOBALS['phpgw']->template->parse('main','project_main',True);
                        }
@@ -808,7 +808,7 @@
                                else
                                {
                                        $project_id = 
$this->boprojects->save_project($action, $values);                              
          
-                                       
$this->attachedFiles->save_file($project_id);
+                                       
$this->attached_files->save_file($project_id);
                                        $link_data['project_id'] = $project_id;
                                        if($_POST['save'])
                                        {
@@ -1147,7 +1147,7 @@
                        $GLOBALS['phpgw']->template->set_var('name',$name);
                        $GLOBALS['phpgw']->template->set_var('abid',$abid);
 
-                       
$GLOBALS['phpgw']->template->set_var('attachment',$this->attachedFiles->get_files($project_id,True));
+                       
$GLOBALS['phpgw']->template->set_var('attachment',$this->attached_files->get_files($project_id,True));
 
                        if ($project_id && 
$this->boprojects->edit_perms(array('action' => $action,'coordinator' => 
$values['coordinator'],'main_co' => $main['coordinator'],
                                                                                
                        'parent_co' => $parent['coordinator'],'type' => 
'delete')))
@@ -1424,7 +1424,7 @@
                                }
                        }
                        
-                       
$GLOBALS['phpgw']->template->set_var('attachment',$this->attachedFiles->get_files($project_id));
+                       
$GLOBALS['phpgw']->template->set_var('attachment',$this->attached_files->get_files($project_id));
 
                        $GLOBALS['phpgw']->template->set_var('ownhandle','');
                        $GLOBALS['phpgw']->template->set_var('acthandle','');
@@ -1455,7 +1455,7 @@
 
                        if ($_POST['yes'])
                        {
-                               $this->attachedFiles->delete_file($pa_id);
+                               $this->attached_files->delete_file($pa_id);
                                
$this->boprojects->delete_project($pa_id,(isset($_POST['subs'])?True:False));
                                
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
                        }




reply via email to

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