phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/default/pricebook.xsl, 1.3


From: nomail
Subject: [Phpgroupware-cvs] property/templates/default/pricebook.xsl, 1.3
Date: Fri, 20 Aug 2004 17:15:21 +0200

Update of /property/templates/default
Modified Files:
        Branch: 
          pricebook.xsl

date: 2004/08/20 15:15:21;  author: sigurdne;  state: Exp;  lines: +17 -17

Log Message:
no message
=====================================================================
Index: property/templates/default/pricebook.xsl
diff -u property/templates/default/pricebook.xsl:1.2 
property/templates/default/pricebook.xsl:1.3
--- property/templates/default/pricebook.xsl:1.2        Wed Jun  2 19:10:39 2004
+++ property/templates/default/pricebook.xsl    Fri Aug 20 15:15:21 2004
@@ -5,8 +5,8 @@
                        <xsl:when test="edit_activity">
                                <xsl:apply-templates select="edit_activity"/>
                        </xsl:when>
-                       <xsl:when test="edit_agreement">
-                               <xsl:apply-templates select="edit_agreement"/>
+                       <xsl:when test="edit_agreement_group">
+                               <xsl:apply-templates 
select="edit_agreement_group"/>
                        </xsl:when>
                        <xsl:when test="view">
                                <xsl:apply-templates select="view"/>
@@ -14,8 +14,8 @@
                        <xsl:when test="list_activities">
                                <xsl:apply-templates select="list_activities"/>
                        </xsl:when>
-                       <xsl:when test="agreement">
-                               <xsl:apply-templates select="agreement"/>
+                       <xsl:when test="agreement_group">
+                               <xsl:apply-templates select="agreement_group"/>
                        </xsl:when>
                        <xsl:when test="prizing">
                                <xsl:apply-templates select="prizing"/>
@@ -237,7 +237,7 @@
                        </tr>
        </xsl:template>
 
-       <xsl:template match="agreement">
+       <xsl:template match="agreement_group">
                <xsl:variable name="check_source"><xsl:value-of 
select="check_source"/></xsl:variable>
                <SCRIPT LANGUAGE="JavaScript" SRC="{$check_source}"></SCRIPT>
                
@@ -269,10 +269,10 @@
                <xsl:variable name="update_action"><xsl:value-of 
select="update_action"/></xsl:variable>
                <form method="post" name="form" action="{$update_action}">
                <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
-                               <xsl:apply-templates 
select="table_header_agreement"/>
+                               <xsl:apply-templates 
select="table_header_agreement_group"/>
                                <xsl:choose>
-                                       <xsl:when 
test="values_agreement[agreement_id]!=''">
-                                               <xsl:apply-templates 
select="values_agreement"/>
+                                       <xsl:when 
test="values_agreement_group[agreement_group_id]!=''">
+                                               <xsl:apply-templates 
select="values_agreement_group"/>
                                        </xsl:when>
                                </xsl:choose>                                   
        
                </table>
@@ -282,7 +282,7 @@
                </table>
        </xsl:template>
 
-       <xsl:template match="table_header_agreement">
+       <xsl:template match="table_header_agreement_group">
                <xsl:variable name="sort_num"><xsl:value-of 
select="sort_num"/></xsl:variable>
                        <tr class="th">
                                <td class="th_text" width="5%" align="right">
@@ -306,7 +306,7 @@
                        </tr>
        </xsl:template>
 
-       <xsl:template match="values_agreement">
+       <xsl:template match="values_agreement_group">
                <xsl:variable name="lang_edit_statustext"><xsl:value-of 
select="lang_edit_statustext"/></xsl:variable>
                <xsl:variable name="lang_delete_statustext"><xsl:value-of 
select="lang_delete_statustext"/></xsl:variable>
                        <tr>
@@ -324,7 +324,7 @@
                                        </xsl:choose>
                                </xsl:attribute>
                                <td align="left">
-                                       <xsl:value-of select="agreement_id"/>
+                                       <xsl:value-of 
select="agreement_group_id"/>
                                </td>
                                <td align="left">
                                        <xsl:value-of select="num"/>
@@ -1051,9 +1051,9 @@
 
        </xsl:template>
 
-<!-- add / edit agreement -->
+<!-- add / edit agreement_group -->
 
-       <xsl:template match="edit_agreement">
+       <xsl:template match="edit_agreement_group">
                <script language="JavaScript">
                        self.name="first_Window";
                        function ns3420_lookup()
@@ -1076,13 +1076,13 @@
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
                        <form method="post" name="form" action="{$form_action}">
                        <xsl:choose>
-                               <xsl:when test="value_agreement_id !=''">
+                               <xsl:when test="value_agreement_group_id !=''">
                                        <tr>
                                                <td valign="top">
-                                                       <xsl:value-of 
select="lang_agreement_id"/>
+                                                       <xsl:value-of 
select="lang_agreement_group_id"/>
                                                </td>
                                                <td class="th_text" >
-                                                       <xsl:value-of 
select="value_agreement_id"/>
+                                                       <xsl:value-of 
select="value_agreement_group_id"/>
                                                </td>
                                        </tr>
                                </xsl:when>




reply via email to

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