egroupware/phpgwapi/templates/default/search_field.xsl
2002-10-01 23:14:10 +00:00

25 lines
1.1 KiB
XML

<!-- $Id$ -->
<xsl:template name="search_field">
<xsl:variable name="select_action"><xsl:value-of select="select_action"/></xsl:variable>
<xsl:variable name="query"><xsl:value-of select="query"/></xsl:variable>
<xsl:variable name="lang_submit"><xsl:value-of select="lang_submit"/></xsl:variable>
<form method="post" action="{$select_action}">
<input type="text" class="forms" name="query" value="{$query}" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_searchfield_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
<xsl:text> </xsl:text>
<input type="submit" class="forms" name="submit" value="{$lang_submit}" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_searchbutton_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
</form>
</xsl:template>