[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/default/alarm_view.xsl, 1.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/templates/default/alarm_view.xsl, 1.1 |
Date: |
Wed, 30 Jun 2004 00:04:50 +0200 |
Update of /property/templates/default
Added Files:
Branch:
alarm_view.xsl
date: 2004/06/29 22:04:50; author: sigurdne; state: Exp;
Log Message:
no message
=====================================================================
<!-- $Id: alarm_view.xsl,v 1.1 2004/06/29 22:04:50 sigurdne Exp $ -->
<xsl:template name="alarm_view">
<xsl:apply-templates select="alarm_data"/>
</xsl:template>
<xsl:template name="alarm_data">
<table width="80%" cellpadding="2" cellspacing="2"
align="center">
<xsl:apply-templates select="header"/>
<xsl:apply-templates select="values"/>
</table>
</xsl:template>
<xsl:template match="header">
<tr class="th">
<td class="th_text" width="20%" align="left">
<xsl:value-of select="lang_time"/>
</td>
<td class="th_text" width="30%" align="left">
<xsl:value-of select="lang_text"/>
</td>
<td class="th_text" width="10%" align="left">
<xsl:value-of select="lang_user"/>
</td>
<td class="th_text" width="10%" align="center">
<xsl:value-of select="lang_enabled"/>
</td>
</tr>
</xsl:template>
<xsl:template match="values">
<tr>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="@class">
<xsl:value-of select="@class"/>
</xsl:when>
<xsl:when test="position() mod 2 = 0">
<xsl:text>row_off</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>row_on</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<td align="left">
<xsl:value-of select="time"/>
</td>
<td align="left">
<pre><xsl:value-of select="text"/></pre>
</td>
<td align="left">
<xsl:value-of select="user"/>
</td>
<td align="center">
<xsl:value-of select="enabled"/>
</td>
</tr>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/default/alarm_view.xsl, 1.1,
nomail <=