Small fix for Foundry
git-svn-id: https://svn.libreccm.org/ccm/trunk@3581 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
468b0e428f
commit
1858a37bae
|
|
@ -40,9 +40,11 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:if test="$data-tree/terms:assignedTerms">
|
<xsl:if test="$data-tree/terms:assignedTerms">
|
||||||
|
<xsl:for-each select="$data-tree/terms:assignedTerms/terms:term[@domain=$domain]">
|
||||||
<xsl:value-of select="if(position() < count($data-tree//terms:assignedTerms/terms:term[@domain=$domain]))
|
<xsl:value-of select="if(position() < count($data-tree//terms:assignedTerms/terms:term[@domain=$domain]))
|
||||||
then concat(./@name, $separator)
|
then concat(./@name, $separator)
|
||||||
else ./@name"/>
|
else ./@name"/>
|
||||||
|
</xsl:for-each>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
@ -217,6 +219,21 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="content-item-layout//language-of-publication">
|
||||||
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
<xsl:value-of select="foundry:get-static-text('language-codes',
|
||||||
|
$contentitem-tree/languageOfPublication)"/>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="content-item-layout//if-language-of-publication">
|
||||||
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
<xsl:if test="$contentitem-tree/languageOfPublication">
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="content-item-layout//scipublications//publication-series">
|
<xsl:template match="content-item-layout//scipublications//publication-series">
|
||||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
|
@ -280,6 +297,15 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="content-item-layout//scipublications//if-abstract">
|
||||||
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
<xsl:if test="$contentitem-tree/abstract
|
||||||
|
and string-length($contentitem-tree/abstract) > 0">
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="content-item-layout//scipublications//if-misc">
|
<xsl:template match="content-item-layout//scipublications//if-misc">
|
||||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
|
@ -696,12 +722,28 @@
|
||||||
<xsl:value-of select="$contentitem-tree/dateFromOfConference"/>
|
<xsl:value-of select="$contentitem-tree/dateFromOfConference"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="content-item-layout//scipublications//if-date-from-of-conference">
|
||||||
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
<xsl:if test="$contentitem-tree/dateFromOfConference">
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="content-item-layout//scipublications//date-to-conference">
|
<xsl:template match="content-item-layout//scipublications//date-to-conference">
|
||||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
<xsl:value-of select="$contentitem-tree/dateToOfConference"/>
|
<xsl:value-of select="$contentitem-tree/dateToOfConference"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="content-item-layout//scipublications//if-date-to-of-conference">
|
||||||
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
<xsl:if test="$contentitem-tree/dateToOfConference">
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="content-item-layout//scipublications//if-proceedings">
|
<xsl:template match="content-item-layout//scipublications//if-proceedings">
|
||||||
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
<xsl:param name="contentitem-tree" tunnel="yes"/>
|
||||||
|
|
||||||
|
|
@ -736,6 +778,9 @@
|
||||||
<xsl:with-param name="contentitem-tree"
|
<xsl:with-param name="contentitem-tree"
|
||||||
tunnel="yes"
|
tunnel="yes"
|
||||||
select="."/>
|
select="."/>
|
||||||
|
<xsl:with-param name="href"
|
||||||
|
tunnel="yes"
|
||||||
|
select="concat($context-prefix, '/redirect?oid=', ./@oid)"/>
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
@ -788,6 +833,9 @@
|
||||||
<xsl:with-param name="contentitem-tree"
|
<xsl:with-param name="contentitem-tree"
|
||||||
tunnel="yes"
|
tunnel="yes"
|
||||||
select="."/>
|
select="."/>
|
||||||
|
<xsl:with-param name="href"
|
||||||
|
tunnel="yes"
|
||||||
|
select="concat($context-prefix, '/redirect/?oid=', ./@oid)"/>
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
|
||||||
|
|
@ -1182,8 +1182,8 @@
|
||||||
Set favicon if exists. This three different variants for including the favicon
|
Set favicon if exists. This three different variants for including the favicon
|
||||||
are necessary to satisfy all browsers.
|
are necessary to satisfy all browsers.
|
||||||
-->
|
-->
|
||||||
<link href="{$theme-prefix}/images/favicon.png"
|
<link href="{$theme-prefix}/images/favicon.ico"
|
||||||
type="image/png"
|
type="image/x-icon"
|
||||||
rel="shortcut icon"/>
|
rel="shortcut icon"/>
|
||||||
|
|
||||||
<xsl:apply-templates select="$data-tree//script"/>
|
<xsl:apply-templates select="$data-tree//script"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue