b918e1eef4
git-svn-id: http://yolanda.mister-muffin.de/svn@212 7eef14d0-6ed0-489d-bf55-20463b2d70db
127 lines
3.2 KiB
XML
127 lines
3.2 KiB
XML
<?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="settings">
|
|
<h2><xsl:value-of select="$locale_strings[@id='account_settings']" /></h2>
|
|
<form method="POST">
|
|
<xsl:attribute name="action">
|
|
<xsl:value-of select="$site_strings[@id='page_account']" />
|
|
</xsl:attribute>
|
|
<input type="hidden" name="show" value="settings" />
|
|
<div>
|
|
<h3><xsl:value-of select="$locale_strings[@id='account_locale']" /></h3>
|
|
<br />
|
|
<select name="locale" size="2">
|
|
<option value="en-us">
|
|
<xsl:if test="//account/@locale='en-us'">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
<xsl:value-of select="$locale_strings[@id='language_en-us']" />
|
|
</option>
|
|
<option value="de-de">
|
|
<xsl:if test="//account/@locale='de-de'">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
<xsl:value-of select="$locale_strings[@id='language_de-de']" />
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<h3><xsl:value-of select="$locale_strings[@id='account_pagesize']" /></h3>
|
|
<br />
|
|
<select name="pagesize" size="7">
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=1">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
1
|
|
</option>
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=2">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
2
|
|
</option>
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=5">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
5
|
|
</option>
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=10">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
10
|
|
</option>
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=20">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
20
|
|
</option>
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=50">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
50
|
|
</option>
|
|
<option>
|
|
<xsl:if test="//account/@pagesize=100">
|
|
<xsl:attribute name="selected">
|
|
selected
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
100
|
|
</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<h3><xsl:value-of select="$locale_strings[@id='account_cortado']" /></h3>
|
|
<input type="radio" name="cortado" value="1">
|
|
<xsl:if test="//account/@cortado=1">
|
|
<xsl:attribute name="checked">
|
|
checked
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
</input>
|
|
<xsl:value-of select="$locale_strings[@id='watch_cortadoapplet']" />
|
|
<br />
|
|
<input type="radio" name="cortado" value="0">
|
|
<xsl:if test="//account/@cortado=0">
|
|
<xsl:attribute name="checked">
|
|
checked
|
|
</xsl:attribute>
|
|
</xsl:if>
|
|
</input>
|
|
<xsl:value-of select="$locale_strings[@id='watch_browserplugin']" />
|
|
</div>
|
|
<div>
|
|
<input name="submit" type="submit" />
|
|
</div>
|
|
</form>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|