phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/class.uiadmin_location.php, 1.1.1.6


From: nomail
Subject: [Phpgroupware-cvs] property/class.uiadmin_location.php, 1.1.1.6
Date: Sun, 23 May 2004 12:53:53 -0000

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

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

Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uiadmin_location.php
diff -u property/class.uiadmin_location.php:1.1.1.5 
property/class.uiadmin_location.php:1.1.1.6
--- property/class.uiadmin_location.php:1.1.1.5 Mon Apr 26 08:00:00 2004
+++ property/class.uiadmin_location.php Wed Apr 28 21:15:15 2004
@@ -176,8 +176,8 @@
 
                function edit()
                {
-                       $id     = get_var('id',array('POST','GET'));
-                       $values                 = 
get_var('values',array('POST'));
+                       $id     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $values                 = 
$this->bocommon->get_var2('values',array('POST'));
 
                        $this->bocommon->xsl_add_file(array('admin_location'));
 
@@ -265,10 +265,10 @@
 
                function delete()
                {
-                       $attrib         = get_var('attrib',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_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)
                        {
@@ -284,7 +284,7 @@
                                'type_id' => $type_id
                        );
 
-                       if (get_var('confirm',array('POST')))
+                       if ($this->bocommon->get_var2('confirm',array('POST')))
                        {
                                $this->bo->delete($id,$attrib);
                                Header('Location: ' . 
$this->bocommon->link('/index.php',$link_data));
@@ -313,9 +313,9 @@
 
                function list_attribute()
                {
-                       $type_id        = 
get_var('type_id',array('POST','GET'));
-                       $id     = get_var('id',array('POST','GET'));
-                       $resort = get_var('resort',array('POST','GET'));
+                       $type_id        = 
$this->bocommon->get_var2('type_id',array('POST','GET'));
+                       $id     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $resort = 
$this->bocommon->get_var2('resort',array('POST','GET'));
 
                        $this->bocommon->xsl_add_file(array(
                                                                                
'admin_location',
@@ -444,9 +444,9 @@
 
                function edit_attrib()
                {
-                       $type_id        = 
get_var('type_id',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'));
+                       $id                     = 
$this->bocommon->get_var2('id',array('POST','GET'));
+                       $values         = 
$this->bocommon->get_var2('values',array('POST'));
 
 //html_print_r($values);
                        $this->bocommon->xsl_add_file(array('admin_location'));
@@ -716,8 +716,8 @@
 
                function edit_config()
                {
-                       $column_name    = 
get_var('column_name',array('POST','GET'));
-                       $values                 = 
get_var('values',array('POST'));
+                       $column_name    = 
$this->bocommon->get_var2('column_name',array('POST','GET'));
+                       $values                 = 
$this->bocommon->get_var2('values',array('POST'));
 
                        $this->bocommon->xsl_add_file(array('admin_location'));
 




reply via email to

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