Loading ui/xsl/ead/document_toc.xsl +14 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,13 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ns="urn:isbn:1-931666-22-9" xmlns:ead="urn:isbn:1-931666-22-9" exclude-result-prefixes="ead ns xlink"> xmlns:ead="urn:isbn:1-931666-22-9" xmlns:max="https://max.unicaen.fr" exclude-result-prefixes="ead ns xlink max"> <xsl:import href="../../../../../ui/xsl/core/i18n.xsl"/> <xsl:param name="project"/> <xsl:param name="locale"/> <xsl:template match="/"> <!-- <xsl:copy-of select="."/> --> Loading @@ -19,6 +25,13 @@ <xsl:template match="*:dao"/> <xsl:template match="nav"> <nav> <div class="eadHeader"> <xsl:variable name="url" select="(//*:details[1]//*:a[1]/@href)[1]" /> <a href="{substring-before($url,'.xml')||'.xml/info/eadheader.html'}"> <xsl:variable name="i18nKey">menu.meta</xsl:variable> <xsl:value-of select="max:i18n($project,$i18nKey,$locale)"/> </a> </div> <xsl:apply-templates/> </nav> </xsl:template> Loading Loading
ui/xsl/ead/document_toc.xsl +14 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,13 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ns="urn:isbn:1-931666-22-9" xmlns:ead="urn:isbn:1-931666-22-9" exclude-result-prefixes="ead ns xlink"> xmlns:ead="urn:isbn:1-931666-22-9" xmlns:max="https://max.unicaen.fr" exclude-result-prefixes="ead ns xlink max"> <xsl:import href="../../../../../ui/xsl/core/i18n.xsl"/> <xsl:param name="project"/> <xsl:param name="locale"/> <xsl:template match="/"> <!-- <xsl:copy-of select="."/> --> Loading @@ -19,6 +25,13 @@ <xsl:template match="*:dao"/> <xsl:template match="nav"> <nav> <div class="eadHeader"> <xsl:variable name="url" select="(//*:details[1]//*:a[1]/@href)[1]" /> <a href="{substring-before($url,'.xml')||'.xml/info/eadheader.html'}"> <xsl:variable name="i18nKey">menu.meta</xsl:variable> <xsl:value-of select="max:i18n($project,$i18nKey,$locale)"/> </a> </div> <xsl:apply-templates/> </nav> </xsl:template> Loading