yolanda/trunk/xsl/xhtml/settings.xsl
josch 95306bdc8d removed cortado property everywhere
git-svn-id: http://yolanda.mister-muffin.de/svn@263 7eef14d0-6ed0-489d-bf55-20463b2d70db
2008-04-03 12:44:59 +00:00

72 lines
2.3 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">
<div class="settingsform">
<span class="heading">
<xsl:value-of select="$locale_strings[@id='settings_heading']" />
</span>
<form method="POST">
<xsl:attribute name="action">
<xsl:value-of select="$site_strings[@id='path_settings']" />
</xsl:attribute>
<xsl:value-of select="$locale_strings[@id='settings_instruction_locale']" />
<br />
<select name="locale" size="2">
<option value="en-us">
<xsl:if test="//settings/@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="//settings/@locale='de-de'">
<xsl:attribute name="selected">
selected
</xsl:attribute>
</xsl:if>
<xsl:value-of select="$locale_strings[@id='language_de-de']" />
</option>
</select>
<br />
<xsl:value-of select="$locale_strings[@id='settings_instruction_pagesize']" />
<br />
<input name="pagesize" type="text" size="7">
<xsl:attribute name="value">
<xsl:value-of select="//settings/@pagesize" />
</xsl:attribute>
</input>
<br />
<xsl:value-of select="$locale_strings[@id='settings_instruction_method']" />
<br />
<xsl:value-of select="$locale_strings[@id='watch_browserplugin']" />
<br />
<input name="submit" type="submit" />
</form>
</div>
</xsl:template>
</xsl:stylesheet>