phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.16


From: nomail
Subject: [Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.16
Date: Sun, 23 May 2004 17:23:40 -0000

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

date: 2004/05/02 12:47:38;  author: sigurdne;  state: Exp;  lines: +4 -4

Log Message:
no message
=====================================================================
Index: property/class.uilocation.php
diff -u property/class.uilocation.php:1.1.1.15 
property/class.uilocation.php:1.1.1.16
--- property/class.uilocation.php:1.1.1.15      Fri Apr 30 17:35:57 2004
+++ property/class.uilocation.php       Sun May  2 12:47:38 2004
@@ -659,7 +659,7 @@
 
                        $contacts                       = 
CreateObject($this->currentapp.'_contacts');
 
-                       $dateformat = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
+                       $dateformat = 
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
                        $sep = '/';
                        $dlarr[strpos($dateformat,'Y')] = 'Y';
                        $dlarr[strpos($dateformat,'m')] = 'm';
@@ -794,7 +794,7 @@
                        
$this->fm_session->appsession('insert_record',$this->currentapp,$insert_record);
 
 
-                       $dateformat = 
strtolower($GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
+                       $dateformat = 
strtolower($GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat']);
                        $sep = '/';
                        $dlarr[strpos($dateformat,'y')] = 'yyyy';
                        $dlarr[strpos($dateformat,'m')] = 'MM';
@@ -1012,7 +1012,7 @@
 
                        $contacts                       = 
CreateObject($this->currentapp.'_contacts');
 
-                       $dateformat = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
+                       $dateformat = 
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
                        $sep = '/';
                        $dlarr[strpos($dateformat,'Y')] = 'Y';
                        $dlarr[strpos($dateformat,'m')] = 'm';
@@ -1132,7 +1132,7 @@
                                }
                        }
 
-                       $dateformat = 
strtolower($GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
+                       $dateformat = 
strtolower($GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat']);
                        $sep = '/';
                        $dlarr[strpos($dateformat,'y')] = 'yyyy';
                        $dlarr[strpos($dateformat,'m')] = 'MM';




reply via email to

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