phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/base wo_hour_cat_select.xsl, 1.1


From: sigurdne
Subject: [Phpgroupware-cvs] property/templates/base wo_hour_cat_select.xsl, 1.1
Date: Thu, 10 Nov 2005 14:10:00 +0100

Update of property/templates/base

Added Files:
     Branch: MAIN
            wo_hour_cat_select.xsl 

Log Message:
*** empty log message ***

====================================================
Index: wo_hour_cat_select.xsl
<!-- $Id: wo_hour_cat_select.xsl,v 1.1 2005/11/10 13:10:46 sigurdne Exp $ -->

        <xsl:template name="wo_hour_cat_select">
                        <select name="wo_hour_cat_id" 
onMouseout="window.status='';return true;">
                                <xsl:attribute name="onMouseover">
                                        <xsl:text>window.status='</xsl:text>
                                                <xsl:value-of 
select="lang_wo_hour_cat_filter_statustext"/>
                                        <xsl:text>'; return true;</xsl:text>
                                </xsl:attribute>
                                <option value=""><xsl:value-of 
select="lang_no_wo_hour_cat"/></option>
                                        <xsl:apply-templates 
select="wo_hour_cat_list"/>
                        </select>
        </xsl:template>

        <xsl:template match="wo_hour_cat_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:template>






reply via email to

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