phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.11


From: nomail
Subject: [Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.11
Date: Sun, 23 May 2004 06:53:15 -0000

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

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

Log Message:
no message
=====================================================================
Index: property/class.uiwo_hour.php
diff -u property/class.uiwo_hour.php:1.1.1.10 
property/class.uiwo_hour.php:1.1.1.11
--- property/class.uiwo_hour.php:1.1.1.10       Fri Apr 30 17:35:58 2004
+++ property/class.uiwo_hour.php        Sun May  2 12:47:39 2004
@@ -107,7 +107,7 @@
 
                        if (isset($list) AND is_array($list))
                        {
-                               $dateformat                                     
        = $GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
+                               $dateformat                                     
        = $GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
                                foreach($list as $entry)
                                {
                                        $sum_deviation = $sum_deviation + 
$entry['amount'];
@@ -175,7 +175,7 @@
                        $hour_id                = 
$this->bocommon->get_var2('hour_id',array('POST','GET'));
                        $id                             = 
$this->bocommon->get_var2('id',array('POST','GET'));
                        $values                 = 
$this->bocommon->get_var2('values',array('POST','GET'));
-                       $dateformat             = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
+                       $dateformat             = 
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
 
                        $this->bocommon->xsl_add_file(array('wo_hour'));
 
@@ -661,7 +661,7 @@
                                'done_action'                                   
=> 
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uiwo_hour.index&workorder_id='
 . $workorder_id)
                        );
 
-                       $dateformat                                             
= $GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
+                       $dateformat                                             
= $GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
                        $date                                                   
= $this->bocommon->show_date(time(),$dateformat);
 
                        $from_name      =       
$GLOBALS['phpgw_data']['user']['fullname'];
@@ -889,7 +889,7 @@
                                }
                        }
 
-                       $dateformat = 
$GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat'];
+                       $dateformat = 
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
                        $date = $this->bocommon->show_date('',$dateformat);
 
                        // don't want any warnings turning up in the pdf code 
if the server is set to 'anal' mode.




reply via email to

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