fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15360]


From: nelson . guerra
Subject: [Fmsystem-commits] [15360]
Date: Sat, 2 Jul 2016 00:57:19 +0000 (UTC)

Revision: 15360
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15360
Author:   nelson224
Date:     2016-07-02 00:57:18 +0000 (Sat, 02 Jul 2016)
Log Message:
-----------


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

Modified: 
branches/dev-syncromind-2/property/templates/base/import_components.xsl
===================================================================
--- branches/dev-syncromind-2/property/templates/base/import_components.xsl     
2016-07-01 13:23:25 UTC (rev 15359)
+++ branches/dev-syncromind-2/property/templates/base/import_components.xsl     
2016-07-02 00:57:18 UTC (rev 15360)
@@ -5,61 +5,58 @@
 
        <div id="document_edit_tabview">
 
-               <xsl:variable name="action_url">
-                       <xsl:value-of select="php:function('get_phpgw_link', 
'/index.php', 'menuaction:property.uigeneric_document.save')" />
-               </xsl:variable>
-
                <xsl:value-of select="validator"/>
                
-               <form name="form" class="pure-form pure-form-aligned" id="form" 
action="{$action_url}" method="post" ENCTYPE="multipart/form-data">
                        <div id="tab-content">                                  
                                <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>
                                                
-                               <div id="locations">                            
                        
-                                       <div class="pure-control-group">
-                                               <label for="vendor">
-                                                       <xsl:value-of 
select="php:function('lang', 'type')" />
-                                               </label>
-                                               <select id="type_id" 
name="type_id">
-                                                       <xsl:apply-templates 
select="type_filter/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label for="vendor">
-                                                       <xsl:value-of 
select="php:function('lang', 'category')" />
-                                               </label>
-                                               <select id="cat_location_id" 
name="cat_location_id">
-                                                       <xsl:apply-templates 
select="category_filter/options"/>
-                                               </select>
-                                       </div>
-                                       <div class="pure-control-group">
-                                               <label for="vendor">
-                                                       <xsl:value-of 
select="php:function('lang', 'district')" />
-                                               </label>
-                                               <select id="district_id" 
name="district_id">
-                                                       <xsl:apply-templates 
select="district_filter/options"/>
-                                               </select>
-                                       </div>                          
-                                       <div class="pure-control-group">
-                                               <label for="vendor">
-                                                       <xsl:value-of 
select="php:function('lang', 'part of town')" />
-                                               </label>
-                                               <select id="part_of_town_id" 
name="part_of_town_id">
-                                                       <xsl:apply-templates 
select="part_of_town_filter/options"/>
-                                               </select>
-                                       </div>                                  
                        
+                               <div id="locations">
+                                       <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', 'type')" />
+                                                       </label>
+                                                       <select id="type_id" 
name="type_id">
+                                                               
<xsl:apply-templates select="type_filter/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label for="vendor">
+                                                               <xsl:value-of 
select="php:function('lang', 'category')" />
+                                                       </label>
+                                                       <select 
id="cat_location_id" name="cat_location_id">
+                                                               
<xsl:apply-templates select="category_filter/options"/>
+                                                       </select>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label for="vendor">
+                                                               <xsl:value-of 
select="php:function('lang', 'district')" />
+                                                       </label>
+                                                       <select 
id="district_id" name="district_id">
+                                                               
<xsl:apply-templates select="district_filter/options"/>
+                                                       </select>
+                                               </div>                          
+                                               <div class="pure-control-group">
+                                                       <label for="vendor">
+                                                               <xsl:value-of 
select="php:function('lang', 'part of town')" />
+                                                       </label>
+                                                       <select 
id="part_of_town_id" name="part_of_town_id">
+                                                               
<xsl:apply-templates select="part_of_town_filter/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>                         
+                                               <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="upload">
@@ -70,6 +67,7 @@
                                                <div id="location_name" 
class='pure-custom'></div>
                                                <input type="hidden" 
id="location_code" name="location_code" value=""></input>
                                        </div>
+                                       <!--
                                        <div class="pure-control-group">
                                                <label>
                                                        <xsl:value-of 
select="php:function('lang', 'upload file')"/>
@@ -79,7 +77,8 @@
                                                                <xsl:value-of 
select="php:function('lang', 'Select file to upload')"/>
                                                        </xsl:attribute>
                                                </input>
-                                       </div>  
+                                       </div>  -->
+                                       <xsl:value-of 
disable-output-escaping="yes" select="form_file_upload"/>
                                        <div class="pure-control-group">
                                                <label></label>
                                                <input type="submit" 
name="importsubmit" size="40">
@@ -91,7 +90,6 @@
                                </div>
                                
                        </div>
-               </form>
        </div>
 
 </xsl:template>




reply via email to

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