fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11261] property: entity: hide information when handl


From: Sigurd Nes
Subject: [Fmsystem-commits] [11261] property: entity: hide information when handling bulk
Date: Sun, 11 Aug 2013 13:21:18 +0000

Revision: 11261
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11261
Author:   sigurdne
Date:     2013-08-11 13:21:17 +0000 (Sun, 11 Aug 2013)
Log Message:
-----------
property: entity: hide information when handling bulk

Modified Paths:
--------------
    trunk/property/inc/class.uientity.inc.php
    trunk/property/templates/base/entity.xsl

Modified: trunk/property/inc/class.uientity.inc.php
===================================================================
--- trunk/property/inc/class.uientity.inc.php   2013-08-11 11:36:24 UTC (rev 
11260)
+++ trunk/property/inc/class.uientity.inc.php   2013-08-11 13:21:17 UTC (rev 
11261)
@@ -2186,7 +2186,10 @@
                                        }
                                }
 
-                               $tabs['related']        = array('label' => 
lang('log'), 'link' => '#related', 'function' => "set_tab('related')");
+                               if (!$category['enable_bulk'])
+                               {
+                                       $tabs['related']        = array('label' 
=> lang('log'), 'link' => '#related', 'function' => "set_tab('related')");
+                               }
                                $_target = array();
                                if(isset($values['target']) && 
$values['target'])
                                {

Modified: trunk/property/templates/base/entity.xsl
===================================================================
--- trunk/property/templates/base/entity.xsl    2013-08-11 11:36:24 UTC (rev 
11260)
+++ trunk/property/templates/base/entity.xsl    2013-08-11 13:21:17 UTC (rev 
11261)
@@ -672,7 +672,7 @@
                                        </xsl:choose>
 
                                        <xsl:choose>
-                                               <xsl:when test="value_id !=''">
+                                               <xsl:when test="value_id !='' 
and enable_bulk = ''">
                                                        <div id="related">
                                                                <table 
cellpadding="2" cellspacing="2" width="80%" align="center">
                                                                        <tr>




reply via email to

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