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.9


From: nomail
Subject: [Phpgroupware-cvs] property/class.uientity.php, 1.1.1.9
Date: Sun, 23 May 2004 13:24:18 -0000

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

date: 2004/04/30 17:35:57;  author: sigurdne;  state: Exp;  lines: +4 -8

Log Message:
no message
=====================================================================
Index: property/class.uientity.php
diff -u property/class.uientity.php:1.1.1.8 property/class.uientity.php:1.1.1.9
--- property/class.uientity.php:1.1.1.8 Fri Apr 30 09:52:25 2004
+++ property/class.uientity.php Fri Apr 30 17:35:57 2004
@@ -162,11 +162,7 @@
 
                        if ($values['save'] && $this->cat_id)
                        {
-                               
$GLOBALS['phpgw']->preferences->account_id=$this->account;
-                               
$GLOBALS['phpgw']->preferences->read_repository();
-                               
$GLOBALS['phpgw']->preferences->add($this->currentapp,"entity_columns_" . 
$this->entity_id . '_' . $this->cat_id,$values['columns'],'user');
-                               
$GLOBALS['phpgw']->preferences->save_repository();
-
+                               $GLOBALS['phpgw']->prefs->set($this->currentapp 
. '.entity_columns_' . $this->entity_id . '_' . 
$this->cat_id,serialize($values['columns']),$this->account);
                                $receipt['message'][] = array('msg' => 
lang('columns is updated'));
                        }
 
@@ -438,7 +434,7 @@
                                'links'                                         
        => $links,
                                'allow_allrows'                                 
=> false,
                                'start_record'                                  
=> $this->start,
-                               'record_limit'                                  
=> 15, //$GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'],
+                               'record_limit'                                  
=> 15, //$GLOBALS['phpgw_data']['user']['preferences']['common']['maxmatchs'],
                                'num_records'                                   
=> count($entity_list),
                                'all_records'                                   
=> $this->bo->total_records,
                                'link_url'                                      
        => $this->bocommon->link('/index.php',$link_data),
@@ -770,7 +766,7 @@
                                'cat_id'                => $this->cat_id
                        );
 
-                       $dateformat = 
strtolower($GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
+                       $dateformat = 
strtolower($GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
                        $sep = '/';
                        $dlarr[strpos($dateformat,'y')] = 'yyyy';
                        $dlarr[strpos($dateformat,'m')] = 'MM';
@@ -1013,7 +1009,7 @@
                                'cat_id'                => $this->cat_id
                        );
 
-                       $dateformat = 
strtolower($GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
+                       $dateformat = 
strtolower($GLOBALS['phpgw_data']['user']['preferences']['common']['dateformat']);
                        $sep = '/';
                        $dlarr[strpos($dateformat,'y')] = 'yyyy';
                        $dlarr[strpos($dateformat,'m')] = 'MM';




reply via email to

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