- Mandalay support for the content types from the ccm-sci-publications-dramaticarts module
- Some bugfixes for the ccm-sci-publications-dramaticarts module git-svn-id: https://svn.libreccm.org/ccm/trunk@2663 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
d287dcd760
commit
06e25503c7
|
|
@ -217,6 +217,44 @@
|
||||||
<line id="monograph/year">Jahr</line>
|
<line id="monograph/year">Jahr</line>
|
||||||
<line id="monograph/yearFirstPublished">Erste Veröffentlichung</line>
|
<line id="monograph/yearFirstPublished">Erste Veröffentlichung</line>
|
||||||
|
|
||||||
|
<line id="movie/abstract">Zusammenfassung</line>
|
||||||
|
<line id="movie/author">Autorin/Autor</line>
|
||||||
|
<line id="movie/authors">Autorinnen/Autoren</line>
|
||||||
|
<line id="movie/director">Regie</line>
|
||||||
|
<line id="movie/languageOfPublication">Sprache</line>
|
||||||
|
<line id="movie/misc"></line>
|
||||||
|
<line id="movie/number">Nummer</line>
|
||||||
|
<line id="movie/numberOfPages">Anzahl der Seiten</line>
|
||||||
|
<line id="movie/organization">Organisation</line>
|
||||||
|
<line id="movie/place">Ort</line>
|
||||||
|
<line id="movie/productionCompany">Produktionsgesellschaft</line>
|
||||||
|
<line id="movie/series">Reihe</line>
|
||||||
|
<line id="movie/seriesPre"></line>
|
||||||
|
<line id="movie/seriesPost"></line>
|
||||||
|
<line id="movie/year">Jahr</line>
|
||||||
|
<line id="movie/yearFirstPublished">Erste Veröffentlichung</line>
|
||||||
|
|
||||||
|
<line id="play/abstract">Zusammenfassung</line>
|
||||||
|
<line id="play/authors">Autorinnen/Autoren</line>
|
||||||
|
<line id="play/author">Autorin/Autor</line>
|
||||||
|
<line id="play/edition">Auflage</line>
|
||||||
|
<line id="play/firstProductionTheatre">Erstes Theater</line>
|
||||||
|
<line id="play/firstProductionYear">Erste Produktionsjahr</line>
|
||||||
|
<line id="play/isbn">ISBN</line>
|
||||||
|
<line id="play/languageOfPublication">Sprache</line>
|
||||||
|
<line id="play/misc"></line>
|
||||||
|
<line id="play/numberOfPages">Anzahl der Seiten</line>
|
||||||
|
<line id="play/numberOfVolumes">Anzahl der Bände</line>
|
||||||
|
<line id="play/publisher">Verlag</line>
|
||||||
|
<line id="play/reviewed">Referiert</line>
|
||||||
|
<line id="play/series">Erschienen in der Reihe</line>
|
||||||
|
<line id="play/seriesPre"></line>
|
||||||
|
<line id="play/seriesPost"></line>
|
||||||
|
<line id="play/url">Weitere Informationen</line>
|
||||||
|
<line id="play/volume">Band</line>
|
||||||
|
<line id="play/year">Jahr</line>
|
||||||
|
<line id="play/yearFirstPublished">Erste Veröffentlichung</line>
|
||||||
|
|
||||||
<line id="proceedings/abstract">Zusammenfassung</line>
|
<line id="proceedings/abstract">Zusammenfassung</line>
|
||||||
<line id="proceedings/authors">Autorinnen/Autoren</line>
|
<line id="proceedings/authors">Autorinnen/Autoren</line>
|
||||||
<line id="proceedings/author">Autorin/Autor</line>
|
<line id="proceedings/author">Autorin/Autor</line>
|
||||||
|
|
|
||||||
|
|
@ -210,6 +210,43 @@
|
||||||
<line id="monograph/year">Year</line>
|
<line id="monograph/year">Year</line>
|
||||||
<line id="monograph/yearFirstPublished">First published</line>
|
<line id="monograph/yearFirstPublished">First published</line>
|
||||||
|
|
||||||
|
<line id="movie/abstract">Abstract</line>
|
||||||
|
<line id="movie/author">Author</line>
|
||||||
|
<line id="movie/authors">Authors</line>
|
||||||
|
<line id="movie/director">Director</line>
|
||||||
|
<line id="movie/languageOfPublication">Language</line>
|
||||||
|
<line id="movie/misc">Miscellaneous</line>
|
||||||
|
<line id="movie/number">Number</line>
|
||||||
|
<line id="movie/numberOfPages">Number of pages</line>
|
||||||
|
<line id="movie/organization">Organization</line>
|
||||||
|
<line id="movie/place">Place</line>
|
||||||
|
<line id="movie/productionCompany">Production company</line>
|
||||||
|
<line id="movie/series">Series</line>
|
||||||
|
<line id="movie/seriesPre"></line>
|
||||||
|
<line id="movie/seriesPost"></line>
|
||||||
|
<line id="movie/year">Year</line>
|
||||||
|
<line id="movie/yearFirstPublished">First published</line>
|
||||||
|
|
||||||
|
<line id="play/abstract">Abstract</line>
|
||||||
|
<line id="play/authors">Authors</line>
|
||||||
|
<line id="play/author">Author</line>
|
||||||
|
<line id="play/edition">Edition</line>
|
||||||
|
<line id="play/firstProductionTheatre">First production theatre</line>
|
||||||
|
<line id="play/firstProductionYear">First production year</line>
|
||||||
|
<line id="play/isbn">ISBN</line>
|
||||||
|
<line id="play/misc">Miscellaneous</line>
|
||||||
|
<line id="play/languageOfPublication">Language</line>
|
||||||
|
<line id="play/numberOfPages">Number of pages</line>
|
||||||
|
<line id="play/numberOfVolumes">Number of volumes</line>
|
||||||
|
<line id="play/publisher">Publisher</line>
|
||||||
|
<line id="play/reviewed">Reviewed</line>
|
||||||
|
<line id="play/series">In series</line>
|
||||||
|
<line id="play/url">Further informations</line>
|
||||||
|
<line id="play/volume">Volume</line>
|
||||||
|
<line id="play/year">Year</line>
|
||||||
|
<line id="play/yearFirstPublished">First published</line>
|
||||||
|
|
||||||
|
|
||||||
<line id="proceedings/abstract">Abstract</line>
|
<line id="proceedings/abstract">Abstract</line>
|
||||||
<line id="proceedings/authors">Authors</line>
|
<line id="proceedings/authors">Authors</line>
|
||||||
<line id="proceedings/author">Author</line>
|
<line id="proceedings/author">Author</line>
|
||||||
|
|
|
||||||
|
|
@ -246,6 +246,57 @@
|
||||||
<setting id="monograph/setYear">true</setting>
|
<setting id="monograph/setYear">true</setting>
|
||||||
<setting id="monograph/setYearFirstPublished">true</setting>
|
<setting id="monograph/setYearFirstPublished">true</setting>
|
||||||
|
|
||||||
|
<!-- Settings for the detail view of a working paper -->
|
||||||
|
<setting id="movie/setImage">true</setting>
|
||||||
|
<setting id="movie/setImageCaption">true</setting>
|
||||||
|
<setting id="movie/setImageMaxHeight"></setting>
|
||||||
|
<setting id="movie/setImageMaxWidth"></setting>
|
||||||
|
|
||||||
|
<setting id="movie/setAbstract">true</setting>
|
||||||
|
<setting id="movie/setAssignedTerms">true</setting>
|
||||||
|
<setting id="movie/setAuthors">true</setting>
|
||||||
|
<setting id="movie/setDirector">true</setting>
|
||||||
|
<setting id="movie/setLanguageOfPublication">true</setting>
|
||||||
|
<setting id="movie/setMisc">true</setting>
|
||||||
|
<setting id="movie/setNumber">true</setting>
|
||||||
|
<setting id="movie/setNumberOfPages">true</setting>
|
||||||
|
<setting id="movie/setPages">true</setting>
|
||||||
|
<setting id="movie/setOrganization">true</setting>
|
||||||
|
<setting id="movie/setPlace">true</setting>
|
||||||
|
<setting id="movie/setProductionCompany">true</setting>
|
||||||
|
<setting id="movie/setSeries">true</setting>
|
||||||
|
<setting id="movie/setSeriesLink">true</setting>
|
||||||
|
<setting id="movie/setSeriesVolume">true</setting>
|
||||||
|
<setting id="movie/setYear">true</setting>
|
||||||
|
<setting id="movie/setYearFirstPublished">true</setting>
|
||||||
|
|
||||||
|
<!-- Settings for the detail view of a play -->
|
||||||
|
<setting id="play/setImage">true</setting>
|
||||||
|
<setting id="play/setImageCaption">true</setting>
|
||||||
|
<setting id="play/setImageMaxHeight"></setting>
|
||||||
|
<setting id="play/setImageMaxWidth"></setting>
|
||||||
|
|
||||||
|
<setting id="play/setAbstract">true</setting>
|
||||||
|
<setting id="play/setAssignedTerms">true</setting>
|
||||||
|
<setting id="play/setAuthors">true</setting>
|
||||||
|
<setting id="play/setEdition">true</setting>
|
||||||
|
<setting id="play/setFirstProductionTheatre">true</setting>
|
||||||
|
<setting id="play/setFirstProductionYear">true</setting>
|
||||||
|
<setting id="play/setIsbn">true</setting>
|
||||||
|
<setting id="play/setLanguageOfPublication">true</setting>
|
||||||
|
<setting id="play/setMisc">true</setting>
|
||||||
|
<setting id="play/setNumberOfPages">true</setting>
|
||||||
|
<setting id="play/setNumberOfVolumes">true</setting>
|
||||||
|
<setting id="play/setPublisher">true</setting>
|
||||||
|
<setting id="play/setReviewed">true</setting>
|
||||||
|
<setting id="play/setSeries">true</setting>
|
||||||
|
<setting id="play/setSeriesLink">true</setting>
|
||||||
|
<setting id="play/setSeriesVolume">true</setting>
|
||||||
|
<setting id="play/setUrl">true</setting>
|
||||||
|
<setting id="play/setVolume">true</setting>
|
||||||
|
<setting id="play/setYear">true</setting>
|
||||||
|
<setting id="play/setYearFirstPublished">true</setting>
|
||||||
|
|
||||||
<!-- Settings for the detail view of an proceedings publication -->
|
<!-- Settings for the detail view of an proceedings publication -->
|
||||||
<setting id="proceedings/setImage">true</setting>
|
<setting id="proceedings/setImage">true</setting>
|
||||||
<setting id="proceedings/setImageCaption">true</setting>
|
<setting id="proceedings/setImageCaption">true</setting>
|
||||||
|
|
@ -303,6 +354,8 @@
|
||||||
<setting id="series/setEditors">true</setting>
|
<setting id="series/setEditors">true</setting>
|
||||||
<setting id="series/setVolumes">true</setting>
|
<setting id="series/setVolumes">true</setting>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Settings for the detail view of a working paper -->
|
<!-- Settings for the detail view of a working paper -->
|
||||||
<setting id="workingPaper/setImage">true</setting>
|
<setting id="workingPaper/setImage">true</setting>
|
||||||
<setting id="workingPaper/setImageCaption">true</setting>
|
<setting id="workingPaper/setImageCaption">true</setting>
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,14 @@ This file defines the format for bibliographic references in lists.
|
||||||
<authors after=" "/><year before=" (" after=") "/><title/><edition before=", "/><publisher before=", "/><misc before=", "/>
|
<authors after=" "/><year before=" (" after=") "/><title/><edition before=", "/><publisher before=", "/><misc before=", "/>
|
||||||
</bibrefMonographFormat>
|
</bibrefMonographFormat>
|
||||||
|
|
||||||
|
<bibrefMovieFormat>
|
||||||
|
<authors after=" "/><year before=" (" after=") "/><title/><place before=", "/><organization before=": "/><series /><number before=" "/><misc before=", "/>
|
||||||
|
</bibrefMovieFormat>
|
||||||
|
|
||||||
|
<bibrefPlayFormat>
|
||||||
|
<authors after=" "/><year before=" (" after=") "/><title/><edition before=", "/><publisher before=", "/><misc before=", "/>
|
||||||
|
</bibrefPlayFormat>
|
||||||
|
|
||||||
<bibrefProceedingsFormat>
|
<bibrefProceedingsFormat>
|
||||||
<title/><year before=" (" after=") " ifEmpty=" "/><publisher after=". "/><misc after=". "/><series after=". "/>
|
<title/><year before=" (" after=") " ifEmpty=" "/><publisher after=". "/><misc after=". "/><series after=". "/>
|
||||||
</bibrefProceedingsFormat>
|
</bibrefProceedingsFormat>
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,8 @@
|
||||||
<xsl:import href="SciPublications/Review.xsl"/>
|
<xsl:import href="SciPublications/Review.xsl"/>
|
||||||
<xsl:import href="SciPublications/ResearchReport.xsl"/>
|
<xsl:import href="SciPublications/ResearchReport.xsl"/>
|
||||||
<xsl:import href="SciPublications/SciAuthor.xsl"/>
|
<xsl:import href="SciPublications/SciAuthor.xsl"/>
|
||||||
|
<xsl:import href="SciPublications/SciPublicationsMovie.xsl"/>
|
||||||
|
<xsl:import href="SciPublications/SciPublicationsPlay.xsl"/>
|
||||||
<xsl:import href="SciPublications/Series.xsl"/>
|
<xsl:import href="SciPublications/Series.xsl"/>
|
||||||
<xsl:import href="SciPublications/UnPublished.xsl"/>
|
<xsl:import href="SciPublications/UnPublished.xsl"/>
|
||||||
<xsl:import href="SciPublications/WorkingPaper.xsl"/>
|
<xsl:import href="SciPublications/WorkingPaper.xsl"/>
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,8 @@
|
||||||
|
|
||||||
<!-- DE Bild -->
|
<!-- DE Bild -->
|
||||||
<!-- EN image -->
|
<!-- EN image -->
|
||||||
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" mode="image">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']"
|
||||||
|
mode="image">
|
||||||
|
|
||||||
<!-- DE Hole alle benötigten Einstellungen-->
|
<!-- DE Hole alle benötigten Einstellungen-->
|
||||||
<!-- EN Getting all needed setting-->
|
<!-- EN Getting all needed setting-->
|
||||||
|
|
@ -102,7 +103,9 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template name="CT_Proceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" mode="detailed_view">
|
<xsl:template name="CT_Proceedings_graphics"
|
||||||
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']"
|
||||||
|
mode="detailed_view">
|
||||||
|
|
||||||
<xsl:variable name="setAbstract">
|
<xsl:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,574 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE stylesheet [<!ENTITY nbsp ' '>]>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright 2014 Jens Pelzetter
|
||||||
|
|
||||||
|
|
||||||
|
This file is part of Mandalay.
|
||||||
|
|
||||||
|
Mandalay is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Mandalay is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
|
exclude-result-prefixes="xsl bebop cms nav"
|
||||||
|
version="1.0">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
*************************************************
|
||||||
|
** Templates for the SciPublicationsMovie type **
|
||||||
|
*************************************************
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Lead View
|
||||||
|
-->
|
||||||
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="lead">
|
||||||
|
<xsl:variable name="setLeadText">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setLeadText'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:if test="./lead and ($setLeadText = 'true')">
|
||||||
|
<div class="lead">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Image -->
|
||||||
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="image">
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Detail view -->
|
||||||
|
<xsl:template name="CT_SciPublicationsMovie_graphics"
|
||||||
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="detailed_view">
|
||||||
|
<xsl:variable name="setImage">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setImage'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImageCaption">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setImageCaption'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImageMaxHeight">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setImageMaxHeight'"/>
|
||||||
|
<xsl:with-param name="default" select="''"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImageMaxWidth">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setImageMaxWidth'"/>
|
||||||
|
<xsl:with-param name="default" select="''"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:variable name="setAbstract">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setAbstract'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setAuthors">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setAuthors'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</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="'movie/setAssignedTerms'" />
|
||||||
|
<xsl:with-param name="default" select="'false'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setDirector">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'movie/setDirector'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setLanguageOfPublication">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'movie/setLanguageOfPublication'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setMisc">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setMisc'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setNumber">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setNumber'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setNumberOfPages">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setNumberOfPages'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setOrganization">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setPages'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setPlace">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setPlace'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setProductionCompany">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setProductionCompany'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setSeries">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setSeries'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setSeriesLink">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setSeriesLink'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setSeriesVolume">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setSeriesVolume'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setYear">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'movie/setYear'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setYearFirstPublished">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'movie/setYearFirstPublished'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
|
||||||
|
<xsl:if test="$setImage = 'true'">
|
||||||
|
<xsl:call-template name="mandalay:imageAttachment">
|
||||||
|
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
||||||
|
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
||||||
|
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
<xsl:call-template name="scipublicationsAuthors">
|
||||||
|
<xsl:with-param name="authors" select="./authors/author"/>
|
||||||
|
<xsl:with-param name="authorText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/author'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="authorsText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/authors'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setDirector = 'true') and (string-length(./director) > 0)">
|
||||||
|
<xsl:call-template name="scipublicationsAuthors">
|
||||||
|
<xsl:with-param name="authors" select="./director"/>
|
||||||
|
<xsl:with-param name="authorText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/director'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="authorsText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/director'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/year'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./yearOfPublication"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'monograph/yearFirstPublished'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./yearFirstPublished" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'movie/languageOfPublication'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:variable name="langText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'languageCodes'" />
|
||||||
|
<xsl:with-param name="id" select="./languageOfPublication" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="(string-length($langText) > 0) and (contains($langText, 'Missing Translation') = false())">
|
||||||
|
<xsl:value-of select="$langText"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="./languageOfPublication"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setProductionCompany = 'true') and (string-length(./productionCompany/title) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/productionCompany'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./productionCompany/title"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setOrganization = 'true') and (string-length(./organization/title) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/organization'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./organization/title"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setPlace = 'true') and (string-length(./place) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/place'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./place"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setNumber = 'true') and (string-length(./number) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/number'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./number"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/numberOfPages'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./numberOfPages"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setSeries = 'true') and (string-length(./series) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/series'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$setSeriesLink = 'true'">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
|
||||||
|
<xsl:value-of select="./series/series/title" />
|
||||||
|
|
||||||
|
<xsl:if test="$setSeriesVolume = 'true'">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'movie/seriesVolumePre'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
<xsl:value-of select="./series/series/@volume" />
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'movie/seriesVolumePost'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="./series/series/title" />
|
||||||
|
<xsl:if test="$setSeriesVolume = 'true'">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'movie/seriesVolumePre'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
<xsl:value-of select="./series/series/@volume" />
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'movie/seriesVolumePost'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</dd>
|
||||||
|
</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>
|
||||||
|
|
||||||
|
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) > 0)">
|
||||||
|
<div class="publicationAbstract">
|
||||||
|
<h3>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/abstract'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</h3>
|
||||||
|
<div class="abstract">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) > 0)">
|
||||||
|
<div class="publicationMisc">
|
||||||
|
<h3>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'movie/misc'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</h3>
|
||||||
|
<xsl:value-of disable-output-escaping="yes"
|
||||||
|
select="./misc"/>
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- List View -->
|
||||||
|
|
||||||
|
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="list_view">
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'"/>
|
||||||
|
<xsl:call-template name="CT_SciPublicationsMovie_List">
|
||||||
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="list_view">
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'"/>
|
||||||
|
<xsl:call-template name="CT_SciPublicationsMovie_List">
|
||||||
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="CT_SciPublicationsMovie_List"
|
||||||
|
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="list_view">
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'"/>
|
||||||
|
|
||||||
|
<!-- EN Get all settings needed -->
|
||||||
|
<xsl:variable name="formatDefFile">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'formatDefFile'"/>
|
||||||
|
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setLinkToDetails">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setLeadText">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setLeadTextLength">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
|
||||||
|
<xsl:with-param name="default" select="'0'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setMoreButton">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
|
||||||
|
<xsl:with-param name="default" select="'false'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Process authors first, and store the result (complete author part)
|
||||||
|
in a variable. The format for the authors part is defined in a
|
||||||
|
seperate XML file, which is also processed
|
||||||
|
here.
|
||||||
|
-->
|
||||||
|
<xsl:variable name="authors">
|
||||||
|
<xsl:for-each select="./authors/author">
|
||||||
|
<xsl:sort select="./@order" data-type="number"/>
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
|
||||||
|
<xsl:with-param name="surname" select="./surname"/>
|
||||||
|
<xsl:with-param name="givenName" select="./givenname"/>
|
||||||
|
<xsl:with-param name="isEditor" select="./@isEditor"/>
|
||||||
|
<xsl:with-param name="authorsCount" select="count(../author)"/>
|
||||||
|
<xsl:with-param name="position" select="position()"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:variable name="director">
|
||||||
|
<xsl:for-each select="./director">
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
|
||||||
|
<xsl:with-param name="surname" select="./surname"/>
|
||||||
|
<xsl:with-param name="givenName" select="./givenname"/>
|
||||||
|
<xsl:with-param name="isEditor" select="'false'"/>
|
||||||
|
<xsl:with-param name="authorsCount" select="count(../director)"/>
|
||||||
|
<xsl:with-param name="position" select="position()"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Procecess the format specification and use the values from the XML
|
||||||
|
-->
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefMovieFormat">
|
||||||
|
<xsl:with-param name="authors" select="$authors"/>
|
||||||
|
<xsl:with-param name="director" select="$director"/>
|
||||||
|
<xsl:with-param name="misc" select="./misc"/>
|
||||||
|
<xsl:with-param name="number" select="./number"/>
|
||||||
|
<xsl:with-param name="numberOfPages" select="./numberOfPages"/>
|
||||||
|
<xsl:with-param name="organization" select="./organization/title"/>
|
||||||
|
<xsl:with-param name="place" select="./place"/>
|
||||||
|
<xsl:with-param name="productionCompany" select="./productionCompany/title"/>
|
||||||
|
<xsl:with-param name="series" select="./series/series/title"/>
|
||||||
|
<xsl:with-param name="title" select="./title"/>
|
||||||
|
<xsl:with-param name="year" select="./yearOfPublication"/>
|
||||||
|
<xsl:with-param name="oid" select="./@oid"/>
|
||||||
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- link view -->
|
||||||
|
<xsl:template
|
||||||
|
name="CT_WorkingPaper_Link"
|
||||||
|
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.SciPublicationsMovie']"
|
||||||
|
mode="link_view">
|
||||||
|
<!-- Simply call template for Publications, because there is not difference for list view between these
|
||||||
|
two types -->
|
||||||
|
<xsl:call-template name="CT_Publication_Link"/>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -0,0 +1,613 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE stylesheet [<!ENTITY nbsp ' '>]>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright 2014 Jens Pelzetter
|
||||||
|
|
||||||
|
|
||||||
|
This file is part of Mandalay.
|
||||||
|
|
||||||
|
Mandalay is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Mandalay is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
|
exclude-result-prefixes="xsl bebop cms nav"
|
||||||
|
version="1.0">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
***************************************
|
||||||
|
** Templates for SciPublicationsPlay **
|
||||||
|
***************************************
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Lead view -->
|
||||||
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciPublicationsPlay']"
|
||||||
|
mode="lead">
|
||||||
|
<xsl:variable name="setLeadText">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'play/setLeadText'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:if test="./lead and $setLeadText = 'true'">
|
||||||
|
<div class="lead">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Image view -->
|
||||||
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciPublicationsPlay']"
|
||||||
|
mode="image">
|
||||||
|
<xsl:variable name="setImage">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'play/setImage'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImageMaxHeight">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'play/setImageMaxHeight'"/>
|
||||||
|
<xsl:with-param name="default" select="''"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImageMaxWidth">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'play/setImageMaxWidth'"/>
|
||||||
|
<xsl:with-param name="default" select="''"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImageCaption">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="setting" select="'play/setImageCaption'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:if test="$setImage = 'true'">
|
||||||
|
<xsl:call-template name="mandalay:imageAttachment">
|
||||||
|
<xsl:with-param name="showCaption" select="$setImageCaption"/>
|
||||||
|
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
||||||
|
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="CT_SciPublicationsPlay_graphics"
|
||||||
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciPublicationsPlay']"
|
||||||
|
mode="detailed_view">
|
||||||
|
<xsl:variable name="setAbstract">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setAbstract'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</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="'play/setAssignedTerms'" />
|
||||||
|
<xsl:with-param name="default" select="'false'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setAuthors">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setAuthors'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setEdition">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setEdition'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setFirstProductionTheatre">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setFirstProductionTheatre'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setFirstProductionYear">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setFirstYear'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setIsbn">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setIsbn'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setLanguageOfPublication">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setLanguageOfPublication'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setMisc">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setMisc'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setNumberOfPages">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setNumberOfPages'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setNumberOfVolumes">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setNumberOfVolumes'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setPublisher">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setPublisher'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setReviewed">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setReviewed'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setSeries">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setSeries'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setSeriesLink">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setSeriesLink'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setSeriesVolume">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setSeriesVolume'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setUrl">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setUrl'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setVolume">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setVolume'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setYear">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setYear'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setYearFirstPublished">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'play/setYearFirstPublished'" />
|
||||||
|
<xsl:with-param name="default" select="'true'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="formatDefFile">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'formatDefFile'" />
|
||||||
|
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<div class="mainBody publication publicationDetails publicationPlayDetails">
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
<xsl:call-template name="scipublicationsAuthors">
|
||||||
|
<xsl:with-param name="authors" select="./authors/author" />
|
||||||
|
<xsl:with-param name="authorText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/author'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="authorsText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/authors'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/year'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./yearOfPublication" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'"/>
|
||||||
|
<xsl:with-param name="id" select="'play/yearFirstPublished'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./yearFirstPublished" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setFirstProductionYear = 'true') and (string-length(./firstProductionYear) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/firstProductionYear'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./firstProductionYear"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setFirstProductionTheatre = 'true') and (string-length(./firstProductionTheatre) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/firstProductionTheatre'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./firstProductionTheatre/title"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/languageOfPublication'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:variable name="langText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'languageCodes'" />
|
||||||
|
<xsl:with-param name="id" select="./languageOfPublication" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="(string-length($langText) > 0) and (contains($langText, 'Missing Translation') = false())">
|
||||||
|
<xsl:value-of select="$langText"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="./languageOfPublication"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setPublisher = 'true') and (string-length(./publisher) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/publisher'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:variable name="publisherName" select="./publisher/publisherName" />
|
||||||
|
<xsl:variable name="place" select="./publisher/place" />
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
|
||||||
|
<xsl:with-param name="name" select="$publisherName" />
|
||||||
|
<xsl:with-param name="place" select="$place" />
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setIsbn = 'true') and (string-length(./isbn) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/isbn'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./isbn" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setUrl = 'true') and (string-length(./url) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/url'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="./url" />
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:value-of select="./url" />
|
||||||
|
</a>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setVolume = 'true') and (string-length(./volume) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/volume'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./volume" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setNumberOfVolumes = 'true') and (string-length(./numberOfVolumes) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/numberOfVolumes'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./numberOfVolumes" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/numberOfPages'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./numberOfPages" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setEdition = 'true') and (string-length(./edition) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/edition'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./edition" />
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setReviewed = 'true') and (string-length(./reviewed) > 0) and (./reviewed = 'true')">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/reviewed'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd><EFBFBD></dd>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="($setSeries = 'true') and (string-length(./series/series) > 0)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/series'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$setSeriesLink = 'true'">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
|
||||||
|
<xsl:value-of select="./series/series/title" />
|
||||||
|
|
||||||
|
<xsl:if test="$setSeriesVolume = 'true'">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/seriesVolumePre'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
<xsl:value-of select="./series/series/@volume" />
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/seriesVolumePost'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of select="./series/series/title" />
|
||||||
|
<xsl:if test="$setSeriesVolume = 'true'">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/seriesVolumePre'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
<xsl:value-of select="./series/series/@volume" />
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/seriesVolumePost'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</dd>
|
||||||
|
</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>
|
||||||
|
|
||||||
|
<xsl:if test="($setAbstract = 'true') and (string-length(normalize-space(./abstract)) > 0)">
|
||||||
|
<div class="publicationAbstract">
|
||||||
|
<h3>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/abstract'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</h3>
|
||||||
|
<div class="abstract">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) > 0)">
|
||||||
|
<div class="publicationMisc">
|
||||||
|
<h3>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="'play/misc'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</h3>
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./misc" />
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- List View -->
|
||||||
|
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.SciPublicationsPlay']"
|
||||||
|
mode="list_view">
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'" />
|
||||||
|
<xsl:call-template name="CT_Play_List">
|
||||||
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.SciPublicationsPlay']"
|
||||||
|
mode="list_view">
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'" />
|
||||||
|
<xsl:call-template name="CT_Play_List">
|
||||||
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="CT_Play_List"
|
||||||
|
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SciPublicationsPlay']"
|
||||||
|
mode="list_view">
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'" />
|
||||||
|
<xsl:variable name="formatDefFile">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="setting" select="'formatDefFile'" />
|
||||||
|
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Process authors first, and store the result (complete author part)
|
||||||
|
in a variable. The format for the authors part is defined in a
|
||||||
|
seperate XML file, which is also processed
|
||||||
|
here.
|
||||||
|
-->
|
||||||
|
<xsl:variable name="authors">
|
||||||
|
<xsl:for-each select="./authors/author">
|
||||||
|
<xsl:sort select="./@order" data-type="number" />
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
|
||||||
|
<xsl:with-param name="surname" select="./surname" />
|
||||||
|
<xsl:with-param name="givenName" select="./givenname" />
|
||||||
|
<xsl:with-param name="isEditor" select="@isEditor" />
|
||||||
|
<xsl:with-param name="authorsCount" select="count(../author)" />
|
||||||
|
<xsl:with-param name="position" select="position()" />
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Process publisher part, and store in a variable. The format for
|
||||||
|
the publisher part is definied in a separate XML file which also
|
||||||
|
processed here.
|
||||||
|
-->
|
||||||
|
<xsl:variable name="publisher">
|
||||||
|
<xsl:for-each select="./publisher">
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
|
||||||
|
<xsl:with-param name="name" select="./publisherName" />
|
||||||
|
<xsl:with-param name="place" select="./place" />
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!-- Call template for standard format -->
|
||||||
|
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPlayFormat">
|
||||||
|
<xsl:with-param name="authors" select="$authors" />
|
||||||
|
<xsl:with-param name="edition" select="./edition" />
|
||||||
|
<xsl:with-param name="firstProductionTheatre" select="./firstProductionTheatre/title"/>
|
||||||
|
<xsl:with-param name="firstProductionYear" select="./firstProductionYear"/>
|
||||||
|
<xsl:with-param name="isbn" select="./isbn" />
|
||||||
|
<xsl:with-param name="misc" select="./misc" />
|
||||||
|
<xsl:with-param name="numberOfPages" select="./numberofpages" />
|
||||||
|
<xsl:with-param name="numberOfVolumes" select="./numberofvolumes" />
|
||||||
|
<xsl:with-param name="publisher" select="$publisher" />
|
||||||
|
<xsl:with-param name="reviewed" select="./reviewed" />
|
||||||
|
<xsl:with-param name="series" select="./series/series/title"/>
|
||||||
|
<xsl:with-param name="seriesVolume" select="./series/series/@volume"/>
|
||||||
|
<xsl:with-param name="title" select="./title" />
|
||||||
|
<xsl:with-param name="volume" select="./volume" />
|
||||||
|
<xsl:with-param name="year" select="./yearOfPublication" />
|
||||||
|
<xsl:with-param name="oid" select="./@oid" />
|
||||||
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
|
||||||
|
</xsl:apply-templates>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Link view -->
|
||||||
|
<xsl:template name="CT_Play_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.SciPublicationsPlay']" mode="link_view">
|
||||||
|
<!-- Simply call template for Publications with publisher, because there is
|
||||||
|
no difference for list view between these
|
||||||
|
two types -->
|
||||||
|
<xsl:call-template name="CT_PublicationWithPublisher_Link" />
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -21,8 +21,7 @@
|
||||||
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:stylesheet
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
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"
|
||||||
|
|
@ -295,8 +294,7 @@
|
||||||
<xsl:with-param name="year" select="$year" />
|
<xsl:with-param name="year" select="$year" />
|
||||||
<!-- technical data -->
|
<!-- technical data -->
|
||||||
<xsl:with-param name="oid" select="$oid" />
|
<xsl:with-param name="oid" select="$oid" />
|
||||||
<xsl:with-param name="useRelativeUrl"
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
|
||||||
select="$useRelativeUrl" />
|
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
@ -323,8 +321,7 @@
|
||||||
<xsl:with-param name="title" select="$title" />
|
<xsl:with-param name="title" select="$title" />
|
||||||
<!-- technical data -->
|
<!-- technical data -->
|
||||||
<xsl:with-param name="oid" select="$oid" />
|
<xsl:with-param name="oid" select="$oid" />
|
||||||
<xsl:with-param name="useRelativeUrl"
|
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
|
||||||
select="$useRelativeUrl" />
|
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
@ -371,6 +368,92 @@
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="bibrefMovie"
|
||||||
|
match="bibrefMovieFormat">
|
||||||
|
<!-- publication data -->
|
||||||
|
<xsl:param name="authors" />
|
||||||
|
<xsl:param name="director" />
|
||||||
|
<xsl:param name="misc" />
|
||||||
|
<xsl:param name="number" />
|
||||||
|
<xsl:param name="numberOfPages" />
|
||||||
|
<xsl:param name="organization" />
|
||||||
|
<xsl:param name="place" />
|
||||||
|
<xsl:param name="productionCompany" />
|
||||||
|
<xsl:param name="series" />
|
||||||
|
<xsl:param name="title" />
|
||||||
|
<xsl:param name="year" />
|
||||||
|
<!-- technical data -->
|
||||||
|
<xsl:param name="oid" />
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'" />
|
||||||
|
|
||||||
|
<xsl:apply-templates>
|
||||||
|
<!-- publication data -->
|
||||||
|
<xsl:with-param name="authors" select="$authors" />
|
||||||
|
<xsl:with-param name="director" select="$director" />
|
||||||
|
<xsl:with-param name="misc" select="$misc" />
|
||||||
|
<xsl:with-param name="number" select="$number" />
|
||||||
|
<xsl:with-param name="numberOfPages"
|
||||||
|
select="$numberOfPages" />
|
||||||
|
<xsl:with-param name="organization" select="$organization" />
|
||||||
|
<xsl:with-param name="place" select="$place" />
|
||||||
|
<xsl:with-param name="productionCompany" select="$productionCompany"/>
|
||||||
|
<xsl:with-param name="series" select="$series" />
|
||||||
|
<xsl:with-param name="title" select="$title" />
|
||||||
|
<xsl:with-param name="year" select="$year" />
|
||||||
|
<!-- technical data -->
|
||||||
|
<xsl:with-param name="oid" select="$oid" />
|
||||||
|
<xsl:with-param name="useRelativeUrl"
|
||||||
|
select="$useRelativeUrl" />
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="bibrefPlay"
|
||||||
|
match="bibrefPlayFormat">
|
||||||
|
<!-- publication data -->
|
||||||
|
<xsl:param name="authors" />
|
||||||
|
<xsl:param name="edition" />
|
||||||
|
<xsl:param name="firstProductionTheatre"/>
|
||||||
|
<xsl:param name="firstProductionYear"/>
|
||||||
|
<xsl:param name="isbn" />
|
||||||
|
<xsl:param name="misc" select="''" />
|
||||||
|
<xsl:param name="numberOfPages" />
|
||||||
|
<xsl:param name="numberOfVolumes" />
|
||||||
|
<xsl:param name="publisher" />
|
||||||
|
<xsl:param name="reviewed" />
|
||||||
|
<xsl:param name="series" />
|
||||||
|
<xsl:param name="seriesVolume"/>
|
||||||
|
<xsl:param name="title" />
|
||||||
|
<xsl:param name="volume" />
|
||||||
|
<xsl:param name="year" />
|
||||||
|
<!-- technical data -->
|
||||||
|
<xsl:param name="oid" />
|
||||||
|
<xsl:param name="useRelativeUrl" select="'false'" />
|
||||||
|
<xsl:apply-templates>
|
||||||
|
<!-- publication data -->
|
||||||
|
<xsl:with-param name="authors" select="$authors" />
|
||||||
|
<xsl:with-param name="edition" select="$edition" />
|
||||||
|
<xsl:with-param name="firstProductionTheatre" select="$firstProductionTheatre"/>
|
||||||
|
<xsl:with-param name="firstProductionYear" select="$firstProductionYear"/>
|
||||||
|
<xsl:with-param name="isbn" select="$isbn" />
|
||||||
|
<xsl:with-param name="misc" select="$misc" />
|
||||||
|
<xsl:with-param name="numberOfPages"
|
||||||
|
select="$numberOfPages" />
|
||||||
|
<xsl:with-param name="numberOfVolumes"
|
||||||
|
select="$numberOfVolumes" />
|
||||||
|
<xsl:with-param name="publisher" select="$publisher" />
|
||||||
|
<xsl:with-param name="reviewed" select="$reviewed" />
|
||||||
|
<xsl:with-param name="series" select="$series" />
|
||||||
|
<xsl:with-param name="seriesVolume" select="$seriesVolume" />
|
||||||
|
<xsl:with-param name="title" select="$title" />
|
||||||
|
<xsl:with-param name="volume" select="$volume" />
|
||||||
|
<xsl:with-param name="year" select="$year" />
|
||||||
|
<!-- technical data -->
|
||||||
|
<xsl:with-param name="oid" select="$oid" />
|
||||||
|
<xsl:with-param name="useRelativeUrl"
|
||||||
|
select="$useRelativeUrl" />
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<!-- Process the format definition for proceedings -->
|
<!-- Process the format definition for proceedings -->
|
||||||
<xsl:template name="bibrefProceedings"
|
<xsl:template name="bibrefProceedings"
|
||||||
match="bibrefProceedingsFormat">
|
match="bibrefProceedingsFormat">
|
||||||
|
|
@ -461,6 +544,7 @@
|
||||||
select="$useRelativeUrl" />
|
select="$useRelativeUrl" />
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!-- Process format definition for research report-->
|
<!-- Process format definition for research report-->
|
||||||
<xsl:template name="bibrefResearchReport"
|
<xsl:template name="bibrefResearchReport"
|
||||||
match="bibrefResearchReportFormat">
|
match="bibrefResearchReportFormat">
|
||||||
|
|
@ -495,6 +579,7 @@
|
||||||
select="$useRelativeUrl" />
|
select="$useRelativeUrl" />
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!-- Process format definition for working papers-->
|
<!-- Process format definition for working papers-->
|
||||||
<xsl:template name="bibrefWorkingPaper"
|
<xsl:template name="bibrefWorkingPaper"
|
||||||
match="bibrefWorkingPaperFormat">
|
match="bibrefWorkingPaperFormat">
|
||||||
|
|
@ -652,7 +737,9 @@
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</span>
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<span class="publicationCollectedVolume"><xsl:value-of select="normalize-space($collectedVolume)" /></span>
|
<span class="publicationCollectedVolume">
|
||||||
|
<xsl:value-of select="normalize-space($collectedVolume)" />
|
||||||
|
</span>
|
||||||
<xsl:if test="./@postText">
|
<xsl:if test="./@postText">
|
||||||
<span class="postText">
|
<span class="postText">
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
|
@ -663,7 +750,9 @@
|
||||||
</span>
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="./@after">
|
<xsl:if test="./@after">
|
||||||
<span class="after"><xsl:value-of select="./@after" /></span>
|
<span class="after">
|
||||||
|
<xsl:value-of select="./@after" />
|
||||||
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</span>
|
</span>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
@ -678,6 +767,7 @@
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!-- Process the symbol of a journal -->
|
<!-- Process the symbol of a journal -->
|
||||||
<xsl:template match="bibrefFormat/bibrefJournalFormat/symbol | bibrefFormat/structDefs/symbol">
|
<xsl:template match="bibrefFormat/bibrefJournalFormat/symbol | bibrefFormat/structDefs/symbol">
|
||||||
<xsl:param name="symbol" />
|
<xsl:param name="symbol" />
|
||||||
|
|
@ -689,6 +779,7 @@
|
||||||
<xsl:value-of select="./@after"/>
|
<xsl:value-of select="./@after"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!-- Process the date of the conference -->
|
<!-- Process the date of the conference -->
|
||||||
<xsl:template match="bibrefFormat/bibrefProeccedingsFormat/dateOfConference | bibrefFormat/structDefs/dateOfConference">
|
<xsl:template match="bibrefFormat/bibrefProeccedingsFormat/dateOfConference | bibrefFormat/structDefs/dateOfConference">
|
||||||
|
|
||||||
|
|
@ -759,6 +850,47 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bibrefFormat//director">
|
||||||
|
<xsl:param name="director" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="string-length($director) > 0">
|
||||||
|
<span class="publicationDirectorInfo">
|
||||||
|
<xsl:if test="./@before">
|
||||||
|
<span class="before">
|
||||||
|
<xsl:value-of select="./@before" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<span class="publicationDirector">
|
||||||
|
<xsl:copy-of select="$director" />
|
||||||
|
</span>
|
||||||
|
<xsl:if test="./@after">
|
||||||
|
<span class="after">
|
||||||
|
<xsl:value-of select="./@after" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@postText">
|
||||||
|
<span class="postText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@postText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:if test="./@ifEmpty">
|
||||||
|
<span class="publicationDirectorInfo">
|
||||||
|
<span class="ifEmpty">
|
||||||
|
<xsl:value-of select="./@ifEmpty" />
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="bibrefFormat/bibrefInternetArticleFormat/doi | bibrefFormat/structDefs//doi">
|
<xsl:template match="bibrefFormat/bibrefInternetArticleFormat/doi | bibrefFormat/structDefs//doi">
|
||||||
<xsl:param name="doi"/>
|
<xsl:param name="doi"/>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
|
|
@ -867,6 +999,108 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bibrefFormat//firstProductionTheatre">
|
||||||
|
<xsl:param name="firstProductionTheatre" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="string-length($firstProductionTheatre) > 0">
|
||||||
|
<span class="publicationFirstProductionTheatreInfo">
|
||||||
|
<xsl:if test="./@before">
|
||||||
|
<span class="before">
|
||||||
|
<xsl:value-of select="./@before" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@preText">
|
||||||
|
<span class="preText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@preText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<span class="publicationFirstProductionTheatre">
|
||||||
|
<xsl:value-of select="$firstProductionTheatre" />
|
||||||
|
</span>
|
||||||
|
<xsl:if test="./@postText">
|
||||||
|
<span class="postText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@postText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@after">
|
||||||
|
<span class="after">
|
||||||
|
<xsl:value-of select="./@after" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:if test="./@ifEmpty">
|
||||||
|
<span class="publicationFirstProductionTheatreInfo">
|
||||||
|
<span class="ifEmpty">
|
||||||
|
<xsl:value-of select="./@ifEmpty" />
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bibrefFormat//firstProductionYear">
|
||||||
|
<xsl:param name="firstProductionYear" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="string-length($firstProductionYear) > 0">
|
||||||
|
<span class="publicationFirstProductionYearInfo">
|
||||||
|
<xsl:if test="./@before">
|
||||||
|
<span class="before">
|
||||||
|
<xsl:value-of select="./@before" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@preText">
|
||||||
|
<span class="preText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@preText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<span class="publicationFirstProductionYear">
|
||||||
|
<xsl:value-of select="$firstProductionYear" />
|
||||||
|
</span>
|
||||||
|
<xsl:if test="./@postText">
|
||||||
|
<span class="postText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@postText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@after">
|
||||||
|
<span class="after">
|
||||||
|
<xsl:value-of select="./@after" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:if test="./@ifEmpty">
|
||||||
|
<span class="publicationFirstProductionYearInfo">
|
||||||
|
<span class="ifEmpty">
|
||||||
|
<xsl:value-of select="./@ifEmpty" />
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Proceeses the last accessed value of a internet article -->
|
<!-- Proceeses the last accessed value of a internet article -->
|
||||||
<xsl:template match="bibrefFormat/bibrefInternetArticleFormat/lastAccessed | bibrefFormat/structDefs/lastAccessed">
|
<xsl:template match="bibrefFormat/bibrefInternetArticleFormat/lastAccessed | bibrefFormat/structDefs/lastAccessed">
|
||||||
|
|
||||||
|
|
@ -1714,6 +1948,58 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Procsses the organization info -->
|
||||||
|
<xsl:template match="bibrefFormat//productionCompany">
|
||||||
|
<xsl:param name="productionCompany" />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="string-length($productionCompany) > 0">
|
||||||
|
<span class="publicationProductionCompanyInfo">
|
||||||
|
<xsl:if test="./@before">
|
||||||
|
<span class="before">
|
||||||
|
<xsl:value-of select="./@before" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@preText">
|
||||||
|
<span class="preText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@preText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<span class="publicationProductionCompany">
|
||||||
|
<xsl:value-of select="$productionCompany" />
|
||||||
|
</span>
|
||||||
|
<xsl:if test="./@postText = 'true'">
|
||||||
|
<span class="postText">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module"
|
||||||
|
select="'SciPublications'" />
|
||||||
|
<xsl:with-param name="id" select="./@postText" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="./@after">
|
||||||
|
<span class="after">
|
||||||
|
<xsl:value-of select="./@after" />
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:if test="./@ifEmpty">
|
||||||
|
<span class="publicationProductionCompanyInfo">
|
||||||
|
<span class="ifEmpty">
|
||||||
|
<xsl:value-of select="./@ifEmpty" />
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<!-- Output the date of publication of a publication -->
|
<!-- Output the date of publication of a publication -->
|
||||||
<xsl:template match="bibrefFormat//publicationDate">
|
<xsl:template match="bibrefFormat//publicationDate">
|
||||||
<xsl:param name="publicationDate" />
|
<xsl:param name="publicationDate" />
|
||||||
|
|
@ -1787,7 +2073,9 @@
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</span>
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<span class="publicationPublisher"><xsl:value-of select="normalize-space($publisher)" /></span>
|
<span class="publicationPublisher">
|
||||||
|
<xsl:value-of select="normalize-space($publisher)" />
|
||||||
|
</span>
|
||||||
<xsl:if test="./@postText = 'true'">
|
<xsl:if test="./@postText = 'true'">
|
||||||
<span class="postText">
|
<span class="postText">
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
|
@ -1797,7 +2085,9 @@
|
||||||
</span>
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="./@after">
|
<xsl:if test="./@after">
|
||||||
<span class="after"><xsl:value-of select="./@after" /></span>
|
<span class="after">
|
||||||
|
<xsl:value-of select="./@after" />
|
||||||
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</span>
|
</span>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
@ -2219,6 +2509,7 @@
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!-- Templates for preprocessed fields, like authors or a publisher -->
|
<!-- Templates for preprocessed fields, like authors or a publisher -->
|
||||||
<!--
|
<!--
|
||||||
Entry point for processing an author of a publication.
|
Entry point for processing an author of a publication.
|
||||||
|
|
@ -2326,9 +2617,7 @@
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="./@initialsOnly='true'">
|
<xsl:when test="./@initialsOnly='true'">
|
||||||
<xsl:value-of select="substring($givenName, 1, 2)" />
|
<xsl:value-of select="substring($givenName, 1, 2)" />
|
||||||
<xsl:text>
|
<xsl:text>.</xsl:text>
|
||||||
.
|
|
||||||
</xsl:text>
|
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:value-of select="$givenName" />
|
<xsl:value-of select="$givenName" />
|
||||||
|
|
@ -2430,114 +2719,6 @@
|
||||||
</span>
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<!-- Entry point for processing a in series information -->
|
|
||||||
<!-- <xsl:template name="inSeries" match="bibrefFormat/bibrefInSeriesFormat">
|
|
||||||
<xsl:param name="editor"/>
|
|
||||||
<xsl:param name="title"/>
|
|
||||||
<xsl:param name="volume"/>
|
|
||||||
|
|
||||||
<span class="publicationInSeries">
|
|
||||||
<xsl:if test="./preText">
|
|
||||||
<span class="preText">
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
|
||||||
<xsl:with-param name="id" select="@preText"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<xsl:apply-templates>
|
|
||||||
<xsl:with-param name="editor" select="$editor"/>
|
|
||||||
<xsl:with-param name="title" select="$title"/>
|
|
||||||
<xsl:with-param name="volume" select="$volume"/>
|
|
||||||
</xsl:apply-templates>
|
|
||||||
|
|
||||||
<xsl:if test="./@postText">
|
|
||||||
<span class="postText">
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
|
||||||
<xsl:with-param name="id" select="'@postText'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
</span>
|
|
||||||
</xsl:template>-->
|
|
||||||
|
|
||||||
<!-- Entry point for processing the editor of a series -->
|
|
||||||
<!-- <xsl:template name="bibrefSeriesEditor"
|
|
||||||
match="bibrefFormat/bibrefSeriesEditorFormat">
|
|
||||||
<xsl:param name="surname"/>
|
|
||||||
<xsl:param name="givenName"/>
|
|
||||||
|
|
||||||
<span class="publicationSeriesEditorInfo">
|
|
||||||
<xsl:if test="./preText = 'true'">
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
|
||||||
<xsl:with-param name="id" select="'@preText'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<span class="publicationSeriesEditor">
|
|
||||||
<xsl:apply-templates>
|
|
||||||
<xsl:with-param name="surname" select="$surname"/>
|
|
||||||
<xsl:with-param name="givenName" select="$givenName"/>
|
|
||||||
</xsl:apply-templates>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
<xsl:if test="./@postTex">
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
|
||||||
<xsl:with-param name="id" select="@postText"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:if>
|
|
||||||
</span>
|
|
||||||
<xsl:if test="(position() > 2) and (position() != last())">
|
|
||||||
<xsl:value-of select="./@separator"/>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>-->
|
|
||||||
|
|
||||||
<!-- Processes the surname of an editor of a series -->
|
|
||||||
<!-- <xsl:template match="bibrefInSeriesEditorFormat/surname">
|
|
||||||
<xsl:param name="surname"/>
|
|
||||||
<xsl:if test="string-length($surname) > 0">
|
|
||||||
<span class="publicationAuthorSurnameInfo">
|
|
||||||
<xsl:if test="./@before">
|
|
||||||
<span class="before"><xsl:value-of select="./@before"/></span>
|
|
||||||
</xsl:if>
|
|
||||||
<span class="publicationAuthorSurname">
|
|
||||||
<xsl:value-of select="$surname"/>
|
|
||||||
</span>
|
|
||||||
<xsl:if test="./@after">
|
|
||||||
<span class="after"><xsl:value-of select="./@after"/></span>
|
|
||||||
</xsl:if>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>-->
|
|
||||||
|
|
||||||
<!-- Processes the given name of an editor of a series -->
|
|
||||||
<!-- <xsl:template match="bibrefInSeriesEditorFormat/givenName">
|
|
||||||
<xsl:param name="givenName"/>
|
|
||||||
<xsl:if test="string-length($givenName) > 0">
|
|
||||||
<span class="publicationAuthorGivenNameInfo">
|
|
||||||
<xsl:if test="./@before">
|
|
||||||
<span class="before"><xsl:value-of select="./@before"/></span>
|
|
||||||
</xsl:if>
|
|
||||||
<span class="publicationAuthorGivenName">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="./@initialsOnly='true'">
|
|
||||||
<xsl:value-of select="substring($givenName, 1, 2)"/>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:value-of select="$givenName"/>
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</span>
|
|
||||||
<xsl:if test="./@after">
|
|
||||||
<span class="after"><xsl:value-of select="./@after"/></span>
|
|
||||||
</xsl:if>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>-->
|
|
||||||
|
|
||||||
<!-- Proceess structs -->
|
<!-- Proceess structs -->
|
||||||
<xsl:template match="bibrefFormat//struct">
|
<xsl:template match="bibrefFormat//struct">
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,4 @@ publications.dramaticarts.ui.movie.production_company.no_company_selected=No pro
|
||||||
publications.dramaticarts.ui.play.production_theater.none=No theatre assigned
|
publications.dramaticarts.ui.play.production_theater.none=No theatre assigned
|
||||||
publications.dramaticarts.ui.play.production_theater.remove=Remove
|
publications.dramaticarts.ui.play.production_theater.remove=Remove
|
||||||
publications.dramaticarts.ui.play.production_theater.remove.confirm=Are you sure to remove the assigned theatre?
|
publications.dramaticarts.ui.play.production_theater.remove.confirm=Are you sure to remove the assigned theatre?
|
||||||
|
publications.dramaticarts.ui.play.productiontheater=First production theathre
|
||||||
|
|
|
||||||
|
|
@ -16,3 +16,4 @@ publications.dramaticarts.ui.movie.production_company.no_company_selected=Keine
|
||||||
publications.dramaticarts.ui.play.production_theater.none=Kein Theater zugewiesen
|
publications.dramaticarts.ui.play.production_theater.none=Kein Theater zugewiesen
|
||||||
publications.dramaticarts.ui.play.production_theater.remove=Entfernen
|
publications.dramaticarts.ui.play.production_theater.remove=Entfernen
|
||||||
publications.dramaticarts.ui.play.production_theater.remove.confirm=Sind Sie sicher, dass Sie das zugewiesene Theater entfernen wollen?
|
publications.dramaticarts.ui.play.production_theater.remove.confirm=Sind Sie sicher, dass Sie das zugewiesene Theater entfernen wollen?
|
||||||
|
publications.dramaticarts.ui.play.productiontheater=Erstes Theater
|
||||||
|
|
|
||||||
|
|
@ -147,8 +147,8 @@ public class SciPublicationsMovieDirectorSheet
|
||||||
case 0:
|
case 0:
|
||||||
return director.getFullName();
|
return director.getFullName();
|
||||||
case 1:
|
case 1:
|
||||||
return globalisationUtil.globalise(
|
return new Label(globalisationUtil.globalise(
|
||||||
"publications.dramaticarts.ui.movie.director.remove");
|
"publications.dramaticarts.ui.movie.director.remove"));
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
@ -234,12 +234,12 @@ public class SciPublicationsMovieDirectorSheet
|
||||||
movie);
|
movie);
|
||||||
|
|
||||||
if (canEdit) {
|
if (canEdit) {
|
||||||
final ControlLink link = new ControlLink(value.toString());
|
final ControlLink link = new ControlLink((Label)value);
|
||||||
link.setConfirmation(globalisationUtil.globalise(
|
link.setConfirmation(globalisationUtil.globalise(
|
||||||
"publications.dramaticarts.ui.movie.director.remove.confirm"));
|
"publications.dramaticarts.ui.movie.director.remove.confirm"));
|
||||||
return link;
|
return link;
|
||||||
} else {
|
} else {
|
||||||
return new Label(value.toString());
|
return (Label) value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -146,8 +146,8 @@ public class SciPublicationsMovieProductionCompanySheet
|
||||||
case 0:
|
case 0:
|
||||||
return productionCompany.getTitle();
|
return productionCompany.getTitle();
|
||||||
case 1:
|
case 1:
|
||||||
return globalisationUtil.globalise(
|
return new Label(globalisationUtil.globalise(
|
||||||
"publications.dramaticarts.ui.movie.production_company.remove");
|
"publications.dramaticarts.ui.movie.production_company.remove"));
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
@ -233,12 +233,12 @@ public class SciPublicationsMovieProductionCompanySheet
|
||||||
movie);
|
movie);
|
||||||
|
|
||||||
if (canEdit) {
|
if (canEdit) {
|
||||||
final ControlLink link = new ControlLink(value.toString());
|
final ControlLink link = new ControlLink((Label) value);
|
||||||
link.setConfirmation(globalisationUtil.globalise(
|
link.setConfirmation(globalisationUtil.globalise(
|
||||||
"publications.dramaticarts.ui.movie.production_company.remove.confirm"));
|
"publications.dramaticarts.ui.movie.production_company.remove.confirm"));
|
||||||
return link;
|
return link;
|
||||||
} else {
|
} else {
|
||||||
return new Label(value.toString());
|
return (Label) value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -145,8 +145,8 @@ public class SciPublicationsPlayProductionTheaterSheet
|
||||||
case 0:
|
case 0:
|
||||||
return productionTheater.getTitle();
|
return productionTheater.getTitle();
|
||||||
case 1:
|
case 1:
|
||||||
return globalisationUtil.globalise(
|
return new Label(globalisationUtil.globalise(
|
||||||
"publications.dramaticarts.ui.play.production_theater.remove");
|
"publications.dramaticarts.ui.play.production_theater.remove"));
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
@ -233,12 +233,12 @@ public class SciPublicationsPlayProductionTheaterSheet
|
||||||
play);
|
play);
|
||||||
|
|
||||||
if (canEdit) {
|
if (canEdit) {
|
||||||
final ControlLink link = new ControlLink(value.toString());
|
final ControlLink link = new ControlLink((Label) value);
|
||||||
link.setConfirmation(globalisationUtil.globalise(
|
link.setConfirmation(globalisationUtil.globalise(
|
||||||
"publications.dramaticarts.ui.play.production_theater.remove.confirm"));
|
"publications.dramaticarts.ui.play.production_theater.remove.confirm"));
|
||||||
return link;
|
return link;
|
||||||
} else {
|
} else {
|
||||||
return new Label(value.toString());
|
return (Label) value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ package com.arsdigita.cms.contenttypes.ui;
|
||||||
|
|
||||||
import com.arsdigita.bebop.FormData;
|
import com.arsdigita.bebop.FormData;
|
||||||
import com.arsdigita.bebop.FormProcessException;
|
import com.arsdigita.bebop.FormProcessException;
|
||||||
|
import com.arsdigita.bebop.Label;
|
||||||
import com.arsdigita.bebop.event.FormInitListener;
|
import com.arsdigita.bebop.event.FormInitListener;
|
||||||
import com.arsdigita.bebop.event.FormProcessListener;
|
import com.arsdigita.bebop.event.FormProcessListener;
|
||||||
import com.arsdigita.bebop.event.FormSectionEvent;
|
import com.arsdigita.bebop.event.FormSectionEvent;
|
||||||
|
|
@ -64,6 +65,7 @@ public class SciPublicationsPlayPropertyForm
|
||||||
final TextField firstProdYear = new TextField(firstProdYearParam);
|
final TextField firstProdYear = new TextField(firstProdYearParam);
|
||||||
firstProdYear.setMaxLength(4);
|
firstProdYear.setMaxLength(4);
|
||||||
firstProdYear.setLabel(globalisationUtil.globalise("publications.dramaticarts.ui.play.first_production_year"));
|
firstProdYear.setLabel(globalisationUtil.globalise("publications.dramaticarts.ui.play.first_production_year"));
|
||||||
|
add(new Label(globalisationUtil.globalise("publications.dramaticarts.ui.play.first_production_year")));
|
||||||
add(firstProdYear);
|
add(firstProdYear);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue