[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.4
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.4 |
Date: |
Fri, 21 May 2004 17:46:30 -0000 |
Update of /property
Modified Files:
Branch:
class.bocommon.php
date: 2004/04/24 19:39:54; author: sigurdne; state: Exp; lines: +11 -7
Log Message:
no message
=====================================================================
Index: property/class.bocommon.php
diff -u property/class.bocommon.php:1.1.1.3 property/class.bocommon.php:1.1.1.4
--- property/class.bocommon.php:1.1.1.3 Fri Apr 23 21:26:33 2004
+++ property/class.bocommon.php Sat Apr 24 19:39:54 2004
@@ -56,7 +56,7 @@
function property_bocommon()
{
- $this->currentapp = 'property';
//$GLOBALS['phpgw_info']['flags']['currentapp'];
+ $this->currentapp = 'property';
//$GLOBALS['phpgw_data']['flags']['req_app'];
$this->socommon =
CreateObject($this->currentapp.'_socommon');
$this->join = $this->socommon->join;
@@ -150,7 +150,9 @@
{
foreach($receipt['error'] as $errors)
{
- $msgbox_data_error +=
array($errors['msg']=> False);
+
+
$GLOBALS['msgbox']->add($errors['msg'],'warning');
+// $msgbox_data_error +=
array($errors['msg']=> False);
}
}
@@ -160,13 +162,14 @@
{
foreach($receipt['message'] as $messages)
{
- $msgbox_data_message +=
array($messages['msg']=> True);
+
$GLOBALS['msgbox']->add($messages['msg'],'notice');
+// $msgbox_data_message +=
array($messages['msg']=> True);
}
}
- $msgbox_data = $msgbox_data_error +
$msgbox_data_message;
+// $msgbox_data = $msgbox_data_error +
$msgbox_data_message;
- return $msgbox_data;
+// return $msgbox_data;
}
function moneyformat($amount)
@@ -502,6 +505,7 @@
unset($user_list[$i]['selected']);
}
}
+//html_print_r($users);
return $user_list;
}
@@ -1323,7 +1327,7 @@
if ($url_firstchar != '/')
{
- $app =
$GLOBALS['phpgw_info']['flags']['currentapp'];
+ $app =
$GLOBALS['phpgw_data']['flags']['req_app'];
if ($app != 'home' && $app != 'login' && $app
!= 'logout')
{
$url = $app.'/'.$url;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/class.bocommon.php, 1.1.1.4,
nomail <=