mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
added xsl tpl
This commit is contained in:
parent
9fea7d76e0
commit
48d3c51ede
@ -8,7 +8,7 @@
|
||||
<xsl:template match="cat_list">
|
||||
<xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
|
||||
<xsl:choose>
|
||||
<xsl:when test="selected_cat">
|
||||
<xsl:when test="selected">
|
||||
<option value="{$id}" selected="selected"><xsl:value-of select="name"/></option>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
17
phpgwapi/templates/default/filter_select.xsl
Normal file
17
phpgwapi/templates/default/filter_select.xsl
Normal file
@ -0,0 +1,17 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="filter_select">
|
||||
<xsl:apply-templates select="filter_list"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="filter_list">
|
||||
<xsl:variable name="key"><xsl:value-of select="key"/></xsl:variable>
|
||||
<xsl:choose>
|
||||
<xsl:when test="selected">
|
||||
<option value="{$key}" selected="selected"><xsl:value-of select="lang"/></option>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<option value="{$key}"><xsl:value-of select="lang"/></option>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
Loading…
Reference in New Issue
Block a user