mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
update
This commit is contained in:
parent
87b431ebd2
commit
ae2ab768d3
@ -2,9 +2,10 @@
|
|||||||
|
|
||||||
<xsl:template name="cat_filter">
|
<xsl:template name="cat_filter">
|
||||||
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
|
||||||
|
<xsl:variable name="select_name"><xsl:value-of select="select_name"/></xsl:variable>
|
||||||
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
|
||||||
<form method="post" action="{$select_action}">
|
<form method="post" action="{$select_action}">
|
||||||
<select name="cat_id" onChange="this.form.submit();" onMouseout="window.status='';return true;">
|
<select name="{$select_name}" onChange="this.form.submit();" onMouseout="window.status='';return true;">
|
||||||
<xsl:attribute name="onMouseover">
|
<xsl:attribute name="onMouseover">
|
||||||
<xsl:text>window.status='</xsl:text>
|
<xsl:text>window.status='</xsl:text>
|
||||||
<xsl:value-of select="lang_cat_statustext"/>
|
<xsl:value-of select="lang_cat_statustext"/>
|
||||||
@ -15,19 +16,19 @@
|
|||||||
</select>
|
</select>
|
||||||
<noscript>
|
<noscript>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<input type="submit" class="forms" name="submit" value="{$lang_submit}"/>
|
<input type="submit" name="submit" value="{$lang_submit}"/>
|
||||||
</noscript>
|
</noscript>
|
||||||
</form>
|
</form>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="cat_list">
|
<xsl:template match="cat_list">
|
||||||
<xsl:variable name="id"><xsl:value-of select="id"/></xsl:variable>
|
<xsl:variable name="cat_id"><xsl:value-of select="cat_id"/></xsl:variable>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="selected">
|
<xsl:when test="selected">
|
||||||
<option value="{$id}" selected="selected"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
<option value="{$cat_id}" selected="selected"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<option value="{$id}"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
<option value="{$cat_id}"><xsl:value-of disable-output-escaping="yes" select="name"/></option>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
|
|
||||||
<xsl:template name="cat_select">
|
<xsl:template name="cat_select">
|
||||||
<option value=""><xsl:value-of select="lang_no_cat"/></option>
|
<xsl:variable name="lang_cat_statustext"><xsl:value-of select="lang_cat_statustext"/></xsl:variable>
|
||||||
<xsl:apply-templates select="cat_list"/>
|
<xsl:variable name="select_name"><xsl:value-of select="select_name"/></xsl:variable>
|
||||||
|
<select name="{$select_name}" class="forms" onMouseover="window.status='{$lang_cat_statustext}'; return true;" onMouseout="window.status='';return true;">
|
||||||
|
<option value=""><xsl:value-of select="lang_no_cat"/></option>
|
||||||
|
<xsl:apply-templates select="cat_list"/>
|
||||||
|
</select>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="cat_list">
|
<xsl:template match="cat_list">
|
||||||
|
Loading…
Reference in New Issue
Block a user