[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [15344]
From: |
nelson . guerra |
Subject: |
[Fmsystem-commits] [15344] |
Date: |
Tue, 28 Jun 2016 01:13:31 +0000 (UTC) |
Revision: 15344
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15344
Author: nelson224
Date: 2016-06-28 01:13:31 +0000 (Tue, 28 Jun 2016)
Log Message:
-----------
Added Paths:
-----------
branches/dev-syncromind-2/property/templates/base/import_components.xsl
Copied: branches/dev-syncromind-2/property/templates/base/import_components.xsl
(from rev 15340,
branches/dev-syncromind-2/property/templates/base/generic_document.xsl)
===================================================================
--- branches/dev-syncromind-2/property/templates/base/import_components.xsl
(rev 0)
+++ branches/dev-syncromind-2/property/templates/base/import_components.xsl
2016-06-28 01:13:31 UTC (rev 15344)
@@ -0,0 +1,97 @@
+<!-- $Id: generic_document.xsl 14792 2016-03-01 18:59:36Z sigurdne $ -->
+
+<xsl:template match="data" xmlns:php="http://php.net/xsl">
+ <xsl:call-template name="jquery_phpgw_i18n"/>
+
+ <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>
+
+ <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>
+ </div>
+
+ <div id="upload">
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'upload file')"/>
+ </label>
+ <input type="file" name="file"
size="40">
+ <xsl:attribute
name="title">
+ <xsl:value-of
select="php:function('lang', 'Select file to upload')"/>
+ </xsl:attribute>
+ </input>
+ <input type="submit"
name="importsubmit" size="40">
+ <xsl:attribute
name="value">
+ <xsl:value-of
select="php:function('lang', 'Start import')"/>
+ </xsl:attribute>
+ </input>
+ </div>
+ </div>
+
+ </div>
+ </form>
+ </div>
+
+</xsl:template>
+
+<xsl:template match="options">
+ <option value="{id}">
+ <xsl:if test="selected = 'selected' or selected = 1">
+ <xsl:attribute name="selected" value="selected" />
+ </xsl:if>
+ <xsl:attribute name="title" value="description" />
+ <xsl:value-of disable-output-escaping="yes" select="name"/>
+ </option>
+</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [15344],
nelson . guerra <=