phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/skins/default/drawing.xsl, 1.1.1.5


From: nomail
Subject: [Phpgroupware-cvs] property/skins/default/drawing.xsl, 1.1.1.5
Date: Sun, 23 May 2004 02:57:12 -0000

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

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

Log Message:
no message
=====================================================================
Index: property/skins/default/drawing.xsl
diff -u property/skins/default/drawing.xsl:1.1.1.4 
property/skins/default/drawing.xsl:1.1.1.5
--- property/skins/default/drawing.xsl:1.1.1.4  Mon Apr 26 18:52:25 2004
+++ property/skins/default/drawing.xsl  Thu Apr 29 12:49:48 2004
@@ -22,7 +22,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"/>
@@ -58,13 +58,13 @@
        <xsl:template match="table_add">
                        <tr>
                                <td height="50">
-                                       <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>
+                                       <xsl:variable 
name="add_action"><xsl:value-of 
select="table_add_item/add_action"/></xsl:variable>
+                                       <xsl:variable 
name="lang_add"><xsl:value-of select="table_add_item/lang_add"/></xsl:variable>
                                        <form method="post" 
action="{$add_action}">
                                                <input type="submit" name="add" 
value="{$lang_add}" onMouseout="window.status='';return true;">
                                                        <xsl:attribute 
name="onMouseover">
                                                                
<xsl:text>window.status='</xsl:text>
-                                                                       
<xsl:value-of select="lang_add_statustext"/>
+                                                                       
<xsl:value-of select="table_add_item/lang_add_statustext"/>
                                                                <xsl:text>'; 
return true;</xsl:text>
                                                        </xsl:attribute>
                                                </input>
@@ -102,7 +102,7 @@
                                </xsl:when>
                        </xsl:choose>
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
-                       <form ENCTYPE="multipart/form-data" method="post" 
name="form" action="{$form_action}">
+                       <form></form><form ENCTYPE="multipart/form-data" 
method="post" name="form" action="{$form_action}">
                                <xsl:choose>
                                        <xsl:when test="value_drawing_name!=''">
                                        <tr>
@@ -312,35 +312,38 @@
 
 
        <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="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>
@@ -368,6 +371,7 @@
                                        <xsl:value-of select="value_new_value"/>
                                </td>
                        </tr>
+               </xsl:for-each>
        </xsl:template>
 
 <!-- view -->
@@ -486,7 +490,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]