phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uiproject.php, 1.1.1.12


From: nomail
Subject: [Phpgroupware-cvs] property/class.uiproject.php, 1.1.1.12
Date: Sun, 23 May 2004 15:51:47 -0000

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

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

Log Message:
no message
=====================================================================
Index: property/class.uiproject.php
diff -u property/class.uiproject.php:1.1.1.11 
property/class.uiproject.php:1.1.1.12
--- property/class.uiproject.php:1.1.1.11       Fri Apr 30 17:35:57 2004
+++ property/class.uiproject.php        Sun May  2 12:47:39 2004
@@ -452,7 +452,7 @@
                        $appname                = lang('project');
 
 
-                       $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';
@@ -463,7 +463,7 @@
 
                        if(!$values['end_date'])
                        {
-                               $values['end_date'] = 
$this->bocommon->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
+                               $values['end_date'] = 
$this->bocommon->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$GLOBALS['phpgw_data']['prefs'][$this->currentapp
 . '.dateformat']);
                        }
 
                        $cal_info       = $this->bocommon->jscalendar();
@@ -823,7 +823,7 @@
 
                        if(!$values['start_date'])
                        {
-                               $values['start_date'] = 
$this->bocommon->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
+                               $values['start_date'] = 
$this->bocommon->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$GLOBALS['phpgw_data']['prefs'][$this->currentapp
 . '.dateformat']);
                        }
 
                        if($receipt)




reply via email to

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