phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/skins/default/project.xsl, 1.1.1.7


From: nomail
Subject: [Phpgroupware-cvs] property/skins/default/project.xsl, 1.1.1.7
Date: Sun, 23 May 2004 03:16:50 -0000

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

date: 2004/05/03 09:35:28;  author: sigurdne;  state: Exp;  lines: +55 -45

Log Message:
no message
=====================================================================
Index: property/skins/default/project.xsl
diff -u property/skins/default/project.xsl:1.1.1.6 
property/skins/default/project.xsl:1.1.1.7
--- property/skins/default/project.xsl:1.1.1.6  Thu Apr 29 12:49:48 2004
+++ property/skins/default/project.xsl  Mon May  3 09:35:28 2004
@@ -600,73 +600,82 @@
        </xsl:template>
 
        <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="key_responsible_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="key_responsible_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="key_fetch_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="key_fetch_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="key_deliver_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="key_deliver_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="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>
@@ -694,21 +703,22 @@
                                        <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_budget"/>
+                                       <xsl:value-of 
select="table_header_workorder_budget_item/lang_budget"/>
                                </td>
                                <td class="th_text" width="10%" align="right">
-                                       <xsl:value-of 
select="lang_calculation"/>
+                                       <xsl:value-of 
select="table_header_workorder_budget_item/lang_calculation"/>
                                </td>
                                <td class="th_text" width="10%" align="right">
-                                       <xsl:value-of select="lang_vendor"/>
+                                       <xsl:value-of 
select="table_header_workorder_budget_item/lang_vendor"/>
                                </td>
                        </tr>
        </xsl:template>




reply via email to

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