phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/templates/default/group_select.xsl, 1.2


From: nomail
Subject: [Phpgroupware-cvs] property/templates/default/group_select.xsl, 1.2
Date: Wed, 2 Jun 2004 21:10:04 +0200

Update of /property/templates/default
Added Files:
        Branch: 
          group_select.xsl

date: 2004/06/02 19:10:04;  author: sigurdne;  state: Exp;  lines: +22 -0

Log Message:
no message
=====================================================================
<!-- $Id: group_select.xsl,v 1.2 2004/06/02 19:10:04 sigurdne Exp $ -->

        <xsl:template name="group_select">
        <xsl:variable name="lang_group_statustext"><xsl:value-of 
select="lang_group_statustext"/></xsl:variable>
        <xsl:variable name="select_group_name"><xsl:value-of 
select="select_group_name"/></xsl:variable>
                <select name="{$select_group_name}" class="forms" 
onMouseover="window.status='{$lang_group_statustext}'; return true;" 
onMouseout="window.status='';return true;">
                        <option value=""><xsl:value-of 
select="lang_no_group"/></option>
                                <xsl:apply-templates select="group_list"/>
                </select>
        </xsl:template>

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