2002-09-25 06:00:53 +02:00
|
|
|
<!-- $Id$ -->
|
|
|
|
|
|
|
|
<xsl:template name="cat_select">
|
2002-09-29 04:05:54 +02:00
|
|
|
<option value=""><xsl:value-of select="lang_no_cat"/></option>
|
2002-09-27 03:09:37 +02:00
|
|
|
<xsl:apply-templates select="cat_list"/>
|
2002-09-25 06:00:53 +02:00
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="cat_list">
|
|
|
|
<xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
|
|
|
|
<xsl:choose>
|
2002-09-26 06:01:49 +02:00
|
|
|
<xsl:when test="selected">
|
2002-10-13 00:33:24 +02:00
|
|
|
<option value="{$id}" selected="selected"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
2002-09-25 06:00:53 +02:00
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
2002-10-13 00:33:24 +02:00
|
|
|
<option value="{$id}"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
2002-09-25 06:00:53 +02:00
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:template>
|