2008-03-24 16:04:46 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<xsl:stylesheet version="1.0"
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
|
|
xmlns:cc="http://web.resource.org/cc/"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
>
|
|
|
|
|
|
|
|
<xsl:template name="searchbar">
|
|
|
|
|
|
|
|
<div class="searchbar">
|
|
|
|
|
|
|
|
<form method="get" enctype="text/plain">
|
|
|
|
<xsl:attribute name="action">
|
2008-04-03 20:40:17 +00:00
|
|
|
<xsl:value-of select="$site_strings[@id='path_search']" />
|
2008-03-24 16:04:46 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
<fieldset>
|
|
|
|
<label for="query">
|
|
|
|
<xsl:value-of select="$locale_strings[@id='search']" />:<br />
|
|
|
|
</label>
|
|
|
|
<input type="text" name="query">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:if test="//results/@argument='query'">
|
|
|
|
<xsl:value-of select="//results/@value" />
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
<input type="submit">
|
|
|
|
<xsl:attribute name="value">
|
|
|
|
<xsl:value-of select="$locale_strings[@id='button_find']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2008-03-27 16:43:08 +00:00
|
|
|
<ul id="queries" role="navigation">
|
2008-03-24 16:04:46 +00:00
|
|
|
|
2008-03-27 16:43:08 +00:00
|
|
|
<li id="latestadditions">
|
|
|
|
<a>
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_query_latestadditions']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='query_latestadditions']" />
|
|
|
|
</a>
|
|
|
|
</li>
|
2008-03-24 16:04:46 +00:00
|
|
|
|
2008-03-27 16:43:08 +00:00
|
|
|
<li id="mostviews">
|
|
|
|
<a>
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_query_mostviews']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='query_mostviews']" />
|
|
|
|
</a>
|
|
|
|
</li>
|
2008-03-24 16:04:46 +00:00
|
|
|
|
2008-03-27 16:43:08 +00:00
|
|
|
<li id="mostdownloads">
|
|
|
|
<a>
|
|
|
|
<xsl:attribute name="href">
|
|
|
|
<xsl:value-of select="$site_strings[@id='path_query_mostdownloads']" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='query_mostdownloads']" />
|
|
|
|
</a>
|
|
|
|
</li>
|
2008-03-24 16:04:46 +00:00
|
|
|
|
2008-03-27 16:43:08 +00:00
|
|
|
</ul>
|
2008-03-24 16:04:46 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|