fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13534] account_code_dimension.xsl


From: Saul
Subject: [Fmsystem-commits] [13534] account_code_dimension.xsl
Date: Fri, 26 Jun 2015 22:57:06 +0000

Revision: 13534
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13534
Author:   psaul
Date:     2015-06-26 22:57:05 +0000 (Fri, 26 Jun 2015)
Log Message:
-----------
account_code_dimension.xsl

Modified Paths:
--------------
    branches/dev-syncromind/booking/templates/base/account_code_dimension.xsl

Modified: 
branches/dev-syncromind/booking/templates/base/account_code_dimension.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/account_code_dimension.xsl   
2015-06-26 22:56:29 UTC (rev 13533)
+++ branches/dev-syncromind/booking/templates/base/account_code_dimension.xsl   
2015-06-26 22:57:05 UTC (rev 13534)
@@ -1,249 +1,247 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
-    <div id="content">
+    <!--div id="content"-->
 
     <xsl:call-template name="msgbox"/>
-       <xsl:call-template name="yui_booking_i18n"/>
+       <!--xsl:call-template name="yui_booking_i18n"/-->
 
-       <dl class="form">
+       <!--dl class="form">
                <dt class="heading"><xsl:value-of select="php:function('lang', 
'Account Codes')"/> - <xsl:value-of select="php:function('lang', 
'Labels')"/></dt>
-       </dl>
+       </dl-->
 
-       <p><xsl:value-of select="php:function('lang', 
'account_code_dimension_helptext')"/></p>
+       <!--p><xsl:value-of select="php:function('lang', 
'account_code_dimension_helptext')"/></p-->
 
-    <form action="" method="POST">
-        <dl class="form-col">
-            <dt><label for="field_article">Article (pos 283 - 297)</label></dt>
-            <dd>
-                               <input id="field_article" name="article" 
type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/article"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_1">Dim1 (pos 862 - 869)</label></dt>
-            <dd>
-                               <input id="field_dim_1" name="dim_1" 
type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_1"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_2">Dim2 (pos 870 - 877)</label></dt>
-            <dd>
-                               <input id="field_dim_2" name="dim_2" 
type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_2"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_3">Dim3 (pos 878 - 885)</label></dt>
-            <dd>
-                               <input id="field_dim_3" name="dim_3" 
type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_3"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_4">Dim4 (pos 886 - 893)</label></dt>
-            <dd>
-                               <input id="field_dim_4" name="dim_4" 
type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_4"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_5">Dim5 (pos 894 - 905)</label></dt>
-            <dd>
-                               <input id="field_dim_5" name="dim_5" 
type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_5"/></xsl:attribute>
-                               </input>
-            </dd>
-        </dl>
-        <dl class="form-col">
-            <dt><label for="field_dim_value_1">Dim_value_1 (pos 914 - 
925)</label></dt>
-            <dd>
-                               <input id="field_dim_value_1" 
name="dim_value_1" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_value_1"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_value_4">Dim_value_4 (pos 950 - 
961)</label></dt>
-            <dd>
-                               <input id="field_dim_value_4" 
name="dim_value_4" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_value_4"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_dim_value_5">Dim_value_5 (pos 962 - 
973)</label></dt>
-            <dd>
-                               <input id="field_dim_value_5" 
name="dim_value_5" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_value_5"/></xsl:attribute>
-                               </input>
-            </dd>
-        </dl>
-        <div class="clr"/>
-       <dl class="form">
-               <dt class="heading"><xsl:value-of select="php:function('lang', 
'External account')"/></dt>
-       </dl>
+    <form action="" method="POST" id='form' class="pure-form 
pure-form-aligned" name="form">
+        <input type="hidden" name="tab" value=""/>
+        <div id="tab-content">
+            <xsl:value-of disable-output-escaping="yes" select="data/tabs"/>
+            <div id="account_code">
+                <div class="pure-control-group">
+                    <label>Article (pos 283 - 297)</label>
+                                        <input id="field_article" 
name="article" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/article"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim1 (pos 862 - 869)</label>
+                                        <input id="field_dim_1" name="dim_1" 
type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_1"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim2 (pos 870 - 877)</label>
+                                        <input id="field_dim_2" name="dim_2" 
type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_2"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim3 (pos 878 - 885)</label>
+                                        <input id="field_dim_3" name="dim_3" 
type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_3"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim4 (pos 886 - 893)</label>
+                                        <input id="field_dim_4" name="dim_4" 
type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_4"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim5 (pos 894 - 905)</label>
+                                        <input id="field_dim_5" name="dim_5" 
type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_5"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim_value_1 (pos 914 - 925)</label>
+                                        <input id="field_dim_value_1" 
name="dim_value_1" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_value_1"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim_value_4 (pos 950 - 961)</label>
+                                        <input id="field_dim_value_4" 
name="dim_value_4" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_value_4"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label>Dim_value_5 (pos 962 - 973)</label>
+                                        <input id="field_dim_value_5" 
name="dim_value_5" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of select="config_data/dim_value_5"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="clr"/>
+                <div class="pure-control-group">
+                        <dt class="heading"><xsl:value-of 
select="php:function('lang', 'External account')"/></dt>
+                </div>
+                <div class="pure-control-group">
+                    <p><xsl:value-of select="php:function('lang', 
'External_account_helptext')"/></p>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 
'External customer output format')"/></label>
+                        <select id="field_external_format" 
name="external_format">
+                            <option value="AGRESSO">
+                                <xsl:if 
test="config_data/external_format='AGRESSO'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                AGRESSO
+                            </option>
+                            <option value="CSV">
+                                <xsl:if 
test="config_data/external_format='CSV'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                CSV
+                                   </option>
+                            <option value="KOMMFAKT">
+                                <xsl:if 
test="config_data/external_format='KOMMFAKT'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                KOMMFAKT
+                                   </option>
+                        </select>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 
'External file linebreak ')"/></label>
+                        <select id="field_external_format_linebreak" 
name="external_format_linebreak">
+                            <option value="Windows">
+                                <xsl:if 
test="config_data/external_format_linebreak='Windows'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                Windows
+                                   </option>
+                            <option value="Linux">
+                                <xsl:if 
test="config_data/external_format_linebreak='Linux'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                Linux
+                            </option>
+                        </select>
+                </div>
 
-       <p><xsl:value-of select="php:function('lang', 
'External_account_helptext')"/></p>
+                <div class="clr"/>
+                <div class="pure-control-group">
+                        <dt class="heading"><xsl:value-of 
select="php:function('lang', 'Internal account')"/></dt>
+                </div>
+                <div class="pure-control-group">
+                    <p><xsl:value-of select="php:function('lang', 
'Internal_account_helptext')"/></p>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 
'Organization number')"/></label>
+                                        <input id="field_organization_value" 
name="organization_value" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/organization_value"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 
'Internal customer output format')"/></label>
+                        <select id="field_internal_format" 
name="internal_format">
+                            <option value="AGRESSO">
+                                <xsl:if 
test="config_data/internal_format='AGRESSO'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                AGRESSO
+                            </option>
+                            <option value="CSV">
+                                <xsl:if 
test="config_data/internal_format='CSV'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                CSV
+                                   </option>
+                            <option value="KOMMFAKT">
+                                <xsl:if 
test="config_data/internal_format='KOMMFAKT'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                KOMMFAKT
+                                   </option>
+                        </select>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'File 
output')"/></label>
+                        <select id="field_output_files" name="output_files">
+                            <option value="seperated">
+                                <xsl:if 
test="config_data/output_files='seperated'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                Records splited between two files internal and 
external.
+                            </option>
+                            <option value="single">
+                                <xsl:if 
test="config_data/output_files='single'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                All records in the external file.
+                                   </option>
+                        </select>
+                </div>
 
-       <dl class="form-col">
-            <dt><label for="field_external_format"><xsl:value-of 
select="php:function('lang', 'External customer output format')"/></label></dt>
-                       <dd>
-                               <select id="field_external_format" 
name="external_format">
-                    <option value="AGRESSO">
-                        <xsl:if test="config_data/external_format='AGRESSO'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        AGRESSO
-                    </option>
-                    <option value="CSV">
-                        <xsl:if test="config_data/external_format='CSV'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        CSV
-                          </option>
-                    <option value="KOMMFAKT">
-                        <xsl:if test="config_data/external_format='KOMMFAKT'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        KOMMFAKT
-                          </option>
-                       </select>
-                       </dd>
-            <dt><label for="field_external_format_linebreak"><xsl:value-of 
select="php:function('lang', 'External file linebreak ')"/></label></dt>
-                       <dd>
-                               <select id="field_external_format_linebreak" 
name="external_format_linebreak">
-                    <option value="Windows">
-                        <xsl:if 
test="config_data/external_format_linebreak='Windows'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        Windows
-                          </option>
-                    <option value="Linux">
-                        <xsl:if 
test="config_data/external_format_linebreak='Linux'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        Linux
-                    </option>
-                       </select>
-                       </dd>
-        </dl>
+                <div class="clr"/>
 
-        <div class="clr"/>
-       <dl class="form">
-               <dt class="heading"><xsl:value-of select="php:function('lang', 
'Internal account')"/></dt>
-       </dl>
+                <div class="pure-control-group">
+                        <dt class="heading"><xsl:value-of 
select="php:function('lang', 'Export agresso')"/></dt>
+                </div>
 
-       <p><xsl:value-of select="php:function('lang', 
'Internal_account_helptext')"/></p>
-       <dl class="form-col">
-            <dt><label for="field_organization_value"><xsl:value-of 
select="php:function('lang', 'Organization number')"/></label></dt>
-            <dd>
-                               <input id="field_organization_value" 
name="organization_value" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/organization_value"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_internal_format"><xsl:value-of 
select="php:function('lang', 'Internal customer output format')"/></label></dt>
-                       <dd>
-                               <select id="field_internal_format" 
name="internal_format">
-                    <option value="AGRESSO">
-                        <xsl:if test="config_data/internal_format='AGRESSO'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        AGRESSO
-                    </option>
-                    <option value="CSV">
-                        <xsl:if test="config_data/internal_format='CSV'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        CSV
-                          </option>
-                    <option value="KOMMFAKT">
-                        <xsl:if test="config_data/internal_format='KOMMFAKT'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        KOMMFAKT
-                          </option>
-                       </select>
-                       </dd>
-            <dt><label for="field_output_files"><xsl:value-of 
select="php:function('lang', 'File output')"/></label></dt>
-                       <dd>
-                               <select id="field_output_files" 
name="output_files">
-                    <option value="seperated">
-                        <xsl:if test="config_data/output_files='seperated'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        Records splited between two files internal and 
external.
-                    </option>
-                    <option value="single">
-                        <xsl:if test="config_data/output_files='single'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        All records in the external file.
-                          </option>
-                       </select>
-                       </dd>
-        </dl>
-
-        <div class="clr"/>
-
-       <dl class="form">
-               <dt class="heading"><xsl:value-of select="php:function('lang', 
'Export agresso')"/></dt>
-       </dl>
-
-       <p><xsl:value-of select="php:function('lang', 'export_help_text')"/></p>
-
-       <dl class="form-col">
-            <dt><label for="field_invoice_export_method"><xsl:value-of 
select="php:function('lang', 'Export method')"/></label></dt>
-                       <dd>
-                               <select id="field_invoice_export_method" 
name="invoice_export_method">
-                    <option value="local">
-                        <xsl:if 
test="config_data/invoice_export_method='local'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                                               local
-                    </option>
-                    <option value="ftp">
-                        <xsl:if test="config_data/invoice_export_method='ftp'">
-                            <xsl:attribute 
name="selected">checked</xsl:attribute>
-                        </xsl:if>
-                        ftp
-                          </option>
-                       </select>
-                       </dd>
-            <dt><label for="field_invoice_export_path"><xsl:value-of 
select="php:function('lang', 'Export path')"/></label></dt>
-            <dd>
-                               <input id="field_invoice_export_path" 
name="invoice_export_path" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_export_path"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_invoice_ftp_host"><xsl:value-of 
select="php:function('lang', 'Ftp host')"/></label></dt>
-            <dd>
-                               <input id="field_invoice_ftp_host" 
name="invoice_ftp_host" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_host"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_invoice_ftp_basedir"><xsl:value-of 
select="php:function('lang', 'Ftp basedir')"/></label></dt>
-            <dd>
-                               <input id="field_invoice_ftp_basedir" 
name="invoice_ftp_basedir" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_basedir"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_invoice_ftp_user"><xsl:value-of 
select="php:function('lang', 'Ftp user')"/></label></dt>
-            <dd>
-                               <input id="field_invoice_ftp_user" 
name="invoice_ftp_user" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_user"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_invoice_ftp_password"><xsl:value-of 
select="php:function('lang', 'Ftp password')"/></label></dt>
-            <dd>
-                               <input id="field_invoice_ftp_password" 
name="invoice_ftp_password" type="password">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_password"/></xsl:attribute>
-                               </input>
-            </dd>
-            <dt><label for="field_invoice_last_id"><xsl:value-of 
select="php:function('lang', 'last id')"/></label></dt>
-               <p><xsl:value-of select="php:function('lang', 'Do not 
edit!')"/></p>
-            <dd>
-                               <input id="field_invoice_last_id" 
name="invoice_last_id" type="text">
-                                       <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_last_id"/></xsl:attribute>
-                               </input>
-            </dd>
-       </dl>
-
-               <div class="form-buttons">
-                       <input type="submit">
-                       <xsl:attribute name="value"><xsl:value-of 
select="php:function('lang', 'Save')"/></xsl:attribute>
-                       </input>
-               </div>
+                <div class="pure-control-group">
+                    <p><xsl:value-of select="php:function('lang', 
'export_help_text')"/></p>
+                </div>
+                
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Export 
method')"/></label>
+                        <select id="field_invoice_export_method" 
name="invoice_export_method">
+                            <option value="local">
+                                <xsl:if 
test="config_data/invoice_export_method='local'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                                        local
+                            </option>
+                            <option value="ftp">
+                                <xsl:if 
test="config_data/invoice_export_method='ftp'">
+                                    <xsl:attribute 
name="selected">checked</xsl:attribute>
+                                </xsl:if>
+                                ftp
+                                   </option>
+                        </select>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Export 
path')"/></label>
+                                        <input id="field_invoice_export_path" 
name="invoice_export_path" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_export_path"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Ftp 
host')"/></label>
+                                        <input id="field_invoice_ftp_host" 
name="invoice_ftp_host" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_host"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Ftp 
basedir')"/></label>
+                                        <input id="field_invoice_ftp_basedir" 
name="invoice_ftp_basedir" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_basedir"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Ftp 
user')"/></label>
+                                        <input id="field_invoice_ftp_user" 
name="invoice_ftp_user" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_user"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'Ftp 
password')"/></label>
+                                        <input id="field_invoice_ftp_password" 
name="invoice_ftp_password" type="password">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_ftp_password"/></xsl:attribute>
+                                        </input>
+                </div>
+                <div class="pure-control-group">
+                    <label><xsl:value-of select="php:function('lang', 'last 
id')"/>
+                        <p><xsl:value-of select="php:function('lang', 'Do not 
edit!')"/></p></label>
+                                        <input id="field_invoice_last_id" 
name="invoice_last_id" type="text">
+                                                <xsl:attribute 
name="value"><xsl:value-of 
select="config_data/invoice_last_id"/></xsl:attribute>
+                                        </input>
+                </div>
+            </div>
+        </div>
+        <div class="form-buttons">
+                <input type="submit" class="button pure-button 
pure-button-primary">
+                <xsl:attribute name="value"><xsl:value-of 
select="php:function('lang', 'Save')"/></xsl:attribute>
+                </input>
+        </div>
     </form>
-    </div>
+    <!--/div-->
 </xsl:template>




reply via email to

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