phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.soentity.inc.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc class.soentity.inc.php
Date: Tue, 17 Oct 2006 13:21:16 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   06/10/17 13:21:16

Modified files:
        inc            : class.soentity.inc.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.soentity.inc.php?cvsroot=phpgroupware&r1=1.21&r2=1.22

Patches:
Index: class.soentity.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.soentity.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- class.soentity.inc.php      6 Oct 2006 12:23:22 -0000       1.21
+++ class.soentity.inc.php      17 Oct 2006 13:21:16 -0000      1.22
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage entity
-       * @version $Id: class.soentity.inc.php,v 1.21 2006/10/06 12:23:22 
sigurdne Exp $
+       * @version $Id: class.soentity.inc.php,v 1.22 2006/10/17 13:21:16 
sigurdne Exp $
        */
 
        /**
@@ -133,9 +133,19 @@
                                }
 
 
+                               $cols .= ',account_lid';
+                               $cols_return[]                          = 
'account_lid';
+                               $uicols['input_type'][]         = 'text';
+                               $uicols['name'][]                       = 
'account_lid';
+                               $uicols['descr'][]                      = 
lang('User');
+                               $uicols['statustext'][]         = lang('User');
+
                                $admin_entity   = 
CreateObject($this->currentapp.'.soadmin_entity');
                                $category = 
$admin_entity->read_single_category($entity_id,$cat_id);
 
+                               $joinmethod .= " $this->join phpgw_accounts ON 
($entity_table.user_id = phpgw_accounts.account_id))";
+                               $paranthesis .='(';
+
                                $sql = 
$this->bocommon->generate_sql(array('entity_table'=>$entity_table,'cols_return'=>$cols_return,'cols'=>$cols,
                                                                
'uicols'=>$uicols,'joinmethod'=>$joinmethod,'paranthesis'=>$paranthesis,'query'=>$query,'lookup'=>$lookup,'location_level'=>$category['location_level']));
 




reply via email to

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