Small fix for Foundry (Image content type)

git-svn-id: https://svn.libreccm.org/ccm/trunk@3627 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-09-18 13:10:18 +00:00
parent 3267ae2c30
commit 67e957dca3
1 changed files with 17 additions and 0 deletions

View File

@ -249,6 +249,23 @@
</xsl:choose>
</xsl:template>
<foundry:doc section="user" type="template-tag">
<foundry:doc-desc>
<p>
Puts the URL of the image (full size) into the environment for
use by a <code>a</code> element.
</p>
</foundry:doc-desc>
</foundry:doc>
<xsl:template match="/content-item-layout//image-url">
<xsl:param name="contentitem-tree" tunnel="yes"/>
<xsl:apply-templates>
<xsl:with-param name="href"
tunnel="yes"
select="foundry:gen-src-url(concat('/cms-service/stream/image/?image_id=', $contentitem-tree/image/id))"/>
</xsl:apply-templates>
</xsl:template>
<foundry:doc section="user" type="template-tag">
<foundry:doc-desc>
<p>