phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.uientity.php, 1.1.1.11
Date: Sun, 23 May 2004 01:51:39 -0000

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

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

Log Message:
no message
=====================================================================
Index: property/class.uientity.php
diff -u property/class.uientity.php:1.1.1.10 
property/class.uientity.php:1.1.1.11
--- property/class.uientity.php:1.1.1.10        Sat May  1 20:00:28 2004
+++ property/class.uientity.php Sun May  2 12:47:37 2004
@@ -504,7 +504,6 @@
                        {
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=2&acl_location='
 . $this->acl2_location);
                        }
-
                        $config         = 
CreateObject($this->currentapp.'_config',$this->currentapp);
                        $bolocation                     = 
CreateObject($this->currentapp.'_bolocation');
 
@@ -634,6 +633,7 @@
 
                                if(!$receipt['error'])
                                {
+//html_print_r($values_attribute);
                                        $receipt = 
$this->bo->save($values,$values_attribute,$action,$this->entity_id,$this->cat_id);
                                        $id = $values['id'];
                                        $function_msg = lang('edit entity');
@@ -766,7 +766,7 @@
                                'cat_id'                => $this->cat_id
                        );
 
-                       $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';
@@ -881,7 +881,7 @@
                        );
 
                        $appname                = $entity['name'];
-//html_print_r($attributes_values);
+//html_print_r($data);
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        return array('edit' => $data);
                }
@@ -1009,7 +1009,7 @@
                                'cat_id'                => $this->cat_id
                        );
 
-                       $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]