[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc class.uilocation.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/inc class.uilocation.inc.php |
Date: |
Tue, 12 Sep 2006 09:16:13 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 06/09/12 09:16:13
Modified files:
inc : class.uilocation.inc.php
Log message:
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/inc/class.uilocation.inc.php?cvsroot=phpgroupware&r1=1.30&r2=1.31
Patches:
Index: class.uilocation.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/inc/class.uilocation.inc.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- class.uilocation.inc.php 11 Sep 2006 14:45:55 -0000 1.30
+++ class.uilocation.inc.php 12 Sep 2006 09:16:13 -0000 1.31
@@ -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.uilocation.inc.php,v 1.30 2006/09/11 14:45:55
sigurdne Exp $
+ * @version $Id: class.uilocation.inc.php,v 1.31 2006/09/12 09:16:13
sigurdne Exp $
*/
/**
@@ -1577,12 +1577,23 @@
);
+
+
if(isset($GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['property_filter'])
&&
$GLOBALS['phpgw_info']['user']['preferences'][$this->currentapp]['property_filter']
== 'owner')
+ {
+ $owner_list =
$this->bo->get_owner_list('filter', $this->filter);
+ }
+ else
+ {
+ $owner_list =
$this->bo->get_owner_type_list('filter', $this->filter);
+ }
+
+
$data = array
(
'links' =>
$links,
'select_action' =>
$GLOBALS['phpgw']->link('/index.php',$link_data),
'owner_name' =>
'filter',
- 'owner_list' =>
$this->bo->get_owner_type_list('filter', $this->filter),
+ 'owner_list' =>
$owner_list,
'lang_show_all' =>
lang('Show all'),
'lang_owner_statustext' =>
lang('Select the owner type. To show all entries select SHOW ALL'),
'select_name_part_of_town' =>
'part_of_town_id',