phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uigab.php, 1.1.1.5


From: nomail
Subject: [Phpgroupware-cvs] property/class.uigab.php, 1.1.1.5
Date: Sun, 23 May 2004 10:18:31 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uigab.php
diff -u property/class.uigab.php:1.1.1.4 property/class.uigab.php:1.1.1.5
--- property/class.uigab.php:1.1.1.4    Sat Apr 24 19:39:54 2004
+++ property/class.uigab.php    Wed Apr 28 21:15:15 2004
@@ -95,12 +95,12 @@
                                                                                
'menu',
                                                                                
'nextmatchs'));
 
-                       $location_code          = 
get_var('location_code',array('POST','GET'));
-                       $gaards_nr              = 
get_var('gaards_nr',array('POST','GET'));
-                       $bruksnr                = 
get_var('bruksnr',array('POST','GET'));
-                       $feste_nr               = 
get_var('feste_nr',array('POST','GET'));
-                       $seksjons_nr            = 
get_var('seksjons_nr',array('POST','GET'));
-                       $reset_query            = 
get_var('reset_query',array('POST','GET'));
+                       $location_code          = 
$this->bocommon->get_var2('location_code',array('POST','GET'));
+                       $gaards_nr              = 
$this->bocommon->get_var2('gaards_nr',array('POST','GET'));
+                       $bruksnr                = 
$this->bocommon->get_var2('bruksnr',array('POST','GET'));
+                       $feste_nr               = 
$this->bocommon->get_var2('feste_nr',array('POST','GET'));
+                       $seksjons_nr            = 
$this->bocommon->get_var2('seksjons_nr',array('POST','GET'));
+                       $reset_query            = 
$this->bocommon->get_var2('reset_query',array('POST','GET'));
 
                        if($reset_query)
                        {
@@ -291,7 +291,7 @@
                                                                                
'menu',
                                                                                
'nextmatchs'));
 
-                       $gab_id                 = 
get_var('gab_id',array('POST','GET'));
+                       $gab_id                 = 
$this->bocommon->get_var2('gab_id',array('POST','GET'));
 
                        $links = $this->menu->links('gab');
 
@@ -513,11 +513,11 @@
                                
$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'));
-                       $new                    = 
get_var('new',array('POST','GET'));
-                       $gab_id                 = 
get_var('gab_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'));
+                       $new                    = 
$this->bocommon->get_var2('new',array('POST','GET'));
+                       $gab_id                 = 
$this->bocommon->get_var2('gab_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);
 
                        $this->bocommon->xsl_add_file(array('gab'));
@@ -685,9 +685,9 @@
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=8&acl_location='
 . $this->acl2_location);
                        }
 
-                       $gab_id = get_var('gab_id',array('POST','GET'));
-                       $location_code = 
get_var('location_code',array('POST','GET'));
-                       $confirm        = get_var('confirm',array('POST'));
+                       $gab_id = 
$this->bocommon->get_var2('gab_id',array('POST','GET'));
+                       $location_code = 
$this->bocommon->get_var2('location_code',array('POST','GET'));
+                       $confirm        = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        $link_data = array
                        (
@@ -695,7 +695,7 @@
                                        'gab_id' => $gab_id
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($gab_id,$location_code);
                                Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));
@@ -728,8 +728,8 @@
                                
$this->bocommon->redirect_link('/index.php','sid=cookie&op='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
 . $this->acl2_location);
                        }
 
-                       $gab_id                 = 
get_var('gab_id',array('POST','GET'));
-                       $location_code  = 
get_var('location_code',array('POST','GET'));
+                       $gab_id                 = 
$this->bocommon->get_var2('gab_id',array('POST','GET'));
+                       $location_code  = 
$this->bocommon->get_var2('location_code',array('POST','GET'));
 
                        $this->bocommon->xsl_add_file(array('gab'));
 




reply via email to

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