egroupware/phpgwapi/templates/default/search_field.xsl
2003-04-19 22:23:24 +00:00

25 lines
1.0 KiB
XML

<!-- $Id$ -->
<xsl:template name="search_field">
<xsl:variable name="search_url"><xsl:value-of select="search_url"/></xsl:variable>
<xsl:variable name="query"><xsl:value-of select="query"/></xsl:variable>
<xsl:variable name="lang_search"><xsl:value-of select="lang_search"/></xsl:variable>
<form method="post" action="{$search_url}">
<input type="text" 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" name="submit" value="{$lang_search}" 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>