phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.bodrawing.php, 1.1.1.8


From: nomail
Subject: [Phpgroupware-cvs] property/class.bodrawing.php, 1.1.1.8
Date: Sun, 23 May 2004 17:47:02 -0000

Update of /property
Modified Files:
        Branch: 
          class.bodrawing.php

date: 2004/04/30 17:35:56;  author: sigurdne;  state: Exp;  lines: +3 -3

Log Message:
no message
=====================================================================
Index: property/class.bodrawing.php
diff -u property/class.bodrawing.php:1.1.1.7 
property/class.bodrawing.php:1.1.1.8
--- property/class.bodrawing.php:1.1.1.7        Fri Apr 30 09:52:25 2004
+++ property/class.bodrawing.php        Fri Apr 30 17:35:56 2004
@@ -40,7 +40,7 @@
                        $this->bocommon         = 
CreateObject($this->currentapp.'_bocommon');
                        $this->historylog       = 
CreateObject($this->currentapp.'_historylog','drawing');
                        $this->contacts         = 
CreateObject($this->currentapp.'_contacts');
-                       $this->vfs                      = 
CreateObject('phpgwapi_vfs');
+                       $this->vfs                      = 
CreateObject($this->currentapp.'_vfs');
                        $this->rootdir          = $this->vfs->basedir;
                        $this->fakebase         = $this->vfs->fakebase;
                        $this->solocation       = 
CreateObject($this->currentapp.'_solocation');
@@ -269,7 +269,7 @@
                        $this->uicols   = $this->so->uicols;
                        $cols_extra             = $this->so->cols_extra;
 
-//                     $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+//                     $dateformat = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
 
                        for ($i=0; $i<count($drawing); $i++)
                        {
@@ -289,7 +289,7 @@
                function read_single($drawing_id)
                {
                        $drawing                                                
= $this->so->read_single($drawing_id);
-                       $dateformat                                             
= $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+                       $dateformat                                             
= $GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
                        $drawing['drawing_date']                = 
$this->bocommon->show_date($drawing['drawing_date'],$dateformat);
                        $vendor                                                 
= 
$this->contacts->read_single_entry($drawing['vendor_id'],array('org_name'=>'org_name','email'=>'email'));
                        $drawing['vendor_name']                 = 
$vendor[0]['org_name'];




reply via email to

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