You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
195 lines
7.5 KiB
195 lines
7.5 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|
<xsl:import href="xsl_functions.xsl" /> |
|
<xsl:import href="pageComponents_html.xsl" /> |
|
<xsl:import href="menue_html_dojo.xsl" /> |
|
<!--In diesem Stylesheet können Sie individuelle templates unterbringen, |
|
die in ihrer Präzedenz das normale Stylesheet |
|
pageComponents_html.xsl überragt. --> |
|
<xsl:import href="pageComponents_html_final.xsl" /> |
|
|
|
<xsl:output method="html" indent="yes" /> |
|
<xsl:template match="/"> |
|
<xsl:variable name="user" select = "menue/user"/> |
|
<xsl:variable name="mandantenid"> |
|
<xsl:variable name="useragent" select="'mozilla'" /> |
|
<xsl:choose> |
|
<xsl:when test="string-length(menue/mandantenid) > 0 and menue/mandantenid !='default'"> |
|
<xsl:value-of select="concat(menue/mandantenid,'/')" /> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:value-of select="''" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:variable> |
|
<xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >]]></xsl:text> |
|
<html lang="de"> |
|
<xsl:call-template name="submenue_head" /> |
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'submenu_post_javascript'"></xsl:with-param></xsl:call-template> |
|
<body onload="submenuonload()"> |
|
<xsl:if test="/menue/@showNavigation='true'"> |
|
<xsl:for-each select="/menue/menue"> |
|
<xsl:call-template name="menuFrame" /> |
|
</xsl:for-each> |
|
</xsl:if> |
|
<div> |
|
<xsl:if test="/menue/@showNavigation='true'"> |
|
<xsl:attribute name="class"><xsl:text>page-wrap</xsl:text></xsl:attribute> |
|
<xsl:for-each select="/menue/menue"> |
|
<xsl:call-template name="topbar_menue" /> |
|
</xsl:for-each> |
|
</xsl:if> |
|
|
|
<div> |
|
<xsl:if test="/menue/@showNavigation='true'"> |
|
<xsl:attribute name="id"><xsl:text>wrapper</xsl:text></xsl:attribute> |
|
</xsl:if> |
|
|
|
<div class="divcontent"> |
|
<div class="submenu"> |
|
<xsl:call-template name="customheader"/> <!--Standard in pageCompnents.xsl wird ggfs. direkt vom Servlet ersetzt!!--> |
|
<xsl:call-template name="breadcrumbs"><xsl:with-param name="jsessionid"><xsl:value-of select="/menue/@jsessionid"/></xsl:with-param></xsl:call-template> |
|
<div class="submenu"> |
|
<xsl:for-each select="/*/menupos/eintraege/eintrag"> |
|
<xsl:if test="position()=last()"> |
|
<h1><xsl:value-of select="titel"/></h1> |
|
</xsl:if> |
|
</xsl:for-each> |
|
|
|
<div id="contentFrame"> |
|
|
|
<div class="columnTwoThirdLeft_1024"> |
|
<div class="box_noheader_bg_white"> |
|
<div class="box_container"> |
|
<div class="box_title"></div> |
|
<div class="box_content"> |
|
|
|
<div class="fieldsetNoBorder"> |
|
<ul style="margin:0;padding:0"> |
|
<!-- zunächst Untermenues--> |
|
<xsl:for-each select="/menue/eintraege/eintrag[@isMaske!='true']"> |
|
<li style="list-style:none;margin:0;padding:0"> |
|
<div class="element report_dir"> |
|
<!-- <xsl:attribute name="onClick"> |
|
<xsl:text>document.location='</xsl:text><xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMenu',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>';</xsl:text> |
|
</xsl:attribute> --> |
|
<div class="round_corner_link"> |
|
<div class="round_corner"> |
|
<b class="top"><b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b></b> |
|
<div class="boxcontent"> |
|
<p> <a><!-- |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMenu',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="id"/> |
|
</xsl:attribute>--> |
|
<xsl:choose> |
|
<xsl:when test="/menue/@showNavigation='true'"> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="'/superx/servlet/SuperXmlMenu'"/><xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>&navi=true</xsl:text> |
|
</xsl:attribute> |
|
<xsl:attribute name="data-ajax"><xsl:text>false</xsl:text></xsl:attribute> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:attribute name="href">#</xsl:attribute> |
|
<!--jquerymobile:--> |
|
<xsl:attribute name="onclick"><xsl:text>$('#content').load('</xsl:text><xsl:value-of select="'/superx/servlet/SuperXmlMenu'" /><xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>',ajaxErrorHandler);</xsl:text> |
|
</xsl:attribute> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
<span class="Funktion"><xsl:value-of select="titel"/></span> |
|
</a><br/> |
|
<xsl:if test="explanation!=''"><!--      --><xsl:value-of select="explanation"/><br/></xsl:if> |
|
</p> |
|
</div> |
|
<b class="bottom"><b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b></b> |
|
</div> |
|
</div> |
|
</div> |
|
</li> |
|
</xsl:for-each> |
|
<br/> |
|
<!-- dann einzelne Masken--> |
|
<xsl:for-each select="/menue/eintraege/eintrag[@isMaske='true']"> |
|
<li style="list-style:none;margin:0;padding:0"> |
|
|
|
<!-- references ticket nr: 95948 --> |
|
<xsl:variable name="titeltext"> |
|
<xsl:value-of select="titel"/> |
|
</xsl:variable> |
|
|
|
<xsl:variable name="divclass"> |
|
<xsl:choose> |
|
<xsl:when test="contains($titeltext,'Zeitreihe')='true'"> |
|
<xsl:text>element report_zeitreihe</xsl:text> |
|
</xsl:when> |
|
<xsl:when test="contains($titeltext,'Datenblatt')='true'"> |
|
<xsl:text>element report_datenblatt</xsl:text> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:text>element report</xsl:text> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:variable> |
|
<div class="{$divclass}"> |
|
<!-- /references ticket --> |
|
|
|
<!-- <xsl:attribute name="onClick"> |
|
<xsl:text>document.location='</xsl:text><xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMaske',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>';</xsl:text> |
|
</xsl:attribute> --> |
|
<div class="round_corner_link"> |
|
<div class="round_corner round_corner_pointer"> |
|
|
|
<xsl:attribute name="onClick"> |
|
<xsl:text>document.location='</xsl:text><xsl:value-of select="'/superx/servlet/SuperXmlMaske'"/><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>&navi=true';</xsl:text> |
|
</xsl:attribute> |
|
<b class="top"><b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b></b> |
|
<div class="boxcontent"> |
|
<p> <a data-ajax="false"> |
|
<!-- da Anklicken von ganzen Div Bericht aufrufen soll, deaktiviert |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMaske',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>&navi=true</xsl:text> |
|
</xsl:attribute> |
|
--> |
|
<xsl:value-of select="titel"/> |
|
</a> |
|
<br/> |
|
<xsl:if test="explanation!=''"><!--      --><xsl:value-of select="explanation"/><br/></xsl:if> |
|
</p> |
|
</div> |
|
<b class="bottom"><b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b></b> |
|
</div> |
|
</div> |
|
</div> |
|
</li> |
|
</xsl:for-each> |
|
</ul> |
|
</div> |
|
|
|
</div> |
|
<div class="box_bottom_left"><div class="box_bottom_right"></div></div> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<!-- Box Information--> |
|
<xsl:call-template name="information_box" /> |
|
|
|
</div> |
|
|
|
<div id="clearer" class="clearer"> </div> |
|
|
|
</div> |
|
<xsl:comment>customfooter</xsl:comment> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<xsl:call-template name="footer" /> |
|
</body> |
|
</html> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|
|
|