phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.18


From: nomail
Subject: [Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.18
Date: Sun, 23 May 2004 08:30:52 -0000

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

date: 2004/05/05 07:13:28;  author: sigurdne;  state: Exp;  lines: +6 -19

Log Message:
no message
=====================================================================
Index: property/class.bocommon.php
diff -u property/class.bocommon.php:1.1.1.17 
property/class.bocommon.php:1.1.1.18
--- property/class.bocommon.php:1.1.1.17        Mon May  3 09:35:12 2004
+++ property/class.bocommon.php Wed May  5 07:13:28 2004
@@ -67,18 +67,6 @@
 
                        }
 
-       /*              if 
($GLOBALS['phpgw_data']['server']['db_type']=='mssql')
-                       {
-                               $this->dateformat               = "M d Y";
-                               $this->datetimeformat   = "M d Y g:iA";
-                       }
-                       else
-                       {
-                               $this->dateformat               = "Y-m-d";
-                               $this->datetimeformat   = "Y-m-d G:i:s";
-                       }
-       */
-
                }
 
                function jscalendar()
@@ -86,7 +74,11 @@
                        $phpgw_js_url = 
dirname($GLOBALS['HTTP_SERVER_VARS']['PHP_SELF']).'/api/skins/default';
                        $img = $phpgw_js_url.'/images/calendar_popup.png';
                        $dateformat = 
$GLOBALS['phpgw_data']['prefs'][$this->currentapp . '.dateformat'];
-                       $jsDateFormat = '%B %e, %Y';//str_replace(array('d', 
'm', 'M', 'Y'), array('%d', '%m', '%b', '%Y'), $dateformat);
+//                     $jsDateFormat = '%d/%m/%Y';
+
+                       $jsDateFormat = str_replace(array('d', 'm', 'M', 'Y'), 
array('%d', '%m', '%b', '%Y'), $dateformat);
+
+//html_print_r($jsDateFormat);
 /*
                        $GLOBALS['phpgw_info']['flags']['java_script'] 
.='</script>
                        <link rel="stylesheet" type="text/css" media="all" 
href="'.$phpgw_js_url.'/jscalendar/calendar-win2k-cold-1.css" 
title="win2k-cold-1" >
@@ -140,7 +132,6 @@
                                {
 
                                        
$GLOBALS['msgbox']->add($errors['msg'],'warning');
-//                                     $msgbox_data_error += 
array($errors['msg']=> False);
                                }
                        }
 
@@ -151,13 +142,9 @@
                                foreach($receipt['message'] as $messages)
                                {
                                        
$GLOBALS['msgbox']->add($messages['msg'],'notice');
-//                                     $msgbox_data_message += 
array($messages['msg']=> True);
                                }
                        }
 
-//                     $msgbox_data = $msgbox_data_error + 
$msgbox_data_message;
-
-//                     return $msgbox_data;
                }
 
                function moneyformat($amount)




reply via email to

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