[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc class.solocation.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/inc class.solocation.inc.php |
Date: |
Fri, 24 Nov 2006 10:44:34 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 06/11/24 10:44:34
Modified files:
inc : class.solocation.inc.php
Log message:
configurable listing of address at sublevels beneath address-level
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.solocation.inc.php?cvsroot=phpgroupware&r1=1.43&r2=1.44
Patches:
Index: class.solocation.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.solocation.inc.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- class.solocation.inc.php 24 Nov 2006 10:11:49 -0000 1.43
+++ class.solocation.inc.php 24 Nov 2006 10:44:34 -0000 1.44
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage location
- * @version $Id: class.solocation.inc.php,v 1.43 2006/11/24 10:11:49
sigurdne Exp $
+ * @version $Id: class.solocation.inc.php,v 1.44 2006/11/24 10:44:34
sigurdne Exp $
*/
/**
@@ -352,6 +352,9 @@
$sub_query_street=1;
$this->socommon->fm_cache('sub_query_street_'. $type_id . '_' . $lookup_tenant
. '_' . $lookup,$sub_query_street);
+ //list address at
sublevels beneath address-level
+
if($location_types[($type_id-1)]['list_address'])
+ {
$cols.=
',fm_streetaddress.descr as street_name';
$cols_return[]
= 'street_name';
$uicols['input_type'][]
= 'text';
@@ -367,6 +370,7 @@
$uicols['descr'][]
= lang('street number');
$uicols['statustext'][]
= lang('street number');
$uicols['exchange'][]
= True;
+ }
$cols.= ',fm_location'
. $config[$i]['location_type'] . '.' . $config[$i]['column_name'];
$cols_return[]
= $config[$i]['column_name'];
- [Phpgroupware-cvs] property/inc class.solocation.inc.php,
Sigurd Nes <=