mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 11:11:49 +01:00
19 lines
619 B
XML
19 lines
619 B
XML
<!-- $Id$ -->
|
|
|
|
<xsl:template name="cat_select">
|
|
<option value=""><xsl:value-of select="lang_no_cat"/></option>
|
|
<xsl:apply-templates select="cat_list"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="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>
|