phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/class.uidrawing.php, 1.1.1.7


From: nomail
Subject: [Phpgroupware-cvs] property/class.uidrawing.php, 1.1.1.7
Date: Sun, 23 May 2004 07:35:45 -0000

Update of /property
Modified Files:
        Branch: 
          class.uidrawing.php

date: 2004/04/28 21:15:15;  author: sigurdne;  state: Exp;  lines: +14 -14

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uidrawing.php
diff -u property/class.uidrawing.php:1.1.1.6 
property/class.uidrawing.php:1.1.1.7
--- property/class.uidrawing.php:1.1.1.6        Mon Apr 26 17:02:32 2004
+++ property/class.uidrawing.php        Wed Apr 28 21:15:15 2004
@@ -369,7 +369,7 @@
                        }
 
                        $GLOBALS['phpgw_info']['flags']['noframework'] = True;
-                       $drawing_id             = 
get_var('drawing_id',array('POST','GET'));
+                       $drawing_id             = 
$this->bocommon->get_var2('drawing_id',array('POST','GET'));
                        $values = $this->bo->read_single($drawing_id);
 
                        $file = $this->fakebase. SEP . 'drawing'. SEP . 
$values['drawing_name'];
@@ -411,8 +411,8 @@
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=2&acl_location='
 . $this->acl2_location);
                        }
 
-                       $drawing_id             = 
get_var('drawing_id',array('POST','GET'));
-                       $values                         = 
get_var('values',array('POST'));
+                       $drawing_id             = 
$this->bocommon->get_var2('drawing_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);
 
@@ -426,8 +426,8 @@
                        $this->bo->create_home_dir();
 
 
-                       $values['drawing_date']         = 
get_var('drawing_date',array('POST'));
-                       $values['vendor_id']            = 
get_var('vendor_id',array('POST'));
+                       $values['drawing_date']         = 
$this->bocommon->get_var2('drawing_date',array('POST'));
+                       $values['vendor_id']            = 
$this->bocommon->get_var2('vendor_id',array('POST'));
 
 //html_print_r($values);
 
@@ -673,15 +673,15 @@
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=8&acl_location='
 . $this->acl2_location);
                        }
 
-                       $drawing_id = get_var('drawing_id',array('POST','GET'));
-                       $confirm        = get_var('confirm',array('POST'));
+                       $drawing_id = 
$this->bocommon->get_var2('drawing_id',array('POST','GET'));
+                       $confirm        = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        $link_data = array
                        (
                                'sid=cookie&op' => 
$this->currentapp.'.uidrawing.index'
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($drawing_id);
                                Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));
@@ -714,8 +714,8 @@
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
 . $this->acl2_location);
                        }
 
-                       $drawing_id             = 
get_var('drawing_id',array('POST','GET'));
-                       $values                         = 
get_var('values',array('POST'));
+                       $drawing_id             = 
$this->bocommon->get_var2('drawing_id',array('POST','GET'));
+                       $values                         = 
$this->bocommon->get_var2('values',array('POST'));
 
                        $this->bocommon->xsl_add_file(array('drawing'));
 
@@ -725,8 +725,8 @@
                        }
                        else
                        {
-                               $location_code                          = 
get_var('location_code',array('POST','GET'));
-                               $values['descr']                        = 
get_var('descr',array('POST','GET'));
+                               $location_code                          = 
$this->bocommon->get_var2('location_code',array('POST','GET'));
+                               $values['descr']                        = 
$this->bocommon->get_var2('descr',array('POST','GET'));
 
                                if($location_code)
                                {
@@ -736,8 +736,8 @@
                                }
                        }
 
-                       $values['drawing_date']         = 
get_var('drawing_date',array('POST'));
-                       $values['vendor_id']            = 
get_var('vendor_id',array('POST'));
+                       $values['drawing_date']         = 
$this->bocommon->get_var2('drawing_date',array('POST'));
+                       $values['vendor_id']            = 
$this->bocommon->get_var2('vendor_id',array('POST'));
 
 //html_print_r($values);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]