|
|
|
@ -19,10 +19,6 @@
|
|
|
|
|
doctype-system="DTD/xhtml1-strict.dtd"
|
|
|
|
|
indent="yes"/>
|
|
|
|
|
|
|
|
|
|
<xsl:variable name="baseurl">
|
|
|
|
|
<xsl:if test="name(/*)='item'">../</xsl:if>
|
|
|
|
|
</xsl:variable>
|
|
|
|
|
|
|
|
|
|
<xsl:template match="/page">
|
|
|
|
|
<xsl:variable name="title">
|
|
|
|
|
<xsl:choose>
|
|
|
|
@ -56,6 +52,8 @@
|
|
|
|
|
<xsl:template name="body">
|
|
|
|
|
<xsl:param name="title" />
|
|
|
|
|
|
|
|
|
|
<xsl:variable name="issearchpage" select="$title = 'Suche'" />
|
|
|
|
|
|
|
|
|
|
<xsl:element name="html">
|
|
|
|
|
<!--xsl:attribute name="xmlns">http://www.w3.org/1999/xhtml</xsl:attribute-->
|
|
|
|
|
<xsl:attribute name="lang">de</xsl:attribute>
|
|
|
|
@ -86,8 +84,7 @@
|
|
|
|
|
</xsl:comment>
|
|
|
|
|
<div id="navigation">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:if test="$title != 'Suche'">
|
|
|
|
|
<xsl:if test="not($issearchpage)">
|
|
|
|
|
<!-- ### Search ### -->
|
|
|
|
|
<xsl:comment>
|
|
|
|
|
<xsl:text> ### Search ### </xsl:text>
|
|
|
|
@ -112,7 +109,14 @@
|
|
|
|
|
</xsl:comment>
|
|
|
|
|
|
|
|
|
|
<xsl:choose>
|
|
|
|
|
<xsl:when test="$title != 'Suche'">
|
|
|
|
|
<xsl:when test="$issearchpage">
|
|
|
|
|
<div id="search">
|
|
|
|
|
<xsl:comment>ESTFORM</xsl:comment>
|
|
|
|
|
<xsl:comment>ESTRESULT</xsl:comment>
|
|
|
|
|
<xsl:comment>ESTINFO</xsl:comment>
|
|
|
|
|
</div> <!-- id="search" -->
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise> <!-- normale Seite -->
|
|
|
|
|
<div id="content">
|
|
|
|
|
<h2>
|
|
|
|
|
<xsl:if test="name(.) = 'item'">
|
|
|
|
@ -122,32 +126,25 @@
|
|
|
|
|
<xsl:value-of select="$title" />
|
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
|
|
<!-- Für Seiten, die nur ein Newsitem beinhalten,
|
|
|
|
|
Newsmetadaten anzeigen
|
|
|
|
|
-->
|
|
|
|
|
<xsl:if test="name(.) = 'item'">
|
|
|
|
|
<xsl:call-template name="news-meta"/>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
<!-- Für Seiten, die nur ein Newsitem beinhalten,
|
|
|
|
|
Newsmetadaten anzeigen
|
|
|
|
|
-->
|
|
|
|
|
<xsl:if test="name(.) = 'item'">
|
|
|
|
|
<xsl:call-template name="news-meta"/>
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
<xsl:apply-templates/>
|
|
|
|
|
</div> <!-- id="content" -->
|
|
|
|
|
</xsl:when>
|
|
|
|
|
<xsl:otherwise>
|
|
|
|
|
<div id="search">
|
|
|
|
|
<xsl:comment>ESTFORM</xsl:comment>
|
|
|
|
|
<xsl:comment>ESTRESULT</xsl:comment>
|
|
|
|
|
<xsl:comment>ESTINFO</xsl:comment>
|
|
|
|
|
</div> <!-- id="search" -->
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
<!-- ### News ### -->
|
|
|
|
|
<xsl:comment>
|
|
|
|
|
<xsl:text> ### News ### </xsl:text>
|
|
|
|
|
</xsl:comment>
|
|
|
|
|
<!-- ### News ### -->
|
|
|
|
|
<xsl:comment>
|
|
|
|
|
<xsl:text> ### News ### </xsl:text>
|
|
|
|
|
</xsl:comment>
|
|
|
|
|
|
|
|
|
|
<xsl:call-template name="chaosupdates" />
|
|
|
|
|
|
|
|
|
|
<xsl:call-template name="chaosupdates" />
|
|
|
|
|
</xsl:otherwise>
|
|
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
|
|
</div> <!-- id="body" -->
|
|
|
|
|
|
|
|
|
|