It is now possible to display the terms assigned to a publication in the theme (needed for the FMS project)

git-svn-id: https://svn.libreccm.org/ccm/trunk@2619 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-04-22 07:28:50 +00:00
parent 3933c21e6d
commit 56817e67c2
17 changed files with 373 additions and 101 deletions

View File

@ -61,6 +61,8 @@
<line id="discussedPublications/heading">Behandelt folgende Publikationen</line> <line id="discussedPublications/heading">Behandelt folgende Publikationen</line>
<line id="librarySignatures/heading">Bibliotheken</line> <line id="librarySignatures/heading">Bibliotheken</line>
<line id="assignedTerms">Schlüsselwörter</line>
<line id="articleInCollectedVolume/abstract">Zusammenfassung</line> <line id="articleInCollectedVolume/abstract">Zusammenfassung</line>
<line id="articleInCollectedVolume/authors">Autorinnen/Autoren</line> <line id="articleInCollectedVolume/authors">Autorinnen/Autoren</line>
<line id="articleInCollectedVolume/author">Autorin/Autor</line> <line id="articleInCollectedVolume/author">Autorin/Autor</line>

View File

@ -55,6 +55,8 @@
<line id="BibTeX">BibTeX</line> <line id="BibTeX">BibTeX</line>
<line id="RIS">RIS</line> <line id="RIS">RIS</line>
<line id="assignedTerms">Keywords</line>
<line id="librarySignatures/heading">Libraries</line> <line id="librarySignatures/heading">Libraries</line>
<line id="articleInCollectedVolume/abstract">Abstract</line> <line id="articleInCollectedVolume/abstract">Abstract</line>

View File

@ -31,6 +31,9 @@
<setting id="formatDefFile">SciPublicationsDefaultFormat.xml</setting> <setting id="formatDefFile">SciPublicationsDefaultFormat.xml</setting>
<setting id="detailView/linkAuthors">true</setting> <setting id="detailView/linkAuthors">true</setting>
<setting id="detailView/domainsToShow">
<!--<domain>LIB-KEYWORDS</domain>-->
</setting>
<setting id="listView/setLinkToDetails">false</setting> <setting id="listView/setLinkToDetails">false</setting>
<setting id="listView/setLeadText">true</setting> <setting id="listView/setLeadText">true</setting>
@ -59,6 +62,7 @@
<setting id="articleInCollectedVolume/setAbstract">true</setting> <setting id="articleInCollectedVolume/setAbstract">true</setting>
<setting id="articleInCollectedVolume/setAuthors">true</setting> <setting id="articleInCollectedVolume/setAuthors">true</setting>
<setting id="articleInCollectedVolume/setAssignedTerms">true</setting>
<setting id="articleInCollectedVolume/setChapter">true</setting> <setting id="articleInCollectedVolume/setChapter">true</setting>
<setting id="articleInCollectedVolume/setCollectedVolume">true</setting> <setting id="articleInCollectedVolume/setCollectedVolume">true</setting>
<setting id="articleInCollectedVolume/setIsbn">true</setting> <setting id="articleInCollectedVolume/setIsbn">true</setting>
@ -81,6 +85,7 @@
<setting id="articleInJournal/setImageMaxWidth"></setting> <setting id="articleInJournal/setImageMaxWidth"></setting>
<setting id="articleInJournal/setAbstract">true</setting> <setting id="articleInJournal/setAbstract">true</setting>
<setting id="articleInJournal/setAssignedTerms">true</setting>
<setting id="articleInJournal/setAuthors">true</setting> <setting id="articleInJournal/setAuthors">true</setting>
<setting id="articleInJournal/setIssn">true</setting> <setting id="articleInJournal/setIssn">true</setting>
<setting id="articleInJournal/setIssue">true</setting> <setting id="articleInJournal/setIssue">true</setting>
@ -102,6 +107,7 @@
<setting id="collectedVolume/setAbstract">true</setting> <setting id="collectedVolume/setAbstract">true</setting>
<setting id="collectedVolume/setArticles">true</setting> <setting id="collectedVolume/setArticles">true</setting>
<setting id="collectedVolume/setAssignedTerms">true</setting>
<setting id="collectedVolume/setAuthors">true</setting> <setting id="collectedVolume/setAuthors">true</setting>
<setting id="collectedVolume/setEdition">true</setting> <setting id="collectedVolume/setEdition">true</setting>
<setting id="collectedVolume/setIsbn">true</setting> <setting id="collectedVolume/setIsbn">true</setting>
@ -126,6 +132,7 @@
<setting id="expertise/setImageMaxWidth"></setting> <setting id="expertise/setImageMaxWidth"></setting>
<setting id="expertise/setAbstract">true</setting> <setting id="expertise/setAbstract">true</setting>
<setting id="expertise/setAssignedTerms">true</setting>
<setting id="expertise/setAutors">true</setting> <setting id="expertise/setAutors">true</setting>
<setting id="expertise/setLanguageOfPublication">true</setting> <setting id="expertise/setLanguageOfPublication">true</setting>
<setting id="expertise/setMisc">true</setting> <setting id="expertise/setMisc">true</setting>
@ -147,6 +154,7 @@
<setting id="greyLiterature/setImageMaxWidth"></setting> <setting id="greyLiterature/setImageMaxWidth"></setting>
<setting id="greyLiterature/setAbstract">true</setting> <setting id="greyLiterature/setAbstract">true</setting>
<setting id="greyLiterature/setAssignedTerms">true</setting>
<setting id="greyLiterature/setAuthors">true</setting> <setting id="greyLiterature/setAuthors">true</setting>
<setting id="greyLiterature/setLanguageOfPublication">true</setting> <setting id="greyLiterature/setLanguageOfPublication">true</setting>
<setting id="greyLiterature/setMisc">true</setting> <setting id="greyLiterature/setMisc">true</setting>
@ -169,6 +177,7 @@
<setting id="inProceedings/setImageMaxWidth"></setting> <setting id="inProceedings/setImageMaxWidth"></setting>
<setting id="inProceedings/setAbstract">true</setting> <setting id="inProceedings/setAbstract">true</setting>
<setting id="inProceedings/setAssignedTerms">true</setting>
<setting id="inProceedings/setAuthors">true</setting> <setting id="inProceedings/setAuthors">true</setting>
<setting id="inProceedings/setLanguageOfPublication">true</setting> <setting id="inProceedings/setLanguageOfPublication">true</setting>
<setting id="inProceedings/setMisc">true</setting> <setting id="inProceedings/setMisc">true</setting>
@ -188,6 +197,7 @@
<setting id="internetArticle/setImageMaxWidth"></setting> <setting id="internetArticle/setImageMaxWidth"></setting>
<setting id="internetArticle/setAbstract">true</setting> <setting id="internetArticle/setAbstract">true</setting>
<setting id="internetArticle/setAssignedTerms">true</setting>
<setting id="internetArticle/setAuthors">true</setting> <setting id="internetArticle/setAuthors">true</setting>
<setting id="internetArticle/setEdition">true</setting> <setting id="internetArticle/setEdition">true</setting>
<setting id="internetArticle/setIssn">true</setting> <setting id="internetArticle/setIssn">true</setting>
@ -218,6 +228,7 @@
<setting id="monograph/setImageMaxWidth"></setting> <setting id="monograph/setImageMaxWidth"></setting>
<setting id="monograph/setAbstract">true</setting> <setting id="monograph/setAbstract">true</setting>
<setting id="monograph/setAssignedTerms">true</setting>
<setting id="monograph/setAuthors">true</setting> <setting id="monograph/setAuthors">true</setting>
<setting id="monograph/setEdition">true</setting> <setting id="monograph/setEdition">true</setting>
<setting id="monograph/setIsbn">true</setting> <setting id="monograph/setIsbn">true</setting>
@ -242,6 +253,7 @@
<setting id="proceedings/setImageMaxWidth"></setting> <setting id="proceedings/setImageMaxWidth"></setting>
<setting id="proceedings/setAbstract">true</setting> <setting id="proceedings/setAbstract">true</setting>
<setting id="proceedings/setAssignedTerms">true</setting>
<setting id="proceedings/setAuthors">true</setting> <setting id="proceedings/setAuthors">true</setting>
<setting id="proceedings/setDateOfConference">true</setting> <setting id="proceedings/setDateOfConference">true</setting>
<setting id="proceedings/setIsbn">true</setting> <setting id="proceedings/setIsbn">true</setting>
@ -267,6 +279,7 @@
<setting id="review/setImageMaxWidth"></setting> <setting id="review/setImageMaxWidth"></setting>
<setting id="review/setAbstract">true</setting> <setting id="review/setAbstract">true</setting>
<setting id="review/setAssignedTerms">true</setting>
<setting id="review/setAuthors">true</setting> <setting id="review/setAuthors">true</setting>
<setting id="review/setIssn">true</setting> <setting id="review/setIssn">true</setting>
<setting id="review/setIssue">true</setting> <setting id="review/setIssue">true</setting>
@ -297,6 +310,7 @@
<setting id="workingPaper/setImageMaxWidth"></setting> <setting id="workingPaper/setImageMaxWidth"></setting>
<setting id="workingPaper/setAbstract">true</setting> <setting id="workingPaper/setAbstract">true</setting>
<setting id="workingPaper/setAssignedTerms">true</setting>
<setting id="workingPaper/setAuthors">true</setting> <setting id="workingPaper/setAuthors">true</setting>
<setting id="workingPaper/setLanguageOfPublication">true</setting> <setting id="workingPaper/setLanguageOfPublication">true</setting>
<setting id="workingPaper/setMisc">true</setting> <setting id="workingPaper/setMisc">true</setting>

View File

@ -121,6 +121,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'articleInCollectedVolume/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -422,6 +429,17 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -114,6 +114,13 @@
<xsl:with-param name="default" select="'true'"/> <xsl:with-param name="default" select="'true'"/>
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'articleInJournal/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/> <xsl:with-param name="module" select="'SciPublications'"/>
@ -397,6 +404,17 @@
<xsl:value-of select="./publicationDate/@date"/> <xsl:value-of select="./publicationDate/@date"/>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -111,6 +111,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'collectedVolume/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setArticles"> <xsl:variable name="setArticles">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -453,6 +460,17 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
@ -516,8 +534,6 @@
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" /> <xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template> </xsl:call-template>
</xsl:template> </xsl:template>
<xsl:template name="CT_CollectedVolume_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.CollectedVolume']" mode="list_view"> <xsl:template name="CT_CollectedVolume_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.CollectedVolume']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" /> <xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile"> <xsl:variable name="formatDefFile">

View File

@ -111,6 +111,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -372,6 +379,17 @@
<xsl:value-of select="./organization/title" /> <xsl:value-of select="./organization/title" />
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -111,6 +111,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -398,6 +405,17 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</dd> </dd>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</xsl:if> </xsl:if>
</dl> </dl>

View File

@ -111,6 +111,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -328,6 +335,17 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -114,6 +114,13 @@
<xsl:with-param name="default" select="'true'"/> <xsl:with-param name="default" select="'true'"/>
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'internetArticle/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/> <xsl:with-param name="module" select="'SciPublications'"/>
@ -417,6 +424,17 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -111,6 +111,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -437,6 +444,19 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(normalize-space(./abstract)) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(normalize-space(./abstract)) &gt; 0)">

View File

@ -111,6 +111,13 @@
<xsl:with-param name="default" select="'true'" /> <xsl:with-param name="default" select="'true'" />
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'proceedings/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -495,6 +502,17 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</dd> </dd>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</xsl:if> </xsl:if>
</dl> </dl>

View File

@ -114,6 +114,13 @@
<xsl:with-param name="default" select="'true'"/> <xsl:with-param name="default" select="'true'"/>
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'researchReport/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/> <xsl:with-param name="module" select="'SciPublications'"/>
@ -360,7 +367,17 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -114,6 +114,13 @@
<xsl:with-param name="default" select="'true'"/> <xsl:with-param name="default" select="'true'"/>
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'review/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors"> <xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/> <xsl:with-param name="module" select="'SciPublications'"/>
@ -347,6 +354,18 @@
<xsl:value-of select="./publicationDate"/> <xsl:value-of select="./publicationDate"/>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -307,7 +307,7 @@
<ul> <ul>
<xsl:for-each select="./volumes/publication"> <xsl:for-each select="./volumes/publication">
<xsl:sort select="./@volumeNr" data-type="number" order="descending"/> <xsl:sort select="./@volume" data-type="number" order="descending"/>
<xsl:sort select="./yearOfPublication" data-type="number" order="descending"/> <xsl:sort select="./yearOfPublication" data-type="number" order="descending"/>
<xsl:sort select="./title" data-type="text"/> <xsl:sort select="./title" data-type="text"/>
<li> <li>

View File

@ -113,6 +113,13 @@
<xsl:with-param name="default" select="'true'"/> <xsl:with-param name="default" select="'true'"/>
</xsl:call-template> </xsl:call-template>
</xsl:variable> </xsl:variable>
<xsl:variable name="setAssignedTerms">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'workingPaper/setAssignedTerms'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication"> <xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting"> <xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" /> <xsl:with-param name="module" select="'SciPublications'" />
@ -359,7 +366,17 @@
</xsl:choose> </xsl:choose>
</dd> </dd>
</xsl:if> </xsl:if>
<xsl:if test="$setAssignedTerms = 'true'">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'assignedTerms'" />
</xsl:call-template>
</dt>
<dd>
<xsl:call-template name="scipublications_assigned_terms"/>
</dd>
</xsl:if>
</dl> </dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)"> <xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">

View File

@ -26,8 +26,9 @@
xmlns:bebop="http://www.arsdigita.com/bebop/1.0" xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation" xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0" xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:terms="http://xmlns.redhat.com/london/terms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de" xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav" exclude-result-prefixes="xsl bebop cms nav terms"
version="1.0"> version="1.0">
<!-- <!--
@ -796,6 +797,44 @@
</dd> </dd>
</xsl:template> </xsl:template>
<xsl:template name="scipublications_assigned_terms">
<!--<xsl:param name="domainsToShow"/>-->
<xsl:param name="separator" select="', '" />
<!--<code>scipublications_assigned_terms</code>-->
<!--<code><xsl:value-of select="concat('domainsToShow = ', $domainsToShow)"/></code>-->
<!--<code><xsl:value-of select="concat('domainsToShow: ', count(document(concat($theme-prefix, '/settings/SciPublications.xml'))/settings/setting[@id='detailView/domainsToShow']/domain))"/></code>-->
<xsl:for-each select="document(concat($theme-prefix, '/settings/SciPublications.xml'))/settings/setting[@id='detailView/domainsToShow']/domain">
<xsl:variable name="domain">
<xsl:value-of select="."/>
</xsl:variable>
<!--<code>Showing domain </code>
<xsl:value-of select="$domain"/>-->
<!--<xsl:value-of select="concat(' terms: ', count($resultTree//terms:assignedTerms/terms:term[@domain=$domain]))"/>-->
<xsl:for-each select="$resultTree//terms:assignedTerms/terms:term[@domain=$domain]">
<xsl:choose>
<xsl:when test="position() &lt; count($resultTree//terms:assignedTerms/terms:term[@domain=$domain])">
<xsl:value-of select="concat(./@name, $separator)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./@name"/>
</xsl:otherwise>
</xsl:choose>
<!--<xsl:value-of select="./@name"/>
<xsl:value-of select="position()"/>-->
</xsl:for-each>
</xsl:for-each>
</xsl:template>
<!-- <xsl:template name="scipublicationsDownload"> <!-- <xsl:template name="scipublicationsDownload">
<xsl:if test="./masterVersion/id"> <xsl:if test="./masterVersion/id">
<h3 class="publicationDownloads"> <h3 class="publicationDownloads">