phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.uientity.inc.php,1.5.2.6


From: sigurdne
Subject: [Phpgroupware-cvs] property/inc class.uientity.inc.php,1.5.2.6
Date: Thu, 24 Feb 2005 14:46:25 -0000

Update of property/inc

Modified Files:
     Branch: proposed-0_9_18-branch
            class.uientity.inc.php lines: +17 -2

Log Message:
no message

====================================================
Index: property/inc/class.uientity.inc.php
diff -u property/inc/class.uientity.inc.php:1.5.2.5 
property/inc/class.uientity.inc.php:1.5.2.6
--- property/inc/class.uientity.inc.php:1.5.2.5 Thu Nov 18 22:12:08 2004
+++ property/inc/class.uientity.inc.php Thu Jan 13 14:59:44 2005
@@ -612,7 +612,6 @@
                                $lookup_tenant=True;
                        }

-//_debug_array($values);
                        if ($values['save'])
                        {
                                if(!$values['location'])
@@ -847,8 +846,24 @@
                                
$values['files'][$i]['file_name']=urlencode($values['files'][$i]['name']);
                        }

+                       $project_link_data = array
+                       (
+                               'menuaction'            => 
$this->currentapp.'.uiproject.edit',
+                               'bypass'                        => true,
+                               'location_code'         => 
$values['location_code'],
+                               'p_num'                         => 
$values['p_num'],
+                               'p_entity_id'           => 
$values['p_entity_id'],
+                               'p_cat_id'                      => 
$values['p_cat_id'],
+                               'tenant_id'                     => 
$values['tenant_id'],
+                               'origin'                        => 'entity_' . 
$this->entity_id . '_' . $this->cat_id,
+                               'origin_id'                     => $id
+                       );
+
                        $data = array
                        (
+                               'start_project'                                 
=> $category['start_project'],
+                               'lang_start_project'                    => 
lang('start project'),
+                               'project_link'                                  
=> $GLOBALS['phpgw']->link('/index.php',$project_link_data),
                                'fileupload'                                    
=> $category['fileupload'],
                                'link_view_file'                                
=> $GLOBALS['phpgw']->link('/index.php',$link_file_data),
                                'link_to_files'                                 
=> $link_to_files,






reply via email to

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