[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/templates/base/filter_select.xsl, 1.1.2.1
From: |
nomail |
Subject: |
[Phpgroupware-cvs] phpgwapi/templates/base/filter_select.xsl, 1.1.2.1 |
Date: |
Thu, 30 Dec 2004 02:32:59 +0100 |
Update of /phpgwapi/templates/base
Added Files:
Branch: proposed-0_9_18-branch
filter_select.xsl
date: 2004/12/30 01:32:59; author: skwashd; state: Exp; lines: +36 -0
Log Message:
new layout
=====================================================================
<!-- $Id: filter_select.xsl,v 1.1.2.1 2004/12/30 01:32:59 skwashd Exp $ -->
<xsl:template name="filter_select">
<xsl:apply-templates select="filter_data"/>
</xsl:template>
<xsl:template match="filter_data">
<xsl:variable name="select_url"><xsl:value-of
select="select_url"/></xsl:variable>
<xsl:variable name="lang_submit"><xsl:value-of
select="lang_submit"/></xsl:variable>
<form method="post" action="{$select_url}">
<select name="filter" onChange="this.form.submit()"
onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of
select="lang_filter_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
<xsl:apply-templates select="filter_list"/>
</select>
<noscript>
<xsl:text> </xsl:text>
<input type="submit" class="forms"
name="submit" value="{$lang_submit}"/>
</noscript>
</form>
</xsl:template>
<xsl:template match="filter_list">
<xsl:variable name="key"><xsl:value-of select="key"/></xsl:variable>
<xsl:choose>
<xsl:when test="selected = 'yes'">
<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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/templates/base/filter_select.xsl, 1.1.2.1,
nomail <=