phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.8


From: nomail
Subject: [Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.8
Date: Fri, 21 May 2004 20:18:49 -0000

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

date: 2004/04/26 12:21:07;  author: sigurdne;  state: Exp;  lines: +4 -6

Log Message:
no message
=====================================================================
Index: property/class.uilocation.php
diff -u property/class.uilocation.php:1.1.1.7 
property/class.uilocation.php:1.1.1.8
--- property/class.uilocation.php:1.1.1.7       Mon Apr 26 08:00:00 2004
+++ property/class.uilocation.php       Mon Apr 26 12:21:07 2004
@@ -104,9 +104,7 @@
                        $lookup_name    = 
get_var('lookup_name',array('POST','GET'));
                        $lookup_tenant  = 
get_var('lookup_tenant',array('POST','GET'));
 
-               //      $location_list = 
$this->bo->read($type_id,$lookup_tenant,$allrows=true);
                        $location_list = 
$this->bo->read(array('type_id'=>$type_id,'lookup_tenant'=>$lookup_tenant,'lookup'=>$lookup,'allrows'=>True));
-
                        $uicols = $this->bo->uicols;
                        $count_uicols_name=count($uicols['name']);
 
@@ -139,12 +137,12 @@
                                        }
                                }
 
-                          $filename= 
$GLOBALS['phpgw_info']['user']['account_lid'].'.xls';
+                          $filename= 
$GLOBALS['phpgw_data']['user']['lid'].'.xls';
 
                                $str.=$xls->EOF();
                                $size=strlen($str);
 
-                               $browser = CreateObject('phpgwapi_browser');
+                               $browser = 
CreateObject($this->currentapp.'_browser');
                                
$browser->content_header($filename,'application/vnd.ms-excel',$size);
 
                                echo $str;
@@ -414,7 +412,7 @@
                                'function_exchange_values'              => 
$function_exchange_values,
                                'lang_select'                                   
=> lang('select'),
                                'lookup'                                        
        => $lookup,
-                               'overlib_source'                                
=> './'.$this->currentapp.'/inc/overlib.js',
+                               'overlib_source'                                
=> './'.$this->currentapp.'/overlib.js',
                                'lang_property_name'                    => 
lang('Property name'),
                                'links'                                         
        => $links,
                                'allow_allrows'                                 
=> false,
@@ -873,7 +871,7 @@
                                'dateformat_validate'                   => 
$dateformat_validate,
                                'onKeyUp'                                       
        => $onKeyUp,
                                'onBlur'                                        
        => $onBlur,
-                               'dateformat_source'                             
=> './'.$this->currentapp.'/inc/dateformat.js',
+                               'dateformat_source'                             
=> './'.$this->currentapp.'/dateformat.js',
                                'street_link'                                   
=> 
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uilookup.street'),
                                'lang_street'                                   
=> lang('Street'),
                                'lang_select_street_help'               => 
lang('Select the street name'),




reply via email to

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