fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15374] expose category tables for import/export


From: sigurdne
Subject: [Fmsystem-commits] [15374] expose category tables for import/export
Date: Tue, 26 Jul 2016 09:40:46 +0000 (UTC)

Revision: 15374
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15374
Author:   sigurdne
Date:     2016-07-26 09:40:46 +0000 (Tue, 26 Jul 2016)
Log Message:
-----------
expose category tables for import/export

Modified Paths:
--------------
    trunk/property/inc/class.uiimport.inc.php

Modified: trunk/property/inc/class.uiimport.inc.php
===================================================================
--- trunk/property/inc/class.uiimport.inc.php   2016-07-26 09:39:56 UTC (rev 
15373)
+++ trunk/property/inc/class.uiimport.inc.php   2016-07-26 09:40:46 UTC (rev 
15374)
@@ -72,10 +72,13 @@
 
                        $location_types = 
execMethod('property.soadmin_location.select_location_type');
 
+                       $lang_category = lang('category');
                        foreach ($location_types as $location_type)
                        {
                                
$this->valid_tables["fm_location{$location_type['id']}"] = array('name' => 
"fm_location{$location_type['id']} ({$location_type['name']})",
                                        'permission' => PHPGW_ACL_READ | 
PHPGW_ACL_ADD | PHPGW_ACL_EDIT);
+                               
$this->valid_tables["fm_location{$location_type['id']}_category"] = 
array('name' => "fm_location{$location_type['id']}_category 
({$location_type['name']} {$lang_category})",
+                                       'permission' => PHPGW_ACL_READ | 
PHPGW_ACL_ADD | PHPGW_ACL_EDIT);
                        }
 
                        if ($this->table && !in_array($this->table, 
array_keys($this->valid_tables)))




reply via email to

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