Fixed some typos in Foundry

git-svn-id: https://svn.libreccm.org/ccm/trunk@3107 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-01-29 18:21:31 +00:00
parent 9bae8e9d87
commit 90187c1dd4
1 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,7 @@
use simple characters of more complex HTML. use simple characters of more complex HTML.
</p> </p>
</foundry:doc-desc> </foundry:doc-desc>
<foundry:doc:attributes> <foundry:doc-attributes>
<foundry:doc-attribute name="omit-root"> <foundry:doc-attribute name="omit-root">
<p> <p>
If set the <code>yes</code>, the breadcrumb for the root level is omitted. If set the <code>yes</code>, the breadcrumb for the root level is omitted.
@ -41,7 +41,7 @@
category) is omitted. category) is omitted.
</p> </p>
</foundry:doc-attribute> </foundry:doc-attribute>
</foundry:doc:attributes> </foundry:doc-attributes>
</foundry:doc> </foundry:doc>
<xsl:template match="breadcrumbs"> <xsl:template match="breadcrumbs">
<xsl:apply-templates select="./*[not(name = 'breadcrumb-separator')]"> <xsl:apply-templates select="./*[not(name = 'breadcrumb-separator')]">
@ -134,7 +134,9 @@
<xsl:value-of select="$data-tree//nav:categoryPath/nav:category[position() = 2]/@title"/> <xsl:value-of select="$data-tree//nav:categoryPath/nav:category[position() = 2]/@title"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select="$data-tree//nav:categoryPath/nav:category[position() = 1]/@title"/> <xsl:if test="foundry:boolean(./@show-root)">
<xsl:value-of select="$data-tree//nav:categoryPath/nav:category[position() = 1]/@title"/>
</xsl:if>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>