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.
141 lines
6.2 KiB
141 lines
6.2 KiB
<?xml version="1.0" encoding="UTF-8" ?> |
|
<xsl:stylesheet version="1.0" |
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
xmlns:ext1="de.memtext.util.DateUtils" |
|
xmlns:ext2="java.util.Date" |
|
xmlns:string="java.lang.String" |
|
xmlns:HtmlUtils="de.superx.util.HtmlUtils"> |
|
|
|
|
|
<xsl:template name="showPasswordChangeLink" > |
|
<xsl:text>false</xsl:text> |
|
</xsl:template> |
|
<xsl:template name="showAppletLink" > |
|
<xsl:text>false</xsl:text> |
|
</xsl:template> |
|
<xsl:template name="showJavascriptMenue" > |
|
<xsl:text>true</xsl:text> |
|
</xsl:template> |
|
<xsl:template name="showThemenbaumMask" > |
|
<xsl:text>true</xsl:text> |
|
</xsl:template> |
|
<xsl:template name="showLogoutLink" > |
|
<xsl:text>true</xsl:text> |
|
</xsl:template> |
|
|
|
<xsl:template name="head" > |
|
<xsl:param name="css"/> |
|
<xsl:param name="title"/> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </meta> |
|
<link rel="stylesheet" type="text/css" href="../style/superx.css" /> |
|
<link rel="stylesheet" type="text/css" href="../xml/superxml_html.css" /> |
|
<!-- Laden des spezifischen Stylesheets mit Corporate Design der Uni Freiburg |
|
<link rel="stylesheet" type="text/css" href="../xml/superxml_fr_html.css" /> --> |
|
<!-- bm 06.03.2013 Integration Stylesheets, Javascript für jqplot-Grafiken --> |
|
<script type="text/javascript" src="/superx/xml/js/bil/jquery.min.js"></script> |
|
<!-- Version von jquery.jqplot.min.js ist modifiziert --> |
|
<script type="text/javascript" src="/superx/xml/js/bil/jquery.jqplot.min.js"></script> |
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.barRenderer.min.js"></script> |
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.canvasAxisLabelRenderer.min.js"></script> |
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.canvasAxisTickRenderer.min.js"></script> |
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.canvasTextRenderer.min.js"></script> |
|
|
|
<!-- BMU 28.02.2014: neu für Grafiken in Tabs --> |
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.cursor.min.js"></script> |
|
<link type="text/css" href="/superx/xml/js/bil/jquery-ui/css/smoothness/jquery-ui.min.css" rel="Stylesheet" /> |
|
<script type="text/javascript" src="/superx/xml/js/bil/jquery-ui/js/jquery-ui.min.js"></script> |
|
<!-- //BMU 28.02.2014: neu für Grafiken in Tabs --> |
|
|
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.categoryAxisRenderer.min.js"></script> |
|
<script type="text/javascript" src="/superx/xml/js/bil/plugins/jqplot.pointLabels.min.js"></script> |
|
<!-- Zusatz für IE 30.08.2013 --> |
|
<xsl:text disable-output-escaping="yes"><!--[if lt IE 9]></xsl:text> |
|
<script language="javascript" type="text/javascript" src="/superx/xml/js/bil/excanvas.js"></script> |
|
<xsl:text disable-output-escaping="yes"><![endif]--></xsl:text> |
|
|
|
<link rel="stylesheet" type="text/css" href="/superx/xml/js/bil/jquery.jqplot.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/js/bil/jquery.jqplot.min.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/js/bil/bil_grafik.css" /> |
|
|
|
<xsl:choose> |
|
<xsl:when test="$title != ''"> |
|
<xsl:choose> |
|
<xsl:when test="starts-with($title,'Mask') "> |
|
<link rel="stylesheet" type="text/css" href="../xml/maske_html.css" /> |
|
<!-- Laden des spezifischen Stylesheets --> |
|
<link rel="stylesheet" type="text/css" href="../xml/maske_fr_html.css" /> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<link rel="stylesheet" type="text/css" href="../xml/tabelle_html.css" /> |
|
<!-- Laden des spezifischen Stylesheets --> |
|
<link rel="stylesheet" type="text/css" href="../xml/tabelle_fr_html.css" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
<title><xsl:value-of select="$title" /></title> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<title><xsl:text>SuperX</xsl:text></title> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
<xsl:if test="$css != ''"> |
|
<link rel="stylesheet" type="text/css" href="$css" /> |
|
</xsl:if> |
|
|
|
</head> |
|
|
|
</xsl:template> |
|
|
|
<xsl:template name="exportButtons" > |
|
<table border="1"><tr><td>Export:</td> |
|
<td> |
|
<!-- druckversion übergibt maxoffset 10000000 damit alle Sätze angezeigt werden --> |
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('druckversion')</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute> |
|
<xsl:text>Druckversion</xsl:text></a> |
|
</td> |
|
<td> |
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('xml')</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>XML</xsl:text></xsl:attribute> |
|
<xsl:text>XML</xsl:text></a> |
|
</td> |
|
<td> |
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('pdf')</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>PDF</xsl:text></xsl:attribute> |
|
<xsl:text>PDF</xsl:text></a> |
|
</td> |
|
<td> |
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('excel')</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>XLS (z.B. Excel)</xsl:text></xsl:attribute> |
|
<xsl:text>XLS</xsl:text></a> |
|
</td> |
|
|
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet"> |
|
<xsl:if test="filename !='tabelle_html.xsl' |
|
and filename !='tabelle_html_p.xsl' |
|
and filename !='tabelle_xml.xsl' |
|
and filename !='tabelle_fo_pdf.xsl' |
|
and filename !='tabelle_xls.xsl' |
|
and filename !='tabelle_html_bil.xsl'"> <!-- bmu: BIL-Style-Sheets ebenso nicht --> |
|
<td><a><xsl:attribute name="href">javascript:document.forms[0].stylesheet.value='<xsl:value-of select="filename" />';document.forms[0].contenttype.value='<xsl:value-of select="contenttype" />'; document.forms[0].submit();</xsl:attribute> |
|
<xsl:attribute name="title"><xsl:value-of select="description" /></xsl:attribute> |
|
<![CDATA[]]><xsl:value-of select="caption" /><![CDATA[]]></a> |
|
</td> |
|
|
|
</xsl:if> |
|
</xsl:for-each> |
|
|
|
</tr> |
|
</table> |
|
</xsl:template> |
|
|
|
|
|
</xsl:stylesheet>
|
|
|