summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl11
1 files changed, 6 insertions, 5 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ec1d30c317..f9541ec72d 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -150,7 +150,8 @@
<link rel="shortcut icon" href="{$target}media/navigation/favicon.ico" />
<link type="text/css" href="{$target}normalize.css" rel="Stylesheet" />
<link type="text/css" href="{$target}default.css" rel="Stylesheet" />
- <script type="text/javascript" src="{$target}help2.js"></script>
+ <script type="text/javascript" src="{$target}help2.js"></script>
+ <script type="text/javascript" src="{$target}languages.js"></script>
<script type="text/javascript" src="{$target}fuse.js"></script>
<script type="text/javascript" src="{$target}paginathing.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
@@ -187,14 +188,14 @@
</div>
<xsl:if test="$online">
<div class="lang">
- <input id="langs" name="language-menu" type="checkbox"/>
+ <input id="langs" name="language-menu" type="checkbox" onchange="setupLanguages('{$target}', '{$htmlpage}');"/>
<label for="langs"><xsl:value-of select="$ui_language"/></label>
- <nav>
- <xsl:for-each select="$tmp_doc_ui//list//variable">
+ <nav id="langs-nav">
+ <!--xsl:for-each select="$tmp_doc_ui//list//variable">
<xsl:variable name ="ui_l1" select="@id"/>
<xsl:variable name ="ui_l2" select="."/>
<a href="{$target}{$ui_l1}{$htmlpage}"><xsl:value-of select="$ui_l2"/></a>
- </xsl:for-each>
+ </xsl:for-each-->
</nav>
</div>
</xsl:if>