phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.boentity.php, 1.1.1.9


From: nomail
Subject: [Phpgroupware-cvs] property/class.boentity.php, 1.1.1.9
Date: Sun, 23 May 2004 02:24:08 -0000

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

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

Log Message:
no message
=====================================================================
Index: property/class.boentity.php
diff -u property/class.boentity.php:1.1.1.8 property/class.boentity.php:1.1.1.9
--- property/class.boentity.php:1.1.1.8 Fri Apr 30 09:52:25 2004
+++ property/class.boentity.php Fri Apr 30 17:35:56 2004
@@ -42,7 +42,7 @@
 
                        $this->solocation       = 
CreateObject($this->currentapp.'_solocation');
                        $this->bocommon         = 
CreateObject($this->currentapp.'_bocommon');
-                       $this->vfs                      = 
CreateObject('phpgwapi_vfs');
+                       $this->vfs                      = 
CreateObject($this->currentapp.'_vfs');
                        $this->rootdir          = $this->vfs->basedir;
                        $this->fakebase         = $this->vfs->fakebase;
 
@@ -139,7 +139,9 @@
 
                        if(!$selected)
                        {
-                               
$selected=$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]["entity_columns_"
 . $this->entity_id . '_' . $this->cat_id];
+                               $selected = 
unserialize($GLOBALS['phpgw_data']['prefs'][$this->currentapp . 
".entity_columns_" . $this->entity_id . '_' . $this->cat_id]);
+
+//$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.refreshinterval']
                        }
 
                        $columns = 
$soadmin_entity->read_attrib(array('entity_id'=>$entity_id,'cat_id'=>$cat_id,'allrows'=>$allrows));
@@ -279,7 +281,7 @@
                        $contacts                       = 
CreateObject($this->currentapp.'_contacts');
 
                        $entity = $this->so->read_single($data);
-                       $dateformat = 
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+                       $dateformat = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
                        $entity['date']  = 
$this->bocommon->show_date($entity['date'],$dateformat);
 
                        if($entity['location_code'])




reply via email to

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