fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16506]


From: nelson . guerra
Subject: [Fmsystem-commits] [16506]
Date: Fri, 31 Mar 2017 01:48:42 -0400 (EDT)

Revision: 16506
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16506
Author:   nelson224
Date:     2017-03-31 01:48:42 -0400 (Fri, 31 Mar 2017)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/property/templates/base/report.xsl

Modified: branches/dev-syncromind-2/property/templates/base/report.xsl
===================================================================
--- branches/dev-syncromind-2/property/templates/base/report.xsl        
2017-03-31 05:48:05 UTC (rev 16505)
+++ branches/dev-syncromind-2/property/templates/base/report.xsl        
2017-03-31 05:48:42 UTC (rev 16506)
@@ -1,6 +1,68 @@
 
-<xsl:template match="data" xmlns:php="http://php.net/xsl";>
+<xsl:template match="data">
+       <xsl:choose>
+               <xsl:when test="edit">
+                       <xsl:apply-templates select="edit"/>
+               </xsl:when>
+               <xsl:otherwise>
+                       <xsl:apply-templates select="lists"/>
+               </xsl:otherwise>
+       </xsl:choose>
+       <xsl:call-template name="jquery_phpgw_i18n"/>
+</xsl:template>
+       
+<xsl:template match="lists">
+       <div id="document_edit_tabview">
+               <xsl:value-of select="validator"/>
+               <div id="tab-content">                                  
+                       <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>
+                       <div id="reports">
+                               <form name="form" class="pure-form 
pure-form-aligned" id="form" action="" method="post">                           
                                     
+                                       <div class="pure-control-group">
+                                               <label for="vendor">
+                                                       <xsl:value-of 
select="php:function('lang', 'views')" />
+                                               </label>
+                                               <select id="list_views" 
name="list_views">
+                                                       <xsl:apply-templates 
select="list_views/options"/>
+                                               </select>
+                                       </div>                                  
                        
 
+                                       <xsl:for-each select="datatable_def">
+                                               <xsl:if test="container = 
'datatable-container_0'">
+                                                       <xsl:call-template 
name="table_setup">
+                                                               <xsl:with-param 
name="container" select ='container'/>
+                                                               <xsl:with-param 
name="requestUrl" select ='requestUrl' />
+                                                               <xsl:with-param 
name="ColumnDefs" select ='ColumnDefs' />
+                                                               <xsl:with-param 
name="tabletools" select ='tabletools' />
+                                                               <xsl:with-param 
name="config" select ='config' />
+                                                       </xsl:call-template>
+                                               </xsl:if>
+                                       </xsl:for-each> 
+                               </form>
+                       </div>
+                                                       
+                       <div id="views">
+                               <form name="form" class="pure-form 
pure-form-aligned" id="form" action="" method="post">                           
                                     
+                                       <xsl:for-each select="datatable_def">
+                                               <xsl:if test="container = 
'datatable-container_1'">
+                                                       <xsl:call-template 
name="table_setup">
+                                                               <xsl:with-param 
name="container" select ='container'/>
+                                                               <xsl:with-param 
name="requestUrl" select ='requestUrl' />
+                                                               <xsl:with-param 
name="ColumnDefs" select ='ColumnDefs' />
+                                                               <xsl:with-param 
name="tabletools" select ='tabletools' />
+                                                               <xsl:with-param 
name="config" select ='config' />
+                                                       </xsl:call-template>
+                                               </xsl:if>
+                                       </xsl:for-each> 
+                               </form>
+                       </div>
+               </div>
+       </div>
+</xsl:template>
+
+
+<xsl:template match="edit">
+
        <div id="document_edit_tabview">
                <xsl:value-of select="validator"/>
                
@@ -10,7 +72,7 @@
                <form name="form" class="pure-form pure-form-aligned" id="form" 
action="{$form_action}" method="post">  
                        <div id="tab-content">                                  
                                <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>                                             
-                               <div id="generic">
+                               <div id="report">
                                        <div class="pure-control-group">
                                                <label>
                                                        <xsl:value-of 
select="php:function('lang', 'views')" />




reply via email to

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