phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/skins/default/workorder.xsl, 1.1.1.6


From: nomail
Subject: [Phpgroupware-cvs] property/skins/default/workorder.xsl, 1.1.1.6
Date: Sun, 23 May 2004 05:15:56 -0000

Update of /property/skins/default
Modified Files:
        Branch: 
          workorder.xsl

date: 2004/04/29 12:49:48;  author: sigurdne;  state: Exp;  lines: +16 -13

Log Message:
no message
=====================================================================
Index: property/skins/default/workorder.xsl
diff -u property/skins/default/workorder.xsl:1.1.1.5 
property/skins/default/workorder.xsl:1.1.1.6
--- property/skins/default/workorder.xsl:1.1.1.5        Mon Apr 26 18:52:25 2004
+++ property/skins/default/workorder.xsl        Thu Apr 29 12:49:48 2004
@@ -20,8 +20,7 @@
                </xsl:choose>
        </xsl:template>
        
-       <xsl:template match="add">
-               
+       <xsl:template match="add">              
                <xsl:call-template name="menu"/> 
                <table width="50%"  cellpadding="2" cellspacing="2" 
align="center">
 
@@ -29,7 +28,7 @@
                                <td>
                                        <xsl:variable 
name="add_action"><xsl:value-of select="add_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_add"><xsl:value-of select="lang_add"/></xsl:variable>
-                                       <form method="post" 
action="{$add_action}">
+                                       <form></form><form method="post" 
action="{$add_action}">
                                        <input type="submit" class="forms" 
name="add" value="{$lang_add}" onMouseout="window.status='';return true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>
@@ -76,7 +75,7 @@
                <table width="100%"  cellpadding="2" cellspacing="2" 
align="center">
                        <tr>
                                <td>
-                                       <xsl:call-template name="cat_filter"/>
+                                       <form></form><xsl:call-template 
name="cat_filter"/>
                                </td>
                                <td align="left">
                                        <xsl:call-template 
name="status_filter"/>
@@ -228,7 +227,7 @@
 
        <xsl:template match="edit">
                <xsl:apply-templates select="cal_info"/>
-               <div align="left">
+               <div align="left"><form></form>
                
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                        <xsl:choose>
@@ -681,6 +680,7 @@
 
 <!--
        <xsl:template match="workorder_budget">
+               <xsl:for-each select="workorder_budget_item" >
                <xsl:variable name="workorder_link"><xsl:value-of 
select="//workorder_link"/>&amp;id=<xsl:value-of 
select="workorder_id"/></xsl:variable>
                        <tr>
                                <xsl:attribute name="class">
@@ -704,6 +704,7 @@
                                        <xsl:value-of select="budget"/>
                                </td>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="branch_list">
@@ -759,21 +760,22 @@
        <xsl:template match="table_header_history">
                        <tr class="th">
                                <td class="th_text" width="20%" align="left">
-                                       <xsl:value-of select="lang_date"/>
+                                       <xsl:value-of 
select="table_header_history_item/lang_date"/>
                                </td>
                                <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of select="lang_user"/>
+                                       <xsl:value-of 
select="table_header_history_item/lang_user"/>
                                </td>
                                <td class="th_text" width="30%" align="left">
-                                       <xsl:value-of select="lang_action"/>
+                                       <xsl:value-of 
select="table_header_history_item/lang_action"/>
                                </td>
                                <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of select="lang_new_value"/>
+                                       <xsl:value-of 
select="table_header_history_item/lang_new_value"/>
                                </td>
                        </tr>
        </xsl:template>
 
        <xsl:template match="record_history">
+               <xsl:for-each select="record_history_item" >
                        <tr>
                                <xsl:attribute name="class">
                                        <xsl:choose>
@@ -801,15 +803,16 @@
                                        <xsl:value-of select="value_new_value"/>
                                </td>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="table_header_workorder_budget">
                        <tr class="th">
                                <td class="th_text" width="4%" align="right">
-                                       <xsl:value-of 
select="lang_workorder_id"/>
+                                       <xsl:value-of 
select="table_header_workorder_budget_item/lang_workorder_id"/>
                                </td>
                                <td class="th_text" width="10%" align="right">
-                                       <xsl:value-of select="lang_sum"/>
+                                       <xsl:value-of 
select="table_header_workorder_budget_item/lang_sum"/>
                                </td>
                        </tr>
        </xsl:template>
@@ -1061,7 +1064,7 @@
                                <td>
                                        <xsl:variable 
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
                                        <xsl:variable 
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
-                                       <form method="post" 
action="{$done_action}">
+                                       <form></form><form method="post" 
action="{$done_action}">
                                        <input type="submit" class="forms" 
name="done" value="{$lang_done}" onMouseout="window.status='';return true;">
                                                <xsl:attribute 
name="onMouseover">
                                                        
<xsl:text>window.status='</xsl:text>




reply via email to

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