[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7359] property: optional branch in tickets
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7359] property: optional branch in tickets |
Date: |
Tue, 07 Jun 2011 13:17:32 +0000 |
Revision: 7359
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7359
Author: sigurdne
Date: 2011-06-07 13:17:32 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
property: optional branch in tickets
Modified Paths:
--------------
trunk/property/inc/class.uitts.inc.php
Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php 2011-06-07 13:14:03 UTC (rev
7358)
+++ trunk/property/inc/class.uitts.inc.php 2011-06-07 13:17:32 UTC (rev
7359)
@@ -759,8 +759,11 @@
'onchange'=> 'onChangeSelect("building_part");',
'tab_index' => 15
);
-
$datatable['actions']['form'][0]['fields']['field'][] = array
- (
+
+ if (
isset($GLOBALS['phpgw_info']['user']['preferences']['property']['tts_branch_list'])
&&
$GLOBALS['phpgw_info']['user']['preferences']['property']['tts_branch_list']==1)
+ {
+
$datatable['actions']['form'][0]['fields']['field'][] = array
+ (
'id' =>
'sel_branch_id', // testing traditional listbox for long list
'name'
=> 'branch_id',
'value'
=> lang('branch'),
@@ -769,7 +772,9 @@
'values' => $this->bo->get_branch($this->branch_id),
'onchange'=> 'onChangeSelect("branch_id");',
'tab_index' => 16
- );
+ );
+ }
+
$datatable['actions']['form'][0]['fields']['field'][] = array
(
'id' =>
'sel_order_dim1', // testing traditional listbox for long list
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7359] property: optional branch in tickets,
Sigurd Nes <=