[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uidocument.php, 1.1.1.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uidocument.php, 1.1.1.7 |
Date: |
Sun, 23 May 2004 12:14:48 -0000 |
Update of /property
Modified Files:
Branch:
class.uidocument.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +25 -25
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uidocument.php
diff -u property/class.uidocument.php:1.1.1.6
property/class.uidocument.php:1.1.1.7
--- property/class.uidocument.php:1.1.1.6 Mon Apr 26 17:02:31 2004
+++ property/class.uidocument.php Wed Apr 28 21:15:15 2004
@@ -102,10 +102,10 @@
'nextmatchs',
'search_field'));
- $entity_id = get_var('entity_id',array('POST','GET'));
+ $entity_id =
$this->bocommon->get_var2('entity_id',array('POST','GET'));
$links = $this->menu->links('document_'.$entity_id);
- $preserve =
get_var('preserve',array('POST','GET'));
+ $preserve =
$this->bocommon->get_var2('preserve',array('POST','GET'));
if($preserve)
{
@@ -334,7 +334,7 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
. $this->acl2_location);
}
- $preserve =
get_var('preserve',array('POST','GET'));
+ $preserve =
$this->bocommon->get_var2('preserve',array('POST','GET'));
if($preserve)
{
@@ -360,8 +360,8 @@
$receipt =
$this->fm_session->appsession('session_data','document_receipt');
$this->fm_session->appsession('session_data','document_receipt','');
- $location_code =
get_var('location_code',array('POST','GET'));
- $p_num = get_var('p_num',array('POST','GET'));
+ $location_code =
$this->bocommon->get_var2('location_code',array('POST','GET'));
+ $p_num =
$this->bocommon->get_var2('p_num',array('POST','GET'));
$location=$this->bo->read_location_data($location_code);
@@ -581,8 +581,8 @@
}
$GLOBALS['phpgw_info']['flags']['noframework'] = True;
- $document_id =
get_var('document_id',array('POST','GET'));
- $p_num = get_var('p_num',array('POST','GET'));
+ $document_id =
$this->bocommon->get_var2('document_id',array('POST','GET'));
+ $p_num =
$this->bocommon->get_var2('p_num',array('POST','GET'));
$values = $this->bo->read_single($document_id);
@@ -638,10 +638,10 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=2&acl_location='
. $this->acl2_location);
}
- $from =
get_var('from',array('POST','GET'));
- $document_id =
get_var('document_id',array('POST','GET'));
-// $location_code =
get_var('location_code',array('POST','GET'));
- $values =
get_var('values',array('POST'));
+ $from =
$this->bocommon->get_var2('from',array('POST','GET'));
+ $document_id =
$this->bocommon->get_var2('document_id',array('POST','GET'));
+// $location_code =
$this->bocommon->get_var2('location_code',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);
@@ -656,7 +656,7 @@
}
$this->bocommon->xsl_add_file(array('document'));
- $bypass =
get_var('bypass',array('POST','GET'));
+ $bypass =
$this->bocommon->get_var2('bypass',array('POST','GET'));
$receipt = $this->bo->create_home_dir();
@@ -685,12 +685,12 @@
}
else
{
- $location_code =
get_var('location_code',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'));
+ $location_code =
$this->bocommon->get_var2('location_code',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'));
$values['p_entity_id']=$p_entity_id;
$values['p_cat_id']=$p_cat_id;
@@ -726,8 +726,8 @@
if ($values['save'])
{
- $values['document_date'] =
get_var('document_date',array('POST'));
- $values['vendor_id'] =
get_var('vendor_id',array('POST'));
+ $values['document_date'] =
$this->bocommon->get_var2('document_date',array('POST'));
+ $values['vendor_id'] =
$this->bocommon->get_var2('vendor_id',array('POST'));
if(!$values['link'])
{
@@ -986,10 +986,10 @@
$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('POST','GET'));
- $p_num = get_var('p_num',array('POST','GET'));
- $document_id =
get_var('document_id',array('POST','GET'));
- $confirm = get_var('confirm',array('POST'));
+ $location_code =
$this->bocommon->get_var2('location_code',array('POST','GET'));
+ $p_num =
$this->bocommon->get_var2('p_num',array('POST','GET'));
+ $document_id =
$this->bocommon->get_var2('document_id',array('POST','GET'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
$link_data = array
(
@@ -998,7 +998,7 @@
'p_num' => $p_num
);
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete($document_id);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -1032,8 +1032,8 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
. $this->acl2_location);
}
- $from =
get_var('from',array('POST','GET'));
- $document_id =
get_var('document_id',array('POST','GET'));
+ $from =
$this->bocommon->get_var2('from',array('POST','GET'));
+ $document_id =
$this->bocommon->get_var2('document_id',array('POST','GET'));
if(!$from)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uidocument.php, 1.1.1.7,
nomail <=