Aktualisierung von Mandalay auf die aktuelle Version
git-svn-id: https://svn.libreccm.org/ccm/trunk@2479 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
a62d12d63a
commit
615996dbb4
|
|
@ -15,4 +15,6 @@
|
||||||
--
|
--
|
||||||
-- $Id: drop_table_cms_article_image_map.sql pboy $
|
-- $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;
|
drop table cms_article_image_map;
|
||||||
|
|
@ -28,11 +28,11 @@ import org.apache.log4j.Logger;
|
||||||
* @author Sören Bernstein <quasi@quasiweb.de>
|
* @author Sören Bernstein <quasi@quasiweb.de>
|
||||||
*/
|
*/
|
||||||
public abstract class ImageComponentAbstractListener implements FormInitListener,
|
public abstract class ImageComponentAbstractListener implements FormInitListener,
|
||||||
FormProcessListener,
|
FormProcessListener,
|
||||||
FormSubmissionListener {
|
FormSubmissionListener {
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger(
|
private static final Logger s_log = Logger.getLogger(
|
||||||
ImageComponentSelectListener.class);
|
ImageComponentSelectListener.class);
|
||||||
MapComponentSelectionModel m_imageComponent;
|
MapComponentSelectionModel m_imageComponent;
|
||||||
|
|
||||||
public ImageComponentAbstractListener(MapComponentSelectionModel imageComponent) {
|
public ImageComponentAbstractListener(MapComponentSelectionModel imageComponent) {
|
||||||
|
|
@ -42,7 +42,7 @@ public abstract class ImageComponentAbstractListener implements FormInitListener
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(FormSectionEvent event)
|
public void init(FormSectionEvent event)
|
||||||
throws FormProcessException {
|
throws FormProcessException {
|
||||||
PageState ps = event.getPageState();
|
PageState ps = event.getPageState();
|
||||||
if (!m_imageComponent.isSelected(ps)) {
|
if (!m_imageComponent.isSelected(ps)) {
|
||||||
setImageComponent(ps, ImageComponent.LIBRARY);
|
setImageComponent(ps, ImageComponent.LIBRARY);
|
||||||
|
|
@ -84,9 +84,12 @@ public abstract class ImageComponentAbstractListener implements FormInitListener
|
||||||
return;
|
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) {
|
protected void cancelled(PageState ps) {
|
||||||
}
|
}
|
||||||
|
|
||||||
;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process the input.
|
* Process the input.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -37,12 +37,14 @@ h1, h2, h3
|
||||||
|
|
||||||
html, body{
|
html, body{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
color: #4a4a4a;
|
color: #4a4a4a;
|
||||||
background-color: #e6e4f2;
|
background-color: #e6e4f2;
|
||||||
|
background-image: none;
|
||||||
font-family: Verdana, Helvetica, Arial, sans-serif;
|
font-family: Verdana, Helvetica, Arial, sans-serif;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
|
|
@ -63,15 +65,18 @@ h2 {
|
||||||
.table {
|
.table {
|
||||||
display: table;
|
display: table;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tableRow {
|
.tableRow {
|
||||||
display: table-row;
|
display: table-row;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tableCell, span.key, span.value {
|
.tableCell, span.key, span.value {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -402,12 +407,12 @@ div#content ul, div#content ol {
|
||||||
|
|
||||||
/*----Left----*/
|
/*----Left----*/
|
||||||
div#left {
|
div#left {
|
||||||
margin: 0;
|
margin: 0 !important;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#left, div#right{
|
div#left, div#right{
|
||||||
top: 0;
|
top: 0 !important;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -534,7 +539,7 @@ table thead tr th {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
border: 1px solid #f2f0ff;
|
border: 1px solid #f2f0ff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tbody tr:nth-child(2n) {
|
table tbody tr:nth-child(2n) {
|
||||||
|
|
@ -545,6 +550,10 @@ table tbody tr td {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
|
hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-o-hyphens: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
table tbody tr td + td{
|
table tbody tr td + td{
|
||||||
|
|
@ -643,6 +652,10 @@ span.heading {
|
||||||
|
|
||||||
span.key {
|
span.key {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-o-hyphens: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.actionLink {
|
div.actionLink {
|
||||||
|
|
@ -694,6 +707,7 @@ ul.bebopList {
|
||||||
|
|
||||||
#folder-browse table.dataTable tbody tr td {
|
#folder-browse table.dataTable tbody tr td {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
padding:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#folder-browse table.dataTable tbody tr td + td + td + td + td {
|
#folder-browse table.dataTable tbody tr td + td + td + td + td {
|
||||||
|
|
@ -894,7 +908,8 @@ div.bebopPanelRow {
|
||||||
width:40%;
|
width:40%;
|
||||||
}
|
}
|
||||||
div.bebopPanelRow table tr td {
|
div.bebopPanelRow table tr td {
|
||||||
margin-bottom:1em;
|
margin-bottom: 1em;
|
||||||
|
padding: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.bebopPanelRow textarea{
|
div.bebopPanelRow textarea{
|
||||||
|
|
@ -923,6 +938,7 @@ div#right div.bebopBody {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.bebopBody table tr{
|
div.bebopBody table tr{
|
||||||
|
border: none !important;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1219,7 +1235,7 @@ div#cmsFooter .systemInformation {
|
||||||
}
|
}
|
||||||
|
|
||||||
div#cmsFooter .systemInformation a {
|
div#cmsFooter .systemInformation a {
|
||||||
color: inherit;
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
div#cmsFooter .systemInformation a:hover {
|
div#cmsFooter .systemInformation a:hover {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
@ -1239,7 +1255,7 @@ div#cmsFooter .cmsGlobalNavigation span:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
div#cmsFooter .cmsGlobalNavigation span a {
|
div#cmsFooter .cmsGlobalNavigation span a {
|
||||||
color: inherit;
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#cmsFooter .cmsGlobalNavigation + .cmsGlobalNavigation {
|
div#cmsFooter .cmsGlobalNavigation + .cmsGlobalNavigation {
|
||||||
|
|
@ -1299,7 +1315,7 @@ a:focus, a:hover, a:active,
|
||||||
}
|
}
|
||||||
|
|
||||||
#left {
|
#left {
|
||||||
position: static;
|
position: static !important;
|
||||||
float: left;
|
float: left;
|
||||||
m in-width: 14em;
|
m in-width: 14em;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
||||||
|
|
@ -186,6 +186,11 @@ body,
|
||||||
border-color: #f8f6ff;
|
border-color: #f8f6ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.filterControls fieldset {
|
||||||
|
border-color: #0776a0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Farben Ende */
|
/* Farben Ende */
|
||||||
|
|
||||||
/* Schriften */
|
/* Schriften */
|
||||||
|
|
@ -1835,3 +1840,15 @@ div.contentDefaultLayout div.editLink {
|
||||||
top: 3em;
|
top: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form.filterControls fieldset {
|
||||||
|
padding: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
form.filterControls span.textFilter,
|
||||||
|
form.filterControls span.categoryFilter{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
form.filterControls input.submit {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
@ -137,6 +137,9 @@ Parameter showCaption: boolean to sshow caption
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$dispatcher-prefix"/>/cms-service/stream/image/?image_id=<xsl:value-of select="id"/>
|
<xsl:value-of select="$dispatcher-prefix"/>/cms-service/stream/image/?image_id=<xsl:value-of select="id"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:value-of select="../caption"/>
|
||||||
|
</xsl:attribute>
|
||||||
<xsl:variable name="imageGallery">
|
<xsl:variable name="imageGallery">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="count(//cms:item/image | //cms:item/imageAttachments/image) > 1">
|
<xsl:when test="count(//cms:item/image | //cms:item/imageAttachments/image) > 1">
|
||||||
|
|
|
||||||
|
|
@ -632,35 +632,35 @@
|
||||||
<xsl:apply-templates select=""/>
|
<xsl:apply-templates select=""/>
|
||||||
</xsl:when>
|
</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]">
|
$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:right[//bebop:formWidget]">
|
||||||
<form>
|
<form>
|
||||||
<xsl:if test="not(@method)">
|
<xsl:if test="not(@method)">
|
||||||
<xsl:attribute name="method">post</xsl:attribute>
|
<xsl:attribute name="method">post</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:call-template name="mandalay:processAttributes"/>
|
<xsl:call-template name="mandalay:processAttributes"/>
|
||||||
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:body |
|
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:body |
|
||||||
$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:right"/>
|
$resultTree//bebop:currentPane/bebop:form//bebop:layoutPanel/bebop:right"/>
|
||||||
</form>
|
</form>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
||||||
<xsl:when test="$resultTree//bebop:currentPane/bebop:form[not(//bebop:layoutPanel)]">
|
<xsl:when test="$resultTree//bebop:currentPane/bebop:form[not(//bebop:layoutPanel)]">
|
||||||
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form"/>
|
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:form"/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
||||||
<xsl:when test="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']">
|
<xsl:when test="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']">
|
||||||
<xsl:apply-templates select="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']"/>
|
<xsl:apply-templates select="$resultTree//bebop:currentPane/cms:container/*[name() != 'cms:container']"/>
|
||||||
</xsl:when>
|
</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">
|
$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"/>
|
$resultTree//bebop:currentPane/bebop:boxPanel//bebop:layoutPanel/bebop:right"/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:body |
|
<xsl:apply-templates select="$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:body |
|
||||||
$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:right |
|
$resultTree//bebop:currentPane/bebop:layoutPanel/bebop:right |
|
||||||
$resultTree//bebop:currentPane/cms:itemSummary |
|
$resultTree//bebop:currentPane/cms:itemSummary |
|
||||||
$resultTree//bebop:currentPane/cms:categorySummary |
|
$resultTree//bebop:currentPane/cms:categorySummary |
|
||||||
|
|
@ -668,15 +668,15 @@
|
||||||
$resultTree//bebop:currentPane/cms:lifecycleSummary |
|
$resultTree//bebop:currentPane/cms:lifecycleSummary |
|
||||||
$resultTree//bebop:currentPane/cms:workflowSummary |
|
$resultTree//bebop:currentPane/cms:workflowSummary |
|
||||||
$resultTree//bebop:currentPane/cms:transactionSummary"/>
|
$resultTree//bebop:currentPane/cms:transactionSummary"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="showCMSGreeting">
|
<xsl:template match="showCMSGreeting">
|
||||||
<xsl:call-template name="mandalay:cmsGreeting">
|
<xsl:call-template name="mandalay:cmsGreeting">
|
||||||
<xsl:with-param name="resultTree" select="$resultTree"/>
|
<xsl:with-param name="resultTree" select="$resultTree"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="showContentType">
|
<xsl:template match="showContentType">
|
||||||
<span id="contenttype">
|
<span id="contenttype">
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@
|
||||||
<xsl:param name="module"/>
|
<xsl:param name="module"/>
|
||||||
|
|
||||||
<span class="moreButton">
|
<span class="moreButton">
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
<a>
|
<a>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:text>/redirect/?oid=</xsl:text>
|
<xsl:text>/redirect/?oid=</xsl:text>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE stylesheet [<!ENTITY nbsp ' '>]>
|
<!DOCTYPE stylesheet [<!ENTITY nbsp ' '> <!ENTITY Cross '⨯'>]>
|
||||||
|
|
||||||
<xsl:stylesheet
|
<xsl:stylesheet
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
|
@ -199,13 +199,54 @@
|
||||||
</span>
|
</span>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="(./@type='categoryFilter')">
|
<xsl:when test="(./@type='categoryFilter')">
|
||||||
|
<xsl:variable name="filterId">
|
||||||
|
<xsl:value-of select="concat(../../@customName, ./@label, 'Filter')"/>
|
||||||
|
</xsl:variable>
|
||||||
<span>
|
<span>
|
||||||
<xsl:attribute name="class">
|
<xsl:attribute name="class">
|
||||||
<xsl:value-of select="'categoryFilter'"/>
|
<xsl:value-of select="'categoryFilter'"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="id">
|
<xsl:attribute name="id">
|
||||||
<xsl:value-of select="concat(../../@customName, ./@label, 'Filter')"/>
|
<xsl:value-of select="$filterId"/>
|
||||||
</xsl:attribute>
|
</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("⨯");
|
||||||
|
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>
|
<label>
|
||||||
<xsl:attribute name="for">
|
<xsl:attribute name="for">
|
||||||
<xsl:value-of select="concat(./@label, 'Filter')"/>
|
<xsl:value-of select="concat(./@label, 'Filter')"/>
|
||||||
|
|
@ -220,6 +261,7 @@
|
||||||
<xsl:element name="input">
|
<xsl:element name="input">
|
||||||
<xsl:attribute name="type">text</xsl:attribute>
|
<xsl:attribute name="type">text</xsl:attribute>
|
||||||
<xsl:attribute name="size">42</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="maxlength">1024</xsl:attribute>
|
||||||
<xsl:attribute name="id">
|
<xsl:attribute name="id">
|
||||||
<xsl:value-of select="concat(./@label, 'Filter')"/>
|
<xsl:value-of select="concat(./@label, 'Filter')"/>
|
||||||
|
|
@ -230,54 +272,62 @@
|
||||||
<xsl:attribute name="value">
|
<xsl:attribute name="value">
|
||||||
<xsl:value-of select="./searchString"/>
|
<xsl:value-of select="./searchString"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</xsl:element>
|
<xsl:attribute name="style">
|
||||||
<span>
|
<xsl:value-of select="'display:none'"/>
|
||||||
<xsl:attribute name="id">
|
|
||||||
<xsl:value-of select="concat(../../@customName, ./@label, 'Filter', 'Invalid')"/>
|
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:for-each select="./invalid/value">
|
</xsl:element>
|
||||||
<del>
|
<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="."/>
|
<xsl:value-of select="."/>
|
||||||
</del>
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="'#'"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:text>⨯</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>
|
</xsl:for-each>
|
||||||
</span>
|
</span>
|
||||||
<script>
|
<select size="1" class="availableCategories">
|
||||||
$(function() {
|
<xsl:attribute name="id">
|
||||||
var availableTags = [ <xsl:value-of select="./categoriesStr"/> ];
|
<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 split(value) {
|
<script type="text/javascript">
|
||||||
return value.split("<xsl:value-of select="./separator"/>");
|
$("#<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()
|
||||||
|
|
||||||
function extractLast(term) {
|
addSelectedCategory(catFilterId, selectedCategory);
|
||||||
return split(term).pop();
|
|
||||||
}
|
|
||||||
|
|
||||||
$("<xsl:value-of select="concat('#', concat(./@label, 'Filter'))"/>")
|
$("#<xsl:value-of select="concat(./@label, 'AvailableCategories')"/>").val("");
|
||||||
.bind("keydown", function(event) {
|
|
||||||
if (event.keyCode === $.ui.keyCode.TAB &&
|
|
||||||
$(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>
|
</script>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
|
|
|
||||||
|
|
@ -344,6 +344,7 @@
|
||||||
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
||||||
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
||||||
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
||||||
|
<xsl:with-param name="setZoomLink" select="'false'" />
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -364,6 +365,7 @@
|
||||||
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
||||||
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
||||||
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
||||||
|
<xsl:with-param name="setZoomLink" select="'false'" />
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -392,12 +394,23 @@
|
||||||
</a>
|
</a>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:call-template name="mandalay:shying">
|
<a class="CIname">
|
||||||
<xsl:with-param name="title">
|
<xsl:attribute name="href"><xsl:value-of select="./targetItem/url"/></xsl:attribute>
|
||||||
<xsl:value-of disable-output-escaping="yes" select="./linkTitle"/>
|
<xsl:attribute name="title">
|
||||||
</xsl:with-param>
|
<xsl:call-template name="mandalay:shying">
|
||||||
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
<xsl:with-param name="title">
|
||||||
</xsl:call-template>
|
<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:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<xsl:if test="./linkDescription and $setDescription">
|
<xsl:if test="./linkDescription and $setDescription">
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,9 @@
|
||||||
<xsl:value-of select="title"/>
|
<xsl:value-of select="title"/>
|
||||||
</a>
|
</a>
|
||||||
<xsl:if test="position() != last()">
|
<xsl:if test="position() != last()">
|
||||||
<xsl:value-of select="$separator"/>
|
<span class="separator">
|
||||||
|
<xsl:value-of select="$separator"/>
|
||||||
|
</span>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<line id="moreButton">weiter...</line>
|
<line id="moreButton">weiter...</line>
|
||||||
<line id="moreButtonTitle">mehr lesen</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/summary">Überblick</line>
|
||||||
<line id="tabs/desc">Details</line>
|
<line id="tabs/desc">Details</line>
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,9 @@
|
||||||
<line id="summaryTab/headPreText"> </line>
|
<line id="summaryTab/headPreText"> </line>
|
||||||
<line id="summaryTab/headPostText">(Projektleitung)</line>
|
<line id="summaryTab/headPostText">(Projektleitung)</line>
|
||||||
|
|
||||||
|
<line id="summaryTab/fundingCode">Förderkennzeichen</line>
|
||||||
<line id="summaryTab/sponsor">Drittmittelgeber</line>
|
<line id="summaryTab/sponsor">Drittmittelgeber</line>
|
||||||
|
<line id="summaryTab/sponsors">Drittmittelgeber</line>
|
||||||
<line id="summaryTab/fundingHeading">Finanzierung</line>
|
<line id="summaryTab/fundingHeading">Finanzierung</line>
|
||||||
<line id="summaryTab/fundingVolumeHeading">Volumen der Finanzierung</line>
|
<line id="summaryTab/fundingVolumeHeading">Volumen der Finanzierung</line>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,12 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<translations>
|
<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="memberListsortAndFilterList">Mitgliederliste filtern</line>
|
||||||
<line id="memberListfilterList">Mitgliederliste filtern</line>
|
<line id="memberListfilterList">Mitgliederliste filtern</line>
|
||||||
<line id="memberListSubmitFilters">Fitern</line>
|
<line id="memberListSubmitFilters">Fitern</line>
|
||||||
|
|
@ -31,14 +37,15 @@
|
||||||
<line id="SciPublicationsListSubmitFilters">Publikationen filtern</line>
|
<line id="SciPublicationsListSubmitFilters">Publikationen filtern</line>
|
||||||
<line id="SciPublicationsListSortList">Publikationen sortieren</line>
|
<line id="SciPublicationsListSortList">Publikationen sortieren</line>
|
||||||
<line id="SciPublicationsListtitle">Nach Titel filtern</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="SciPublicationsListyearOfPublication">Erscheinungsjahr</line>
|
||||||
<line id="SciPublicationsListyearOfPublicationAll">Alle</line>
|
<line id="SciPublicationsListyearOfPublicationAll">Alle</line>
|
||||||
<line id="SciPublicationsListSortBy">Sortieren nach</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="SciPublicationsListSortByyearAsc">Jahr (aufsteigend)</line>
|
||||||
<line id="SciPublicationsListSortByyearDesc">Jahr (absteigend)</line>
|
<line id="SciPublicationsListSortByyearDesc">Jahr (absteigend)</line>
|
||||||
<line id="SciPublicationsListSortByauthors">Autoren</line>
|
<line id="SciPublicationsListSortByauthors">Autoren</line>
|
||||||
|
<line id="SciPublicationsListkeywords">Schlagwörter</line>
|
||||||
|
|
||||||
<line id="SciProjectListsortAndFilterList">Projekte filtern und sortieren</line>
|
<line id="SciProjectListsortAndFilterList">Projekte filtern und sortieren</line>
|
||||||
<line id="SciProjectListfilterList">Projekte filtern</line>
|
<line id="SciProjectListfilterList">Projekte filtern</line>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<line id="moreButton">more »</line>
|
<line id="moreButton">more »</line>
|
||||||
<line id="moreButtonTitle">read 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/summary">Overview</line>
|
||||||
<line id="tabs/desc">Details</line>
|
<line id="tabs/desc">Details</line>
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,9 @@
|
||||||
<line id="summaryTab/headPreText"> </line>
|
<line id="summaryTab/headPreText"> </line>
|
||||||
<line id="summaryTab/headPostText">(project coordinator)</line>
|
<line id="summaryTab/headPostText">(project coordinator)</line>
|
||||||
|
|
||||||
|
<line id="summaryTab/fundingCode">Funding code</line>
|
||||||
<line id="summaryTab/sponsor">Sponsor</line>
|
<line id="summaryTab/sponsor">Sponsor</line>
|
||||||
|
<line id="summaryTab/sponsors">Sponsors</line>
|
||||||
<line id="summaryTab/fundingHeading">Funding</line>
|
<line id="summaryTab/fundingHeading">Funding</line>
|
||||||
<line id="summaryTab/fundingVolumeHeading">Volume of funding</line>
|
<line id="summaryTab/fundingVolumeHeading">Volume of funding</line>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,14 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<translations>
|
<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="SciPublicationsListsortAndFilterList">Filter and sort publications</line>
|
||||||
<line id="SciPublicationsListfilterList">Filter publications</line>
|
<line id="SciPublicationsListfilterList">Filter publications</line>
|
||||||
<line id="SciPublicationsListsortList">Sort publications</line>
|
<line id="SciPublicationsListsortList">Sort publications</line>
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,8 @@
|
||||||
<div id="content" class="profile" setTypeClass="true">
|
<div id="content" class="profile" setTypeClass="true">
|
||||||
<showContent>
|
<showContent>
|
||||||
<usePageTitle/>
|
<usePageTitle/>
|
||||||
|
<useLeadText/>
|
||||||
|
<useImage/>
|
||||||
<useContent/>
|
<useContent/>
|
||||||
</showContent>
|
</showContent>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
<useCSSLoader/>
|
<useCSSLoader/>
|
||||||
<useFancybox/>
|
<useFancybox/>
|
||||||
<useMathJax/>
|
<useMathJax/>
|
||||||
|
<useJqueryUi/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
@ -111,7 +112,6 @@
|
||||||
<div class="endFloat"/>
|
<div class="endFloat"/>
|
||||||
</divIfNotEmpty>
|
</divIfNotEmpty>
|
||||||
|
|
||||||
<showPublicationExportLinks/>
|
|
||||||
<showList>
|
<showList>
|
||||||
<useListHeader>
|
<useListHeader>
|
||||||
<setHeading>false</setHeading>
|
<setHeading>false</setHeading>
|
||||||
|
|
@ -121,6 +121,7 @@
|
||||||
<useList>itemList</useList>
|
<useList>itemList</useList>
|
||||||
<usePaginatorNavbar/>
|
<usePaginatorNavbar/>
|
||||||
</showList>
|
</showList>
|
||||||
|
<showPublicationExportLinks/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ To use the templates definied here follow these steps:
|
||||||
<piwikImageTracker piwikUrl="piwik.example.org" idSite="42"/>
|
<piwikImageTracker piwikUrl="piwik.example.org" idSite="42"/>
|
||||||
|
|
||||||
with the correct values for the piwikUrl (without protocol!) and idSite.
|
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
|
the ID of your site in Piwik. These value can be found in settings
|
||||||
of Piwik itself.
|
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:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
exclude-result-prefixes="xsl bebop cms"
|
exclude-result-prefixes="xsl bebop cms"
|
||||||
version="1.0">
|
version="1.0">
|
||||||
|
|
||||||
<xsl:template name="piwikJsTracker">
|
<xsl:template name="piwikJsTracker">
|
||||||
<xsl:param name="piwikUrl"/>
|
<xsl:param name="piwikUrl"/>
|
||||||
|
|
|
||||||
|
|
@ -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"
|
<xsl:template name="CT_SciDepartment_graphics"
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']"
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']"
|
||||||
mode="detailed_view">
|
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:variable name="setAddendum">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
|
@ -86,14 +120,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div id="mainBody" class="sciTypesOrganization sciDepartment">
|
<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'">
|
<xsl:if test="$setAddendum = 'true'">
|
||||||
<span class="addendum">
|
<span class="addendum">
|
||||||
<xsl:value-of select="./addendum"/>
|
<xsl:value-of select="./addendum"/>
|
||||||
|
|
|
||||||
|
|
@ -37,21 +37,34 @@
|
||||||
*****************************************************
|
*****************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:template name="CT_SciInstitute_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciInstitute']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciInstitute']" mode="lead">
|
||||||
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:variable name="setImage">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciInstitute'"/>
|
<xsl:with-param name="module" select="'SciInstitute'"/>
|
||||||
<xsl:with-param name="setting" select="'setImage'"/>
|
<xsl:with-param name="setting" select="'setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciInstitute'"/>
|
<xsl:with-param name="module" select="'SciInstitute'"/>
|
||||||
<xsl:with-param name="setting" select="'setImageCaption'"/>
|
<xsl:with-param name="setting" select="'setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
@ -69,6 +82,27 @@
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAddendum">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciInstitute'"/>
|
<xsl:with-param name="module" select="'SciInstitute'"/>
|
||||||
|
|
@ -86,13 +120,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div id="mainBody" class="sciTypesOrganization sciDepartment">
|
<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'">
|
<xsl:if test="$setAddendum = 'true'">
|
||||||
<span class="addendum">
|
<span class="addendum">
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,68 @@
|
||||||
exclude-result-prefixes="xsl bebop cms"
|
exclude-result-prefixes="xsl bebop cms"
|
||||||
version="1.0">
|
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 -->
|
<!-- DE Vollansicht -->
|
||||||
<!-- EN Detailed view -->
|
<!-- EN Detailed view -->
|
||||||
<xsl:template name="CT_SciMember_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciMember']" mode="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:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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">
|
<div id="greeting">
|
||||||
<xsl:call-template name="CT_GenericPerson_details">
|
<xsl:call-template name="CT_GenericPerson_details">
|
||||||
|
|
@ -156,15 +190,6 @@
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</div>
|
</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"/>
|
<div class="endFloat"/>
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
|
||||||
|
|
@ -21,16 +21,16 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
xmlns:nav="http://ccm.redhat.com/navigation"
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
xmlns:mandalay="http://mandalay.quasiweb.de"
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
xmlns:dabin="http://dabin.quasiweb.de"
|
xmlns:dabin="http://dabin.quasiweb.de"
|
||||||
exclude-result-prefixes="xsl bebop cms mandalay dabin"
|
exclude-result-prefixes="xsl bebop cms mandalay dabin"
|
||||||
version="1.0">
|
version="1.0">
|
||||||
|
|
||||||
<xsl:import href="SciProject/SciProject.xsl"/>
|
<xsl:import href="SciProject/SciProject.xsl"/>
|
||||||
<xsl:import href="SciProject/SciProjectSummaryTab.xsl"/>
|
<xsl:import href="SciProject/SciProjectSummaryTab.xsl"/>
|
||||||
<xsl:import href="SciProject/SciProjectDescTab.xsl"/>
|
<xsl:import href="SciProject/SciProjectDescTab.xsl"/>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -299,22 +299,36 @@
|
||||||
|
|
||||||
<xsl:if test="count(./sponsors/sponsor) > 0">
|
<xsl:if test="count(./sponsors/sponsor) > 0">
|
||||||
<xsl:variable name="sponsorsText">
|
<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="module" select="'SciProject'"/>
|
||||||
<xsl:with-param name="id" select="'summaryTab/sponsors'"/>
|
<xsl:with-param name="id" select="'summaryTab/sponsors'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:if test="string-length($sponsorsText) > 0">
|
<xsl:if test="string-length($sponsorsText) > 0">
|
||||||
<h4><xsl:value-of select="$sponsorsText"/></h4>
|
<h4>
|
||||||
|
<xsl:value-of select="$sponsorsText"/>
|
||||||
|
</h4>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:for-each select="sponsors/sponsor">
|
<xsl:for-each select="sponsors/sponsor">
|
||||||
<xsl:sort/>
|
<xsl:sort/>
|
||||||
<li>
|
<li>
|
||||||
<xsl:value-of select="."/>
|
<xsl:value-of select="."/>
|
||||||
</li>
|
</li>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</ul>
|
</ul>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="string-length(./sponsors/sponsor/@fundingCode) > 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:if>
|
||||||
|
|
||||||
<xsl:value-of select="./funding" disable-output-escaping="yes"/>
|
<xsl:value-of select="./funding" disable-output-escaping="yes"/>
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,68 @@
|
||||||
Detail view
|
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"
|
<xsl:template name="CT_ArticleInCollectedVolume_graphics"
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInCollectedVolume']"
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInCollectedVolume']"
|
||||||
mode="detailed_view">
|
mode="detailed_view">
|
||||||
|
|
@ -51,34 +113,6 @@
|
||||||
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
|
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -180,13 +214,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationArticleInCollectedVolumeDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -41,37 +41,71 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_ArticleInJournal_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInJournal']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ArticleInJournal']" mode="lead">
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'articleInJournal/setImage'"/>
|
<xsl:with-param name="setting" select="'articleInJournal/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'articleInJournal/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'articleInJournal/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'articleInJournal/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'articleInJournal/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'articleInJournal/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -167,13 +201,6 @@
|
||||||
|
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationArticleInJournalDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -40,35 +40,69 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_CollectedVolume_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.CollectedVolume']" mode="detailed_view">
|
<!-- DE Leadtext -->
|
||||||
<xsl:variable name="setImage">
|
<!-- 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: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="'collectedVolume/setImage'" />
|
<xsl:with-param name="setting" select="'collectedVolume/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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="'collectedVolume/setImageCaption'" />
|
<xsl:with-param name="setting" select="'collectedVolume/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'collectedVolume/setImageMaxHeight'" />
|
<xsl:with-param name="setting" select="'collectedVolume/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'collectedVolume/setImageMaxWidth'" />
|
<xsl:with-param name="setting" select="'collectedVolume/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -198,13 +232,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationCollectedVolumeDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
@ -413,7 +440,7 @@
|
||||||
<ul class="articlesList">
|
<ul class="articlesList">
|
||||||
<xsl:for-each select="./articles/article">
|
<xsl:for-each select="./articles/article">
|
||||||
<li>
|
<li>
|
||||||
<xsl:call-template name="CT_ArticleInCollectedVolume_List" />
|
<xsl:call-template name="CT_CollectedVolume_List" />
|
||||||
</li>
|
</li>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
|
|
@ -40,35 +40,69 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_Expertise_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="detailed_view">
|
<!-- DE Leadtext -->
|
||||||
<xsl:variable name="setImage">
|
<!-- 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: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="'expertise/setImage'" />
|
<xsl:with-param name="setting" select="'expertise/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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="'expertise/setImageCaption'" />
|
<xsl:with-param name="setting" select="'expertise/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'expertise/setImageMaxHeight'" />
|
<xsl:with-param name="setting" select="'expertise/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'expertise/setImageMaxWidth'" />
|
<xsl:with-param name="setting" select="'expertise/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -156,13 +190,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationExpertiseDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
** Templates for an ArticleInCollectedVolume publication **
|
** Templates for an GreyLiterature publication **
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
@ -40,35 +40,69 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_GreyLiterature_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="detailed_view">
|
<!-- DE Leadtext -->
|
||||||
<xsl:variable name="setImage">
|
<!-- 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: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="'greyLiterature/setImage'" />
|
<xsl:with-param name="setting" select="'greyLiterature/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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="'greyLiterature/setImageCaption'" />
|
<xsl:with-param name="setting" select="'greyLiterature/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxHeight'" />
|
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxWidth'" />
|
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -163,13 +197,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -40,35 +40,69 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_InProceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="detailed_view">
|
<!-- DE Leadtext -->
|
||||||
<xsl:variable name="setImage">
|
<!-- 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: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="'inProceedings/setImage'" />
|
<xsl:with-param name="setting" select="'inProceedings/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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="'inProceedings/setImageCaption'" />
|
<xsl:with-param name="setting" select="'inProceedings/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'inProceedings/setImageMaxHeight'" />
|
<xsl:with-param name="setting" select="'inProceedings/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'inProceedings/setImageMaxWidth'" />
|
<xsl:with-param name="setting" select="'inProceedings/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -135,13 +169,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationInProceedingsDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -41,37 +41,71 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_InternetArticle_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" mode="lead">
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'internetArticle/setImage'"/>
|
<xsl:with-param name="setting" select="'internetArticle/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'internetArticle/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'internetArticle/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'internetArticle/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'internetArticle/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'internetArticle/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -173,13 +207,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationInternetArticleDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -41,37 +41,71 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_CollectedVolume_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Journal']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Journal']" mode="lead">
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'journal/setImage'"/>
|
<xsl:with-param name="setting" select="'journal/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'journal/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'journal/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'journal/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'journal/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'journal/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setArticles">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -117,13 +151,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationJournalDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setSymbol = 'true') and (string-length(./symbol) > 0)">
|
<xsl:if test="($setSymbol = 'true') and (string-length(./symbol) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -40,35 +40,69 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_Monograph_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="detailed_view">
|
<!-- DE Leadtext -->
|
||||||
<xsl:variable name="setImage">
|
<!-- 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: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="'monograph/setImage'" />
|
<xsl:with-param name="setting" select="'monograph/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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="'monograph/setImageCaption'" />
|
<xsl:with-param name="setting" select="'monograph/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'monograph/setImageMaxHeight'" />
|
<xsl:with-param name="setting" select="'monograph/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'monograph/setImageMaxWidth'" />
|
<xsl:with-param name="setting" select="'monograph/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -184,13 +218,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationMonographDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -40,35 +40,69 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_Proceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Proceedings']" mode="detailed_view">
|
<!-- DE Leadtext -->
|
||||||
<xsl:variable name="setImage">
|
<!-- 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: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="'proceedings/setImage'" />
|
<xsl:with-param name="setting" select="'proceedings/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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="'proceedings/setImageCaption'" />
|
<xsl:with-param name="setting" select="'proceedings/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'" />
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'proceedings/setImageMaxHeight'" />
|
<xsl:with-param name="setting" select="'proceedings/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'proceedings/setImageMaxWidth'" />
|
<xsl:with-param name="setting" select="'proceedings/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''" />
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -213,14 +247,6 @@
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationProceedingsDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
<xsl:call-template name="scipublicationsAuthors">
|
<xsl:call-template name="scipublicationsAuthors">
|
||||||
|
|
|
||||||
|
|
@ -35,47 +35,73 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_Publisher_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Publisher']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Publisher']" mode="lead">
|
||||||
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:variable name="setImage">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'publisher/setImage'"/>
|
<xsl:with-param name="setting" select="'publisher/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'publisher/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'publisher/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'publisher/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'publisher/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'publisher/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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">
|
<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>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
|
|
|
||||||
|
|
@ -41,37 +41,71 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_ResearchReport_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" mode="lead">
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'researchReport/setImage'"/>
|
<xsl:with-param name="setting" select="'researchReport/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'researchReport/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'researchReport/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'researchReport/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'researchReport/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'researchReport/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -152,13 +186,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -41,37 +41,71 @@
|
||||||
Detail view
|
Detail view
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
<xsl:template name="CT_Review_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" mode="lead">
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'review/setImage'"/>
|
<xsl:with-param name="setting" select="'review/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'review/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'review/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'review/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'review/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'review/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
@ -152,13 +186,6 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="mainBody publication publicationDetails publicationReviewDetails">
|
<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>
|
<dl>
|
||||||
<xsl:if test="($setAuthors = 'true') and (string-length(../authors) > 0)">
|
<xsl:if test="($setAuthors = 'true') and (string-length(../authors) > 0)">
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,68 @@
|
||||||
|
|
||||||
<!-- DE Vollansicht -->
|
<!-- DE Vollansicht -->
|
||||||
<!-- EN Detailed view -->
|
<!-- 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">
|
<xsl:template name="CT_SciAuthor_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciAuthor']" mode="detailed_view">
|
||||||
|
|
||||||
<!-- DE Hole alle benötigten Einstellungen-->
|
<!-- DE Hole alle benötigten Einstellungen-->
|
||||||
|
|
@ -70,34 +132,6 @@
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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">
|
<div id="greeting">
|
||||||
<xsl:call-template name="CT_GenericPerson_details">
|
<xsl:call-template name="CT_GenericPerson_details">
|
||||||
|
|
@ -123,13 +157,6 @@
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:for-each>
|
</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"/>
|
<div class="endFloat"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
** Templates for an ArticleInCollectedVolume publication **
|
** Templates for an Series publication **
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
@ -42,37 +42,71 @@
|
||||||
===========
|
===========
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:template name="CT_Series_graphics"
|
<!-- DE Leadtext -->
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Series']"
|
<!-- EN lead text view -->
|
||||||
mode="detailed_view">
|
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Series']" mode="lead">
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="setLeadText">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'series/setImage'"/>
|
<xsl:with-param name="setting" select="'series/setLeadText'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="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: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/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'series/setImage'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxHeight">
|
<xsl:variable name="setImageMaxHeight">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'series/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'series/setImageMaxHeight'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="setImageMaxWidth">
|
<xsl:variable name="setImageMaxWidth">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'SciPublications'"/>
|
<xsl:with-param name="module" select="'SciPublication'"/>
|
||||||
<xsl:with-param name="setting" select="'series/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'series/setImageMaxWidth'"/>
|
||||||
<xsl:with-param name="default" select="''"/>
|
<xsl:with-param name="default" select="''"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="setAbstract">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
** Templates for an ArticleInCollectedVolume publication **
|
** Templates for an WorkingPaper publication **
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
@ -41,6 +41,32 @@
|
||||||
Detail view
|
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"
|
<xsl:template name="CT_WorkingPaper_graphics"
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
|
||||||
mode="detailed_view">
|
mode="detailed_view">
|
||||||
|
|
@ -256,12 +282,12 @@
|
||||||
<xsl:if test="$setSeriesVolume = 'true'">
|
<xsl:if test="$setSeriesVolume = 'true'">
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<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:call-template>
|
||||||
<xsl:value-of select="./series/series/@volume" />
|
<xsl:value-of select="./series/series/@volume" />
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<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:call-template>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -271,12 +297,12 @@
|
||||||
<xsl:if test="$setSeriesVolume = 'true'">
|
<xsl:if test="$setSeriesVolume = 'true'">
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<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:call-template>
|
||||||
<xsl:value-of select="./series/series/@volume" />
|
<xsl:value-of select="./series/series/@volume" />
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="module" select="'SciPublications'" />
|
<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:call-template>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
|
|
||||||
|
|
@ -27,66 +27,76 @@
|
||||||
xmlns:mandalay="http://mandalay.quasiweb.de"
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
exclude-result-prefixes="xsl bebop cms nav"
|
exclude-result-prefixes="xsl bebop cms nav"
|
||||||
version="1.0">
|
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"
|
<xsl:template name="CT_SimpleOrganization_graphics"
|
||||||
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SimpleOrganization']"
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SimpleOrganization']"
|
||||||
mode="detailed_view">
|
mode="detailed_view">
|
||||||
<!-- DE Hole alle benötigten Einstellungen-->
|
<!-- DE Hole alle benötigten Einstellungen-->
|
||||||
<!-- EN Getting all needed setting-->
|
<!-- 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>
|
<p>
|
||||||
<xsl:value-of select="./SimpleOrganizationDescription" />
|
<xsl:value-of select="./SimpleOrganizationDescription" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<xsl:template name="CT_SimpleOrganizationList"
|
<xsl:template name="CT_SimpleOrganizationList"
|
||||||
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SimpleOrganization']"
|
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SimpleOrganization']"
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,30 @@
|
||||||
version="1.0"
|
version="1.0"
|
||||||
>
|
>
|
||||||
|
|
||||||
<!-- Detail view -->
|
<!-- DE Leadtext -->
|
||||||
<xsl:template name="CT_PublicPersonalProfile_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.PublicPersonalProfile']" mode="detailed_view">
|
<!-- 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:variable name="setImage">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
||||||
|
|
@ -57,9 +79,21 @@
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
||||||
<xsl:with-param name="setting" select="'setImageCaption'"/>
|
<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:call-template>
|
||||||
</xsl:variable>
|
</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:variable name="contentPos1">
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# Support filenames with spaces
|
# Support filenames with spaces
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
|
|
||||||
function list_dir() {
|
function modify_files() {
|
||||||
echo "Set working dir to $(pwd)"
|
echo "Set working dir to $(pwd)"
|
||||||
for fh in *; do
|
for fh in *; do
|
||||||
if [[ -d "${fh}" ]]; then
|
if [[ -d "${fh}" ]]; then
|
||||||
|
|
@ -49,5 +49,9 @@ function change_css_file() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pushd $1
|
pushd $1
|
||||||
list_dir
|
for file in workspace*; do
|
||||||
|
mv "${file}" "portal-${file}"
|
||||||
|
done
|
||||||
|
|
||||||
|
modify_files
|
||||||
popd
|
popd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue