[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/skins/default/choice.xsl, 1.1.2.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/skins/default/choice.xsl, 1.1.2.1 |
Date: |
Tue, 18 May 2004 08:19:42 +0200 |
Update of /property/skins/default
Added Files:
Branch: proposal-branch
choice.xsl
date: 2004/05/18 06:19:42; author: sigurdne; state: Exp; lines: +66 -0
Log Message:
no message
=====================================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output indent="yes"/>
<!-- $Id: choice.xsl,v 1.1.2.1 2004/05/18 06:19:42 sigurdne Exp $ -->
<xsl:template name="choice">
<table cellpadding="2" cellspacing="2" width="80%"
align="left">
<xsl:choose>
<xsl:when test="value_choice!=''">
<tr class="th">
<td class="th_text" width="85%"
align="left">
<xsl:value-of
select="lang_value"/>
</td>
<td class="th_text" width="15%"
align="center">
<xsl:value-of
select="lang_delete_value"/>
</td>
</tr>
<xsl:for-each
select="value_choice/value_choice_item" >
<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="value"/>
<xsl:text> </xsl:text>
</td>
<td align="center">
<input type="checkbox"
name="values[delete_choice][]" value="{id}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="//lang_delete_choice_statustext"/>
<xsl:text>';
return true;</xsl:text>
</xsl:attribute>
</input>
</td>
</tr>
</xsl:for-each>
</xsl:when>
</xsl:choose>
<tr>
<td valign="top">
<xsl:value-of select="lang_new_value"/>
</td>
<td>
<input type="text"
name="values[new_choice]" onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of
select="lang_new_value_statustext"/>
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
</td>
</tr>
</table>
</xsl:template>
</xsl:stylesheet>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/skins/default/choice.xsl, 1.1.2.1,
nomail <=