Foundry: The context for image attachments contains now some more parameters, like the sort key of the current image.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3294 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
8ed508fd5f
commit
66fd2deda7
|
|
@ -110,11 +110,31 @@
|
|||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:with-param>
|
||||
<xsl:with-param name="sort-key" tunnel="yes" select="./sortKey"/>
|
||||
<xsl:with-param name="position" tunnel="yes" select="position()"/>
|
||||
</xsl:apply-templates>
|
||||
</xsl:for-each>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="image-attachments//image-attachment//image-caption">
|
||||
<xsl:param name="alt" tunnel="yes"/>
|
||||
|
||||
<xsl:value-of select="$alt"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="image-attachments//image-attachment//image-sort-key">
|
||||
<xsl:param name="sort-key" tunnel="yes"/>
|
||||
|
||||
<xsl:value-of select="$sort-key"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="image-attachments//image-attachment//image-position">
|
||||
<xsl:param name="position" tunnel="yes"/>
|
||||
|
||||
<xsl:value-of select="$position"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="item-list-image-attachments">
|
||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue