fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11473] property: related-tab in location form


From: Sigurd Nes
Subject: [Fmsystem-commits] [11473] property: related-tab in location form
Date: Tue, 19 Nov 2013 08:11:17 +0000

Revision: 11473
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11473
Author:   sigurdne
Date:     2013-11-19 08:11:02 +0000 (Tue, 19 Nov 2013)
Log Message:
-----------
property: related-tab in location form

Modified Paths:
--------------
    trunk/property/inc/class.uilocation.inc.php
    trunk/property/templates/base/location.xsl

Modified: trunk/property/inc/class.uilocation.inc.php
===================================================================
--- trunk/property/inc/class.uilocation.inc.php 2013-11-18 12:35:03 UTC (rev 
11472)
+++ trunk/property/inc/class.uilocation.inc.php 2013-11-19 08:11:02 UTC (rev 
11473)
@@ -2318,7 +2318,7 @@
                                
                                $related_link = $_related ? true : false;
 
-                               if($_related)
+       //                      if($_related)
                                {
                                        $tabs['related']        = array('label' 
=> lang('related'), 'link' => '#related');
                                }

Modified: trunk/property/templates/base/location.xsl
===================================================================
--- trunk/property/templates/base/location.xsl  2013-11-18 12:35:03 UTC (rev 
11472)
+++ trunk/property/templates/base/location.xsl  2013-11-19 08:11:02 UTC (rev 
11473)
@@ -583,21 +583,15 @@
                                                        </div>
                                                </xsl:when>
                                        </xsl:choose>
-                                       <xsl:choose>
-                                               <xsl:when test="related_link != 
''">
-                                                       <div id="related">
-                                                               <table 
cellpadding="2" cellspacing="2" width="80%" align="center">
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <div id="datatable-container_0"/>
-                                                                               
</td>
-                                                                       </tr>
-                                                               </table>
-
-                                                       </div>
-                                               </xsl:when>
-                                       </xsl:choose>
-
+                                               <div id="related">
+                                                       <table cellpadding="2" 
cellspacing="2" width="80%" align="center">
+                                                               <tr>
+                                                                       <td>
+                                                                               
<div id="datatable-container_0"/>
+                                                                       </td>
+                                                               </tr>
+                                                       </table>
+                                               </div>
                                        <xsl:for-each select="integration">
                                                <div id="{section}">
                                                        <iframe 
id="{section}_content" width="100%" height="{height}">




reply via email to

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