[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/base gab.xsl
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/templates/base gab.xsl |
Date: |
Fri, 31 Mar 2006 11:24:12 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Branch:
Changes by: Sigurd Nes <address@hidden> 06/03/31 11:24:12
Modified files:
templates/base : gab.xsl
Log message:
payment-history
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/templates/base/gab.xsl.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: property/templates/base/gab.xsl
diff -u property/templates/base/gab.xsl:1.2 property/templates/base/gab.xsl:1.3
--- property/templates/base/gab.xsl:1.2 Thu Aug 18 13:23:16 2005
+++ property/templates/base/gab.xsl Fri Mar 31 11:24:11 2006
@@ -1,4 +1,4 @@
-<!-- $Id: gab.xsl,v 1.2 2005/08/18 13:23:16 sigurdne Exp $ -->
+<!-- $Id: gab.xsl,v 1.3 2006/03/31 11:24:11 sigurdne Exp $ -->
<xsl:template name="app_data">
<xsl:choose>
@@ -30,7 +30,31 @@
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
+ <xsl:text> </xsl:text>
+ <xsl:value-of
select="//lang_check_payments"/>
+ <xsl:text>: </xsl:text>
+ <xsl:choose>
+ <xsl:when
test="//value_check_payments !=''">
+ <input
type="checkbox" name="check_payments" value="1" checked="checked"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_check_payments_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </xsl:when>
+ <xsl:otherwise>
+ <input
type="checkbox" name="check_payments" value="1"
onMouseout="window.status='';return true;">
+
<xsl:attribute name="onMouseover">
+
<xsl:text>window.status='</xsl:text>
+
<xsl:value-of select="lang_check_payments_statustext"/>
+
<xsl:text>'; return true;</xsl:text>
+
</xsl:attribute>
+ </input>
+ </xsl:otherwise>
+ </xsl:choose>
</td>
+
</tr>
<tr>
<td class="th_text" width="17%" align="left">
@@ -129,7 +153,7 @@
<xsl:call-template name="search_field"/>
</form>
<tr>
- <td colspan="8" width="100%">
+ <td colspan="{colspan}" width="100%">
<xsl:call-template name="nextmatchs"/>
</td>
</tr>
@@ -186,6 +210,15 @@
<td class="th_text" width="5%" align="center">
<xsl:value-of select="lang_map"/>
</td>
+ <xsl:choose>
+ <xsl:when test="payment_header!=''">
+ <xsl:for-each
select="payment_header" >
+ <td class="th_text"
width="5%" align="center">
+ <xsl:value-of
select="header"/>
+ </td>
+ </xsl:for-each>
+ </xsl:when>
+ </xsl:choose>
</tr>
</xsl:template>
@@ -245,6 +278,17 @@
<a href="{$link_gab}" target="_blank"
onMouseover="window.status='{lang_gab_statustext}';return true;"
onMouseout="window.status='';return true;"><xsl:value-of select="text_gab"/></a>
</pre>
</td>
+
+ <xsl:choose>
+ <xsl:when test="payment!=''">
+ <xsl:for-each select="payment" >
+ <td align="right">
+ <xsl:value-of
select="amount"/>
+ </td>
+ </xsl:for-each>
+ </xsl:when>
+ </xsl:choose>
+
</tr>
</xsl:template>
@@ -701,4 +745,4 @@
</tr>
</table>
</div>
- </xsl:template>
\ No newline at end of file
+ </xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/base gab.xsl,
Sigurd Nes <=