fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13065] uijaspee.php.xsl


From: Saul
Subject: [Fmsystem-commits] [13065] uijaspee.php.xsl
Date: Wed, 22 Apr 2015 22:19:17 +0000

Revision: 13065
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13065
Author:   psaul
Date:     2015-04-22 22:19:17 +0000 (Wed, 22 Apr 2015)
Log Message:
-----------
uijaspee.php.xsl

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

Modified: branches/dev-syncromind/property/templates/base/jasper.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/jasper.xsl  2015-04-22 
22:19:03 UTC (rev 13064)
+++ branches/dev-syncromind/property/templates/base/jasper.xsl  2015-04-22 
22:19:17 UTC (rev 13065)
@@ -12,281 +12,294 @@
 
        <!-- add / edit  -->
        <xsl:template xmlns:php="http://php.net/xsl"; match="edit">
-               <xsl:variable name="form_action">
-                       <xsl:value-of select="form_action"/>
-               </xsl:variable>
-               <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
-                       <tr>
-                               <td>
-                                       <table cellpadding="2" cellspacing="2" 
align="left">
-                                               <xsl:choose>
-                                                       <xsl:when 
test="msgbox_data != ''">
-                                                               <tr>
-                                                                       <td 
align="left" colspan="3">
-                                                                               
<xsl:call-template name="msgbox"/>
-                                                                       </td>
-                                                               </tr>
-                                                       </xsl:when>
-                                               </xsl:choose>
-                                               <xsl:choose>
-                                                       <xsl:when 
test="value_id != ''">
-                                                               <tr>
-                                                                       <td 
valign="top">
-                                                                               
<xsl:value-of select="php:function('lang', 'id')"/>
-                                                                       </td>
-                                                                       <td>
-                                                                               
<xsl:value-of select="value_id"/>
-                                                                       </td>
-                                                               </tr>
-                                                       </xsl:when>
-                                               </xsl:choose>
-                                               <form name="form_app" 
method="post" action="{$form_action}">
-                                                       <tr>
-                                                               <td>
-                                                                       
<xsl:value-of select="php:function('lang', 'application')"/>
-                                                               </td>
-                                                               <td 
align="left">
-                                                                       <select 
name="app" onChange="this.form.submit();">
-                                                                               
<xsl:attribute name="title">
-                                                                               
        <xsl:value-of select="php:function('lang', 'application')"/>
-                                                                               
</xsl:attribute>
-                                                                               
<xsl:apply-templates select="apps_list"/>
-                                                                       
</select>
-                                                               </td>
-                                                       </tr>
-                                               </form>
-                                       </table>
-                                       <tr>
-                                               <td>
-                                                       <form 
ENCTYPE="multipart/form-data" name="form" method="post" action="{$form_action}">
-                                                               <table 
cellpadding="2" cellspacing="2" align="left">
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <input type="hidden" name="values[app]" value="{value_app}"/>
-                                                                               
        <xsl:value-of select="php:function('lang', 'location')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <select name="values[location]">
-                                                                               
                <xsl:attribute name="title">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'Select 
submodule')"/>
-                                                                               
                </xsl:attribute>
-                                                                               
                <option value="">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'No 
location')"/>
-                                                                               
                </option>
-                                                                               
                <xsl:apply-templates select="location_list"/>
-                                                                               
        </select>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       
<xsl:choose>
-                                                                               
<xsl:when test="value_file_name != ''">
-                                                                               
        <tr>
-                                                                               
                <td valign="top">
-                                                                               
                        <xsl:value-of select="php:function('lang', 
'filename')"/>
-                                                                               
                </td>
-                                                                               
                <td>
-                                                                               
                        <xsl:value-of select="value_file_name"/>
-                                                                               
                </td>
-                                                                               
        </tr>
-                                                                               
</xsl:when>
-                                                                       
</xsl:choose>
-                                                                       <tr>
-                                                                               
<td valign="top">
-                                                                               
        <xsl:value-of select="php:function('lang', 'file')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <input type="file" size="50" name="file">
-                                                                               
                <xsl:attribute name="title">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'upload 
file')"/>
-                                                                               
                </xsl:attribute>
-                                                                               
        </input>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <xsl:value-of select="php:function('lang', 'title')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <input type="text" name="values[title]" value="{value_title}" size="60">
-                                                                               
                <xsl:attribute name="title">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'title')"/>
-                                                                               
                </xsl:attribute>
-                                                                               
        </input>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td valign="top">
-                                                                               
        <xsl:value-of select="php:function('lang', 'descr')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <textarea cols="60" rows="10" name="values[descr]">
-                                                                               
                <xsl:attribute name="title">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'descr')"/>
-                                                                               
                </xsl:attribute>
-                                                                               
                <xsl:value-of select="value_descr"/>
-                                                                               
        </textarea>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td valign="top">
-                                                                               
        <xsl:value-of select="php:function('lang', 'format type')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <table>
-                                                                               
                <xsl:apply-templates select="format_type_list"/>
-                                                                               
        </table>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td class="th_text" valign="top">
-                                                                               
        <xsl:value-of select="php:function('lang', 'details')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <!--table width="100%" cellpadding="2" cellspacing="2" align="center">
-                                                                               
                <td>
-                                                                               
                        <div id="paging_0"/>
-                                                                               
                        <div id="datatable-container_0"/>
-                                                                               
                </td>
-                                                                               
        </table-->
-                                                                               
         
-                                                                               
         <div class="pure-custom">
-                                                                               
             <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="data" select ='data' 
/>
-                                                                               
                                     <xsl:with-param name="config" select 
='config' />
-                                                                               
                             </xsl:call-template>
-                                                                               
                     </xsl:if>
-                                                                               
             </xsl:for-each>
-                                                                               
         </div>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <xsl:value-of select="php:function('lang', 'input type')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <select name="values[input_type]">
-                                                                               
                <xsl:attribute name="title">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'input 
type')"/>
-                                                                               
                </xsl:attribute>
-                                                                               
                <option value="">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'input 
type')"/>
-                                                                               
                </option>
-                                                                               
                <xsl:apply-templates select="input_type_list"/>
-                                                                               
        </select>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <xsl:value-of select="php:function('lang', 'input name')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <input type="text" name="values[input_name]" value="{value_input_name}" 
size="12">
-                                                                               
                <xsl:attribute name="title">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'input 
name')"/>
-                                                                               
                </xsl:attribute>
-                                                                               
        </input>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <xsl:value-of select="php:function('lang', 'is id')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <input type="checkbox" name="values[is_id]" value="1">
-                                                                               
        </input>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td>
-                                                                               
        <xsl:value-of select="php:function('lang', 'private')"/>
-                                                                               
</td>
-                                                                               
<td>
-                                                                               
        <input type="checkbox" name="values[access]" value="True">
-                                                                               
                <xsl:if test="value_access = 'private'">
-                                                                               
                        <xsl:attribute name="checked">
-                                                                               
                                <xsl:text>checked</xsl:text>
-                                                                               
                        </xsl:attribute>
-                                                                               
                </xsl:if>
-                                                                               
        </input>
-                                                                               
</td>
-                                                                       </tr>
-                                                                       <tr>
-                                                                               
<td colspan="2">
-                                                                               
        <table cellpadding="2" cellspacing="2" width="50%" align="center">
-                                                                               
                <xsl:variable name="lang_save">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'save')"/>
-                                                                               
                </xsl:variable>
-                                                                               
                <xsl:variable name="lang_apply">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'apply')"/>
-                                                                               
                </xsl:variable>
-                                                                               
                <xsl:variable name="lang_cancel">
-                                                                               
                        <xsl:value-of select="php:function('lang', 'cancel')"/>
-                                                                               
                </xsl:variable>
-                                                                               
                <tr height="50">
-                                                                               
                        <td>
-                                                                               
                                <input type="submit" name="values[save]" 
value="{$lang_save}">
-                                                                               
                                        <xsl:attribute name="title">
-                                                                               
                                                <xsl:value-of 
select="php:function('lang', 'save')"/>
-                                                                               
                                        </xsl:attribute>
-                                                                               
                                </input>
-                                                                               
                        </td>
-                                                                               
                        <td>
-                                                                               
                                <input type="submit" name="values[apply]" 
value="{$lang_apply}">
-                                                                               
                                        <xsl:attribute name="title">
-                                                                               
                                                <xsl:value-of 
select="php:function('lang', 'apply')"/>
-                                                                               
                                        </xsl:attribute>
-                                                                               
                                </input>
-                                                                               
                        </td>
-                                                                               
                        <td>
-                                                                               
                                <input type="submit" name="values[cancel]" 
value="{$lang_cancel}">
-                                                                               
                                        <xsl:attribute name="title">
-                                                                               
                                                <xsl:value-of 
select="php:function('lang', 'cancel')"/>
-                                                                               
                                        </xsl:attribute>
-                                                                               
                                </input>
-                                                                               
                        </td>
-                                                                               
                </tr>
-                                                                               
        </table>
-                                                                               
</td>
-                                                                       </tr>
-                                                               </table>
-                                                       </form>
-                                               </td>
-                                       </tr>
-                               </td>
-                       </tr>
-               </table>
-               <!--  DATATABLE DEFINITIONS-->
-               <script type="text/javascript">
-                       var property_js = <xsl:value-of select="property_js"/>;
-                       var base_java_url = <xsl:value-of 
select="base_java_url"/>;
-                       var datatable = new Array();
-                       var myColumnDefs = new Array();
-                       var myButtons = new Array();
-                       var td_count = <xsl:value-of select="td_count"/>;
+            <script type="text/javascript">
+                       self.name="first_Window";
+                       <xsl:value-of select="lookup_functions"/>
+            </script>
+            <div id="tab-content">
+                <xsl:value-of disable-output-escaping="yes" select="tabs"/>
+                <div class="yui-content">
+                    <div id="general">
+                        <div align="left">
+                            <xsl:variable name="form_action">
+                                    <xsl:value-of select="form_action"/>
+                            </xsl:variable>
+                            <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
+                                    <tr>
+                                            <td>
+                                                    <table cellpadding="2" 
cellspacing="2" align="left">
+                                                            <xsl:choose>
+                                                                    <xsl:when 
test="msgbox_data != ''">
+                                                                            
<tr>
+                                                                               
     <td align="left" colspan="3">
+                                                                               
             <xsl:call-template name="msgbox"/>
+                                                                               
     </td>
+                                                                            
</tr>
+                                                                    </xsl:when>
+                                                            </xsl:choose>
+                                                            <xsl:choose>
+                                                                    <xsl:when 
test="value_id != ''">
+                                                                            
<tr>
+                                                                               
     <td valign="top">
+                                                                               
             <xsl:value-of select="php:function('lang', 'id')"/>
+                                                                               
     </td>
+                                                                               
     <td>
+                                                                               
             <xsl:value-of select="value_id"/>
+                                                                               
     </td>
+                                                                            
</tr>
+                                                                    </xsl:when>
+                                                            </xsl:choose>
+                                                            <form 
name="form_app" class="pure-form pure-form-aligned" method="post" 
action="{$form_action}">
+                                                                    <tr>
+                                                                            
<td>
+                                                                               
     <xsl:value-of select="php:function('lang', 'application')"/>
+                                                                            
</td>
+                                                                            
<td align="left">
+                                                                               
     <select name="app" onChange="this.form.submit();">
+                                                                               
             <xsl:attribute name="title">
+                                                                               
                     <xsl:value-of select="php:function('lang', 
'application')"/>
+                                                                               
             </xsl:attribute>
+                                                                               
             <xsl:apply-templates select="apps_list"/>
+                                                                               
     </select>
+                                                                            
</td>
+                                                                    </tr>
+                                                            </form>
+                                                    </table>
+                                                    <tr>
+                                                            <td>
+                                                                    <form 
ENCTYPE="multipart/form-data" class="pure-form pure-form-aligned" name="form" 
method="post" action="{$form_action}">
+                                                                            
<table cellpadding="2" cellspacing="2" align="left">
+                                                                               
     <tr>
+                                                                               
             <td>
+                                                                               
                     <input type="hidden" name="values[app]" 
value="{value_app}"/>
+                                                                               
                     <xsl:value-of select="php:function('lang', 'location')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <select name="values[location]">
+                                                                               
                             <xsl:attribute name="title">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'Select submodule')"/>
+                                                                               
                             </xsl:attribute>
+                                                                               
                             <option value="">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'No location')"/>
+                                                                               
                             </option>
+                                                                               
                             <xsl:apply-templates select="location_list"/>
+                                                                               
                     </select>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <xsl:choose>
+                                                                               
             <xsl:when test="value_file_name != ''">
+                                                                               
                     <tr>
+                                                                               
                             <td valign="top">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'filename')"/>
+                                                                               
                             </td>
+                                                                               
                             <td>
+                                                                               
                                     <xsl:value-of select="value_file_name"/>
+                                                                               
                             </td>
+                                                                               
                     </tr>
+                                                                               
             </xsl:when>
+                                                                               
     </xsl:choose>
+                                                                               
     <tr>
+                                                                               
             <td valign="top">
+                                                                               
                     <xsl:value-of select="php:function('lang', 'file')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <input type="file" size="50" name="file">
+                                                                               
                             <xsl:attribute name="title">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'upload file')"/>
+                                                                               
                             </xsl:attribute>
+                                                                               
                     </input>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td>
+                                                                               
                     <xsl:value-of select="php:function('lang', 'title')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <input type="text" name="values[title]" 
value="{value_title}" size="60">
+                                                                               
                             <xsl:attribute name="title">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'title')"/>
+                                                                               
                             </xsl:attribute>
+                                                                               
                     </input>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td valign="top">
+                                                                               
                     <xsl:value-of select="php:function('lang', 'descr')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <textarea cols="60" rows="10" name="values[descr]">
+                                                                               
                             <xsl:attribute name="title">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'descr')"/>
+                                                                               
                             </xsl:attribute>
+                                                                               
                             <xsl:value-of select="value_descr"/>
+                                                                               
                     </textarea>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td valign="top">
+                                                                               
                     <xsl:value-of select="php:function('lang', 'format 
type')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <table>
+                                                                               
                             <xsl:apply-templates select="format_type_list"/>
+                                                                               
                     </table>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td class="th_text" valign="top">
+                                                                               
                     <xsl:value-of select="php:function('lang', 'details')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <!--table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+                                                                               
                             <td>
+                                                                               
                                     <div id="paging_0"/>
+                                                                               
                                     <div id="datatable-container_0"/>
+                                                                               
                             </td>
+                                                                               
                     </table-->
 
-                       <xsl:for-each select="datatable">
-                               datatable[<xsl:value-of select="name"/>] = [
-                                       {
-                                               values:<xsl:value-of 
select="values"/>,
-                                               total_records: <xsl:value-of 
select="total_records"/>,
-                                               is_paginator:  <xsl:value-of 
select="is_paginator"/>,
-                                       <!--pdatatableermission:<xsl:value-of 
select="permission"/>, -->
-                                               footer:<xsl:value-of 
select="footer"/>
-                                       }
-                               ]
-                       </xsl:for-each>
-                       <xsl:for-each select="myColumnDefs">
-                               myColumnDefs[<xsl:value-of select="name"/>] = 
<xsl:value-of select="values"/>
-                       </xsl:for-each>
-                       <xsl:for-each select="myButtons">
-                               myButtons[<xsl:value-of select="name"/>] = 
<xsl:value-of select="values"/>
-                       </xsl:for-each>
-               </script>
+                                                                               
                     <div class="pure-custom">
+                                                                               
                         <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="data" 
select ='data' />
+                                                                               
                                                 <xsl:with-param name="config" 
select ='config' />
+                                                                               
                                         </xsl:call-template>
+                                                                               
                                 </xsl:if>
+                                                                               
                         </xsl:for-each>
+                                                                               
                     </div>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td>
+                                                                               
                     <xsl:value-of select="php:function('lang', 'input type')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <select name="values[input_type]">
+                                                                               
                             <xsl:attribute name="title">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'input type')"/>
+                                                                               
                             </xsl:attribute>
+                                                                               
                             <option value="">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'input type')"/>
+                                                                               
                             </option>
+                                                                               
                             <xsl:apply-templates select="input_type_list"/>
+                                                                               
                     </select>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td>
+                                                                               
                     <xsl:value-of select="php:function('lang', 'input name')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <input type="text" name="values[input_name]" 
value="{value_input_name}" size="12">
+                                                                               
                             <xsl:attribute name="title">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'input name')"/>
+                                                                               
                             </xsl:attribute>
+                                                                               
                     </input>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td>
+                                                                               
                     <xsl:value-of select="php:function('lang', 'is id')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <input type="checkbox" name="values[is_id]" value="1">
+                                                                               
                     </input>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td>
+                                                                               
                     <xsl:value-of select="php:function('lang', 'private')"/>
+                                                                               
             </td>
+                                                                               
             <td>
+                                                                               
                     <input type="checkbox" name="values[access]" value="True">
+                                                                               
                             <xsl:if test="value_access = 'private'">
+                                                                               
                                     <xsl:attribute name="checked">
+                                                                               
                                             <xsl:text>checked</xsl:text>
+                                                                               
                                     </xsl:attribute>
+                                                                               
                             </xsl:if>
+                                                                               
                     </input>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                               
     <tr>
+                                                                               
             <td colspan="2">
+                                                                               
                     <table cellpadding="2" cellspacing="2" width="50%" 
align="center">
+                                                                               
                             <xsl:variable name="lang_save">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'save')"/>
+                                                                               
                             </xsl:variable>
+                                                                               
                             <xsl:variable name="lang_apply">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'apply')"/>
+                                                                               
                             </xsl:variable>
+                                                                               
                             <xsl:variable name="lang_cancel">
+                                                                               
                                     <xsl:value-of select="php:function('lang', 
'cancel')"/>
+                                                                               
                             </xsl:variable>
+                                                                               
                             <tr height="50">
+                                                                               
                                     <td>
+                                                                               
                                             <input type="submit" 
class="pure-button pure-button-primary" name="values[save]" 
value="{$lang_save}">
+                                                                               
                                                     <xsl:attribute 
name="title">
+                                                                               
                                                             <xsl:value-of 
select="php:function('lang', 'save')"/>
+                                                                               
                                                     </xsl:attribute>
+                                                                               
                                             </input>
+                                                                               
                                     </td>
+                                                                               
                                     <td>
+                                                                               
                                             <input type="submit" 
class="pure-button pure-button-primary" name="values[apply]" 
value="{$lang_apply}">
+                                                                               
                                                     <xsl:attribute 
name="title">
+                                                                               
                                                             <xsl:value-of 
select="php:function('lang', 'apply')"/>
+                                                                               
                                                     </xsl:attribute>
+                                                                               
                                             </input>
+                                                                               
                                     </td>
+                                                                               
                                     <td>
+                                                                               
                                             <input type="submit" 
class="pure-button pure-button-primary" name="values[cancel]" 
value="{$lang_cancel}">
+                                                                               
                                                     <xsl:attribute 
name="title">
+                                                                               
                                                             <xsl:value-of 
select="php:function('lang', 'cancel')"/>
+                                                                               
                                                     </xsl:attribute>
+                                                                               
                                             </input>
+                                                                               
                                     </td>
+                                                                               
                             </tr>
+                                                                               
                     </table>
+                                                                               
             </td>
+                                                                               
     </tr>
+                                                                            
</table>
+                                                                    </form>
+                                                            </td>
+                                                    </tr>
+                                            </td>
+                                    </tr>
+                            </table>
+                            <!--  DATATABLE DEFINITIONS-->
+                            <script type="text/javascript">
+                                    var property_js = <xsl:value-of 
select="property_js"/>;
+                                    var base_java_url = <xsl:value-of 
select="base_java_url"/>;
+                                    var datatable = new Array();
+                                    var myColumnDefs = new Array();
+                                    var myButtons = new Array();
+                                    var td_count = <xsl:value-of 
select="td_count"/>;
+
+                                    <xsl:for-each select="datatable">
+                                            datatable[<xsl:value-of 
select="name"/>] = [
+                                                    {
+                                                            
values:<xsl:value-of select="values"/>,
+                                                            total_records: 
<xsl:value-of select="total_records"/>,
+                                                            is_paginator:  
<xsl:value-of select="is_paginator"/>,
+                                                    
<!--pdatatableermission:<xsl:value-of select="permission"/>, -->
+                                                            
footer:<xsl:value-of select="footer"/>
+                                                    }
+                                            ]
+                                    </xsl:for-each>
+                                    <xsl:for-each select="myColumnDefs">
+                                            myColumnDefs[<xsl:value-of 
select="name"/>] = <xsl:value-of select="values"/>
+                                    </xsl:for-each>
+                                    <xsl:for-each select="myButtons">
+                                            myButtons[<xsl:value-of 
select="name"/>] = <xsl:value-of select="values"/>
+                                    </xsl:for-each>
+                            </script>
+                        </div>
+                    </div>
+                </div>
+            </div>
        </xsl:template>
 
        <!-- New template-->




reply via email to

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