[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uipricebook.php, 1.1.1.9
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uipricebook.php, 1.1.1.9 |
Date: |
Sun, 23 May 2004 10:06:14 -0000 |
Update of /property
Modified Files:
Branch:
class.uipricebook.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +26 -26
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uipricebook.php
diff -u property/class.uipricebook.php:1.1.1.8
property/class.uipricebook.php:1.1.1.9
--- property/class.uipricebook.php:1.1.1.8 Mon Apr 26 18:52:25 2004
+++ property/class.uipricebook.php Wed Apr 28 21:15:15 2004
@@ -126,8 +126,8 @@
$links = $this->menu->links('price_vendor');
- $values =
get_var('values',array('POST'));
- $values['date'] = get_var('date',array('POST'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
+ $values['date'] =
$this->bocommon->get_var2('date',array('POST'));
//html_print_r($values);
if($values['submit_update'])
@@ -439,8 +439,8 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=16&acl_location='
. $this->acl2_location);
}
- $agreement_id =
get_var('agreement_id',array('POST','GET'));
- $values =
get_var('values',array('POST','GET'));
+ $agreement_id =
$this->bocommon->get_var2('agreement_id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST','GET'));
if(!$values['cat_id'])
{
@@ -578,11 +578,11 @@
$links = $this->menu->links();
- $cat_id =
get_var('cat_id',array('GET'));
- $activity_id =
get_var('activity_id',array('GET'));
- $vendor_id =
get_var('vendor_id',array('GET'));
- $values =
get_var('values',array('POST'));
- $values['date'] = get_var('date',array('POST'));
+ $cat_id =
$this->bocommon->get_var2('cat_id',array('GET'));
+ $activity_id =
$this->bocommon->get_var2('activity_id',array('GET'));
+ $vendor_id =
$this->bocommon->get_var2('vendor_id',array('GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
+ $values['date'] =
$this->bocommon->get_var2('date',array('POST'));
$referer =
$this->fm_session->appsession('referer',$this->currentapp);
@@ -962,9 +962,9 @@
$links = $this->menu->links('activity');
- $activity_id =
get_var('activity_id',array('GET'));
- $values =
get_var('values',array('POST'));
- $values['vendor_id'] =
get_var('vendor_id',array('POST'));
+ $activity_id =
$this->bocommon->get_var2('activity_id',array('GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
+ $values['vendor_id'] =
$this->bocommon->get_var2('vendor_id',array('POST'));
if($values['add'])
{
@@ -1090,10 +1090,10 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=16&acl_location='
. $this->acl2_location);
}
- $activity_id =
get_var('activity_id',array('POST','GET'));
- $agreement = get_var('agreement',array('GET'));
- $values =
get_var('values',array('POST','GET'));
- $values['ns3420_id']=
get_var('ns3420_id',array('POST','GET'));
+ $activity_id =
$this->bocommon->get_var2('activity_id',array('POST','GET'));
+ $agreement =
$this->bocommon->get_var2('agreement',array('GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST','GET'));
+ $values['ns3420_id']=
$this->bocommon->get_var2('ns3420_id',array('POST','GET'));
if(!$values['cat_id'])
{
@@ -1250,12 +1250,12 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=16&acl_location='
. $this->acl2_location);
}
- $method =
get_var('method',array('GET'));
- $activity_id = get_var('activity_id',array('GET'));
- $vendor_id =
get_var('vendor_id',array('GET'));
- $index_count = get_var('index_count',array('GET'));
- $agreement_id = get_var('agreement_id',array('GET'));
- $confirm =
get_var('confirm',array('POST'));
+ $method =
$this->bocommon->get_var2('method',array('GET'));
+ $activity_id =
$this->bocommon->get_var2('activity_id',array('GET'));
+ $vendor_id =
$this->bocommon->get_var2('vendor_id',array('GET'));
+ $index_count =
$this->bocommon->get_var2('index_count',array('GET'));
+ $agreement_id =
$this->bocommon->get_var2('agreement_id',array('GET'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
if($method=='activity_vendor')
{
@@ -1268,7 +1268,7 @@
$function_msg =lang('delete vendor activity');
$delete_action =
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uipricebook.delete&method='
. $method . '&activity_id=' . $activity_id . '&vendor_id=' . $vendor_id);
- if (get_var('confirm',array('POST')))
+ if
($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete_activity_vendor($activity_id,$vendor_id);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -1284,7 +1284,7 @@
$function_msg =lang('delete activity');
$delete_action =
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uipricebook.delete&method='
. $method . '&activity_id=' . $activity_id);
- if (get_var('confirm',array('POST')))
+ if
($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete_activity($activity_id);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -1302,7 +1302,7 @@
$function_msg =lang('delete prize-index');
$delete_action =
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uipricebook.delete&method='
. $method . '&activity_id=' . $activity_id . '&vendor_id=' . $vendor_id .
'&index_count=' . $index_count);
- if (get_var('confirm',array('POST')))
+ if
($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete_prize_index($activity_id,$vendor_id,$index_count);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -1319,7 +1319,7 @@
$function_msg =lang('Delete agreement and all
the activities associated with it!');
$delete_action =
$this->bocommon->link('/index.php','sid=cookie&op='.$this->currentapp.'.uipricebook.delete&method='
. $method . '&agreement_id=' . $agreement_id . '&start=' . $this->start);
- if (get_var('confirm',array('POST')))
+ if
($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete_agreement($agreement_id);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uipricebook.php, 1.1.1.9,
nomail <=