[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.bodocument.php, 1.1.1.8
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.bodocument.php, 1.1.1.8 |
Date: |
Sun, 23 May 2004 01:25:18 -0000 |
Update of /property
Modified Files:
Branch:
class.bodocument.php
date: 2004/04/30 17:35:55; author: sigurdne; state: Exp; lines: +4 -4
Log Message:
no message
=====================================================================
Index: property/class.bodocument.php
diff -u property/class.bodocument.php:1.1.1.7
property/class.bodocument.php:1.1.1.8
--- property/class.bodocument.php:1.1.1.7 Fri Apr 30 09:52:25 2004
+++ property/class.bodocument.php Fri Apr 30 17:35:55 2004
@@ -43,7 +43,7 @@
$this->contacts =
CreateObject($this->currentapp.'_contacts');
$this->fm_session =
CreateObject($this->currentapp.'_session');
- $this->vfs =
CreateObject('phpgwapi_vfs');
+ $this->vfs =
CreateObject($this->currentapp.'_vfs');
$this->rootdir = $this->vfs->basedir;
$this->fakebase = $this->vfs->fakebase;
@@ -256,7 +256,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($document); $i++)
{
$location_data=$this->solocation->read_single($document[$i]['location_code']);
@@ -277,7 +277,7 @@
'location_code' => $location_code,'doc_type'=>$this->doc_type));
$this->total_records = $this->so->total_records;
- $dateformat =
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+ $dateformat =
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
for ($i=0; $i<count($document); $i++)
{
@@ -292,7 +292,7 @@
function read_single($document_id)
{
$document
= $this->so->read_single($document_id);
- $dateformat
= $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
+ $dateformat
= $GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
$document['document_date'] =
$this->bocommon->show_date($document['document_date'],$dateformat);
$vendor
=
$this->contacts->read_single_entry($document['vendor_id'],array('org_name'=>'org_name','email'=>'email'));
$document['vendor_name'] =
$vendor[0]['org_name'];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.bodocument.php, 1.1.1.8,
nomail <=