phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] property/skins/default/request.xsl, 1.1.1.6
Date: Mon, 10 May 2004 08:55:05 +0200

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

date: 2004/05/10 06:55:05;  author: sigurdne;  state: Exp;  lines: +220 -189

Log Message:
no message
=====================================================================
Index: property/skins/default/request.xsl
diff -u property/skins/default/request.xsl:1.1.1.5 
property/skins/default/request.xsl:1.1.1.6
--- property/skins/default/request.xsl:1.1.1.5  Thu Apr 29 12:49:48 2004
+++ property/skins/default/request.xsl  Mon May 10 06:55:05 2004
@@ -314,15 +314,6 @@
                <div align="left">              
                <table cellpadding="2" cellspacing="2" width="80%" 
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>
-                       <xsl:choose>
                                <xsl:when test="value_request_id!=''">
                                                <td valign="top">
                                                        <xsl:variable 
name="generate_project_action"><xsl:value-of 
select="generate_project_action"/></xsl:variable>
@@ -348,7 +339,7 @@
                                </xsl:when>
                        </xsl:choose>
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
-                       <form method="post" name="form" action="{$form_action}">
+                       <form></form><form method="post" name="form" 
action="{$form_action}">
                        <input type="hidden" name="values[origin]" 
value="{value_origin}"></input>
                        <input type="hidden" name="values[origin_id]" 
value="{value_origin_id}"></input>
                        <xsl:choose>
@@ -817,253 +808,292 @@
 
 
        <xsl:template match="branch_list">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="branch_list_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="degree_list_safety">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="degree_list_safety_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="degree_list_aesthetics">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="degree_list_aesthetics_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="degree_list_indoor_climate">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="degree_list_indoor_climate_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="degree_list_consequential_damage">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="degree_list_consequential_damage_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="degree_list_user_gratification">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="degree_list_user_gratification_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="degree_list_residential_environment">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="degree_list_residential_environment_item" 
>
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="probability_list_safety">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="probability_list_safety_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="probability_list_aesthetics">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="probability_list_aesthetics_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
 
        <xsl:template match="probability_list_indoor_climate">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="probability_list_indoor_climate_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="probability_list_consequential_damage">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each 
select="probability_list_consequential_damage_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="probability_list_user_gratification">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="probability_list_user_gratification_item" 
>
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="probability_list_residential_environment">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each 
select="probability_list_residential_environment_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="consequence_list_safety">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="consequence_list_safety_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="consequence_list_aesthetics">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="consequence_list_aesthetics_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="consequence_list_indoor_climate">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="consequence_list_indoor_climate_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="consequence_list_consequential_damage">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each 
select="consequence_list_consequential_damage_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="consequence_list_user_gratification">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+               <xsl:for-each select="consequence_list_user_gratification_item" 
>
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
+                               <xsl:otherwise>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="consequence_list_residential_environment">
-       <xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
+               <xsl:for-each 
select="consequence_list_residential_environment_item" >
+               <xsl:variable name="id"><xsl:value-of 
select="id"/></xsl:variable>
+                       <xsl:choose>
+                               <xsl:when test="selected">
+                                       <option value="{$id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
+                               </xsl:when>
                        <xsl:otherwise>
-                               <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
+                                       <option value="{$id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
+                               </xsl:otherwise>
+                       </xsl:choose>
+               </xsl:for-each>
        </xsl:template>
 
 
        <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>
@@ -1091,21 +1121,22 @@
                                        <xsl:value-of select="value_new_value"/>
                                </td>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
        <xsl:template match="table_header_importance">
                        <tr class="th">
                                <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of select="lang_subject"/>
+                                       <xsl:value-of 
select="table_header_importance_item/lang_subject"/>
                                </td>
                                <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of 
select="lang_condition_degree"/>
+                                       <xsl:value-of 
select="table_header_importance_item/lang_condition_degree"/>
                                </td>
                                <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of 
select="lang_prob_worsening"/>
+                                       <xsl:value-of 
select="table_header_importance_item/lang_prob_worsening"/>
                                </td>
                                <td class="th_text" width="10%" align="left">
-                                       <xsl:value-of 
select="lang_consequence"/>
+                                       <xsl:value-of 
select="table_header_importance_item/lang_consequence"/>
                                </td>
                        </tr>
        </xsl:template>




reply via email to

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