fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13638] property: fix tab-names for locations


From: Sigurd Nes
Subject: [Fmsystem-commits] [13638] property: fix tab-names for locations
Date: Mon, 13 Jul 2015 12:37:51 +0000

Revision: 13638
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13638
Author:   sigurdne
Date:     2015-07-13 12:37:50 +0000 (Mon, 13 Jul 2015)
Log Message:
-----------
property: fix tab-names for locations

Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uilocation.inc.php

Modified: branches/dev-syncromind/property/inc/class.uilocation.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uilocation.inc.php       
2015-07-13 11:41:46 UTC (rev 13637)
+++ branches/dev-syncromind/property/inc/class.uilocation.inc.php       
2015-07-13 12:37:50 UTC (rev 13638)
@@ -1757,8 +1757,9 @@
                                {
                                        if(isset($group['attributes']) && 
isset($group['group_sort']))
                                        {
-                                               $tabs[str_replace(' ', '_', 
$group['name'])] = array('label' => $group['name'], 'link' => '#' . 
str_replace(' ', '_', $group['name']));
-                                               $group['link'] = str_replace(' 
', '_', $group['name']);
+                                               $_group_name = 
trim(str_replace(' ', '_', $group['name']),'.');
+                                               $tabs[$_group_name] = 
array('label' => $group['name'], 'link' => '#' . $_group_name);
+                                               $group['link'] = $_group_name;
                                                $attributes[] = $group;
                                        }
                                        else if(isset($group['attributes']) && 
!isset($group['group_sort']))
@@ -1983,7 +1984,7 @@
                                                $response = 
trim(file_get_contents($request, False, $cxContext));
 
 
-                                               $_config_section_name = 
str_replace(' ', '_',$_config_section);
+                                               $_config_section_name = 
trim(str_replace(' ', '_',$_config_section),'.');
                                                $integration[]  = array
                                                (
                                                        'section' => 
$_config_section_name,




reply via email to

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