Foundry: Some more documentation
git-svn-id: https://svn.libreccm.org/ccm/trunk@3374 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
637f6759a1
commit
7a866b11e2
|
|
@ -28,6 +28,23 @@
|
|||
exclude-result-prefixes="xsl xs bebop cms foundry nav ui"
|
||||
version="2.0">
|
||||
|
||||
<foundry:doc-file>
|
||||
<foundry:doc-file-title>Tags for ccm-cms-types-article</foundry:doc-file-title>
|
||||
<foundry:doc-file-desc>
|
||||
<p>
|
||||
The tags in these file are used to display the content
|
||||
elements of ccm-cms-types-article.
|
||||
</p>
|
||||
</foundry:doc-file-desc>
|
||||
</foundry:doc-file>
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
Outputs the lead text of a article.
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="/content-item-layout//lead-text">
|
||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||
|
||||
|
|
@ -41,6 +58,13 @@
|
|||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
Outputs the main text of a article.
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="/content-item-layout//main-text">
|
||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
version="2.0">
|
||||
|
||||
<xsl:template match="notes">
|
||||
|
||||
<xsl:if test="$data-tree/cms:contentPanel/cms:item/ca_notes
|
||||
or $data-tree/nav:greetingItem/cms:item/ca_notes">
|
||||
<xsl:apply-templates/>
|
||||
|
|
|
|||
|
|
@ -29,6 +29,14 @@
|
|||
exclude-result-prefixes="xsl xs bebop cms foundry nav ui"
|
||||
version="2.0">
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
Root element to create the list of related links assigned to an
|
||||
content item
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="related-links">
|
||||
<xsl:param name="contentitem-tree" tunnel="yes">
|
||||
<xsl:choose>
|
||||
|
|
@ -46,6 +54,15 @@
|
|||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
This tag wraps the HTML to display a single related link. The
|
||||
tag also adds the parameters required to create the link into
|
||||
the environment, for example the URL (href) of the related link.
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="related-links//related-link">
|
||||
<xsl:param name="contentitem-tree" tunnel="yes">
|
||||
<xsl:choose>
|
||||
|
|
@ -105,18 +122,40 @@
|
|||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
Outputs the title of a related link.
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="related-link//related-link-title">
|
||||
<xsl:param name="link-title" tunnel="yes"/>
|
||||
|
||||
<xsl:value-of select="$link-title"/>
|
||||
</xsl:template>
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
Outputs the description of a related link.
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="related-link//related-link-desc">
|
||||
<xsl:param name="link-desc" tunnel="yes"/>
|
||||
|
||||
<xsl:value-of select="$link-desc"/>
|
||||
</xsl:template>
|
||||
|
||||
<foundry:doc section="user" type="template-tag">
|
||||
<foundry:doc-desc>
|
||||
<p>
|
||||
Outputs the title of the target item of an internal related
|
||||
link.
|
||||
</p>
|
||||
</foundry:doc-desc>
|
||||
</foundry:doc>
|
||||
<xsl:template match="related-link//internal//target-item-title">
|
||||
<xsl:param name="target-item-title" tunnel="yes"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,8 @@
|
|||
<!-- jensp 2014-09-16 This is copied from Mandalay. Maybe remove and relay and use
|
||||
conditional comments in the other CSS files instead? -->
|
||||
|
||||
<xsl:value-of select="'<!--[if lt IE 9]>'" disable-output-escaping="yes"/>
|
||||
<xsl:value-of select="'
<!--[if lt IE 9]>
'"
|
||||
disable-output-escaping="yes"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$css-files-map/css-files/application[@name=$application]">
|
||||
<xsl:for-each select="$css-files-map/css-files/application[@name=$application]/iehacks">
|
||||
|
|
@ -143,7 +144,8 @@
|
|||
</xsl:for-each>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:value-of select="'<![endif]-->'" disable-output-escaping="yes"/>
|
||||
<xsl:value-of select="'
<![endif]-->
'"
|
||||
disable-output-escaping="yes"/>
|
||||
|
||||
<xsl:if test="$less-onthefly and foundry:debug-enabled()">
|
||||
<script type="text/javascript"
|
||||
|
|
|
|||
Loading…
Reference in New Issue