[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.uiowner.php, 1.1.1.7
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.uiowner.php, 1.1.1.7 |
Date: |
Sun, 23 May 2004 06:23:59 -0000 |
Update of /property
Modified Files:
Branch:
class.uiowner.php
date: 2004/04/28 21:15:15; author: sigurdne; state: Exp; lines: +10 -10
Log Message:
temp fix for get_var
=====================================================================
Index: property/class.uiowner.php
diff -u property/class.uiowner.php:1.1.1.6 property/class.uiowner.php:1.1.1.7
--- property/class.uiowner.php:1.1.1.6 Sun Apr 25 19:38:25 2004
+++ property/class.uiowner.php Wed Apr 28 21:15:15 2004
@@ -250,10 +250,10 @@
function edit()
{
- $owner_id =
get_var('owner_id',array('POST','GET'));
- $values = get_var('values',array('POST'));
- $values['abid'] =
get_var('vendor_id',array('POST'));
- $values['org_name'] =
get_var('vendor_name',array('POST'));
+ $owner_id =
$this->bocommon->get_var2('owner_id',array('POST','GET'));
+ $values =
$this->bocommon->get_var2('values',array('POST'));
+ $values['abid'] =
$this->bocommon->get_var2('vendor_id',array('POST'));
+ $values['org_name'] =
$this->bocommon->get_var2('vendor_name',array('POST'));
/* if($GLOBALS['phpgw']->is_repost())
{
@@ -346,16 +346,16 @@
function delete()
{
- $owner_id =
get_var('owner_id',array('POST','GET'));
- $delete = get_var('delete',array('POST'));
- $confirm = get_var('confirm',array('POST'));
+ $owner_id =
$this->bocommon->get_var2('owner_id',array('POST','GET'));
+ $delete =
$this->bocommon->get_var2('delete',array('POST'));
+ $confirm =
$this->bocommon->get_var2('confirm',array('POST'));
$link_data = array
(
'sid=cookie&op' =>
$this->currentapp.'.uiowner.index'
);
- if (get_var('confirm',array('POST')))
+ if ($this->bocommon->get_var2('confirm',array('POST')))
{
$this->bo->delete($owner_id);
// Header('Location: ' .
$this->bocommon->link('/index.php',$link_data));
@@ -386,8 +386,8 @@
function view()
{
- $owner_id = get_var('owner_id',array('GET'));
- $action = get_var('action',array('GET'));
+ $owner_id =
$this->bocommon->get_var2('owner_id',array('GET'));
+ $action =
$this->bocommon->get_var2('action',array('GET'));
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('owner') . ': ' . lang('view owner');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.uiowner.php, 1.1.1.7,
nomail <=