[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.7 |
Date: |
Sun, 23 May 2004 10:10:54 -0000 |
Update of /property
Modified Files:
Branch:
class.uiwo_hour.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +44 -44
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uiwo_hour.php
diff -u property/class.uiwo_hour.php:1.1.1.6
property/class.uiwo_hour.php:1.1.1.7
--- property/class.uiwo_hour.php:1.1.1.6 Mon Apr 26 12:21:21 2004
+++ property/class.uiwo_hour.php Wed Apr 28 21:15:15 2004
@@ -97,8 +97,8 @@
function deviation()
{
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $hour_id =
get_var('hour_id',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
$this->bocommon->xsl_add_file(array('wo_hour'));
$list =
$this->bo->read_deviation(array('workorder_id'=>$workorder_id,'hour_id'=>$hour_id));
@@ -171,10 +171,10 @@
function edit_deviation()
{
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $hour_id =
get_var('hour_id',array('POST','GET'));
- $id =
get_var('id',array('POST','GET'));
- $values =
get_var('values',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
+ $id =
$this->bocommon->get_var2('id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST','GET'));
$dateformat =
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
$this->bocommon->xsl_add_file(array('wo_hour'));
@@ -435,8 +435,8 @@
$this->bocommon->xsl_add_file(array('wo_hour',
'menu'));
- $values =
get_var('values',array('POST'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
if($values['name'])
{
@@ -497,9 +497,9 @@
$this->bocommon->xsl_add_file(array('wo_hour',
'menu'));
- $delete = get_var('delete',array('POST','GET'));
- $hour_id = get_var('hour_id',array('POST','GET'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
+ $delete =
$this->bocommon->get_var2('delete',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
$links = $this->menu->links();
if($delete && $hour_id)
@@ -584,13 +584,13 @@
$this->bocommon->xsl_add_file(array('wo_hour',
'menu'));
- $show_cost =
get_var('show_cost',array('POST','GET'));
- $show_details =
get_var('show_details',array('POST','GET'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $to_email =
get_var('to_email',array('POST','GET'));
- $update_email =
get_var('update_email',array('POST','GET'));
- $send_order =
get_var('send_order',array('POST','GET'));
- $no_email =
get_var('no_email',array('POST','GET'));
+ $show_cost =
$this->bocommon->get_var2('show_cost',array('POST','GET'));
+ $show_details =
$this->bocommon->get_var2('show_details',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $to_email =
$this->bocommon->get_var2('to_email',array('POST','GET'));
+ $update_email =
$this->bocommon->get_var2('update_email',array('POST','GET'));
+ $send_order =
$this->bocommon->get_var2('send_order',array('POST','GET'));
+ $no_email =
$this->bocommon->get_var2('no_email',array('POST','GET'));
if($update_email)
{
@@ -833,9 +833,9 @@
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
. $this->acl2_location);
}
$GLOBALS['phpgw_info']['flags']['noframework'] = True;
- $show_cost = get_var('show_cost',array('POST','GET'));
- $mark_draft = get_var('mark_draft',array('POST','GET'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
+ $show_cost =
$this->bocommon->get_var2('show_cost',array('POST','GET'));
+ $mark_draft =
$this->bocommon->get_var2('mark_draft',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
$common_data =
$this->common_data($workorder_id);
$values_hour = $common_data['content'];
@@ -968,11 +968,11 @@
'nextmatchs',
'search_field'));
- $delete = get_var('delete',array('POST','GET'));
- $hour_id = get_var('hour_id',array('POST','GET'));
+ $delete =
$this->bocommon->get_var2('delete',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $values = get_var('values',array('POST'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
//html_print_r($values);
if($delete && $hour_id)
@@ -1166,13 +1166,13 @@
'nextmatchs',
'search_field'));
- $delete = get_var('delete',array('POST','GET'));
- $hour_id = get_var('hour_id',array('POST','GET'));
+ $delete =
$this->bocommon->get_var2('delete',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $template_id =
get_var('template_id',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $template_id =
$this->bocommon->get_var2('template_id',array('POST','GET'));
- $values = get_var('values',array('POST'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
//html_print_r($values);
if($delete && $hour_id)
@@ -1389,14 +1389,14 @@
{
$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'));
- $template_id =
get_var('template_id',array('POST','GET'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $activity_id =
get_var('activity_id',array('POST','GET'));
- $hour_id =
get_var('hour_id',array('POST','GET'));
- $values =
get_var('values',array('POST','GET'));
- $values['ns3420_id'] =
get_var('ns3420_id',array('POST','GET'));
- $values['ns3420_descr'] =
get_var('ns3420_descr',array('POST','GET'));
+ $from =
$this->bocommon->get_var2('from',array('POST','GET'));
+ $template_id =
$this->bocommon->get_var2('template_id',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $activity_id =
$this->bocommon->get_var2('activity_id',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST','GET'));
+ $values['ns3420_id'] =
$this->bocommon->get_var2('ns3420_id',array('POST','GET'));
+ $values['ns3420_descr'] =
$this->bocommon->get_var2('ns3420_descr',array('POST','GET'));
//html_print_r($workorder);
@@ -1561,11 +1561,11 @@
{
$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'));
- $workorder_id =
get_var('workorder_id',array('POST','GET'));
- $hour_id =
get_var('hour_id',array('POST','GET'));
- $deviation_id =
get_var('deviation_id',array('POST','GET'));
- $confirm =
get_var('confirm',array('POST'));
+ $id =
$this->bocommon->get_var2('id',array('POST','GET'));
+ $workorder_id =
$this->bocommon->get_var2('workorder_id',array('POST','GET'));
+ $hour_id =
$this->bocommon->get_var2('hour_id',array('POST','GET'));
+ $deviation_id =
$this->bocommon->get_var2('deviation_id',array('POST','GET'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
if($deviation_id)
@@ -1600,7 +1600,7 @@
$function_msg
= lang('delete hour');
}
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
if($deviation_id)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uiwo_hour.php, 1.1.1.7,
nomail <=