fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14409]


From: Nelson Guerra
Subject: [Fmsystem-commits] [14409]
Date: Thu, 19 Nov 2015 00:25:49 +0000

Revision: 14409
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14409
Author:   nelson224
Date:     2015-11-19 00:25:44 +0000 (Thu, 19 Nov 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/frontend/templates/base/helpdesk.xsl

Modified: branches/dev-syncromind/frontend/templates/base/helpdesk.xsl
===================================================================
--- branches/dev-syncromind/frontend/templates/base/helpdesk.xsl        
2015-11-19 00:25:31 UTC (rev 14408)
+++ branches/dev-syncromind/frontend/templates/base/helpdesk.xsl        
2015-11-19 00:25:44 UTC (rev 14409)
@@ -1,84 +1,91 @@
 <!-- $Id$ -->
 <xsl:template match="helpdesk" xmlns:php="http://php.net/xsl";>
+
+       <xsl:choose>
+           <xsl:when test="msgbox_data != ''">
+                       <xsl:call-template name="msgbox"/>
+           </xsl:when>
+    </xsl:choose>
        
-    <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
        <xsl:variable name="tab_selected"><xsl:value-of 
select="tab_selected"/></xsl:variable>
        
-       <form id="form" name="form" method="post" action="{$form_action}" 
class="pure-form pure-form-aligned">
-               <div id="tab-content">
-                       <xsl:value-of disable-output-escaping="yes" 
select="tabs" />
-                       <div id="{$tab_selected}">
-               <xsl:choose>
-                               <xsl:when 
test="normalize-space(//header/selected_location) != ''">
-                                       <div class="toolbar-container">
-                                                       <div>
-                                                               <xsl:for-each 
select="filters">
-                                                                       
<xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
-                                                                       <select 
id="{$name}" name="{$name}">
-                                                                               
<xsl:for-each select="list">
-                                                                               
        <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-                                                                               
        <xsl:choose>
-                                                                               
                <xsl:when test="id = 'NEW'">
-                                                                               
                        <option value="{$id}" selected="selected">
-                                                                               
                                <xsl:value-of select="name"/>
-                                                                               
                        </option>
-                                                                               
                </xsl:when>
-                                                                               
                <xsl:otherwise>
-                                                                               
                        <xsl:choose>
-                                                                               
                                <xsl:when test="selected = 'selected'">
-                                                                               
                                        <option value="{$id}" 
selected="selected">
-                                                                               
                                                <xsl:value-of select="name"/>
-                                                                               
                                        </option>
-                                                                               
                                </xsl:when>
-                                                                               
                                <xsl:otherwise>
-                                                                               
                                        <option value="{$id}">
-                                                                               
                                                <xsl:value-of select="name"/>
-                                                                               
                                        </option>
-                                                                               
                                </xsl:otherwise>
-                                                                               
                        </xsl:choose>
-                                                                               
                </xsl:otherwise>
-                                                                               
        </xsl:choose>
-                                                                               
</xsl:for-each>
-                                                                       
</select>                                                                       
+       <div class="frontend_body">
+               <div class="pure-form pure-form-aligned">
+                       <div id="tab-content">
+                               <xsl:value-of disable-output-escaping="yes" 
select="tabs" />
+                               <div id="{$tab_selected}">
+                                       <xsl:choose>
+                                               <xsl:when 
test="normalize-space(//header/selected_location) != ''">
+                                                       <div 
class="toolbar-container">
+                                                               <div>
+                                                                       
<xsl:for-each select="filters">
+                                                                               
<xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
+                                                                               
<select id="{$name}" name="{$name}">
+                                                                               
        <xsl:for-each select="list">
+                                                                               
                <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                                                                               
                <xsl:choose>
+                                                                               
                        <xsl:when test="id = 'NEW'">
+                                                                               
                                <option value="{$id}" selected="selected">
+                                                                               
                                        <xsl:value-of select="name"/>
+                                                                               
                                </option>
+                                                                               
                        </xsl:when>
+                                                                               
                        <xsl:otherwise>
+                                                                               
                                <xsl:choose>
+                                                                               
                                        <xsl:when test="selected = 'selected'">
+                                                                               
                                                <option value="{$id}" 
selected="selected">
+                                                                               
                                                        <xsl:value-of 
select="name"/>
+                                                                               
                                                </option>
+                                                                               
                                        </xsl:when>
+                                                                               
                                        <xsl:otherwise>
+                                                                               
                                                <option value="{$id}">
+                                                                               
                                                        <xsl:value-of 
select="name"/>
+                                                                               
                                                </option>
+                                                                               
                                        </xsl:otherwise>
+                                                                               
                                </xsl:choose>
+                                                                               
                        </xsl:otherwise>
+                                                                               
                </xsl:choose>
+                                                                               
        </xsl:for-each>
+                                                                               
</select>                                                                       
+                                                                       
</xsl:for-each>
+                                                               </div>
+                                                       </div>
+                                                       <div class="tickets">
+                                                               <table 
cellpadding="2" cellspacing="2" width="95%" align="center">
+                                                                       
<xsl:choose>
+                                                                               
<xsl:when test="msgbox_data != ''">
+                                                                               
        <tr>
+                                                                               
                <td align="left" colspan="3">
+                                                                               
                        <xsl:call-template name="msgbox"/>
+                                                                               
                </td>
+                                                                               
        </tr>
+                                                                               
</xsl:when>
+                                                                       
</xsl:choose>
+                                                               </table>
+                                                               <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>
-                           </div>
-                           <div class="tickets">
-                               <table cellpadding="2" cellspacing="2" 
width="95%" align="center">
-                                               <xsl:choose>
-                                                   <xsl:when test="msgbox_data 
!= ''">
-                                                       <tr>
-                                                           <td align="left" 
colspan="3">
-                                                               
<xsl:call-template name="msgbox"/>
-                                                           </td>
-                                                       </tr>
-                                                   </xsl:when>
-                                               </xsl:choose>
-                                           </table>
-                                                       <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>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <div class="tickets">
-                               <xsl:value-of select="php:function('lang', 
'no_buildings')"/>
-                           </div>
-                               </xsl:otherwise>
-                       </xsl:choose>
-        </div>
-               <xsl:value-of disable-output-escaping="yes" 
select="tabs_content" />    
-    </div>
-       </form>
+                                               </xsl:when>
+                                               <xsl:otherwise>
+                                                       <div class="tickets">
+                                                               <xsl:value-of 
select="php:function('lang', 'no_buildings')"/>
+                                                       </div>
+                                               </xsl:otherwise>
+                                       </xsl:choose>
+                               </div>
+                               <xsl:value-of disable-output-escaping="yes" 
select="tabs_content" />    
+                       </div>
+               </div>
+       </div>
        <script type="text/javascript" class="init">
 
                <xsl:for-each select="filters">




reply via email to

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