phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.uistandard_2.php, 1.1.1.7
Date: Sun, 23 May 2004 02:47:18 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uistandard_2.php
diff -u property/class.uistandard_2.php:1.1.1.6 
property/class.uistandard_2.php:1.1.1.7
--- property/class.uistandard_2.php:1.1.1.6     Mon Apr 26 08:00:00 2004
+++ property/class.uistandard_2.php     Wed Apr 28 21:15:15 2004
@@ -66,7 +66,7 @@
 
                function index()
                {
-                       $type   = get_var('type',array('POST','GET'));
+                       $type   = 
$this->bocommon->get_var2('type',array('POST','GET'));
 
                        
$this->bocommon->xsl_add_file(array('standard_2','nextmatchs',
                                                                                
'search_field'));
@@ -161,9 +161,9 @@
 
                function edit()
                {
-                       $type   = get_var('type',array('POST','GET'));
-                       $id     = get_var('id',array('POST','GET'));
-                       $values                 = 
get_var('values',array('POST'));
+                       $type   = 
$this->bocommon->get_var2('type',array('POST','GET'));
+                       $id     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $values                 = 
$this->bocommon->get_var2('values',array('POST'));
 
                        $this->bocommon->xsl_add_file(array('standard_2'));
 
@@ -235,9 +235,9 @@
 
                function delete()
                {
-                       $type   = get_var('type',array('POST','GET'));
-                       $id             = get_var('id',array('POST','GET'));
-                       $confirm                = 
get_var('confirm',array('POST'));
+                       $type   = 
$this->bocommon->get_var2('type',array('POST','GET'));
+                       $id             = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $confirm                = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        $link_data = array
                        (
@@ -245,7 +245,7 @@
                                'type' => $type
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($id,$type);
                                Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));




reply via email to

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