Aktualisierung von Mandalay auf die aktuelle Version
git-svn-id: https://svn.libreccm.org/ccm/trunk@2457 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
0748e2e601
commit
8a3bb4c295
|
|
@ -25,6 +25,7 @@
|
||||||
/* Colors */
|
/* Colors */
|
||||||
h1, h2, h3
|
h1, h2, h3
|
||||||
{
|
{
|
||||||
|
margin: 0;
|
||||||
color: #4a4a4a;
|
color: #4a4a4a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -79,7 +80,7 @@ h2 {
|
||||||
height:100%;
|
height:100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
overflow: hidden;
|
ove rflow: hidden;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -443,6 +444,7 @@ div#right div.columnHead .contenttitle {
|
||||||
}
|
}
|
||||||
|
|
||||||
div#right div.columnHead .contenttitle h1 {
|
div#right div.columnHead .contenttitle h1 {
|
||||||
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
font:inherit;
|
font:inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
@ -463,6 +465,11 @@ div#right div.columnHead #contentviewmenu{
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#right div.columnHead #contentviewmenu .cmsContentViewMenu,
|
||||||
|
div#right div.columnHead #contentviewmenu .cmsGlobalNavigation {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
div#right div.columnHead #contentviewmenu a {
|
div#right div.columnHead #contentviewmenu a {
|
||||||
color:white;
|
color:white;
|
||||||
}
|
}
|
||||||
|
|
@ -1294,7 +1301,7 @@ a:focus, a:hover, a:active,
|
||||||
#left {
|
#left {
|
||||||
position: static;
|
position: static;
|
||||||
float: left;
|
float: left;
|
||||||
width: 14em;
|
m in-width: 14em;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0.3em;
|
margin: 0.3em;
|
||||||
|
|
@ -1318,9 +1325,9 @@ a:focus, a:hover, a:active,
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
#content {
|
#content {
|
||||||
margin: 0;
|
margin: 0 !important;
|
||||||
border: 0;
|
border: 0 !important;
|
||||||
padding: 0;
|
padding: 0 !important;
|
||||||
min-height: inherit;
|
min-height: inherit;
|
||||||
color: #4a4a4a;
|
color: #4a4a4a;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
|
|
@ -1418,3 +1425,21 @@ a#preview_link:visited{
|
||||||
div.bebopGridPanel{
|
div.bebopGridPanel{
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hint:hover:after {
|
||||||
|
position: absolute;
|
||||||
|
box-shadow: 0 0 5px #4a4a4a;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
padding: 0.5em;
|
||||||
|
content: attr(content);
|
||||||
|
top: 1em;
|
||||||
|
right: 1em;
|
||||||
|
width: 30%;
|
||||||
|
background-image: inear-gradient(top, #eeeeee, #cccccc);
|
||||||
|
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eeeeee),color-stop(1, #cccccc));
|
||||||
|
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
|
||||||
|
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
|
||||||
|
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
|
||||||
|
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -436,7 +436,6 @@ body,
|
||||||
|
|
||||||
|
|
||||||
/* Layout-Boxen */
|
/* Layout-Boxen */
|
||||||
|
|
||||||
.marginRight {
|
.marginRight {
|
||||||
margin-right: 290px !important;
|
margin-right: 290px !important;
|
||||||
}
|
}
|
||||||
|
|
@ -905,26 +904,28 @@ div.image .imageZoom:after {
|
||||||
content: url('../../../images/icons/imageZoom.png');
|
content: url('../../../images/icons/imageZoom.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.image .imageGallery:after {
|
||||||
|
content: url('../../../images/icons/imageGallery.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
div.image a:after {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
border: 1px solid rgba(255,255,255,0.75);
|
||||||
|
padding: 2px;
|
||||||
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.image .imageZoom:after {
|
||||||
|
content: url('../../../images/icons/imageZoom.png');
|
||||||
|
}
|
||||||
|
|
||||||
div.image .imageGallery:after {
|
div.image .imageGallery:after {
|
||||||
content: url('../../../images/icons/imageGallery.png');
|
content: url('../../../images/icons/imageGallery.png');
|
||||||
}
|
}
|
||||||
/* Images in CT Ende */
|
/* Images in CT Ende */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Header Menu */
|
/* Header Menu */
|
||||||
/*
|
/*
|
||||||
#quicksearch {
|
#quicksearch {
|
||||||
|
|
@ -1231,7 +1232,6 @@ div.image .imageGallery:after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Info */
|
/* Info */
|
||||||
#info {
|
#info {
|
||||||
margin-left: 1.2em;
|
margin-left: 1.2em;
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
|
@ -199,4 +199,14 @@
|
||||||
</span>
|
</span>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="bebop:fieldset">
|
||||||
|
<fieldset>
|
||||||
|
<xsl:call-template name="mandalay:processAttributes"/>
|
||||||
|
<legend>
|
||||||
|
<xsl:value-of select="@legend"/>
|
||||||
|
</legend>
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</fieldset>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@
|
||||||
|
|
||||||
<xsl:import href="cms/cmsCategoryStep.xsl"/>
|
<xsl:import href="cms/cmsCategoryStep.xsl"/>
|
||||||
<xsl:import href="cms/cmsContainer.xsl"/>
|
<xsl:import href="cms/cmsContainer.xsl"/>
|
||||||
|
<xsl:import href="cms/cmsContentViewMenu.xsl"/>
|
||||||
<xsl:import href="cms/cmsGlobalNavigation.xsl"/>
|
<xsl:import href="cms/cmsGlobalNavigation.xsl"/>
|
||||||
<xsl:import href="cms/cmsGreeting.xsl"/>
|
<xsl:import href="cms/cmsGreeting.xsl"/>
|
||||||
<xsl:import href="cms/cmsImageBrowser.xsl"/>
|
<xsl:import href="cms/cmsImageBrowser.xsl"/>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE stylesheet [<!ENTITY nbsp ' '>]>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright: 2006, 2007, 2008 Sören Bernstein
|
||||||
|
|
||||||
|
This file is part of Mandalay.
|
||||||
|
|
||||||
|
Mandalay is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Mandalay is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- DE
|
||||||
|
Hier wird die globale Navigation des CMS verarbeitet
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- EN
|
||||||
|
Processing global navigation for cms
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Autor: Sören Bernstein -->
|
||||||
|
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
|
exclude-result-prefixes="xsl bebop cms nav mandalay"
|
||||||
|
version="1.0">
|
||||||
|
|
||||||
|
<!-- DE Das Menü -->
|
||||||
|
<!-- EN The menu -->
|
||||||
|
<xsl:template match="showCMSContentViewMenu">
|
||||||
|
<xsl:param name="layoutTree" select="."/>
|
||||||
|
|
||||||
|
<xsl:variable name="setLayout">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="node" select="$layoutTree/setLayout"/>
|
||||||
|
<xsl:with-param name="module" select="'cms'"/>
|
||||||
|
<xsl:with-param name="setting" select="'contentViewMenu/setLayout'"/>
|
||||||
|
<xsl:with-param name="default" select="'horizontal'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$setLayout = 'horizontal'">
|
||||||
|
<xsl:apply-templates select="$resultTree//*[contains(@class, 'cmsContentViewMenu')]"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<ul>
|
||||||
|
<xsl:for-each select="$resultTree//*[contains(@class, 'cmsContentViewMenu')]">
|
||||||
|
<li>
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</li>
|
||||||
|
</xsl:for-each>
|
||||||
|
</ul>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -63,28 +63,77 @@
|
||||||
<xsl:value-of select="bebop:label"/>
|
<xsl:value-of select="bebop:label"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates mode="imageBrowser"/>
|
||||||
</div>
|
</div>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<!--
|
|
||||||
<xsl:template match="bebop:link" mode="imageBrowser">
|
<xsl:template match="bebop:link" mode="imageBrowser">
|
||||||
|
<xsl:param name="alt"/>
|
||||||
|
<xsl:param name="title"/>
|
||||||
|
<xsl:param name="src"/>
|
||||||
|
|
||||||
|
<!-- DE -->
|
||||||
|
<!-- EN -->
|
||||||
|
<xsl:variable name="onclick">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="boolean(@onclick)=true() and not(starts-with(@onclick, 'return'))">
|
||||||
|
<xsl:value-of select="@onclick" disable-output-escaping="yes"/>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:text>this.href='</xsl:text>
|
||||||
|
<xsl:value-of select="@href" disable-output-escaping="yes"/>
|
||||||
|
<xsl:text>'; </xsl:text>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!-- DE DoubleClickProtection für Links, wenn es keinen OnClick-Handler gibt -->
|
||||||
|
<!-- EN DoubleClickProtection for links without an onclick handler -->
|
||||||
|
<xsl:variable name="dcp">
|
||||||
|
<xsl:if test="$dcp-on-links and boolean(@onclick)=false()">
|
||||||
|
<xsl:text>doubleClickProtect(this); </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!-- DE Wenn es ein Link mit Bestätigung ist -->
|
||||||
|
<!-- EN A link with confirmation -->
|
||||||
|
<xsl:variable name="confirm">
|
||||||
|
<xsl:if test="boolean(@confirm)=true() or starts-with(@onclick, 'return')">
|
||||||
|
<xsl:call-template name="mandalay:string-replace">
|
||||||
|
<xsl:with-param name="string" select="@onclick"/>
|
||||||
|
<xsl:with-param name="from" select="'\'"/>
|
||||||
|
<xsl:with-param name="to" select="''"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
<a>
|
<a>
|
||||||
|
<xsl:call-template name="mandalay:processAttributes"/>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select=""/>
|
<xsl:call-template name="mandalay:linkParser">
|
||||||
|
<xsl:with-param name="link" select="@href_no_javascript"/>
|
||||||
|
</xsl:call-template>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
|
||||||
|
<xsl:attribute name="onclick">
|
||||||
|
<xsl:value-of select="$onclick"/>
|
||||||
|
<xsl:value-of select="$dcp"/>
|
||||||
|
<xsl:value-of select="$confirm"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
|
||||||
|
<xsl:if test="$src">
|
||||||
|
<img alt="{$alt}" title="{$title}" src="{$src}"/>
|
||||||
|
</xsl:if>
|
||||||
<xsl:apply-templates mode="imageBrowser"/>
|
<xsl:apply-templates mode="imageBrowser"/>
|
||||||
</a>
|
</a>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="bebop:image" mode="imageBrowser">
|
<xsl:template match="bebop:image" mode="imageBrowser">
|
||||||
<img src="" alt=""/>
|
<xsl:apply-templates select="."/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<xsl:template match="bebop:label" mode="imageBrowser">
|
<xsl:template match="bebop:label" mode="imageBrowser">
|
||||||
|
<xsl:apply-templates select="."/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
-->
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -48,9 +48,14 @@
|
||||||
<xsl:apply-templates select="search:documents" mode="admin"/>
|
<xsl:apply-templates select="search:documents" mode="admin"/>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:apply-templates select="search:documents"/>
|
<xsl:apply-templates select="search:documents | info"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="info">
|
||||||
|
<div class="info">
|
||||||
|
<xsl:value-of select="."/>
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,12 @@
|
||||||
<line id="lang">Deutsch</line>
|
<line id="lang">Deutsch</line>
|
||||||
<line id="version">0.9</line>
|
<line id="version">0.9</line>
|
||||||
|
|
||||||
|
<line id="listView/headsHeading">Abteilungsleitung: </line>
|
||||||
|
<line id="listView/viceHeadsHeading">Stellv. Abteilungsleitung: </line>
|
||||||
|
<line id="listView/secretariatHeading">Sekretariat: </line>
|
||||||
|
<line id="listView/emailHeading">E-Mail: </line>
|
||||||
|
<line id="listView/phoneHeading">Telefon: </line>
|
||||||
|
|
||||||
<line id="moreButton">mehr »</line>
|
<line id="moreButton">mehr »</line>
|
||||||
<line id="moreButtonTitle">weiter lesen</line>
|
<line id="moreButtonTitle">weiter lesen</line>
|
||||||
|
|
||||||
|
|
@ -31,11 +37,18 @@
|
||||||
<line id="tabs/members">Mitglieder</line>
|
<line id="tabs/members">Mitglieder</line>
|
||||||
<line id="tabs/projects">Projekte</line>
|
<line id="tabs/projects">Projekte</line>
|
||||||
<line id="tabs/publications">Publikationen</line>
|
<line id="tabs/publications">Publikationen</line>
|
||||||
|
<line id="tabs/concept">Leitkonzept</line>
|
||||||
|
<line id="tabs/research">Forschung</line>
|
||||||
|
<line id="tabs/teaching">Lehre</line>
|
||||||
|
<line id="tabs/profile">Abteilungsprofil</line>
|
||||||
|
|
||||||
<line id="summaryTab/heading">Überblick</line>
|
<line id="summaryTab/heading">Überblick</line>
|
||||||
<line id="summaryTab/headsHeading">Abteilungsleitung</line>
|
|
||||||
<line id="summaryTab/subDepartmentsHeading">Arbeitsbereiche</line>
|
|
||||||
<line id="summaryTab/contactsHeading">Kontakt</line>
|
<line id="summaryTab/contactsHeading">Kontakt</line>
|
||||||
|
<line id="summaryTab/headsHeading">Abteilungsleitung: </line>
|
||||||
|
<line id="summaryTab/secretariatHeading">Sekretariat: </line>
|
||||||
|
<line id="summaryTab/subDepartmentsHeading">Arbeitsbereiche</line>
|
||||||
|
<line id="summaryTab/viceHeadsHeading">Stellvertretende Abteilungsleitung: </line>
|
||||||
|
|
||||||
|
|
||||||
<line id="descTab/heading">Details</line>
|
<line id="descTab/heading">Details</line>
|
||||||
|
|
||||||
|
|
@ -105,9 +118,9 @@
|
||||||
<line id="departmentPublications">Publikationen</line>
|
<line id="departmentPublications">Publikationen</line>
|
||||||
<line id="departmentWorkingPapers">Arbeitspapiere</line>
|
<line id="departmentWorkingPapers">Arbeitspapiere</line>
|
||||||
|
|
||||||
<line id="phone">Raum: </line>
|
<line id="room">Raum: </line>
|
||||||
<line id="phone">Telefon: </line>
|
<line id="phone">Telefon: </line>
|
||||||
<line id="phone">E-Mail: </line>
|
<line id="email">E-Mail: </line>
|
||||||
|
|
||||||
|
|
||||||
</translations>
|
</translations>
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@
|
||||||
-->
|
-->
|
||||||
</div>
|
</div>
|
||||||
<div id="contentviewmenu">
|
<div id="contentviewmenu">
|
||||||
|
<showCMSContentViewMenu/>
|
||||||
<showCMSGlobalNavigation>
|
<showCMSGlobalNavigation>
|
||||||
<usePreviewLink/>
|
<usePreviewLink/>
|
||||||
</showCMSGlobalNavigation>
|
</showCMSGlobalNavigation>
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,6 @@
|
||||||
<showFileAttachments/>
|
<showFileAttachments/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<divIfNotEmpty id="events" classIf="right, marginRight">
|
<divIfNotEmpty id="events" classIf="right, marginRight">
|
||||||
<showList id="newsList"> <!--classIf="eventList, 2columns">-->
|
<showList id="newsList"> <!--classIf="eventList, 2columns">-->
|
||||||
<useListHeader/>
|
<useListHeader/>
|
||||||
|
|
@ -112,16 +111,16 @@
|
||||||
<div class="endFloat"/>
|
<div class="endFloat"/>
|
||||||
</divIfNotEmpty>
|
</divIfNotEmpty>
|
||||||
|
|
||||||
<showPublicationExportLinks/>
|
<showPublicationExportLinks/>
|
||||||
<showList>
|
<showList>
|
||||||
<useListHeader>
|
<useListHeader>
|
||||||
<setHeading>false</setHeading>
|
<setHeading>false</setHeading>
|
||||||
</useListHeader>
|
</useListHeader>
|
||||||
<usePaginatorHeader/>
|
<usePaginatorHeader/>
|
||||||
<usePaginatorNavbar/>
|
<usePaginatorNavbar/>
|
||||||
<useList>itemList</useList>
|
<useList>itemList</useList>
|
||||||
<usePaginatorNavbar/>
|
<usePaginatorNavbar/>
|
||||||
</showList>
|
</showList>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,17 @@
|
||||||
<setting id="setDesc">true</setting>
|
<setting id="setDesc">true</setting>
|
||||||
|
|
||||||
<setting id="descTab/setImage">true</setting>
|
<setting id="descTab/setImage">true</setting>
|
||||||
|
|
||||||
|
<setting id="summaryTab/linkSpecialRoles">true</setting>
|
||||||
<setting id="summaryTab/setImage">true</setting>
|
<setting id="summaryTab/setImage">true</setting>
|
||||||
|
<setting id="summaryTab/showHead">true</setting>
|
||||||
|
<setting id="summaryTab/showViceHead">true</setting>
|
||||||
|
<setting id="summaryTab/showSecretariat">true</setting>
|
||||||
|
<setting id="summaryTab/specialRolesContactData/head/show/email">true</setting>
|
||||||
|
<setting id="summaryTab/specialRolesContactData/vicehead/show/email">true</setting>
|
||||||
|
<setting id="summaryTab/specialRolesContactData/secretariat/show/email">true</setting>
|
||||||
|
<setting id="summaryTab/specialRolesContactData/secretariat/show/phone_office">true</setting>
|
||||||
|
|
||||||
<setting id="tabs/setImageCaption">true</setting>
|
<setting id="tabs/setImageCaption">true</setting>
|
||||||
<setting id="tabs/setImageMaxHeight"></setting>
|
<setting id="tabs/setImageMaxHeight"></setting>
|
||||||
<setting id="tabs/setImageMaxWidth"></setting>
|
<setting id="tabs/setImageMaxWidth"></setting>
|
||||||
|
|
@ -72,48 +82,56 @@
|
||||||
|
|
||||||
<setting id="membersTab/associated/showAddress">true</setting>
|
<setting id="membersTab/associated/showAddress">true</setting>
|
||||||
|
|
||||||
This will display the associated address for all members with the status
|
This will display the associated address for all members with the status
|
||||||
'associated'.
|
'associated'.
|
||||||
-->
|
-->
|
||||||
<setting id="membersTab/associated/showAddress">true</setting>
|
<setting id="membersTab/associated/showAddress">true</setting>
|
||||||
|
|
||||||
<setting id="subNavSeparator"></setting>
|
<setting id="subNavSeparator"></setting>
|
||||||
|
|
||||||
<setting id="listView/setLinkToDetails">false</setting>
|
<setting id="listView/linkSpecialRoles">true</setting>
|
||||||
<setting id="listView/setLeadText">true</setting>
|
<setting id="listView/setLinkToDetails">false</setting>
|
||||||
<setting id="listView/setLeadTextLength">440</setting>
|
<setting id="listView/setLeadText">true</setting>
|
||||||
<setting id="listView/setMoreButton">true</setting>
|
<setting id="listView/setLeadTextLength">440</setting>
|
||||||
|
<setting id="listView/setMoreButton">true</setting>
|
||||||
|
<setting id="listView/showHead">true</setting>
|
||||||
|
<setting id="listView/showViceHead">true</setting>
|
||||||
|
<setting id="listView/showSecretariat">true</setting>
|
||||||
|
<setting id="listView/specialRolesContactData/head/show/email">true</setting>
|
||||||
|
<setting id="listView/specialRolesContactData/vicehead/show/email">true</setting>
|
||||||
|
<setting id="listView/specialRolesContactData/secretariat/show/email">true</setting>
|
||||||
|
<setting id="listView/specialRolesContactData/secretariat/show/phone_office">true</setting>
|
||||||
|
|
||||||
|
<setting id="linkView/setLinkToDetails">false</setting>
|
||||||
|
<setting id="linkView/setImageAndText">true</setting>
|
||||||
|
<setting id="linkView/setImage">true</setting>
|
||||||
|
<setting id="linkView/setImageMaxHeight">200</setting>
|
||||||
|
<setting id="linkView/setImageMaxWidth">200</setting>
|
||||||
|
<setting id="linkView/setImageCaption">false</setting>
|
||||||
|
<setting id="linkView/setDescription">true</setting>
|
||||||
|
<setting id="linkView/setDescriptionLength">0</setting>
|
||||||
|
<setting id="linkView/setMoreButton">false</setting>
|
||||||
|
|
||||||
<setting id="linkView/setLinkToDetails">false</setting>
|
<setting id="subDepartmentList/mode">ullist</setting>
|
||||||
<setting id="linkView/setImageAndText">true</setting>
|
<setting id="subDepartmentList/linkSubDepartment">true</setting>
|
||||||
<setting id="linkView/setImage">true</setting>
|
<setting id="subDepartmentList/showHead">true</setting>
|
||||||
<setting id="linkView/setImageMaxHeight">200</setting>
|
<setting id="subDepartmentList/linkHead">true</setting>
|
||||||
<setting id="linkView/setImageMaxWidth">200</setting>
|
<setting id="subDepartmentList/showShortDesc">true</setting>
|
||||||
<setting id="linkView/setImageCaption">false</setting>
|
|
||||||
<setting id="linkView/setDescription">true</setting>
|
|
||||||
<setting id="linkView/setDescriptionLength">0</setting>
|
|
||||||
<setting id="linkView/setMoreButton">false</setting>
|
|
||||||
|
|
||||||
<setting id="subDepartmentList/mode">ullist</setting>
|
<setting id="projectList/mode">ullist</setting>
|
||||||
<setting id="subDepartmentList/linkSubDepartment">true</setting>
|
<setting id="projectList/linkProject">true</setting>
|
||||||
<setting id="subDepartmentList/showHead">true</setting>
|
<setting id="projectList/showMembers">true</setting>
|
||||||
<setting id="subDepartmentList/linkHead">true</setting>
|
<setting id="projectList/emphHead">true</setting>
|
||||||
<setting id="subDepartmentList/showShortDesc">true</setting>
|
<setting id="projectList/linkMember">false</setting>
|
||||||
|
<setting id="projectList/showShortDesc">true</setting>
|
||||||
|
|
||||||
<setting id="projectList/mode">ullist</setting>
|
<setting id="memberList/mode">ullist</setting>
|
||||||
<setting id="projectList/linkProject">true</setting>
|
<setting id="memberList/collect">true</setting>
|
||||||
<setting id="projectList/showMembers">true</setting>
|
<setting id="memberList/linkMember">true</setting>
|
||||||
<setting id="projectList/emphHead">true</setting>
|
<setting id="memberList/showTitles">true</setting>
|
||||||
<setting id="projectList/linkMember">false</setting>
|
<setting id="memberList/showRoom">true</setting>
|
||||||
<setting id="projectList/showShortDesc">true</setting>
|
<setting id="memberList/showPhone">true</setting>
|
||||||
|
<setting id="memberList/showEmail">true</setting>
|
||||||
<setting id="memberList/mode">ullist</setting>
|
<setting id="memberList/linkEmail">true</setting>
|
||||||
<setting id="memberList/collect">true</setting>
|
|
||||||
<setting id="memberList/linkMember">true</setting>
|
|
||||||
<setting id="memberList/showTitles">true</setting>
|
|
||||||
<setting id="memberList/showRoom">true</setting>
|
|
||||||
<setting id="memberList/showPhone">true</setting>
|
|
||||||
<setting id="memberList/showEmail">true</setting>
|
|
||||||
<setting id="memberList/linkEmail">true</setting>
|
|
||||||
|
|
||||||
</settings>
|
</settings>
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@
|
||||||
User-Agent: <xsl:value-of select="$user-agent"/><br />
|
User-Agent: <xsl:value-of select="$user-agent"/><br />
|
||||||
Theme-Prefix: <xsl:value-of select="$theme-prefix"/><br />
|
Theme-Prefix: <xsl:value-of select="$theme-prefix"/><br />
|
||||||
Context-Prefix: <xsl:value-of select="$context-prefix"/><br />
|
Context-Prefix: <xsl:value-of select="$context-prefix"/><br />
|
||||||
Dispathcer-Prefix: <xsl:value-of select="$dispatcher-prefix"/><br />
|
Dispatcher-Prefix: <xsl:value-of select="$dispatcher-prefix"/><br />
|
||||||
html strict doctype
|
html strict doctype
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,17 @@
|
||||||
>
|
>
|
||||||
|
|
||||||
<xsl:template match="ppp:profile">
|
<xsl:template match="ppp:profile">
|
||||||
|
<xsl:variable name="showOwnerName">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'PublicPersonalProfile'"/>
|
||||||
|
<xsl:with-param name="setting" select="'showOwnerName'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:if test="$showOwnerName = 'true'">
|
||||||
<xsl:apply-templates select="ppp:ownerName"/>
|
<xsl:apply-templates select="ppp:ownerName"/>
|
||||||
|
</xsl:if>
|
||||||
<xsl:apply-templates select="ppp:profileImage"/>
|
<xsl:apply-templates select="ppp:profileImage"/>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,5 +50,6 @@
|
||||||
<xsl:import href="types/SciPublications.xsl"/>
|
<xsl:import href="types/SciPublications.xsl"/>
|
||||||
<xsl:import href="types/SimpleOrganization.xsl"/>
|
<xsl:import href="types/SimpleOrganization.xsl"/>
|
||||||
<xsl:import href="types/SiteProxy.xsl"/>
|
<xsl:import href="types/SiteProxy.xsl"/>
|
||||||
|
<xsl:import href="types/sci-common.xsl"/>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
|
|
@ -22,326 +22,622 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:stylesheet
|
<xsl:stylesheet
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
xmlns:nav="http://ccm.redhat.com/navigation"
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
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"
|
||||||
>
|
>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
******************************************************
|
******************************************************
|
||||||
** Template for the detail view of a SciDepartment **
|
** Template for the detail view of a SciDepartment **
|
||||||
*****************************************************
|
*****************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<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:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'setAddendum'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:variable name="setImage">
|
<xsl:variable name="subNavSeparator">
|
||||||
<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'"/>
|
||||||
<xsl:with-param name="setting" select="'setImage'"/>
|
<xsl:with-param name="setting" select="'subNavSeparator'"/>
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<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">
|
<div id="mainBody" class="sciTypesOrganization sciDepartment">
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
<xsl:if test="$setImage = 'true'">
|
||||||
<xsl:with-param name="setting" select="'setImageCaption'"/>
|
<xsl:call-template name="mandalay:imageAttachment">
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
||||||
</xsl:call-template>
|
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
||||||
</xsl:variable>
|
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
||||||
<xsl:variable name="setImageMaxHeight">
|
</xsl:call-template>
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'setImageMaxHeight'"/>
|
|
||||||
<xsl:with-param name="default" select="''"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setImageMaxWidth">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'setImageMaxWidth'"/>
|
|
||||||
<xsl:with-param name="default" select="''"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setAddendum">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'setAddendum'"/>
|
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
|
|
||||||
<xsl:variable name="subNavSeparator">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'subNavSeparator'"/>
|
|
||||||
<xsl:with-param name="default" select="' | '"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
|
|
||||||
<div id="mainBody" class="sciTypesOrganization sciDepartment">
|
|
||||||
<xsl:if test="$setImage = 'true'">
|
|
||||||
<xsl:call-template name="mandalay:imageAttachment">
|
|
||||||
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
|
||||||
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
|
||||||
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<xsl:if test="$setAddendum = 'true'">
|
|
||||||
<span class="addendum">
|
|
||||||
<xsl:value-of select="./addendum"/>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<ul class="availableData">
|
|
||||||
<xsl:for-each select="./orgaUnitTabs/availableTabs/availableTab">
|
|
||||||
<li>
|
|
||||||
<xsl:if test="./@selected = 'true'">
|
|
||||||
<xsl:attribute name="class">active</xsl:attribute>
|
|
||||||
</xsl:if>
|
|
||||||
<a>
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:call-template name="mandalay:linkParser">
|
|
||||||
<xsl:with-param name="link" select="concat('?selectedTab=', ./@label)"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:if test="./@selected = 'true'">
|
|
||||||
<xsl:attribute name="class">selectedTab active</xsl:attribute>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="id" select="concat('tabs/', ./@label)"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</xsl:for-each>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<xsl:apply-templates select="./orgaUnitTabs/selectedTab" mode="tabs"/>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- DE Listenansicht -->
|
|
||||||
<!-- EN List view -->
|
|
||||||
<xsl:template name="CT_SciDepartment_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SciDepartment']" mode="list_view">
|
|
||||||
|
|
||||||
<!-- DE Hole alle benötigten Einstellungen-->
|
|
||||||
<!-- EN Getting all needed setting-->
|
|
||||||
<xsl:variable name="setLeadText">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
|
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setLeadTextLength">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
|
|
||||||
<xsl:with-param name="default" select="'0'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setMoreButton">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
|
|
||||||
<xsl:with-param name="default" select="'false'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
|
|
||||||
<a class="CIname">
|
|
||||||
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
|
|
||||||
<xsl:attribute name="title">
|
|
||||||
<xsl:call-template name="mandalay:shying">
|
|
||||||
<xsl:with-param name="title">
|
|
||||||
<xsl:value-of select="nav:attribute[@name='title']"/>
|
|
||||||
</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="nav:attribute[@name='title']"/>
|
|
||||||
</xsl:with-param>
|
|
||||||
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
<xsl:if test="nav:attribute[@name='lead'] and $setLeadText = 'true'">
|
|
||||||
<br />
|
|
||||||
<span class="intro">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$setLeadTextLength = '0'">
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="nav:attribute[@name='lead']" />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="substring(nav:attribute[@name='lead'], 1, $setLeadTextLength)" />
|
|
||||||
<xsl:if test="string-length(nav:attribute[@name='lead']) > $setLeadTextLength">
|
|
||||||
<xsl:text>...</xsl:text>
|
|
||||||
<xsl:if test="$setMoreButton = 'true'">
|
|
||||||
<span class="moreButton">
|
|
||||||
<a>
|
|
||||||
<xsl:attribute name="href"><xsl:value-of select="nav:path"/></xsl:attribute>
|
|
||||||
<xsl:attribute name="title">
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="id" select="'moreButtonTitle'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="id" select="'moreButton'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</span>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template name="CT_SciDepartment_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.SciDepartment']" mode="link_view">
|
<xsl:if test="$setAddendum = 'true'">
|
||||||
|
<span class="addendum">
|
||||||
<!-- DE Hole alle benötigten Einstellungen-->
|
<xsl:value-of select="./addendum"/>
|
||||||
<!-- EN Getting all needed setting-->
|
|
||||||
<xsl:variable name="setImageAndText">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'linkView/setImageAndText'"/>
|
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setImage">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'linkView/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="'linkView/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="'linkView/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="'linkView/setImageCaption'"/>
|
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setDescription">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'linkView/setDescription'"/>
|
|
||||||
<xsl:with-param name="default" select="'true'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setDescriptionLength">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'linkView/setDescriptionLength'"/>
|
|
||||||
<xsl:with-param name="default" select="'0'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:variable name="setMoreButton">
|
|
||||||
<xsl:call-template name="mandalay:getSetting">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="setting" select="'linkView/setMoreButton'"/>
|
|
||||||
<xsl:with-param name="default" select="'false'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
|
|
||||||
<!-- DE Wenn es Bilder gibt, dann soll das erste hier als Link angezeigt werden -->
|
|
||||||
<!-- EN -->
|
|
||||||
<xsl:if test="./targetItem/imageAttachments and $setImage = 'true'">
|
|
||||||
<a>
|
|
||||||
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
|
|
||||||
<xsl:attribute name="title">
|
|
||||||
<xsl:call-template name="mandalay:shying">
|
|
||||||
<xsl:with-param name="title">
|
|
||||||
<xsl:value-of select="./linkTitle"/>
|
|
||||||
</xsl:with-param>
|
|
||||||
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:for-each select="./targetItem">
|
|
||||||
<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:for-each>
|
|
||||||
</a>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:if test="$setImageAndText = 'true' or not(./targetItem/imageAttachments) or $setImage = 'false'">
|
|
||||||
<a>
|
|
||||||
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
|
|
||||||
<xsl:attribute name="title">
|
|
||||||
<xsl:call-template name="mandalay:shying">
|
|
||||||
<xsl:with-param name="title">
|
|
||||||
<xsl:value-of select="./linkTitle"/>
|
|
||||||
</xsl:with-param>
|
|
||||||
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="mandalay:shying">
|
|
||||||
<xsl:with-param name="title">
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="./linkTitle"/>
|
|
||||||
</xsl:with-param>
|
|
||||||
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
<xsl:if test="./linkDescription and $setDescription">
|
|
||||||
<br />
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$setDescriptionLength = '0'">
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="./linkDescription" />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="substring(./linkDescription, 1, $setDescriptionLength)" />
|
|
||||||
<xsl:if test="string-length(./linkDescription) > $setDescriptionLength">
|
|
||||||
<xsl:text>...</xsl:text>
|
|
||||||
<xsl:if test="$setMoreButton = 'true'">
|
|
||||||
<span class="moreButton">
|
|
||||||
<a>
|
|
||||||
<xsl:attribute name="href"><xsl:text>/redirect/?oid=</xsl:text><xsl:value-of select="./targetItem/@oid"/></xsl:attribute>
|
|
||||||
<xsl:attribute name="title">
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="id" select="'moreButtonTitle'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
|
||||||
<xsl:with-param name="id" select="'moreButton'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
</span>
|
</span>
|
||||||
</xsl:if>
|
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:otherwise>
|
|
||||||
|
<ul class="availableData">
|
||||||
|
<xsl:for-each select="./orgaUnitTabs/availableTabs/availableTab">
|
||||||
|
<li>
|
||||||
|
<xsl:if test="./@selected = 'true'">
|
||||||
|
<xsl:attribute name="class">active</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:call-template name="mandalay:linkParser">
|
||||||
|
<xsl:with-param name="link" select="concat('?selectedTab=', ./@label)"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:if test="./@selected = 'true'">
|
||||||
|
<xsl:attribute name="class">selectedTab active</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="concat('tabs/', ./@label)"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</xsl:for-each>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<xsl:apply-templates select="./orgaUnitTabs/selectedTab" mode="tabs"/>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- DE Listenansicht -->
|
||||||
|
<!-- EN List view -->
|
||||||
|
<xsl:template name="CT_SciDepartment_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.SciDepartment']" mode="list_view">
|
||||||
|
|
||||||
|
<!-- DE Hole alle benötigten Einstellungen-->
|
||||||
|
<!-- EN Getting all needed setting-->
|
||||||
|
<xsl:variable name="setLeadText">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setLeadTextLength">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
|
||||||
|
<xsl:with-param name="default" select="'0'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setMoreButton">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
|
||||||
|
<xsl:with-param name="default" select="'false'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="linkSpecialRoles">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/linkSpecialRoles'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="showHead">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/showHead'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="showViceHead">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/showViceHead'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="showSecretariat">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/showSecretariat'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="nav:attribute[@name='title']">
|
||||||
|
<!-- Not a specialising list -->
|
||||||
|
<a class="CIname">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="nav:path"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:shying">
|
||||||
|
<xsl:with-param name="title">
|
||||||
|
<xsl:value-of select="nav:attribute[@name='title']"/>
|
||||||
|
</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="nav:attribute[@name='title']"/>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<!-- Specialising list -->
|
||||||
|
<a class="CIname">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="nav:path"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:shying">
|
||||||
|
<xsl:with-param name="title">
|
||||||
|
<xsl:value-of select="title"/>
|
||||||
|
</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="title"/>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:if>
|
|
||||||
</xsl:if>
|
<xsl:if test="(($showHead = 'true') or ($showViceHead = 'true') or ($showSecretariat = 'true')) and ((count(./heads/head) > 0) or (count(./viceheads/head) > 0) or (count(./secretariats/secretariat) > 0))">
|
||||||
</xsl:template>
|
<dl>
|
||||||
</xsl:stylesheet>
|
<xsl:if test="count(./heads/head) > 0">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'listView/headsHeading'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:for-each select="./heads/head">
|
||||||
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
|
<xsl:with-param name="role" select="'head'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:for-each>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="count(./viceheads/vicehead)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'listView/viceHeadsHeading'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:for-each select="./viceheads/vicehead">
|
||||||
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
|
<xsl:with-param name="role" select="'vicehead'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:for-each>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="count(./secretariats/secretariat)">
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'listView/secretariatHeading'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:for-each select="./secretariats/secretariat">
|
||||||
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
|
<xsl:with-param name="role" select="'secretariat'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:for-each>
|
||||||
|
</dd>
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'listView/emailHeading'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:for-each select="./secretariats/secretariat">
|
||||||
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialContact">
|
||||||
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
|
<xsl:with-param name="role" select="'email'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:for-each>
|
||||||
|
</dd>
|
||||||
|
<dt>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'listView/phoneHeading'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:for-each select="./secretariats/secretariat">
|
||||||
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialContact">
|
||||||
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
|
<xsl:with-param name="role" select="'phone_office'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:for-each>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="nav:attribute[@name='lead'] and $setLeadText = 'true'">
|
||||||
|
<br />
|
||||||
|
<span class="intro">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$setLeadTextLength = '0'">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="nav:attribute[@name='lead']" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="substring(nav:attribute[@name='lead'], 1, $setLeadTextLength)" />
|
||||||
|
<xsl:if test="string-length(nav:attribute[@name='lead']) > $setLeadTextLength">
|
||||||
|
<xsl:text>...</xsl:text>
|
||||||
|
<xsl:if test="$setMoreButton = 'true'">
|
||||||
|
<span class="moreButton">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="nav:path"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'moreButtonTitle'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'moreButton'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="./shortDescription and $setLeadText = 'true'">
|
||||||
|
<br />
|
||||||
|
<span class="intro">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$setLeadTextLength = '0'">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./shortDescription" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="substring(./shortDescription, 1, $setLeadTextLength)" />
|
||||||
|
<xsl:if test="string-length(nav:attribute[@name='lead']) > $setLeadTextLength">
|
||||||
|
<xsl:text>...</xsl:text>
|
||||||
|
<xsl:if test="$setMoreButton = 'true'">
|
||||||
|
<span class="moreButton">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="nav:path"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'moreButtonTitle'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'moreButton'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="CT_SciDepartment_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.SciDepartment']" mode="link_view">
|
||||||
|
|
||||||
|
<!-- DE Hole alle benötigten Einstellungen-->
|
||||||
|
<!-- EN Getting all needed setting-->
|
||||||
|
<xsl:variable name="setImageAndText">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'linkView/setImageAndText'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setImage">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'linkView/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="'linkView/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="'linkView/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="'linkView/setImageCaption'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setDescription">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'linkView/setDescription'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setDescriptionLength">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'linkView/setDescriptionLength'"/>
|
||||||
|
<xsl:with-param name="default" select="'0'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="setMoreButton">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'linkView/setMoreButton'"/>
|
||||||
|
<xsl:with-param name="default" select="'false'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<!-- DE Wenn es Bilder gibt, dann soll das erste hier als Link angezeigt werden -->
|
||||||
|
<!-- EN -->
|
||||||
|
<xsl:if test="./targetItem/imageAttachments and $setImage = 'true'">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:text>/redirect/?oid=</xsl:text>
|
||||||
|
<xsl:value-of select="./targetItem/@oid"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:shying">
|
||||||
|
<xsl:with-param name="title">
|
||||||
|
<xsl:value-of select="./linkTitle"/>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:for-each select="./targetItem">
|
||||||
|
<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:for-each>
|
||||||
|
</a>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="$setImageAndText = 'true' or not(./targetItem/imageAttachments) or $setImage = 'false'">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:text>/redirect/?oid=</xsl:text>
|
||||||
|
<xsl:value-of select="./targetItem/@oid"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:shying">
|
||||||
|
<xsl:with-param name="title">
|
||||||
|
<xsl:value-of select="./linkTitle"/>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:call-template name="mandalay:shying">
|
||||||
|
<xsl:with-param name="title">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./linkTitle"/>
|
||||||
|
</xsl:with-param>
|
||||||
|
<xsl:with-param name="mode">dynamic</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
<xsl:if test="./linkDescription and $setDescription">
|
||||||
|
<br />
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$setDescriptionLength = '0'">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="./linkDescription" />
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="substring(./linkDescription, 1, $setDescriptionLength)" />
|
||||||
|
<xsl:if test="string-length(./linkDescription) > $setDescriptionLength">
|
||||||
|
<xsl:text>...</xsl:text>
|
||||||
|
<xsl:if test="$setMoreButton = 'true'">
|
||||||
|
<span class="moreButton">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:text>/redirect/?oid=</xsl:text>
|
||||||
|
<xsl:value-of select="./targetItem/@oid"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:attribute name="title">
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'moreButtonTitle'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="id" select="'moreButton'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="SciDepartmentImage"
|
||||||
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']"
|
||||||
|
mode="image">
|
||||||
|
<!-- Nothing -->
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="SciDepartmentLead"
|
||||||
|
match="cms:item[objectType='com.arsdigita.cms.contenttypes.SciDepartment']"
|
||||||
|
mode="lead">
|
||||||
|
<!-- Nothing -->
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="SciDepartmentListViewSpecialRoles">
|
||||||
|
|
||||||
|
<xsl:param name="linkSpecialRoles" select="'true'" />
|
||||||
|
<xsl:param name="role" select="''"/>
|
||||||
|
|
||||||
|
<xsl:variable name="contactData">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'listView/specialRolesContactData'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
|
<li class="sciMember">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="($linkSpecialRoles = 'true') and (./contacts/contactentries[keyId='homepage'])">
|
||||||
|
<a class="memberName">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="./contacts/contactentries[keyId='homepage']/value"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:if test="string-length(./titlePre) > 0">
|
||||||
|
<xsl:value-of select="./titlePre"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlepre) > 0">
|
||||||
|
<xsl:value-of select="./titlepre"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./givenname"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./surname"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlePost) > 0">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="./titlePost"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlepost) > 0">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="./titlepost"/>
|
||||||
|
</xsl:if>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<span class="sciMember">
|
||||||
|
<xsl:if test="string-length(./titlePre) > 0">
|
||||||
|
<xsl:value-of select="./titlePre"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlepre) > 0">
|
||||||
|
<xsl:value-of select="./titlepre"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./givenname"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./surname"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlePost) > 0">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="./titlePost"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlepost) > 0">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="./titlepost"/>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<xsl:for-each select="./contacts/contact[1]/contactentries">
|
||||||
|
<xsl:variable name="showData">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="concat('listView/specialRolesContactData/', $role, '/show/', ./keyId)"/>
|
||||||
|
<xsl:with-param name="default" select="'false'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:if test="$showData = 'true'">
|
||||||
|
<dt>
|
||||||
|
<xsl:value-of select="./key"/>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<xsl:value-of select="./value"/>
|
||||||
|
</dd>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:for-each>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
|
|
@ -22,216 +22,320 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:stylesheet
|
<xsl:stylesheet
|
||||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
xmlns:nav="http://ccm.redhat.com/navigation"
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
xmlns:mandalay="http://mandalay.quasiweb.de"
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
exclude-result-prefixes="xsl bebop cms nav mandalay"
|
exclude-result-prefixes="xsl bebop cms nav mandalay"
|
||||||
version="1.0"
|
version="1.0"
|
||||||
>
|
>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
******************************************************
|
******************************************************
|
||||||
** Template for the SummaryTab for a SciDepartment **
|
** Template for the SummaryTab for a SciDepartment **
|
||||||
******************************************************
|
******************************************************
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<xsl:template name="CT_SciDepartment_Graphics_Summary"
|
<xsl:template name="CT_SciDepartment_Graphics_Summary"
|
||||||
match="departmentSummary"
|
match="departmentSummary"
|
||||||
mode="tabs">
|
mode="tabs">
|
||||||
|
|
||||||
<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="'SciDepartment'"/>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
<xsl:with-param name="setting" select="'summaryTab/setImage'"/>
|
<xsl:with-param name="setting" select="'summaryTab/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="setImageCaption">
|
<xsl:variable name="setImageCaption">
|
||||||
<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'"/>
|
||||||
<xsl:with-param name="setting" select="'tabs/setImageCaption'"/>
|
<xsl:with-param name="setting" select="'tabs/setImageCaption'"/>
|
||||||
<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="'SciDepartment'"/>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
<xsl:with-param name="setting" select="'tabs/setImageMaxHeight'"/>
|
<xsl:with-param name="setting" select="'tabs/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="'SciDepartment'"/>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
<xsl:with-param name="setting" select="'tabs/setImageMaxWidth'"/>
|
<xsl:with-param name="setting" select="'tabs/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="setShowHeading">
|
<xsl:variable name="setShowHeading">
|
||||||
<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'"/>
|
||||||
<xsl:with-param name="setting" select="'tabs/setShowHeading'"/>
|
<xsl:with-param name="setting" select="'tabs/setShowHeading'"/>
|
||||||
<xsl:with-param name="default" select="'false'"/>
|
<xsl:with-param name="default" select="'false'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="linkHeads">
|
<xsl:variable name="linkSpecialRoles">
|
||||||
<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'"/>
|
||||||
<xsl:with-param name="setting" select="'summaryTab/linkHeads'"/>
|
<xsl:with-param name="setting" select="'summaryTab/linkSpecialRoles'"/>
|
||||||
<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="showHead">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'summaryTab/showHead'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="showViceHead">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'summaryTab/showViceHead'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="showSecretariat">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
|
<xsl:with-param name="setting" select="'summaryTab/showSecretariat'"/>
|
||||||
|
<xsl:with-param name="default" select="'true'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
<div class="activeTab">
|
<div class="activeTab">
|
||||||
|
|
||||||
|
<xsl:if test="$setImage = 'true'">
|
||||||
|
<xsl:for-each select="$resultTree//cms:item">
|
||||||
|
<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:for-each>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:if test="$setImage = 'true'">
|
<xsl:if test="$setShowHeading = 'true'">
|
||||||
<xsl:for-each select="$resultTree//cms:item">
|
<h2>
|
||||||
<xsl:call-template name="mandalay:imageAttachment">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="showCaption" select="$setImageCaption" />
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
|
<xsl:with-param name="id" select="'summaryTab/heading'"/>
|
||||||
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
|
</xsl:call-template>
|
||||||
</xsl:call-template>
|
</h2>
|
||||||
</xsl:for-each>
|
</xsl:if>
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<xsl:if test="$setShowHeading = 'true'">
|
<div class="shortDesc">
|
||||||
<h2>
|
<xsl:variable name="shortDesc">
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:string-replace">
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
<xsl:with-param name="string" select="./shortDesc"/>
|
||||||
<xsl:with-param name="id" select="'summaryTab/heading'"/>
|
<xsl:with-param name="from" select="'
'"/>
|
||||||
</xsl:call-template>
|
<xsl:with-param name="to" select="'<br/>'"/>
|
||||||
</h2>
|
</xsl:call-template>
|
||||||
</xsl:if>
|
</xsl:variable>
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="$shortDesc"/>
|
||||||
<div class="shortDesc">
|
</div>
|
||||||
<xsl:variable name="shortDesc">
|
|
||||||
<xsl:call-template name="mandalay:string-replace">
|
|
||||||
<xsl:with-param name="string" select="./shortDesc"/>
|
|
||||||
<xsl:with-param name="from" select="'
'"/>
|
|
||||||
<xsl:with-param name="to" select="'<br/>'"/>
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:value-of disable-output-escaping="yes" select="$shortDesc"/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<xsl:if test="count(./heads/head) > 0">
|
<xsl:if test="(($showHead = 'true') or ($showViceHead = 'true') or ($showSecretariat = 'true')) and ((count(./heads/head) > 0) or (count(./viceheads/head) > 0) or (count(./secretariats/secretariat) > 0))">
|
||||||
<h3>
|
<dl>
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:if test="count(./heads/head) > 0">
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
<dt>
|
||||||
<xsl:with-param name="id" select="'summaryTab/headsHeading'"/>
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
</xsl:call-template>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
</h3>
|
<xsl:with-param name="id" select="'summaryTab/headsHeading'"/>
|
||||||
<ul>
|
</xsl:call-template>
|
||||||
<xsl:for-each select="./heads/head">
|
</dt>
|
||||||
<li class="sciMember">
|
<dd>
|
||||||
<xsl:choose>
|
<ul>
|
||||||
<xsl:when test="($linkHeads = 'true') and (./contacts/contactentries[keyId='homepage'])">
|
<xsl:for-each select="./heads/head">
|
||||||
<a class="memberName">
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
<xsl:attribute name="href"><xsl:value-of select="./contacts/contactentries[keyId='homepage']/value"/></xsl:attribute>
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
<xsl:if test="string-length(./titlePre) > 0">
|
<xsl:with-param name="role" select="'head'"/>
|
||||||
<xsl:value-of select="./titlePre"/>
|
</xsl:call-template>
|
||||||
<xsl:text> </xsl:text>
|
</xsl:for-each>
|
||||||
</xsl:if>
|
</ul>
|
||||||
<xsl:if test="string-length(./titlepre) > 0">
|
</dd>
|
||||||
<xsl:value-of select="./titlepre"/>
|
</xsl:if>
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</xsl:if>
|
<xsl:if test="count(./viceheads/vicehead)">
|
||||||
<xsl:if test="string-length(./givenname) > 0">
|
<dt>
|
||||||
<xsl:value-of select="./givenname"/>
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:text> </xsl:text>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
</xsl:if>
|
<xsl:with-param name="id" select="'summaryTab/viceHeadsHeading'"/>
|
||||||
<xsl:if test="string-length(./givenname) > 0">
|
</xsl:call-template>
|
||||||
<xsl:value-of select="./surname"/>
|
</dt>
|
||||||
</xsl:if>
|
<dd>
|
||||||
<xsl:if test="string-length(./titlePost) > 0">
|
<ul>
|
||||||
<xsl:text>, </xsl:text>
|
<xsl:for-each select="./viceheads/vicehead">
|
||||||
<xsl:value-of select="./titlePost"/>
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
</xsl:if>
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
<xsl:if test="string-length(./titlepost) > 0">
|
<xsl:with-param name="role" select="'vicehead'"/>
|
||||||
<xsl:text>, </xsl:text>
|
</xsl:call-template>
|
||||||
<xsl:value-of select="./titlepost"/>
|
</xsl:for-each>
|
||||||
</xsl:if>
|
</ul>
|
||||||
</a>
|
</dd>
|
||||||
</xsl:when>
|
</xsl:if>
|
||||||
<xsl:otherwise>
|
|
||||||
<span class="sciMember">
|
<xsl:if test="count(./secretariats/secretariat)">
|
||||||
<xsl:if test="string-length(./titlePre) > 0">
|
<dt>
|
||||||
<xsl:value-of select="./titlePre"/>
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:text> </xsl:text>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
</xsl:if>
|
<xsl:with-param name="id" select="'summaryTab/secretariatHeading'"/>
|
||||||
<xsl:if test="string-length(./titlepre) > 0">
|
</xsl:call-template>
|
||||||
<xsl:value-of select="./titlepre"/>
|
</dt>
|
||||||
<xsl:text> </xsl:text>
|
<dd>
|
||||||
</xsl:if>
|
<ul>
|
||||||
<xsl:if test="string-length(./givenname) > 0">
|
<xsl:for-each select="./secretariats/secretariat">
|
||||||
<xsl:value-of select="./givenname"/>
|
<xsl:call-template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
<xsl:text> </xsl:text>
|
<xsl:with-param name="linkSpecialRoles" select="$linkSpecialRoles"/>
|
||||||
</xsl:if>
|
<xsl:with-param name="role" select="'secretariat'"/>
|
||||||
<xsl:if test="string-length(./givenname) > 0">
|
</xsl:call-template>
|
||||||
<xsl:value-of select="./surname"/>
|
</xsl:for-each>
|
||||||
</xsl:if>
|
</ul>
|
||||||
<xsl:if test="string-length(./titlePost) > 0">
|
</dd>
|
||||||
<xsl:text>, </xsl:text>
|
</xsl:if>
|
||||||
<xsl:value-of select="./titlePost"/>
|
|
||||||
</xsl:if>
|
</dl>
|
||||||
<xsl:if test="string-length(./titlepost) > 0">
|
</xsl:if>
|
||||||
<xsl:text>, </xsl:text>
|
|
||||||
<xsl:value-of select="./titlepost"/>
|
<xsl:if test="count(./viceheads/vicehead) > 0">
|
||||||
</xsl:if>
|
<h3>
|
||||||
</span>
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
</xsl:otherwise>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
</xsl:choose>
|
<xsl:with-param name="id" select="'summaryTab/viceheadsHeading'"/>
|
||||||
</li>
|
</xsl:call-template>
|
||||||
</xsl:for-each>
|
</h3>
|
||||||
</ul>
|
</xsl:if>
|
||||||
</xsl:if>
|
|
||||||
|
|
||||||
<xsl:if test="count(./subDepartments/subDepartment) > 0">
|
<xsl:if test="count(./subDepartments/subDepartment) > 0">
|
||||||
<h3>
|
<h3>
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="module" select="'SciDepartment'"/>
|
<xsl:with-param name="module" select="'SciDepartment'"/>
|
||||||
<xsl:with-param name="id" select="'summaryTab/subDepartmentsHeading'"/>
|
<xsl:with-param name="id" select="'summaryTab/subDepartmentsHeading'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</h3>
|
</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:for-each select="./subDepartments/subDepartment">
|
<xsl:for-each select="./subDepartments/subDepartment">
|
||||||
<li>
|
<li>
|
||||||
<a class="departmentName">
|
<a class="departmentName">
|
||||||
<xsl:attribute name="href">/redirect?oid=<xsl:value-of select="@oid"/></xsl:attribute>
|
<xsl:attribute name="href">/redirect?oid=<xsl:value-of select="@oid"/></xsl:attribute>
|
||||||
<xsl:value-of select="./title"/>
|
<xsl:value-of select="./title"/>
|
||||||
</a>
|
</a>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
<xsl:for-each select="./heads/head">
|
<xsl:for-each select="./heads/head">
|
||||||
<xsl:if test="string-length(./titlePre) > 0">
|
<xsl:if test="string-length(./titlePre) > 0">
|
||||||
<xsl:value-of select="./titlePre"/>
|
<xsl:value-of select="./titlePre"/>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="string-length(./givenname) > 0">
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
<xsl:value-of select="./givenname"/>
|
<xsl:value-of select="./givenname"/>
|
||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="string-length(./givenname) > 0">
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
<xsl:value-of select="./surname"/>
|
<xsl:value-of select="./surname"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="string-length(./titlePost) > 0">
|
<xsl:if test="string-length(./titlePost) > 0">
|
||||||
<xsl:text>, </xsl:text>
|
<xsl:text>, </xsl:text>
|
||||||
<xsl:value-of select="./titlePost"/>
|
<xsl:value-of select="./titlePost"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="(count(../head) > 1) and (position() != last())">
|
<xsl:if test="(count(../head) > 1) and (position() != last())">
|
||||||
<xsl:text>, </xsl:text>
|
<xsl:text>, </xsl:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</li>
|
</li>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<div class="endFloat"/>
|
<div class="endFloat"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="SciDepartmentSummaryTabSpecialRoles">
|
||||||
|
|
||||||
|
<xsl:param name="linkSpecialRoles" select="'true'" />
|
||||||
|
<xsl:param name="role" select="''"/>
|
||||||
|
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="($linkSpecialRoles = 'true') and (./contacts/contact/contactentries[keyId='homepage'])">
|
||||||
|
<a class="sciMember">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="./contacts/contact/contactentries[keyId='homepage']/value"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:if test="string-length(./titlepre) > 0">
|
||||||
|
<xsl:value-of select="./titlepre"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./givenname"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./surname"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlepost) > 0">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="./titlepost"/>
|
||||||
|
</xsl:if>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<span class="sciMember">
|
||||||
|
<xsl:if test="string-length(./titlepre) > 0">
|
||||||
|
<xsl:value-of select="./titlepre"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./givenname"/>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./givenname) > 0">
|
||||||
|
<xsl:value-of select="./surname"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="string-length(./titlepost) > 0">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="./titlepost"/>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
|
||||||
|
<xsl:if test="position() != last()">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template name="SciDepartmentSummaryTabSpecialContact">
|
||||||
|
|
||||||
|
<xsl:param name="linkSpecialRoles" select="'true'" />
|
||||||
|
<xsl:param name="role" select="''"/>
|
||||||
|
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="($linkSpecialRoles = 'true') and (./contacts/contact/contactentries[keyId=$role]) and $role='email'">
|
||||||
|
<a class="contact">
|
||||||
|
<xsl:if test="string-length(./contacts/contact/contactentries[keyId=$role]/value) > 0">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="concat('mailto:', ./contacts/contact/contactentries[keyId=$role]/value)"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:value-of select="./contacts/contact/contactentries[keyId=$role]/value"/>
|
||||||
|
</xsl:if>
|
||||||
|
</a>
|
||||||
|
</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
|
<span class="contact">
|
||||||
|
<xsl:if test="string-length(./contacts/contact/contactentries[keyId=$role]/value) > 0">
|
||||||
|
<xsl:value-of select="./contacts/contact/contactentries[keyId=$role]/value"/>
|
||||||
|
</xsl:if>
|
||||||
|
</span>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
|
||||||
|
<xsl:if test="position() != last()">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
|
|
@ -289,7 +289,7 @@
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:if test="(count(./funding) > 0) and (count(./sponsor) > 0)">
|
<xsl:if test="(count(./funding) > 0) or (count(./sponsors/sponsor) > 0)">
|
||||||
<h3>
|
<h3>
|
||||||
<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'"/>
|
||||||
|
|
@ -297,18 +297,24 @@
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<xsl:if test="count(./sponsor) > 0">
|
<xsl:if test="count(./sponsors/sponsor) > 0">
|
||||||
<dl>
|
<xsl:variable name="sponsorsText">
|
||||||
<dt>
|
<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/sponsor'"/>
|
</xsl:call-template>
|
||||||
</xsl:call-template>
|
</xsl:variable>
|
||||||
</dt>
|
<xsl:if test="string-length($sponsorsText) > 0">
|
||||||
<dd>
|
<h4><xsl:value-of select="$sponsorsText"/></h4>
|
||||||
<xsl:value-of select="./sponsor"/>
|
</xsl:if>
|
||||||
</dd>
|
<ul>
|
||||||
</dl>
|
<xsl:for-each select="sponsors/sponsor">
|
||||||
|
<xsl:sort/>
|
||||||
|
<li>
|
||||||
|
<xsl:value-of select="."/>
|
||||||
|
</li>
|
||||||
|
</xsl:for-each>
|
||||||
|
</ul>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:value-of select="./funding" disable-output-escaping="yes"/>
|
<xsl:value-of select="./funding" disable-output-escaping="yes"/>
|
||||||
|
|
@ -399,12 +405,12 @@
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:if test="count(./involvedOrganizations) > 0">
|
<xsl:if test="count(./involvedOrganizations) > 0">
|
||||||
<h4>
|
<h3>
|
||||||
<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/involvedOrganizatinsHeading'"/>
|
<xsl:with-param name="id" select="'summaryTab/involvedOrganizatinsHeading'"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</h4>
|
</h3>
|
||||||
<xsl:for-each select="./involvedOrganizations/organization">
|
<xsl:for-each select="./involvedOrganizations/organization">
|
||||||
<xsl:value-of select="./title"/>
|
<xsl:value-of select="./title"/>
|
||||||
<xsl:if test="position() != last()">
|
<xsl:if test="position() != last()">
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE stylesheet [<!ENTITY nbsp '<xsl:text disable-output-escaping="yes">&</xsl:text>nbsp;'>]>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright: 2011 Jens Pelzetter
|
||||||
|
|
||||||
|
This file is part of Mandalay.
|
||||||
|
|
||||||
|
Mandalay is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Mandalay is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
|
xmlns:dabin="http://dabin.quasiweb.de"
|
||||||
|
exclude-result-prefixes="xsl bebop cms mandalay dabin"
|
||||||
|
version="1.0">
|
||||||
|
|
||||||
|
<xsl:import href="sci-common/GenericOrgaUnitTextTab.xsl"/>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!DOCTYPE stylesheet [<!ENTITY nbsp ' '>]>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Copyright 2011, Jens Pelzetter
|
||||||
|
|
||||||
|
|
||||||
|
This file is part of Mandalay.
|
||||||
|
|
||||||
|
Mandalay is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Mandalay is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
|
||||||
|
xmlns:nav="http://ccm.redhat.com/navigation"
|
||||||
|
xmlns:cms="http://www.arsdigita.com/cms/1.0"
|
||||||
|
xmlns:mandalay="http://mandalay.quasiweb.de"
|
||||||
|
exclude-result-prefixes="xsl bebop cms nav mandalay"
|
||||||
|
version="1.0"
|
||||||
|
>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
************************************************
|
||||||
|
** Template for the DescTab for a SciProject **
|
||||||
|
************************************************
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:template name="CT_SciDepartment_graphics"
|
||||||
|
match="text"
|
||||||
|
mode="tabs">
|
||||||
|
|
||||||
|
<div class="activeTab">
|
||||||
|
|
||||||
|
<h2>
|
||||||
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
|
<xsl:with-param name="module" select="'GenericOrganizationalUnit'"/>
|
||||||
|
<xsl:with-param name="id" select="concat('textTab/',./@key)"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="orgaUnitText">
|
||||||
|
<xsl:value-of disable-output-escaping="yes" select="."/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="endFloat"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
||||||
Loading…
Reference in New Issue