phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/class.uistandard_entity.php, 1.1.1.7
Date: Sun, 23 May 2004 09:50:34 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uistandard_entity.php
diff -u property/class.uistandard_entity.php:1.1.1.6 
property/class.uistandard_entity.php:1.1.1.7
--- property/class.uistandard_entity.php:1.1.1.6        Mon Apr 26 08:00:00 2004
+++ property/class.uistandard_entity.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_entity',
@@ -171,9 +171,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_entity'));
 
@@ -259,11 +259,11 @@
 
                function delete()
                {
-                       $attrib         = get_var('attrib',array('POST','GET'));
-                       $type           = get_var('type',array('POST','GET'));
-                       $type_id        = 
get_var('type_id',array('POST','GET'));
-                       $id                     = 
get_var('id',array('POST','GET'));
-                       $confirm        = get_var('confirm',array('POST'));
+                       $attrib         = 
$this->bocommon->get_var2('attrib',array('POST','GET'));
+                       $type           = 
$this->bocommon->get_var2('type',array('POST','GET'));
+                       $type_id        = 
$this->bocommon->get_var2('type_id',array('POST','GET'));
+                       $id                     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $confirm        = 
$this->bocommon->get_var2('confirm',array('POST'));
 
                        if($attrib)
                        {
@@ -280,7 +280,7 @@
                                'type_id' => $type_id
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($id,$type,$attrib);
                                Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));
@@ -309,8 +309,8 @@
 
                function list_attribute()
                {
-                       $type   = get_var('type',array('POST','GET'));
-                       $type_id        = 
get_var('type_id',array('POST','GET'));
+                       $type   = 
$this->bocommon->get_var2('type',array('POST','GET'));
+                       $type_id        = 
$this->bocommon->get_var2('type_id',array('POST','GET'));
 
                        $this->bocommon->xsl_add_file(array(
                                                                                
'standard_entity',
@@ -403,10 +403,10 @@
 
                function edit_attrib()
                {
-                       $type_id        = 
get_var('type_id',array('POST','GET'));
-                       $type           = get_var('type',array('POST','GET'));
-                       $id                     = 
get_var('id',array('POST','GET'));
-                       $values         = get_var('values',array('POST'));
+                       $type_id        = 
$this->bocommon->get_var2('type_id',array('POST','GET'));
+                       $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_entity'));
 




reply via email to

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