diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-03-03 13:46:44 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-03 13:46:44 +0100 |
commit | 2e02da046d3e56cdf4744f644af35ad07424f48b (patch) | |
tree | f2dcf353aa2338eae1c2ff2c41af971c580c2762 /xslt/tellico2html.xsl | |
parent | 3c13229d98167ae4ae0710d5eeef23fef5005bf0 (diff) | |
download | tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.tar.gz tellico-2e02da046d3e56cdf4744f644af35ad07424f48b.zip |
Update to upstream version 1.3.6
Diffstat (limited to 'xslt/tellico2html.xsl')
-rw-r--r-- | xslt/tellico2html.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xslt/tellico2html.xsl b/xslt/tellico2html.xsl index b87ef75..f63c36f 100644 --- a/xslt/tellico2html.xsl +++ b/xslt/tellico2html.xsl @@ -115,10 +115,7 @@ </xsl:if> </xsl:variable> -<!-- keys ends up useless since we're using exsl:node-set -<xsl:key name="fieldsByName" match="tc:field" use="@name"/> <xsl:key name="imagesById" match="tc:image" use="@id"/> ---> <xsl:key name="entriesById" match="tc:entry" use="@id"/> <!-- filename conversion is weird, need a variable for easy replacement --> @@ -557,7 +554,10 @@ </xsl:attribute> <img> <xsl:attribute name="src"> - <xsl:value-of select="concat($imgdir, .)"/> + <xsl:call-template name="image-link"> + <xsl:with-param name="image" select="key('imagesById', .)"/> + <xsl:with-param name="dir" select="$imgdir"/> + </xsl:call-template> </xsl:attribute> <xsl:attribute name="alt"> <xsl:value-of select="concat('[', $entry//tc:title[1], ']')"/> |