[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uicategory.php, 1.1.1.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uicategory.php, 1.1.1.7 |
Date: |
Sun, 23 May 2004 07:03:21 -0000 |
Update of /property
Modified Files:
Branch:
class.uicategory.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +11 -11
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uicategory.php
diff -u property/class.uicategory.php:1.1.1.6
property/class.uicategory.php:1.1.1.7
--- property/class.uicategory.php:1.1.1.6 Mon Apr 26 08:00:00 2004
+++ property/class.uicategory.php Wed Apr 28 21:15:15 2004
@@ -66,8 +66,8 @@
function index()
{
- $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('category','nextmatchs',
'search_field'));
@@ -164,10 +164,10 @@
function edit()
{
- $type = get_var('type',array('POST','GET'));
- $type_id =
get_var('type_id',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'));
+ $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'));
$this->bocommon->xsl_add_file(array('category'));
@@ -246,10 +246,10 @@
function delete()
{
- $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'));
+ $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'));
$link_data = array
(
@@ -258,7 +258,7 @@
'type_id' => $type_id
);
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete($id,$type,$type_id);
Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uicategory.php, 1.1.1.7,
nomail <=