2007-11-26 14:25:31 +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#"
|
|
|
|
>
|
|
|
|
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:template name="settings">
|
2007-12-19 23:18:26 +00:00
|
|
|
<h2><xsl:value-of select="$locale_strings[@id='settings_settings']" /></h2>
|
2007-12-19 23:12:39 +00:00
|
|
|
<form method="POST">
|
|
|
|
<xsl:attribute name="action">
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:value-of select="$site_strings[@id='page_settings']" />
|
2007-12-19 23:12:39 +00:00
|
|
|
</xsl:attribute>
|
|
|
|
<input type="hidden" name="show" value="settings" />
|
|
|
|
<div>
|
2007-12-19 23:18:26 +00:00
|
|
|
<h3><xsl:value-of select="$locale_strings[@id='settings_locale']" /></h3>
|
2007-12-19 23:12:39 +00:00
|
|
|
<br />
|
|
|
|
<select name="locale" size="2">
|
|
|
|
<option value="en-us">
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@locale='en-us'">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='language_en-us']" />
|
|
|
|
</option>
|
|
|
|
<option value="de-de">
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@locale='de-de'">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='language_de-de']" />
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div>
|
2007-12-19 23:18:26 +00:00
|
|
|
<h3><xsl:value-of select="$locale_strings[@id='settings_pagesize']" /></h3>
|
2007-12-19 23:12:39 +00:00
|
|
|
<br />
|
|
|
|
<select name="pagesize" size="7">
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=1">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
1
|
|
|
|
</option>
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=2">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
2
|
|
|
|
</option>
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=5">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
5
|
|
|
|
</option>
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=10">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
10
|
|
|
|
</option>
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=20">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
20
|
|
|
|
</option>
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=50">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
50
|
|
|
|
</option>
|
|
|
|
<option>
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@pagesize=100">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="selected">
|
|
|
|
selected
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
100
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div>
|
2007-12-19 23:18:26 +00:00
|
|
|
<h3><xsl:value-of select="$locale_strings[@id='settings_cortado']" /></h3>
|
2007-12-19 23:12:39 +00:00
|
|
|
<input type="radio" name="cortado" value="1">
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@cortado=1">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="checked">
|
|
|
|
checked
|
2007-11-26 14:25:31 +00:00
|
|
|
</xsl:attribute>
|
2007-12-19 23:12:39 +00:00
|
|
|
</xsl:if>
|
|
|
|
</input>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='watch_cortadoapplet']" />
|
|
|
|
<br />
|
|
|
|
<input type="radio" name="cortado" value="0">
|
2007-12-19 23:18:26 +00:00
|
|
|
<xsl:if test="//settings/@cortado=0">
|
2007-12-19 23:12:39 +00:00
|
|
|
<xsl:attribute name="checked">
|
|
|
|
checked
|
2007-11-26 14:25:31 +00:00
|
|
|
</xsl:attribute>
|
2007-12-19 23:12:39 +00:00
|
|
|
</xsl:if>
|
|
|
|
</input>
|
|
|
|
<xsl:value-of select="$locale_strings[@id='watch_browserplugin']" />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<input name="submit" type="submit" />
|
|
|
|
</div>
|
|
|
|
</form>
|
2007-11-26 14:25:31 +00:00
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|