[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uirequest.php, 1.1.1.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uirequest.php, 1.1.1.7 |
Date: |
Sun, 23 May 2004 15:32:32 -0000 |
Update of /property
Modified Files:
Branch:
class.uirequest.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +17 -17
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uirequest.php
diff -u property/class.uirequest.php:1.1.1.6
property/class.uirequest.php:1.1.1.7
--- property/class.uirequest.php:1.1.1.6 Mon Apr 26 17:02:33 2004
+++ property/class.uirequest.php Wed Apr 28 21:15:15 2004
@@ -96,7 +96,7 @@
'nextmatchs',
'search_field'));
- $project_id =
get_var('project_id',array('POST','GET')); // lookup for maintenance planning
+ $project_id =
$this->bocommon->get_var2('project_id',array('POST','GET')); // lookup for
maintenance planning
if($project_id)
{
@@ -383,7 +383,7 @@
}
$this->bocommon->xsl_add_file(array('request'));
$GLOBALS['phpgw_info']['flags']['headonly']=true;
- $values = get_var('values',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST','GET'));
if($values['update'])
{
@@ -432,8 +432,8 @@
{
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=2&acl_location='
. $this->acl2_location);
}
- $id =
get_var('id',array('POST','GET'));
- $values =
get_var('values',array('POST'));
+ $id =
$this->bocommon->get_var2('id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
$insert_record =
$this->fm_session->appsession('insert_record',$this->currentapp);
$insert_record_entity =
$this->fm_session->appsession('insert_record_entity',$this->currentapp);
@@ -445,7 +445,7 @@
$this->bocommon->xsl_add_file(array('request'));
- $bypass =
get_var('bypass',array('POST','GET'));
+ $bypass =
$this->bocommon->get_var2('bypass',array('POST','GET'));
if($_POST && !$bypass)
{
@@ -471,15 +471,15 @@
}
else
{
- $location_code =
get_var('location_code',array('POST','GET'));
- $tenant_id
= get_var('tenant_id',array('POST','GET'));
- $ticket_id
= get_var('ticket_id',array('POST','GET'));
+ $location_code =
$this->bocommon->get_var2('location_code',array('POST','GET'));
+ $tenant_id
= $this->bocommon->get_var2('tenant_id',array('POST','GET'));
+ $ticket_id
= $this->bocommon->get_var2('ticket_id',array('POST','GET'));
- $p_entity_id =
get_var('p_entity_id',array('POST','GET'));
- $p_cat_id =
get_var('p_cat_id',array('POST','GET'));
+ $p_entity_id =
$this->bocommon->get_var2('p_entity_id',array('POST','GET'));
+ $p_cat_id =
$this->bocommon->get_var2('p_cat_id',array('POST','GET'));
$values['p'][$p_entity_id]['p_entity_id']
= $p_entity_id;
$values['p'][$p_entity_id]['p_cat_id']
= $p_cat_id;
- $values['p'][$p_entity_id]['p_num']
= get_var('p_num',array('POST','GET'));
+ $values['p'][$p_entity_id]['p_num']
= $this->bocommon->get_var2('p_num',array('POST','GET'));
if($p_entity_id && $p_cat_id)
{
@@ -501,8 +501,8 @@
}
- $values['start_date'] =
get_var('start_date',array('POST'));
- $values['end_date'] =
get_var('end_date',array('POST'));
+ $values['start_date'] =
$this->bocommon->get_var2('start_date',array('POST'));
+ $values['end_date'] =
$this->bocommon->get_var2('end_date',array('POST'));
//html_print_r($values);
$this->config->read_repository();
@@ -870,15 +870,15 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=8&acl_location='
. $this->acl2_location);
}
- $id = get_var('id',array('POST','GET'));
- $confirm = get_var('confirm',array('POST'));
+ $id =
$this->bocommon->get_var2('id',array('POST','GET'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
$link_data = array
(
'sid=cookie&op' =>
$this->currentapp.'.uirequest.index'
);
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete($id);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -911,7 +911,7 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
. $this->acl2_location);
}
- $id =
get_var('id',array('POST','GET'));
+ $id =
$this->bocommon->get_var2('id',array('POST','GET'));
$this->bocommon->xsl_add_file(array('request'));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uirequest.php, 1.1.1.7,
nomail <=