Aktualisierung von Mandalay auf die aktuelle Version

git-svn-id: https://svn.libreccm.org/ccm/trunk@2479 8810af33-2d31-482b-a856-94f89814c4df
master
quasi 2013-12-10 15:38:07 +00:00
parent a62d12d63a
commit 615996dbb4
44 changed files with 1853 additions and 1127 deletions

View File

@ -15,4 +15,6 @@
--
-- $Id: drop_table_cms_article_image_map.sql pboy $
-- move data from cms_article_image_map to cms_item_image_attachments
drop table cms_article_image_map;

View File

@ -28,11 +28,11 @@ import org.apache.log4j.Logger;
* @author Sören Bernstein <quasi@quasiweb.de>
*/
public abstract class ImageComponentAbstractListener implements FormInitListener,
FormProcessListener,
FormSubmissionListener {
FormProcessListener,
FormSubmissionListener {
private static final Logger s_log = Logger.getLogger(
ImageComponentSelectListener.class);
ImageComponentSelectListener.class);
MapComponentSelectionModel m_imageComponent;
public ImageComponentAbstractListener(MapComponentSelectionModel imageComponent) {
@ -42,7 +42,7 @@ public abstract class ImageComponentAbstractListener implements FormInitListener
@Override
public void init(FormSectionEvent event)
throws FormProcessException {
throws FormProcessException {
PageState ps = event.getPageState();
if (!m_imageComponent.isSelected(ps)) {
setImageComponent(ps, ImageComponent.LIBRARY);
@ -84,9 +84,12 @@ public abstract class ImageComponentAbstractListener implements FormInitListener
return;
}
ReusableImageAsset image = component.getImage(event);
// try {
ReusableImageAsset image = component.getImage(event);
processImage(event, ps, component, image);
processImage(event, ps, component, image);
// } catch (FormProcessException ex) {
// }
}
/**
@ -97,8 +100,6 @@ public abstract class ImageComponentAbstractListener implements FormInitListener
protected void cancelled(PageState ps) {
}
;
/**
* Process the input.
*

View File

@ -37,12 +37,14 @@ h1, h2, h3
html, body{
margin: 0;
border: 0;
padding: 0;
width: 100%;
max-width: 100%;
height: 100%;
color: #4a4a4a;
background-color: #e6e4f2;
background-image: none;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1em;
line-height: 1em;
@ -63,15 +65,18 @@ h2 {
.table {
display: table;
width: 100%;
border: none;
}
.tableRow {
display: table-row;
border: none;
}
.tableCell, span.key, span.value {
display: table-cell;
width: auto;
border: none;
}
@ -402,12 +407,12 @@ div#content ul, div#content ol {
/*----Left----*/
div#left {
margin: 0;
margin: 0 !important;
width: 25%;
}
div#left, div#right{
top: 0;
top: 0 !important;
bottom: 0;
}
@ -534,7 +539,7 @@ table thead tr th {
color: #999999;
text-align: left;
background-color: #eeeeee;
border: 1px solid #f2f0ff;
border: 1px solid #f2f0ff !important;
}
table tbody tr:nth-child(2n) {
@ -545,6 +550,10 @@ table tbody tr td {
text-align: left;
vertical-align: middle;
border: none !important;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
-o-hyphens: none;
}
table tbody tr td + td{
@ -643,6 +652,10 @@ span.heading {
span.key {
font-weight: bold;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
-o-hyphens: none;
}
div.actionLink {
@ -694,6 +707,7 @@ ul.bebopList {
#folder-browse table.dataTable tbody tr td {
text-align: left;
padding:5px;
}
#folder-browse table.dataTable tbody tr td + td + td + td + td {
@ -894,7 +908,8 @@ div.bebopPanelRow {
width:40%;
}
div.bebopPanelRow table tr td {
margin-bottom:1em;
margin-bottom: 1em;
padding: 3px;
}
div.bebopPanelRow textarea{
@ -923,6 +938,7 @@ div#right div.bebopBody {
}
div.bebopBody table tr{
border: none !important;
text-align:left;
}
@ -1219,7 +1235,7 @@ div#cmsFooter .systemInformation {
}
div#cmsFooter .systemInformation a {
color: inherit;
color: inherit !important;
}
div#cmsFooter .systemInformation a:hover {
color: #ffffff;
@ -1239,7 +1255,7 @@ div#cmsFooter .cmsGlobalNavigation span:hover {
}
div#cmsFooter .cmsGlobalNavigation span a {
color: inherit;
color: inherit !important;
}
div#cmsFooter .cmsGlobalNavigation + .cmsGlobalNavigation {
@ -1299,7 +1315,7 @@ a:focus, a:hover, a:active,
}
#left {
position: static;
position: static !important;
float: left;
m in-width: 14em;
height: 100%;

View File

@ -186,6 +186,11 @@ body,
border-color: #f8f6ff;
}
.filterControls fieldset {
border-color: #0776a0;
}
/* Farben Ende */
/* Schriften */
@ -1835,3 +1840,15 @@ div.contentDefaultLayout div.editLink {
top: 3em;
}
form.filterControls fieldset {
padding: 0.3em;
}
form.filterControls span.textFilter,
form.filterControls span.categoryFilter{
display: block;
}
form.filterControls input.submit {
display: block;
}

View File

@ -137,6 +137,9 @@ Parameter showCaption: boolean to sshow caption
<xsl:attribute name="href">
<xsl:value-of select="$dispatcher-prefix"/>/cms-service/stream/image/?image_id=<xsl:value-of select="id"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="../caption"/>
</xsl:attribute>
<xsl:variable name="imageGallery">
<xsl:choose>
<xsl:when test="count(//cms:item/image | //cms:item/imageAttachments/image) > 1">

View File

@ -389,7 +389,7 @@
<xsl:when test="$resultTree/@application = 'ds'">
<xsl:apply-templates select="$resultTree//ui:debugPanel | $resultTree//bebop:boxPanel"/>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<xsl:apply-templates select="$resultTree/nav:categoryHierarchy | $resultTree//cms:item | $resultTree//bebop:form"/>
</xsl:otherwise>
</xsl:choose>
@ -632,35 +632,35 @@
<xsl:apply-templates select=""/>
</xsl:when>
-->
<xsl:when test="$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:body[//bebop:formWidget] |
-->
<xsl:when test="$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:body[//bebop:formWidget] |
$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:right[//bebop:formWidget]">
<form>
<xsl:if test="not(@method)">
<xsl:attribute name="method">post</xsl:attribute>
</xsl:if>
<xsl:call-template name="mandalay:processAttributes"/>
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:body |
<form>
<xsl:if test="not(@method)">
<xsl:attribute name="method">post</xsl:attribute>
</xsl:if>
<xsl:call-template name="mandalay:processAttributes"/>
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:body |
$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:right"/>
</form>
</xsl:when>
</form>
</xsl:when>
<xsl:when test="$resultTree//bebop:currentPane/bebop:form[not(//bebop:layoutPanel)]">
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form"/>
</xsl:when>
<xsl:when test="$resultTree//bebop:currentPane/bebop:form[not(//bebop:layoutPanel)]">
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form"/>
</xsl:when>
<xsl:when test="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']">
<xsl:apply-templates select="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']"/>
</xsl:when>
<xsl:when test="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']">
<xsl:apply-templates select="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']"/>
</xsl:when>
<xsl:when test="$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:body |
<xsl:when test="$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:body |
$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:right">
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:body |
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:body |
$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:right"/>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:body |
<xsl:otherwise>
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:body |
$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:right |
$resultTree//bebop:currentPane/cms:itemSummary |
$resultTree//bebop:currentPane/cms:categorySummary |
@ -668,15 +668,15 @@
$resultTree//bebop:currentPane/cms:lifecycleSummary |
$resultTree//bebop:currentPane/cms:workflowSummary |
$resultTree//bebop:currentPane/cms:transactionSummary"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="showCMSGreeting">
<xsl:call-template name="mandalay:cmsGreeting">
<xsl:with-param name="resultTree" select="$resultTree"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="showCMSGreeting">
<xsl:call-template name="mandalay:cmsGreeting">
<xsl:with-param name="resultTree" select="$resultTree"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="showContentType">
<span id="contenttype">

View File

@ -44,6 +44,7 @@
<xsl:param name="module"/>
<span class="moreButton">
<xsl:text> </xsl:text>
<a>
<xsl:attribute name="href">
<xsl:text>/redirect/?oid=</xsl:text>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE stylesheet [<!ENTITY nbsp '&#160;'>]>
<!DOCTYPE stylesheet [<!ENTITY nbsp '&#160;'> <!ENTITY Cross '&#10799;'>]>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@ -199,13 +199,54 @@
</span>
</xsl:when>
<xsl:when test="(./@type='categoryFilter')">
<xsl:variable name="filterId">
<xsl:value-of select="concat(../../@customName, ./@label, 'Filter')"/>
</xsl:variable>
<span>
<xsl:attribute name="class">
<xsl:value-of select="'categoryFilter'"/>
</xsl:attribute>
<xsl:attribute name="id">
<xsl:value-of select="concat(../../@customName, ./@label, 'Filter')"/>
<xsl:value-of select="$filterId"/>
</xsl:attribute>
<script type="text/javascript">
function addSelectedCategory(catFilterId, selectedCategory) {
//Add span to selected catagories aream, including close/remove function
var elem = $(document.createElement('span'));
elem.attr("id", catFilterId + "Selected" + selectedCategory.replace(" ", "_"));
elem.append(selectedCategory);
var closeElem = $(document.createElement('a'));
closeElem.attr("href", "#");
closeElem.append("&Cross;");
closeElem.click(function() {
removeSelectedCategory(elem, catFilterId, selectedCategory);
});
elem.append(closeElem);
$("#" + catFilterId + " span.selectedCategories").append(elem);
var newVal = $("#" + catFilterId + " input.selectedCategories").val() + selectedCategory + ";";
$("#" + catFilterId + " input.selectedCategories").val(newVal);
}
function removeSelectedCategory(elem, catFilterId, category) {
//alert("close\ncatFilterId = " + catFilterId);
//var category = $(elem.text();
//alert("category =" + category);
//alert("oldVal = '" + $("#" + catFilterId + " input.selectedCategories").val() + "'\n"
// + "newVal = '" + $("#" + catFilterId + " input.selectedCategories").val().replace(category + ";", "") + "'");
var newVal = $("#" + catFilterId + " input.selectedCategories").val().replace(category + ";", "");
$("#" + catFilterId + " input.selectedCategories").val(newVal);
elem.remove();
return false;
}
</script>
<label>
<xsl:attribute name="for">
<xsl:value-of select="concat(./@label, 'Filter')"/>
@ -220,6 +261,7 @@
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="size">42</xsl:attribute>
<xsl:attribute name="class">selectedCategories</xsl:attribute>
<xsl:attribute name="maxlength">1024</xsl:attribute>
<xsl:attribute name="id">
<xsl:value-of select="concat(./@label, 'Filter')"/>
@ -230,54 +272,62 @@
<xsl:attribute name="value">
<xsl:value-of select="./searchString"/>
</xsl:attribute>
</xsl:element>
<span>
<xsl:attribute name="id">
<xsl:value-of select="concat(../../@customName, ./@label, 'Filter', 'Invalid')"/>
<xsl:attribute name="style">
<xsl:value-of select="'display:none'"/>
</xsl:attribute>
<xsl:for-each select="./invalid/value">
<del>
</xsl:element>
<span class="selectedCategories">
<xsl:attribute name="id">
<xsl:value-of select="concat(./@label, 'SelectedKeywords')"/>
</xsl:attribute>
<xsl:for-each select="./categories/category[@selected='selected']">
<span>
<xsl:attribute name="id">
<xsl:value-of select="concat(../../../../@customName, ../../@label, 'Filter', 'Selected', translate(current(), ' ', '_'))"/>
</xsl:attribute>
<xsl:value-of select="."/>
</del>
<a>
<xsl:attribute name="href">
<xsl:value-of select="'#'"/>
</xsl:attribute>
<xsl:text>&Cross;</xsl:text>
</a>
<script type="text/javascript">
$("#<xsl:value-of select="concat(../../../../@customName, ../../@label, 'Filter', 'Selected', translate(current(), ' ', '_'))"/>").click(function() {
removeSelectedCategory($("#<xsl:value-of select="concat(../../../../@customName, ../../@label, 'Filter', 'Selected', translate(current(), ' ', '_'))"/>"),
"<xsl:value-of select="concat(../../../../@customName, ../../@label, 'Filter')"/>",
"<xsl:value-of select="concat(., ../separator)"/>");
return false;
});
</script>
</span>
</xsl:for-each>
</span>
<script>
$(function() {
var availableTags = [ <xsl:value-of select="./categoriesStr"/> ];
function split(value) {
return value.split("<xsl:value-of select="./separator"/>");
}
<select size="1" class="availableCategories">
<xsl:attribute name="id">
<xsl:value-of select="concat(./@label, 'AvailableCategories')"/>
</xsl:attribute>
<option value=""></option>
<xsl:for-each select="./categories/category">
<option>
<xsl:attribute name="value">
<xsl:value-of select="./@id"/>
</xsl:attribute>
<xsl:value-of select="."/>
</option>
</xsl:for-each>
</select>
function extractLast(term) {
return split(term).pop();
}
$("<xsl:value-of select="concat('#', concat(./@label, 'Filter'))"/>")
.bind("keydown", function(event) {
if (event.keyCode === $.ui.keyCode.TAB &amp;&amp;
$(this).data("ui-autocomplete").menu.active) {
event.preventDefault();
}
})
.autocomplete({
minLength: 0,
source: function(request, response) {
response($.ui.autocomplete.filter(availableTags, extractLast (request.term)));
},
focus: function() {
return false;
},
select: function(event, ui) {
var terms = split(this.value);
terms.pop();
terms.push(ui.item.value);
terms.push("");
this.value = terms.join(" ");
return false;
}
});
<script type="text/javascript">
$("#<xsl:value-of select="concat(./@label, 'AvailableCategories')"/>").change(function() {
var catFilterId = "<xsl:value-of select="concat(../../@customName, ./@label, 'Filter')"/>";
var selectedCategory = $("#<xsl:value-of select="concat(./@label, 'AvailableCategories')"/> option:selected").text()
addSelectedCategory(catFilterId, selectedCategory);
$("#<xsl:value-of select="concat(./@label, 'AvailableCategories')"/>").val("");
});
</script>
</xsl:when>
<xsl:otherwise>

View File

@ -344,6 +344,7 @@
<xsl:with-param name="showCaption" select="$setImageCaption" />
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
<xsl:with-param name="setZoomLink" select="'false'" />
</xsl:call-template>
</xsl:for-each>
</a>
@ -364,6 +365,7 @@
<xsl:with-param name="showCaption" select="$setImageCaption" />
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
<xsl:with-param name="setZoomLink" select="'false'" />
</xsl:call-template>
</xsl:for-each>
</a>
@ -392,12 +394,23 @@
</a>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
<xsl:value-of disable-output-escaping="yes" select="./linkTitle"/>
</xsl:with-param>
<xsl:with-param name="mode">dynamic</xsl:with-param>
</xsl:call-template>
<a class="CIname">
<xsl:attribute name="href"><xsl:value-of select="./targetItem/url"/></xsl:attribute>
<xsl:attribute name="title">
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
<xsl:value-of select="./linkTitle"/>
</xsl:with-param>
<xsl:with-param name="mode">dynamic</xsl:with-param>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="mandalay:shying">
<xsl:with-param name="title">
<xsl:value-of disable-output-escaping="yes" select="./linkTitle"/>
</xsl:with-param>
<xsl:with-param name="mode">dynamic</xsl:with-param>
</xsl:call-template>
</a>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="./linkDescription and $setDescription">

View File

@ -179,7 +179,9 @@
<xsl:value-of select="title"/>
</a>
<xsl:if test="position() != last()">
<xsl:value-of select="$separator"/>
<span class="separator">
<xsl:value-of select="$separator"/>
</span>
</xsl:if>
</xsl:for-each>
</div>

View File

@ -26,7 +26,7 @@
<line id="moreButton">weiter...</line>
<line id="moreButtonTitle">mehr lesen</line>
<line id="departmentHeadPreText"> (Abteilungsleitung) </line>
<line id="departmentHeadPreText">Abteilungsleitung: </line>
<line id="tabs/summary">Überblick</line>
<line id="tabs/desc">Details</line>

View File

@ -47,8 +47,10 @@
<line id="summaryTab/headPreText"> </line>
<line id="summaryTab/headPostText">(Projektleitung)</line>
<line id="summaryTab/fundingCode">Förderkennzeichen</line>
<line id="summaryTab/sponsor">Drittmittelgeber</line>
<line id="summaryTab/fundingHeading">Finanzierung</line>
<line id="summaryTab/sponsors">Drittmittelgeber</line>
<line id="summaryTab/fundingHeading">Finanzierung</line>
<line id="summaryTab/fundingVolumeHeading">Volumen der Finanzierung</line>
<line id="summaryTab/involvedOrganizatinsHeading">Beteiligte Organisationen</line>

View File

@ -20,6 +20,12 @@
-->
<translations>
<line id="SubmitFilters">Anwenden</line>
<line id="sortAndFilterList">Liste filtern und sortieren</line>
<line id="filterList">Liste filtern</line>
<line id="keywords">Schlagworte</line>
<line id="memberListsortAndFilterList">Mitgliederliste filtern</line>
<line id="memberListfilterList">Mitgliederliste filtern</line>
<line id="memberListSubmitFilters">Fitern</line>
@ -31,14 +37,15 @@
<line id="SciPublicationsListSubmitFilters">Publikationen filtern</line>
<line id="SciPublicationsListSortList">Publikationen sortieren</line>
<line id="SciPublicationsListtitle">Nach Titel filtern</line>
<line id="SciPublicationsListauthor">Nach Autor filtern</line>
<line id="SciPublicationsListauthorsStr">Nach Autor filtern</line>
<line id="SciPublicationsListyearOfPublication">Erscheinungsjahr</line>
<line id="SciPublicationsListyearOfPublicationAll">Alle</line>
<line id="SciPublicationsListSortBy">Sortieren nach</line>
<line id="SciPublicationsListSortBytitle">Titel</line>
s<line id="SciPublicationsListSortBytitle">Titel</line>
<line id="SciPublicationsListSortByyearAsc">Jahr (aufsteigend)</line>
<line id="SciPublicationsListSortByyearDesc">Jahr (absteigend)</line>
<line id="SciPublicationsListSortByauthors">Autoren</line>
<line id="SciPublicationsListkeywords">Schlagwörter</line>
<line id="SciProjectListsortAndFilterList">Projekte filtern und sortieren</line>
<line id="SciProjectListfilterList">Projekte filtern</line>

View File

@ -26,7 +26,7 @@
<line id="moreButton">more »</line>
<line id="moreButtonTitle">read more</line>
<line id="departmentHeadPreText"> (Abteilungsleitung) </line>
<line id="departmentHeadPreText">Head of department: </line>
<line id="tabs/summary">Overview</line>
<line id="tabs/desc">Details</line>

View File

@ -45,7 +45,9 @@
<line id="summaryTab/headPreText"> </line>
<line id="summaryTab/headPostText">(project coordinator)</line>
<line id="summaryTab/fundingCode">Funding code</line>
<line id="summaryTab/sponsor">Sponsor</line>
<line id="summaryTab/sponsors">Sponsors</line>
<line id="summaryTab/fundingHeading">Funding</line>
<line id="summaryTab/fundingVolumeHeading">Volume of funding</line>

View File

@ -20,6 +20,14 @@
-->
<translations>
<line id="SubmitFilters">Apply</line>
<line id="sortAndFilterList">Filter and sort list</line>
<line id="filterList">Filter list by</line>
<line id="keywords">Keywords</line>
<line id="SciPublicationsListsortAndFilterList">Filter and sort publications</line>
<line id="SciPublicationsListfilterList">Filter publications</line>
<line id="SciPublicationsListsortList">Sort publications</line>

View File

@ -87,6 +87,8 @@
<div id="content" class="profile" setTypeClass="true">
<showContent>
<usePageTitle/>
<useLeadText/>
<useImage/>
<useContent/>
</showContent>

View File

@ -31,6 +31,7 @@
<useCSSLoader/>
<useFancybox/>
<useMathJax/>
<useJqueryUi/>
</head>
<body>
@ -111,7 +112,6 @@
<div class="endFloat"/>
</divIfNotEmpty>
<showPublicationExportLinks/>
<showList>
<useListHeader>
<setHeading>false</setHeading>
@ -121,6 +121,7 @@
<useList>itemList</useList>
<usePaginatorNavbar/>
</showList>
<showPublicationExportLinks/>
</div>
<!--

View File

@ -61,7 +61,7 @@ To use the templates definied here follow these steps:
<piwikImageTracker piwikUrl="piwik.example.org" idSite="42"/>
with the correct values for the piwikUrl (without protocol!) and idSite.
piwikUrl is the URL of your Piwik installation, siteI dis the
piwikUrl is the URL of your Piwik installation, idSite is the
the ID of your site in Piwik. These value can be found in settings
of Piwik itself.
@ -75,7 +75,7 @@ To use the templates definied here follow these steps:
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
exclude-result-prefixes="xsl bebop cms"
version="1.0">
version="1.0">
<xsl:template name="piwikJsTracker">
<xsl:param name="piwikUrl"/>

View File

@ -37,38 +37,72 @@
*****************************************************
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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_SciDepartment_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']"
mode="detailed_view">
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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="'SciDepartment'"/>
<xsl:with-param name="setting" select="'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="'SciDepartment'"/>
<xsl:with-param name="setting" select="'setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAddendum">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciDepartment'"/>
@ -86,14 +120,6 @@
</xsl:variable>
<div id="mainBody" class="sciTypesOrganization sciDepartment">
<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:if test="$setAddendum = 'true'">
<span class="addendum">
<xsl:value-of select="./addendum"/>

View File

@ -37,21 +37,34 @@
*****************************************************
-->
<xsl:template name="CT_SciInstitute_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciInstitute']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciInstitute']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciInstitute'"/>
<xsl:with-param name="setting" select="'setImage'"/>
<xsl:with-param name="default" select="'true'"/>
<xsl:with-param name="module" select="'SciInstitute'"/>
<xsl:with-param name="setting" select="'setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciInstitute']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciInstitute'"/>
<xsl:with-param name="setting" select="'setImageCaption'"/>
<xsl:with-param name="module" select="'SciInstitute'"/>
<xsl:with-param name="setting" select="'setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
@ -69,6 +82,27 @@
<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="'SciInstitute'"/>
<xsl:with-param name="setting" select="'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_SciInstitute_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciInstitute']"
mode="detailed_view">
<xsl:variable name="setAddendum">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciInstitute'"/>
@ -86,13 +120,6 @@
</xsl:variable>
<div id="mainBody" class="sciTypesOrganization sciDepartment">
<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:if test="$setAddendum = 'true'">
<span class="addendum">

View File

@ -29,6 +29,68 @@
exclude-result-prefixes="xsl bebop cms"
version="1.0">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciMember']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciMember'"/>
<xsl:with-param name="setting" select="'setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./pageDescription and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./pageDescription"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciMember']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciMember'"/>
<xsl:with-param name="setting" select="'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="'SciMember'"/>
<xsl:with-param name="setting" select="'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="'SciMember'"/>
<xsl:with-param name="setting" select="'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="'SciMember'"/>
<xsl:with-param name="setting" select="'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>
<!-- DE Vollansicht -->
<!-- EN Detailed view -->
<xsl:template name="CT_SciMember_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciMember']" mode="detailed_view">
@ -70,34 +132,6 @@
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciMember'"/>
<xsl:with-param name="setting" select="'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="'SciMember'"/>
<xsl:with-param name="setting" select="'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="'SciMember'"/>
<xsl:with-param name="setting" select="'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="'SciMember'"/>
<xsl:with-param name="setting" select="'setImageCaption'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<div id="greeting">
<xsl:call-template name="CT_GenericPerson_details">
@ -156,15 +190,6 @@
</xsl:for-each>
</div>
<xsl:if test="$setImage = 'true'">
<div id="member_image">
<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>
</div>
</xsl:if>
<div class="endFloat"/>
</xsl:template>

View File

@ -21,16 +21,16 @@
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:mandalay="http://mandalay.quasiweb.de"
xmlns:dabin="http://dabin.quasiweb.de"
exclude-result-prefixes="xsl bebop cms mandalay dabin"
version="1.0">
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:mandalay="http://mandalay.quasiweb.de"
xmlns:dabin="http://dabin.quasiweb.de"
exclude-result-prefixes="xsl bebop cms mandalay dabin"
version="1.0">
<xsl:import href="SciProject/SciProject.xsl"/>
<xsl:import href="SciProject/SciProjectSummaryTab.xsl"/>
<xsl:import href="SciProject/SciProjectDescTab.xsl"/>
<xsl:import href="SciProject/SciProject.xsl"/>
<xsl:import href="SciProject/SciProjectSummaryTab.xsl"/>
<xsl:import href="SciProject/SciProjectDescTab.xsl"/>
</xsl:stylesheet>

View File

@ -299,22 +299,36 @@
<xsl:if test="count(./sponsors/sponsor) &gt; 0">
<xsl:variable name="sponsorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciProject'"/>
<xsl:with-param name="id" select="'summaryTab/sponsors'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="string-length($sponsorsText) &gt; 0">
<h4><xsl:value-of select="$sponsorsText"/></h4>
<h4>
<xsl:value-of select="$sponsorsText"/>
</h4>
</xsl:if>
<ul>
<xsl:for-each select="sponsors/sponsor">
<xsl:sort/>
<li>
<xsl:value-of select="."/>
</li>
</xsl:for-each>
</ul>
<ul>
<xsl:for-each select="sponsors/sponsor">
<xsl:sort/>
<li>
<xsl:value-of select="."/>
</li>
</xsl:for-each>
</ul>
</xsl:if>
<xsl:if test="string-length(./sponsors/sponsor/@fundingCode) &gt; 1">
<h4>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciProject'"/>
<xsl:with-param name="id" select="'summaryTab/fundingCode'"/>
</xsl:call-template>
</h4>
<p>
<xsl:value-of select="./sponsors/sponsor/@fundingCode"/>
</p>
</xsl:if>
<xsl:value-of select="./funding" disable-output-escaping="yes"/>

View File

@ -40,6 +40,68 @@
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInCollectedVolume']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInCollectedVolume/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="./pageDescription"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInCollectedVolume']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInCollectedVolume/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInCollectedVolume/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInCollectedVolume/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInCollectedVolume/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_ArticleInCollectedVolume_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInCollectedVolume']"
mode="detailed_view">
@ -51,34 +113,6 @@
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'articleInCollectedVolume/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="'articleInCollectedVolume/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="'articleInCollectedVolume/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="'articleInCollectedVolume/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -180,13 +214,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationArticleInCollectedVolumeDetails">
<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) &gt; 0)">

View File

@ -41,37 +41,71 @@
Detail view
===========
-->
<xsl:template name="CT_ArticleInJournal_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInJournal']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInJournal']" 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="'articleInJournal/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInJournal/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInJournal']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'articleInJournal/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInJournal/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInJournal/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInJournal/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'articleInJournal/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_ArticleInJournal_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInJournal']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -167,13 +201,6 @@
<div class="mainBody publication publicationDetails publicationArticleInJournalDetails">
<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) &gt; 0)">
@ -488,4 +515,4 @@
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@ -40,35 +40,69 @@
Detail view
===========
-->
<xsl:template name="CT_CollectedVolume_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.CollectedVolume']" mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.CollectedVolume']" 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="'collectedVolume/setImage'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'collectedVolume/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.CollectedVolume']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'collectedVolume/setImageCaption'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'collectedVolume/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="'collectedVolume/setImageMaxHeight'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'collectedVolume/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="'collectedVolume/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'collectedVolume/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'collectedVolume/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_CollectedVolume_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.CollectedVolume']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -198,13 +232,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationCollectedVolumeDetails">
<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) &gt; 0)">
@ -413,7 +440,7 @@
<ul class="articlesList">
<xsl:for-each select="./articles/article">
<li>
<xsl:call-template name="CT_ArticleInCollectedVolume_List" />
<xsl:call-template name="CT_CollectedVolume_List" />
</li>
</xsl:for-each>
</ul>

View File

@ -40,35 +40,69 @@
Detail view
===========
-->
<xsl:template name="CT_Expertise_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" 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="'expertise/setImage'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'expertise/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setImageCaption'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'expertise/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="'expertise/setImageMaxHeight'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'expertise/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="'expertise/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'expertise/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'expertise/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_Expertise_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -156,13 +190,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationExpertiseDetails">
<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) &gt; 0)">

View File

@ -32,7 +32,7 @@
<!--
**************************************************************************
** Templates for an ArticleInCollectedVolume publication **
** Templates for an GreyLiterature publication **
**************************************************************************
-->
@ -40,35 +40,69 @@
Detail view
===========
-->
<xsl:template name="CT_GreyLiterature_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" 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="'greyLiterature/setImage'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'greyLiterature/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setImageCaption'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'greyLiterature/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="'greyLiterature/setImageMaxHeight'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'greyLiterature/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="'greyLiterature/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'greyLiterature/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'greyLiterature/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_GreyLiterature_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -163,13 +197,6 @@
</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) &gt; 0)">

View File

@ -40,35 +40,69 @@
Detail view
===========
-->
<xsl:template name="CT_InProceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" 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="'inProceedings/setImage'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'inProceedings/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setImageCaption'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'inProceedings/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="'inProceedings/setImageMaxHeight'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'inProceedings/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="'inProceedings/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'inProceedings/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'inProceedings/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_InProceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -135,13 +169,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationInProceedingsDetails">
<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) &gt; 0)">

View File

@ -41,37 +41,71 @@
Detail view
===========
-->
<xsl:template name="CT_InternetArticle_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" 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="'internetArticle/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'internetArticle/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'internetArticle/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'internetArticle/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'internetArticle/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'internetArticle/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_InternetArticle_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -173,13 +207,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationInternetArticleDetails">
<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) &gt; 0)">

View File

@ -41,37 +41,71 @@
Detail view
===========
-->
<xsl:template name="CT_CollectedVolume_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Journal']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Journal']" 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="'journal/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'journal/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Journal']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'journal/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'journal/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'journal/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'journal/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'journal/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_CollectedVolume_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Journal']"
mode="detailed_view">
<xsl:variable name="setArticles">
<xsl:call-template name="mandalay:getSetting">
@ -117,13 +151,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationJournalDetails">
<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="($setSymbol = 'true') and (string-length(./symbol) &gt; 0)">

View File

@ -40,35 +40,69 @@
Detail view
===========
-->
<xsl:template name="CT_Monograph_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" 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="'monograph/setImage'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'monograph/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setImageCaption'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'monograph/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="'monograph/setImageMaxHeight'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'monograph/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="'monograph/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'monograph/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'monograph/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_Monograph_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -184,13 +218,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationMonographDetails">
<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) &gt; 0)">

View File

@ -40,35 +40,69 @@
Detail view
===========
-->
<xsl:template name="CT_Proceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" 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="'proceedings/setImage'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'proceedings/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'proceedings/setImageCaption'" />
<xsl:with-param name="default" select="'true'" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'proceedings/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="'proceedings/setImageMaxHeight'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'proceedings/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="'proceedings/setImageMaxWidth'" />
<xsl:with-param name="default" select="''" />
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'proceedings/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'proceedings/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_Proceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -213,14 +247,6 @@
<div class="mainBody publication publicationDetails publicationProceedingsDetails">
<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) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">

View File

@ -35,47 +35,73 @@
Detail view
===========
-->
<xsl:template name="CT_Publisher_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Publisher']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Publisher']" 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="'publisher/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'publisher/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Publisher']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'publisher/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'publisher/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'publisher/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'publisher/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'publisher/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_Publisher_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Publisher']"
mode="detailed_view">
<div class="publication publicationDetails publisherDetails">
<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>
<dt>
@ -104,4 +130,4 @@
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@ -41,37 +41,71 @@
Detail view
===========
-->
<xsl:template name="CT_ResearchReport_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" 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="'researchReport/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'researchReport/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'researchReport/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'researchReport/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'researchReport/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'researchReport/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_ResearchReport_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -152,13 +186,6 @@
</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) &gt; 0)">

View File

@ -41,37 +41,71 @@
Detail view
===========
-->
<xsl:template name="CT_Review_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" 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="'review/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'review/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'review/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'review/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'review/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'review/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_Review_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -152,13 +186,6 @@
</xsl:variable>
<div class="mainBody publication publicationDetails publicationReviewDetails">
<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) &gt; 0)">

View File

@ -31,6 +31,68 @@
<!-- DE Vollansicht -->
<!-- EN Detailed view -->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciAuthor']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'sciAuthor/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>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciAuthor']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'sciAuthor/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'sciAuthor/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'sciAuthor/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'sciAuthor/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_SciAuthor_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciAuthor']" mode="detailed_view">
<!-- DE Hole alle benötigten Einstellungen-->
@ -70,34 +132,6 @@
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciAuthor'"/>
<xsl:with-param name="setting" select="'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="'SciAuthor'"/>
<xsl:with-param name="setting" select="'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="'SciAuthor'"/>
<xsl:with-param name="setting" select="'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="'SciAuthor'"/>
<xsl:with-param name="setting" select="'setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<div id="greeting">
<xsl:call-template name="CT_GenericPerson_details">
@ -123,13 +157,6 @@
</xsl:call-template>
</xsl:for-each>
<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>
<div class="endFloat"/>
</xsl:template>

View File

@ -33,7 +33,7 @@
<!--
**************************************************************************
** Templates for an ArticleInCollectedVolume publication **
** Templates for an Series publication **
**************************************************************************
-->
@ -42,37 +42,71 @@
===========
-->
<xsl:template name="CT_Series_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Series']"
mode="detailed_view">
<xsl:variable name="setImage">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Series']" 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="'series/setImage'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'series/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Series']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'series/setImageCaption'"/>
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'series/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'series/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="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'series/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="'SciPublication'"/>
<xsl:with-param name="setting" select="'series/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_Series_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Series']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
@ -557,4 +591,4 @@
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@ -33,7 +33,7 @@
<!--
**************************************************************************
** Templates for an ArticleInCollectedVolume publication **
** Templates for an WorkingPaper publication **
**************************************************************************
-->
@ -41,6 +41,32 @@
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublication'"/>
<xsl:with-param name="setting" select="'workingPaper/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>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
</xsl:template>
<xsl:template name="CT_WorkingPaper_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="detailed_view">
@ -256,12 +282,12 @@
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'articleInCollectedVolume/seriesVolumePre'" />
<xsl:with-param name="id" select="'workingPaper/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="'articleInCollectedVolume/seriesVolumePost'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
@ -271,12 +297,12 @@
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'articleInCollectedVolume/seriesVolumePre'" />
<xsl:with-param name="id" select="'workingPaper/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="'articleInCollectedVolume/seriesVolumePost'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>

View File

@ -27,66 +27,76 @@
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciOrganization']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciOrganization'"/>
<xsl:with-param name="setting" select="'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>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciOrganization']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciOrganization'"/>
<xsl:with-param name="setting" select="'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="'SciOrganization'"/>
<xsl:with-param name="setting" select="'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="'SciOrganization'"/>
<xsl:with-param name="setting" select="'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="'SciOrganization'"/>
<xsl:with-param name="setting" select="'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_SimpleOrganization_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SimpleOrganization']"
mode="detailed_view">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module"
select="'SimpleOrganization'" />
<xsl:with-param name="setting"
select="'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="'SimpleOrganization'" />
<xsl:with-param name="setting"
select="'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="'SimpleOrganization'" />
<xsl:with-param name="setting"
select="'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="'SimpleOrganization'" />
<xsl:with-param name="setting"
select="'setImageMaxWidth'" />
<xsl:with-param name="default"
select="''" />
</xsl:call-template>
</xsl:variable>
<div id="details">
<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>
<p>
<xsl:value-of select="./SimpleOrganizationDescription" />
</p>
</div>
</xsl:template>
<xsl:template name="CT_SimpleOrganizationList"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SimpleOrganization']"

View File

@ -30,8 +30,30 @@
version="1.0"
>
<!-- Detail view -->
<xsl:template name="CT_PublicPersonalProfile_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.PublicPersonalProfile']" mode="detailed_view">
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.PublicPersonalProfile']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
<xsl:with-param name="setting" select="'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>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.PublicPersonalProfile']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
@ -57,9 +79,21 @@
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
<xsl:with-param name="setting" select="'setImageCaption'"/>
<xsl:with-param name="default" select="'false'"/>
<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>
<!-- Detail view -->
<xsl:template name="CT_PublicPersonalProfile_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.PublicPersonalProfile']" mode="detailed_view">
<xsl:variable name="contentPos1">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>

View File

@ -3,7 +3,7 @@
# Support filenames with spaces
IFS=$'\n'
function list_dir() {
function modify_files() {
echo "Set working dir to $(pwd)"
for fh in *; do
if [[ -d "${fh}" ]]; then
@ -49,5 +49,9 @@ function change_css_file() {
}
pushd $1
list_dir
for file in workspace*; do
mv "${file}" "portal-${file}"
done
modify_files
popd