[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.12
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.12 |
Date: |
Sun, 23 May 2004 02:18:25 -0000 |
Update of /property
Modified Files:
Branch:
class.uilocation.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +23 -23
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uilocation.php
diff -u property/class.uilocation.php:1.1.1.11
property/class.uilocation.php:1.1.1.12
--- property/class.uilocation.php:1.1.1.11 Tue Apr 27 11:47:49 2004
+++ property/class.uilocation.php Wed Apr 28 21:15:15 2004
@@ -99,10 +99,10 @@
require('PEAR.php');
$xls =
CreateObject($this->currentapp.'_excel');
- $type_id =
get_var('type_id',array('GET'));
- $lookup =
get_var('lookup',array('POST','GET'));
- $lookup_name =
get_var('lookup_name',array('POST','GET'));
- $lookup_tenant =
get_var('lookup_tenant',array('POST','GET'));
+ $type_id =
$this->bocommon->get_var2('type_id',array('GET'));
+ $lookup =
$this->bocommon->get_var2('lookup',array('POST','GET'));
+ $lookup_name =
$this->bocommon->get_var2('lookup_name',array('POST','GET'));
+ $lookup_tenant =
$this->bocommon->get_var2('lookup_tenant',array('POST','GET'));
$location_list =
$this->bo->read(array('type_id'=>$type_id,'lookup_tenant'=>$lookup_tenant,'lookup'=>$lookup,'allrows'=>True));
$uicols = $this->bo->uicols;
@@ -169,10 +169,10 @@
$GLOBALS['phpgw']->add_xsl('property.search_field');
- $type_id =
get_var('type_id',array('GET'));
- $lookup =
get_var('lookup',array('POST','GET'));
- $lookup_name =
get_var('lookup_name',array('POST','GET'));
- $lookup_tenant =
get_var('lookup_tenant',array('POST','GET'));
+ $type_id =
$this->bocommon->get_var2('type_id',array('GET'));
+ $lookup =
$this->bocommon->get_var2('lookup',array('POST','GET'));
+ $lookup_name =
$this->bocommon->get_var2('lookup_name',array('POST','GET'));
+ $lookup_tenant =
$this->bocommon->get_var2('lookup_tenant',array('POST','GET'));
if(!$type_id)
{
@@ -494,9 +494,9 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=2&acl_location='
. $this->acl2_location);
}
- $lookup_tenant =
get_var('lookup_tenant',array('POST','GET'));
- $location_code =
get_var('location_code',array('POST','GET'));
- $values_attribute =
get_var('values_attribute',array('POST','GET'));
+ $lookup_tenant =
$this->bocommon->get_var2('lookup_tenant',array('POST','GET'));
+ $location_code =
$this->bocommon->get_var2('location_code',array('POST','GET'));
+ $values_attribute =
$this->bocommon->get_var2('values_attribute',array('POST','GET'));
$location = split('-',$location_code);
$insert_record =
$this->fm_session->appsession('insert_record',$this->currentapp);
@@ -515,7 +515,7 @@
}
}
- $type_id =
get_var('type_id',array('GET'));
+ $type_id =
$this->bocommon->get_var2('type_id',array('GET'));
if($location_code)
{
@@ -916,11 +916,11 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=8&acl_location='
. $this->acl2_location);
}
- $location_code =
get_var('location_code',array('GET'));
- $type_id =
get_var('type_id',array('GET',POST));
+ $location_code =
$this->bocommon->get_var2('location_code',array('GET'));
+ $type_id =
$this->bocommon->get_var2('type_id',array('GET',POST));
- $confirm = get_var('confirm',array('POST'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
$link_data = array
(
@@ -928,7 +928,7 @@
'type_id' =>$type_id
);
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete($location_code);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -962,11 +962,11 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
. $this->acl2_location);
}
- $lookup_tenant =
get_var('lookup_tenant',array('POST','GET'));
- $location_code =
get_var('location_code',array('POST','GET'));
+ $lookup_tenant =
$this->bocommon->get_var2('lookup_tenant',array('POST','GET'));
+ $location_code =
$this->bocommon->get_var2('location_code',array('POST','GET'));
$location = split('-',$location_code);
- $type_id =
get_var('type_id',array('GET'));
+ $type_id =
$this->bocommon->get_var2('type_id',array('GET'));
if($location_code)
{
@@ -1223,14 +1223,14 @@
$this->menu->sub ='admin';
$this->menu->links();
- $confirm = get_var('confirm',array('POST'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
$link_data = array
(
'sid=cookie&op' =>
$this->currentapp.'.uilocation.index'
);
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
$receipt= $this->bo->update_cat();
$lang_confirm_msg = lang('Do you really want to
update the categories again');
@@ -1267,8 +1267,8 @@
function stop()
{
- $perm =
get_var('perm',array('POST','GET'));
- $location =
get_var('acl_location',array('POST','GET'));
+ $perm =
$this->bocommon->get_var2('perm',array('POST','GET'));
+ $location =
$this->bocommon->get_var2('acl_location',array('POST','GET'));
$right =
array(1=>'read',2=>'add',4=>'edit',8=>'delete',16=>'manage');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uilocation.php, 1.1.1.12,
nomail <=