SuperX-Kernmodul
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.
 
 
 
 
 
 

2221 lines
89 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="resultset_html.xsl" />
<xsl:template name="foot" >
</xsl:template>
<xsl:template name="customheader">
<!--Achtung falls eine ganz individueller Header in Repository als HTML_HEADER hinterlegt ist, ersetzt Servlet
<table id="customheader" ... </table> dadurch - bei Aenderungen hier beruecksichtigen!!
s. http://ics/ilias3/goto.php?target=wiki_40_individuelle_Kopf%2FFu%C3%9Fzeilen&client_id=memtext -->
<xsl:variable name="reportLogo" select="/ergebnisse/generalinfo/REPORT_LOGO_FILE" />
<table id="customheader" border="0" width="100%">
<colgroup>
<col width="90%"/>
<col width="10%"/>
</colgroup>
<tr>
<td class="hs_header">
<xsl:if test="/ergebnisse/generalinfo/REPORT_HEADING_INSTITUTION!='' and /ergebnisse/generalinfo/REPORT_HEADING_INSTITUTION!='@@REPORT_HEADING_INSTITUTION@@'">
<h3 class="hs_header_inst"><xsl:value-of select="/ergebnisse/generalinfo/REPORT_HEADING_INSTITUTION"/></h3>
</xsl:if>
<xsl:if test="/ergebnisse/generalinfo/REPORT_HEADING_URL!='' and /ergebnisse/generalinfo/REPORT_HEADING_URL!='@@REPORT_HEADING_URL@@'">
<p class="hs_header_url"><a target="_top"><xsl:attribute name="href"><xsl:text>http://</xsl:text><xsl:value-of select="/ergebnisse/generalinfo/REPORT_HEADING_URL"/></xsl:attribute><xsl:value-of select="/ergebnisse/generalinfo/REPORT_HEADING_URL"/></a></p>
</xsl:if>
</td>
<td class="hs_header_img">
<xsl:choose>
<xsl:when test="$reportLogo != '' and $reportLogo != '@@REPORT_LOGO_FILE@@'">
<img border="0" alt="Logo">
<xsl:attribute name="src"><xsl:value-of select="/ergebnisse/generalinfo/REPORT_LOGO_FILE"/></xsl:attribute>
</img>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="/ergebnisse/backlink!=''">
<a>
<xsl:attribute name="href"><xsl:value-of select="/ergebnisse/backlink"/></xsl:attribute>
<img border="0" alt="Logo">
<xsl:attribute name="src"><xsl:call-template name="logo_path"></xsl:call-template></xsl:attribute></img>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:if test="/ergebnisse/@hisinon_active != 'true'">
<img border="0" alt="Logo">
<xsl:attribute name="src"><xsl:call-template name="logo_path"></xsl:call-template></xsl:attribute></img>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</td>
</tr></table>
</xsl:template>
<xsl:template name="topbar" >
<!--<p align="right"><a href="http://www.superx-projekt.de" target="_parent"><img src="../images/logo.gif" alt="Logo" border="0" /></a></p>-->
</xsl:template>
<xsl:template name="topbar_mask" >
<!--<p align="right"><a href="http://www.superx-projekt.de" target="_parent"><img src="../images/logo.gif" alt="Logo" border="0" /></a></p>-->
</xsl:template>
<xsl:template name="topbar_table" >
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="topbar_table_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="topbar_table_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="topbar_table_superx" >
<!--<p align="right"><a href="http://www.superx-projekt.de" target="_parent"><img src="../images/logo.gif" alt="Logo" border="0" /></a></p>-->
</xsl:template>
<xsl:template name="topbar_table_hisinone">
<xsl:text disable-output-escaping="yes"><![CDATA[<div class="submenu">]]></xsl:text>
<h1 class="unsichtbar">
<a name="content">Inhalt</a>
</h1>
<h1>Bericht - Anzeige
</h1>
</xsl:template>
<xsl:template name="sidebar" >
<!--<div id="funktionen">
Im IE wird bei kliern-Saklierung des Fensters die sidebar eingeklappt.
Bit zur Lösung des Problems bleibt dies auf Kommentar
<div id="boxTitel">Hochschulkompass</div>
<div id="boxText">
<ul>
<li><a href="../xml/index_hochschule.htm" target="_parent">Hochschulen</a> </li>
<li><a href="../xml/index_stud.htm" target="_parent">Studium </a></li>
<li><a href="../xml/index_prom.htm" target="_parent">Promotion</a></li>
<li><a href="../xml/index_koop.htm" target="_parent"> Int. Kooperationen </a></li>
</ul>
</div>
</div>
-->
</xsl:template>
<xsl:template name="bottombar">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="bottombar_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="bottombar_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="bottombar_hisinone">
</xsl:template>
<xsl:template name="bottombar_superx">
<div id="fuss">
<hr/><a href="http://www.superx-projekt.de" target="_top">Superx-Projekt</a>&#160;<a href="http://www.superx-projekt.de" target="_parent">http://www.superx-projekt.de</a>
&#160; <xsl:call-template name="today" />
</div>
</xsl:template>
<xsl:template name="bottombar_table">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="bottombar_table_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="bottombar_table_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="bottombar_table_hisinone">
<xsl:text disable-output-escaping="yes"><![CDATA[</div>]]></xsl:text>
</xsl:template>
<xsl:template name="bottombar_table_superx">
</xsl:template>
<xsl:template name="bottombar_mask">
<div id="fuss">
<hr />
</div>
</xsl:template>
<xsl:template name="navibar_top" >
</xsl:template>
<xsl:template name="logo_path">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="logo_path_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="logo_path_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="logo_path_superx">
<!--relativ zum servlet Verzeichnis-->
<xsl:choose>
<xsl:when test="string-length(/ergebnisse/generalinfo/REPORT_LOGO_FILE) &gt; 0">
<xsl:value-of select="/ergebnisse/generalinfo/REPORT_LOGO_FILE"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>../images/SymbolU.gif</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="logo_path_hisinone">
<xsl:choose>
<xsl:when test="string-length(/ergebnisse/generalinfo/REPORT_LOGO_FILE) &gt; 0">
<xsl:value-of select="/ergebnisse/generalinfo/REPORT_LOGO_FILE"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>../xml/his1/images/logos/hisinone_logo_reports.png</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="breadcrumbs">
<xsl:param name="jsessionid"/>
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="breadcrumbs_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="breadcrumbs_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="breadcrumbs_superx">
<xsl:param name="jsessionid"/>
<xsl:comment>Template breadcrumbs in file pageComponents_html.xsl</xsl:comment>
<!-- MB 9/14 Parameter jsession wird zwar uebergeben, aber von HTMLUtils.encodeURL unten nicht mehr ausgewertet -->
<xsl:variable name="root_in_breadcrumb">
<xsl:call-template name="root_in_breadcrumb" />
</xsl:variable>
<div class="divBreadcrumb">
<ul style="list-style:none;margin:0;padding:0">
<li style="list-style:none;display:inline;margin:0;padding:0">Sie sind hier:</li>
<!--/maske bei Masken /ergebnisse bei Ergebnissen-->
<xsl:for-each select="/*/menupos/eintraege/eintrag">
<xsl:variable name="tabindex"><xsl:value-of select="position()"/></xsl:variable>
<li style="list-style:none;display:inline;margin:0;padding:0">
<a tabindex="{$tabindex}" data-ajax="false">
<xsl:attribute name="href">
<xsl:choose>
<xsl:when test="@isMaske='true'">
<xsl:value-of select="'/superx/servlet/SuperXmlMaske'" /><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>&amp;navi=true</xsl:text>
<!--MandantenID-->
</xsl:when>
<xsl:otherwise>
<xsl:if test="id = '1'">
<xsl:text>/superx/servlet/SuperXmlAnmeldung</xsl:text>
</xsl:if>
<xsl:if test="id != '1'">
<xsl:value-of select="'/superx/servlet/SuperXmlMenu'" /> <xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>&amp;navi=true</xsl:text>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:choose>
<xsl:when test="titel='Abfragen'">
<xsl:value-of select="$root_in_breadcrumb"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="titel"/>
</xsl:otherwise>
</xsl:choose>
</a>
<img src="../images/icons/resultset_next.svg" class="svg_mini_icon" alt="" style="margin-left: 2px; position:relative;" />
</li>
</xsl:for-each>
<!-- bei Tabellen als letztes Link zur Maske-->
<xsl:choose>
<xsl:when test="count(/ergebnisse/ergebnis) &gt; 0">
<li style="list-style:none;display:inline;margin:0;padding:0">
<a tabindex="{count(/*/menupos/eintraege/eintrag)+1}" id="btnBacktoMask" data-ajax="false">
<xsl:attribute name="href">
<xsl:text><![CDATA[javascript:document.forms[0].maxoffset.value='';self.location.href='/superx/servlet/SuperXmlMaske']]></xsl:text>
<!-- <xsl:if test="/ergebnisse/@jsessionid!=''">';jsessionid=<xsl:value-of select="/ergebnisse/@jsessionid"/>'</xsl:if> -->
<xsl:choose>
<xsl:when test="/ergebnisse/@isMakro!='true'">
<xsl:text><![CDATA[+'?tid='+getTid()+getParams('direkt')]]></xsl:text>
</xsl:when>
<xsl:otherwise> <!-- bei Makros ohne Params, weil die im XML und Javascript-Felderarray nicht richtig drin sind-->
<xsl:text><![CDATA[+'?tid='+getTid()]]></xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text>+'&amp;navi=true'</xsl:text>
<!--;alert(url);location.href=url;</xsl:text>-->
</xsl:attribute>
<xsl:value-of select="concat(/ergebnisse/ergebnis/maskenname,'/Bericht erstellen')" />
</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
<xsl:value-of select="concat('Datensätze/', /ergebnisse/ergebnis/maskenname)" />
</li>
</xsl:when>
<xsl:when test="count(/maske) &gt; 0">
<li style="list-style:none;display:inline;margin:0;padding:0">
<xsl:value-of select="concat(/maske/@name,' - Bericht erstellen')" />
</li>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</ul>
</div><!-- <div style="clear: left"></div> -->
</xsl:template>
<xsl:template name="breadcrumbs_hisinone">
<xsl:param name="jsessionid"/>
<xsl:comment>Template breadcrumbs in file pageComponents_html.xsl</xsl:comment>
<!-- MB 9/14 Parameter jsession wird zwar uebergeben, aber von HTMLUtils.encodeURL unten nicht mehr ausgewertet -->
<xsl:variable name="root_in_breadcrumb">
<xsl:call-template name="root_in_breadcrumb" />
</xsl:variable>
<div class="divBreadcrumb">
<ul style="list-style:none;margin:0;padding:0">
<li style="list-style:none;display:inline;margin:0;padding:0">Sie sind hier:</li>
<!-- Menü: HISinOne Startseite -->
<li style="list-style:none;display:inline;margin:0;padding:0"><a href="/_HISINONE_/pages/cs/sys/portal/hisinoneStartPage.faces" target="_parent">Startseite</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
</li>
<!-- Menü: HISinOne BI -->
<li style="list-style:none;display:inline;margin:0;padding:0"><a class="xdummy" href="/_HISINONE_/pages/cs/sys/portal/subMenu.faces?navigationPosition=hisinonebi" target="_parent">Business Intelligence</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
</li>
<!--/maske bei Masken /ergebnisse bei Ergebnissen-->
<xsl:for-each select="/*/menupos/eintraege/eintrag">
<xsl:variable name="tabindex"><xsl:value-of select="position()"/></xsl:variable>
<li style="list-style:none;display:inline;margin:0;padding:0">
<a tabindex="{$tabindex}" data-ajax="false">
<xsl:attribute name="href">
<xsl:choose>
<xsl:when test="@isMaske='true'">
<xsl:value-of select="'../servlet/SuperXmlMaske'" /><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>&amp;navi=true</xsl:text>
<!--MandantenID-->
</xsl:when>
<xsl:otherwise>
<xsl:if test="id = '1'">
<xsl:text>../servlet/SuperXmlAnmeldung</xsl:text>
</xsl:if>
<xsl:if test="id != '1'">
<xsl:value-of select="'../servlet/SuperXmlMenu'" /> <xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>&amp;navi=true</xsl:text>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:choose>
<xsl:when test="titel='Abfragen'">
<xsl:value-of select="$root_in_breadcrumb"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="titel"/>
</xsl:otherwise>
</xsl:choose>
</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
</li>
</xsl:for-each>
<!-- bei Tabellen als letztes Link zur Maske-->
<xsl:choose>
<xsl:when test="count(/ergebnisse/ergebnis) &gt; 0">
<li style="list-style:none;display:inline;margin:0;padding:0">
<a tabindex="{count(/*/menupos/eintraege/eintrag)+1}" id="btnBacktoMask" data-ajax="false">
<xsl:attribute name="href">
<xsl:text><![CDATA[javascript:document.forms[0].maxoffset.value='';self.location.href='/superx/servlet/SuperXmlMaske']]></xsl:text>
<!-- <xsl:if test="/ergebnisse/@jsessionid!=''">';jsessionid=<xsl:value-of select="/ergebnisse/@jsessionid"/>'</xsl:if> -->
<xsl:choose>
<xsl:when test="/ergebnisse/@isMakro!='true'">
<xsl:text><![CDATA[+'?tid='+getTid()+getParams('direkt')]]></xsl:text>
</xsl:when>
<xsl:otherwise> <!-- bei Makros ohne Params, weil die im XML und Javascript-Felderarray nicht richtig drin sind-->
<xsl:text><![CDATA[+'?tid='+getTid()]]></xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text>+'&amp;navi=true'</xsl:text>
<!--;alert(url);location.href=url;</xsl:text>-->
</xsl:attribute>
<xsl:value-of select="concat(/ergebnisse/ergebnis/maskenname,'/Bericht erstellen')" />
</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
<xsl:value-of select="concat('Datensätze/', /ergebnisse/ergebnis/maskenname)" />
</li>
</xsl:when>
<xsl:when test="count(/maske) &gt; 0">
<li style="list-style:none;display:inline;margin:0;padding:0">
<xsl:value-of select="concat(/maske/@name,' - Bericht erstellen')" />
</li>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
</ul>
</div><!-- <div style="clear: left"></div> -->
</xsl:template>
<xsl:template name="tablepretitle">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="tablepretitle_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="tablepretitle_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="tablepretitle_hisinone">
<xsl:variable name="showBreadcrumbsTable">
<xsl:call-template name="showBreadcrumbsTable" />
</xsl:variable>
<xsl:if test="$showBreadcrumbsTable='true'">
<xsl:call-template name="breadcrumbs">
<xsl:with-param name="jsessionid">
<xsl:value-of select="/ergebnisse/@jsessionid" />
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="tablepretitle_superx">
<xsl:variable name="showBreadcrumbsTable"><xsl:call-template name="showBreadcrumbsTable" /></xsl:variable>
<xsl:choose>
<xsl:when test="$showBreadcrumbsTable='true'">
<xsl:call-template name="breadcrumbs"><xsl:with-param name="jsessionid"><xsl:value-of select="/ergebnisse/@jsessionid"/></xsl:with-param></xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="maskbreadcrumbs" >
<xsl:variable name="showBreadcrumbsMask"><xsl:call-template name="showBreadcrumbsMask" /></xsl:variable>
<xsl:choose>
<xsl:when test="$showBreadcrumbsMask='true'">
<xsl:call-template name="breadcrumbs"><xsl:with-param name="jsessionid"><xsl:value-of select="/maske/@jsessionid"/></xsl:with-param></xsl:call-template>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template name="maskButtons" >
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="maskButtons_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="maskButtons_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="maskButtons_superx" >
<!--<xsl:call-template name="today" />-->
<xsl:call-template name="maskbreadcrumbs" />
<div class="xright">
<a tabindex="20" title="Lesezeichen erstellen" style="cursor:pointer;" onclick="maskepreparelesezeichendlg();versteckeCombosIE6();lesezeichendlg.show()"><img border="0" src="../images/attach.svg" class="svg_icon" /></a>
<span class="separator">&#160;</span>
<a tabindex="21" title="Schlüsselfelder an/aus" style="cursor:pointer;" onclick="maskeTogglekeyfields()"><img border="0" src="../images/key.svg" class="svg_icon" /></a>
<span class="separator">&#160;</span>
<a tabindex="22" href="{/*/generalinfo/REPORT_DOCUMENTATION_URL}" title="Hilfe" target="_blank"><img src="../images/book.svg" class="svg_icon" border="0" alt="Hilfe" /></a>
<span class="separator">&#160;</span>
<a tabindex="23" href="../sxrest/version" title="Versionsinformation Kernmodul">
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('../sxrest/version','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=200,height=30'); return false;</xsl:text></xsl:attribute>
<img src="../images/information.svg" class="svg_icon" border="0" alt="Info" target="_blank" /></a>
</div>
<p align="right">
</p>
</xsl:template>
<xsl:template name="maskButtons_hisinone">
<!--<xsl:call-template name="today" /> -->
<xsl:call-template name="maskbreadcrumbs" />
<div class="xright">
<a title="Lesezeichen erstellen"
onclick="maskepreparelesezeichendlg();versteckeCombosIE6();lesezeichendlg.show()">
<img border="0" src="../images/attach.svg" class="svg_icon" />
</a>
<span class="separator">&#160;</span>
<a title="Schlüsselfelder an/aus" onclick="maskeTogglekeyfields()">
<img border="0" src="../images/key.svg" class="svg_icon" />
</a>
<span class="separator">&#160;</span>
<a href="../doku/benutzer/main.htm" title="Hilfe" target="_blank">
<img src="../images/book.svg" class="svg_icon" border="0" alt="Hilfe" />
</a>
<span class="separator">&#160;</span>
<a href="javascript:alert('Edustore Version 1.0 \n www.his.de');"
title="Info">
<img src="../images/information.svg" class="svg_icon" border="0" alt="Info" />
</a>
</div>
<div class="clear">&#160;</div>
<p align="right">
</p>
</xsl:template>
<xsl:template name="exportButtons">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="exportButtons_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="exportButtons_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="exportButtons_hisinone">
</xsl:template>
<xsl:template name="exportButtons_superx" >
<table border="0"><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> -->
<img title="Ausgabe in HTML" alt="Ausgabe in HTML"
src="../images/icons/html.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</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>
<img title="Ausgabe in XML" alt="Ausgabe in XML"
src="../images/icons/page_white_code.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</td>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl']) !=0">
<td><input name="RPTContentype" type="hidden" value="" />
<input name="RPTPageFormat" type="hidden" value="A3" />
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;"><xsl:attribute name="onclick"><xsl:text>setTemplatePropertiesAndSubmit('rpta_assistent.xsl|text/html');</xsl:text>
</xsl:attribute>
<img title="Berichtsassistent" alt="Berichtsassistent"
src="../images/icons/magic.svg" border="0" class="svg_icon" />
</a><span class="separator">&#160;</span> <span class="separator">&#160;</span>
</td>
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[stylesheet_type='XSL_JRXML']">
<td>
<a onMouseOver="window.status='Export xls starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;">
<xsl:attribute name="onclick"><xsl:text>document.forms[0].elements['RPTContentype'].value='</xsl:text><xsl:value-of select="contenttype"/><xsl:text>';setTemplatePropertiesAndSubmit('</xsl:text><xsl:value-of select="filename"/><xsl:text>|application/jrxml');</xsl:text>
</xsl:attribute>
<img title="{caption}" alt="{description}"
src="{toolbar_icon_filepath}" border="0" class="svg_icon" />
</a>
<span class="separator">&#160;</span> <span class="separator">&#160;</span>
</td>
</xsl:for-each>
</xsl:if>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='viz_html_chart.xsl']) !=0
and /ergebnisse/user/@admin='true'">
<td>
<script language="Javascript">
function prepareExportChart()
{
document.forms[0].stylesheet.value = 'viz_html_chart.xsl';
document.forms[0].contenttype.value = 'text/html';
document.forms[0].target = '_blank';
document.forms[0].offset.value='0';
document.forms[0].maxoffset.value = '1000000';
document.forms[0].reuseresult.value = 'true';
document.forms[0].usetreetable.value = 'false';
startExport();
}
</script>
<!-- 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:prepareExportChart()</xsl:text>
</xsl:attribute>
<input type="hidden" name="usetreetable" />
<img title="Ausgabe als Diagramm" alt="Ausgabe in Diagramm"
src="../images/icons/chart-bar.svg" border="0" class="svg_icon" />
</a>
<span class="separator">&#160;</span>
</td>
</xsl:if>
<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> -->
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat"
src="../images/icons/page_white_width_acrobat.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</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:document.forms[0].stylesheet.value='tabelle_fo_rtf.xsl';document.forms[0].contenttype.value='application/rtf';document.forms[0].maxoffset.value='1000000'; document.forms[0].submit();</xsl:text>
</xsl:attribute>
<xsl:attribute name="title"><xsl:text>RTF (z.B. Word)</xsl:text></xsl:attribute>
<xsl:text>RTF</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> -->
<img title="Ausgabe in Excel" alt="Ausgabe in Excel"
src="../images/icons/page_white_excel.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</td>
<td>
<xsl:variable name="href">
<xsl:choose>
<xsl:when test="/ergebnisse/@isMakro='true'">
<xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_csv.xsl';document.forms[0].contenttype.value='text/plain';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<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:value-of select="$href"/></xsl:attribute>
<img title="Ausgabe als CSV" alt="Ausgabe als CSV"
src="../images/icons/page_white_csv.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</td>
<!--
<td>
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='erg_itext_rtf.xsl';document.forms[0].contenttype.value='application/rtf';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
</xsl:attribute>
<xsl:attribute name="title"><xsl:text>RTF</xsl:text></xsl:attribute>
<xsl:text>RTF</xsl:text></a>
</td>
-->
<xsl:if test="/ergebnisse/user [@admin='true']">
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_edit.jsp?tid=',/ergebnisse/ergebnis/maskenname/@id)"/>
<td>
<span class="separator">&#160;</span>
<span class="separator">&#160;</span>
<a class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of select="$url" />
</xsl:attribute>
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=750</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
<img title="Maskeninfo verwalten" alt="Maskeninfo verwalten"
src="../images/icons/book_open_edit.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</td>
<xsl:variable name="url" select="concat('../edit/kern/sachgeb_maske_bez_edit.jsp?maskeninfo_id=',/ergebnisse/ergebnis/maskenname/@id)"/>
<td>
<a class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of select="$url" />
</xsl:attribute>
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
<img title="Sachgebiet zuordnen" alt="Sachgebiet zuordnen"
src="../images/icons/folder_edit.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</td>
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_style.jsp?tid=',/ergebnisse/ergebnis/maskenname/@id)"/>
<td>
<a class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of select="$url" />
</xsl:attribute>
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
<img title="Stylesheets zuordnen" alt="Stylesheets zuordnen"
src="../images/icons/copy_edit.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</td>
</xsl:if>
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[is_generic='0']">
<xsl:if test="not(ends-with(filename,'.jrxml'))">
<td>
<span class="separator">&#160;</span>
<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>
<!-- Ist nun im Template JasperExportBtn
<xsl:if test="/ergebnisse/user [ @admin='true']">
<td>
<span class="separator">&#160;Bericht entwerfen:&#160;</span>
<select name="jr_template"><option value="tabelle2jasperreport_generic.xsl">Leerer Bericht</option>
</select>
<xsl:variable name="newTemplateImage">
<xsl:choose>
<xsl:when test="/ergebnisse/@hisinone_active='true'">
<xsl:text>../images/icons/page_add.gif</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>../images/icons/page_add.gif</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<a class="linkLookImage" style="margin-left:5px;"><xsl:attribute name="href">javascript:document.forms[0].stylesheet.value=document.forms[0].jr_template.value;document.forms[0].contenttype.value='text/xml'; document.forms[0].submit();</xsl:attribute>
<img title="Export als JasperReport-Template" alt="Export als JasperReport-Template" src="{$newTemplateImage}" border="0" /></a>
<span class="separator">&#160;</span>
</td>
</xsl:if>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[ends-with(filename,'.jrxml')])">
<td>
&#160;Bericht ausgeben1:&#160;
<select name="jr_stylesheet" onchange="jsDisableInput(this.value);">
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet">
<xsl:if test="ends-with(filename,'.jrxml')">
<option><xsl:attribute name="value"><xsl:value-of select="filename" /></xsl:attribute><xsl:value-of select="caption" /></option>
</xsl:if>
</xsl:for-each>
</select>
<select name="jr_contenttype" onchange="">
<option value="application/pdf">PDF</option>
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLS</option>
<option value="application/rtf">RTF</option>
<option value="application/vnd.oasis.opendocument.text">ODT</option>
<option value="application/vnd.oasis.opendocument.spreadsheet">ODS</option>
<option value="text/html">HTML</option>
<option value="text/xhtml">XHTML</option>
<option value="text/csv">CSV</option>
<option value="text/xml">XML</option>
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLSX</option>
</select>
<input tabindex="10" type="button" value="GO">
<xsl:attribute name="onclick">
<xsl:text>
<![CDATA[document.forms[0].stylesheet.value=this.form.jr_stylesheet.options[this.form.jr_stylesheet.selectedIndex].value;document.forms[0].contenttype.value=this.form.jr_contenttype.options[this.form.jr_contenttype.selectedIndex].value; document.forms[0].submit();]]>
</xsl:text>
</xsl:attribute>
</input>
</td>
</xsl:if>
-->
</tr>
</table>
</xsl:template>
<xsl:template name="exportButtonsDoc" >
<!--<table border="1"><tr><td>Export:</td>
<td>
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_html_doc_p.xsl';document.forms[0].contenttype.value='text/html';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text>
</xsl:attribute>
<xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute>
<xsl:text>Druckversion</xsl:text></a>
</td>
<td>
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_text.xsl';document.forms[0].contenttype.value='text/plain';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text>
</xsl:attribute>
<xsl:attribute name="title"><xsl:text>Text</xsl:text></xsl:attribute>
<xsl:text>Text</xsl:text></a>
</td>
<td>
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_pdf_doc.xsl';document.forms[0].contenttype.value='application/pdf'; document.forms[0].submit();</xsl:text>
</xsl:attribute>
<xsl:attribute name="title"><xsl:text>PDF</xsl:text></xsl:attribute>
<xsl:text>PDF</xsl:text></a>
</td>
<td>
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_rtf_doc.xsl';document.forms[0].contenttype.value='application/msword';document.forms[0].submit();</xsl:text>
</xsl:attribute>
<xsl:attribute name="title"><xsl:text>RTF</xsl:text></xsl:attribute>
<xsl:text>RTF</xsl:text></a>
</td>
<xsl:if test="ergebnis/stylesheets/stylesheet[last()] &lt; 2">
<xsl:for-each select="ergebnis/stylesheets/stylesheet">
<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:for-each>
</xsl:if>
</tr>
</table>-->
</xsl:template>
<xsl:template name="printsaveButtons">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="printsaveButtons_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="printsaveButtons_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="printsaveButtons_hisinone">
</xsl:template>
<xsl:template name="printsaveButtons_superx" >
<table border="0">
<tr>
<!--<td>
<img src="../applet/images/sx_copy.gif" /></td>-->
<!--<td><a><xsl:attribute name="href"><xsl:text>javascript:window.external.AddFavorite('</xsl:text><xsl:call-template name="create_url">
<xsl:with-param name="stylesheet" select="''"/>
</xsl:call-template><xsl:text>','</xsl:text><xsl:value-of select="//ergebnisse/ergebnis/ergebniselement/maskenname" /><xsl:text>');</xsl:text></xsl:attribute>
<xsl:attribute name="title"><xsl:text>Lesezeichen</xsl:text></xsl:attribute>
<xsl:text>Lesezeichen</xsl:text></a>
</td>-->
<!-- AK 20.04.2016: Funktioniert nicht mehr, daher raus genommen.
<td>
<span dojoType="tooltip" connectId="btnSave" style="display:none">Die aktuelle Seite speichern (Nur im Internet Explorer)</span>
<a href="javascript:doSaveAs()" id="btnSave"><img src="../images/save.png" border="0" alt="Speichern"/></a></td> -->
<td><span dojoType="tooltip" connectId="btnPrint" style="display:none">Die aktuelle Seite drucken (Dialog erscheint)</span>
<!-- AK: hier stand vorher: javascript:window.print(); Damit wird jedoch das Menü mit gedruckt.-->
<a href="javascript:window.print();" id="btnPrint"><img src="../images/printer.svg" class="svg_icon" border="0" alt="Drucken" /></a></td>
<td><span dojoType="tooltip" connectId="btnBacktoMask" style="display:none">zur Maske</span>
<a id="btnBacktoMask">
<xsl:attribute name="href">
<xsl:text><![CDATA[javascript:self.location.href='/superx/servlet/SuperXmlMaske']]></xsl:text>
<!-- <xsl:if test="/ergebnisse/@jsessionid!=''">';jsessionid=<xsl:value-of select="/ergebnisse/@jsessionid"/>'</xsl:if> -->
<xsl:choose>
<xsl:when test="/ergebnisse/@isMakro!='true'">
<xsl:text><![CDATA[+'?tid='+getTid()+getParams('direkt')+'&cachingcontrol=reusemask']]></xsl:text>
</xsl:when>
<xsl:otherwise> <!-- bei Makros ohne Params, weil die im XML und Javascript-Felderarray nicht richtig drin sind-->
<xsl:text><![CDATA[+'?tid='+getTid()+'&cachingcontrol=reusemask']]></xsl:text>
</xsl:otherwise>
</xsl:choose>
<!--;alert(url);location.href=url;</xsl:text>-->
<xsl:text>+'&amp;navi=</xsl:text><xsl:value-of select="/*/@showNavigation"/><xsl:text>'</xsl:text>
</xsl:attribute>
<img src="../images/arrow_left_fat.svg" class="svg_icon" border="0" alt="zur Maske" />
</a>
</td>
<td>
<span dojoType="tooltip" connectId="btnHelp" style="display:none">Nutzungshandbuch</span>
<a href="{/*/generalinfo/REPORT_DOCUMENTATION_URL}" title="Hilfe"
target="_blank" class="linkLookImage">
<img title="Handbuch" alt="Handbuch" src="../images/book.svg" class="svg_icon"
border="0" />
</a>
</td>
<xsl:if test="/ergebnisse/@isMakro!='true'">
<xsl:call-template name="bookmark_deepLink" />
<td>
<span dojoType="tooltip" connectId="btnKonfig" style="display:none">Spaltensortierung- und Reihenfolge festlegen<br />, Spalten entfernen</span>
<a href="javascript:showConfig();" id="btnKonfig">
<img src="../images/table_sort.svg" class="svg_icon" alt="Konfiguration der Tabelle" border="0" /></a></td>
</xsl:if>
<!--<td><a href="javascript:document.forms[0].submit();">PDF</a></td>
<td><a href="javascript:document.forms[0].stylesheet.value='tabelle_xml.xsl';document.forms[0].contenttype.value='text/xml; charset=ISO-8859-1'; document.forms[0].submit();">XML</a></td>
<td><a href="javascript:document.forms[0].submit();">RTF</a></td>
<td><a href="javascript:document.forms[0].submit();">SVG</a></td>-->
</tr></table>
</xsl:template>
<xsl:template name="today">
<xsl:value-of select="format-date(current-date(), '[D01].[M01].[Y0001]')"/>
</xsl:template>
<xsl:template name="xls_Styles">
<xls_styles>
<xls_cellstyle name="maskenname">
<xls_font height="340" bold="true" color="4"/>
<xls_align align="ALIGN_LEFT" valign="VERTICAL_CENTER"/>
<xls_format format="General"/>
</xls_cellstyle>
<xls_cellstyle name="legende">
<xls_font height="160" color="0"/>
</xls_cellstyle>
<xls_cellstyle name="heading">
<xls_font height="170" bold="true" color="0" /><!--DARK_BLUE-->
<xls_border location="BOTTOM" type="MEDIUM"/>
<xls_border location="LEFT" type="MEDIUM"/>
<xls_border location="TOP" type="MEDIUM"/>
<xls_border location="RIGHT" type="MEDIUM"/>
<!--<xls_fill color="2"/>-->
<xls_align align="ALIGN_CENTER" valign="VERTICAL_CENTER"/>
<wrapText />
<xls_format format="General"/>
</xls_cellstyle>
<xls_cellstyle name="body_int">
<xls_font height="160" color="0"/>
<xls_align align="ALIGN_RIGHT" valign="VERTICAL_CENTER"/>
<xls_border location="BOTTOM" type="THIN"/>
<xls_border location="LEFT" type="THIN"/>
<xls_border location="TOP" type="THIN"/>
<xls_border location="RIGHT" type="THIN"/>
<!--MB 7.3.07 von allgemeinem Format 0 auf Format 3 geändert
http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HS
SFDataFormat.html --><xls_format format="3"/>
</xls_cellstyle>
<xls_cellstyle name="body_date">
<xls_font height="160" color="0"/>
<xls_align align="ALIGN_RIGHT" valign="VERTICAL_CENTER"/>
<xls_border location="BOTTOM" type="THIN"/>
<xls_border location="LEFT" type="THIN"/>
<xls_border location="TOP" type="THIN"/>
<xls_border location="RIGHT" type="THIN"/>
<xls_format format="0"/>
</xls_cellstyle>
<xls_cellstyle name="body_dec">
<xls_font height="160" color="0"/>
<xls_align align="ALIGN_RIGHT" valign="VERTICAL_CENTER"/>
<xls_border location="BOTTOM" type="THIN"/>
<xls_border location="LEFT" type="THIN"/>
<xls_border location="TOP" type="THIN"/>
<xls_border location="RIGHT" type="THIN"/>
<xls_format format="4"/><!--Seltsamerweise macht Excel in Deutschland daraus "#,##0.00"-->
</xls_cellstyle>
<xls_cellstyle name="body">
<xls_font height="160" color="0"/>
<xls_align align="ALIGN_LEFT" valign="VERTICAL_CENTER"/>
<xls_border location="BOTTOM" type="THIN"/>
<xls_border location="LEFT" type="THIN"/>
<xls_border location="TOP" type="THIN"/>
<xls_border location="RIGHT" type="THIN"/>
<xls_format format="0"/>
</xls_cellstyle>
<xls_cellstyle name="body_bold_left">
<xls_font height="160" bold="true" color="0"/>
<xls_align align="ALIGN_LEFT" valign="VERTICAL_CENTER"/>
<xls_border location="BOTTOM" type="THIN"/>
<xls_border location="LEFT" type="THIN"/>
<xls_border location="TOP" type="THIN"/>
<xls_border location="RIGHT" type="THIN"/>
<xls_format format="0"/>
</xls_cellstyle>
<xls_cellstyle name="body_bold_center">
<xls_font height="160" bold="true" color="0"/>
<xls_align align="ALIGN_CENTER" valign="VERTICAL_CENTER"/>
<xls_border location="BOTTOM" type="THIN"/>
<xls_border location="LEFT" type="THIN"/>
<xls_border location="TOP" type="THIN"/>
<xls_border location="RIGHT" type="THIN"/>
<xls_format format="0"/>
</xls_cellstyle>
</xls_styles>
<!--Moegliche Farben:
HSSFColor.AQUA, HSSFColor.BLACK, HSSFColor.BLUE, HSSFColor.BLUE_GREY, HSSFColor.BRIGHT_GREEN, HSSFColor.BROWN, HSSFColor.CORAL, HSSFColor.CORNFLOWER_BLUE, HSSFColor.DARK_BLUE, HSSFColor.DARK_GREEN, HSSFColor.DARK_RED, HSSFColor.DARK_TEAL, HSSFColor.DARK_YELLOW, HSSFColor.GOLD, HSSFColor.GREEN, HSSFColor.GREY_25_PERCENT, HSSFColor.GREY_40_PERCENT, HSSFColor.GREY_50_PERCENT, HSSFColor.GREY_80_PERCENT, HSSFColor.INDIGO, HSSFColor.LAVENDER, HSSFColor.LEMON_CHIFFON, HSSFColor.LIGHT_BLUE, HSSFColor.LIGHT_CORNFLOWER_BLUE, HSSFColor.LIGHT_GREEN, HSSFColor.LIGHT_ORANGE, HSSFColor.LIGHT_TURQUOISE, HSSFColor.LIGHT_YELLOW, HSSFColor.LIME, HSSFColor.MAROON, HSSFColor.OLIVE_GREEN, HSSFColor.ORANGE, HSSFColor.ORCHID, HSSFColor.PALE_BLUE, HSSFColor.PINK, HSSFColor.PLUM, HSSFColor.RED, HSSFColor.ROSE, HSSFColor.ROYAL_BLUE, HSSFColor.SEA_GREEN, HSSFColor.SKY_BLUE, HSSFColor.TAN, HSSFColor.TEAL, HSSFColor.TURQUOISE, HSSFColor.VIOLET, HSSFColor.WHITE, HSSFColor.YELLOW
Mögliche DataFormats:
0, "General", 4
1, "0"
2, "0.00"
3, "#,##0"
4, "#,##0.00"
5, "($#,##0_);($#,##0)"
6, "($#,##0_);[Red]($#,##0)"
7, "($#,##0.00);($#,##0.00)"
8, "($#,##0.00_);[Red]($#,##0.00)"
9, "0%"
0xa, "0.00%"
0xb, "0.00E+00"
0xc, "# ?/?"
0xd, "# ??/??"
0xe, "m/d/yy"
0xf, "d-mmm-yy"
0x10, "d-mmm"
0x11, "mmm-yy"
0x12, "h:mm AM/PM"
0x13, "h:mm:ss AM/PM"
0x14, "h:mm"
0x15, "h:mm:ss"
0x16, "m/d/yy h:mm"
-->
</xsl:template>
<xsl:template name="xls_PageFormat">
<xls_PageFormat>
<!-- fontSize="12" klappt leider noch nciht-->
<xls_header-left></xls_header-left>
<xls_header-center><xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:text>HISinOne-BI</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>SuperX</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xls_header-center>
<xls_header-right font="Times" fontStyle="normal"><xsl:call-template name="today" /></xls_header-right>
<xls_footer-left></xls_footer-left>
<xls_footer-center></xls_footer-center>
<xls_footer-right font="Times" fontStyle="Italic">Seite $PAGE von $NUMPAGES</xls_footer-right>
<xls_Autobreaks>true</xls_Autobreaks><!--wenn nicht gewünscht, dann bitte ganzen Tag entfernen-->
<xls_FitHeight>100</xls_FitHeight><!--soll Tabelle in Höhe auf X Seiten passen? Default ist 100, statt eingebaut 1 -->
<xls_FitWidth>1</xls_FitWidth><!--soll Tabelle in Breite auf eine Seite passen?-->
<xls_Landscape>true</xls_Landscape><!--wenn nicht gewünscht, dann bitte ganzen Tag entfernen-->
<xls_PaperSize>A4</xls_PaperSize><!--möglich ist auch "letter" -->
</xls_PageFormat>
</xsl:template>
<xsl:template name="showJavascriptMenue" >
<xsl:text>false</xsl:text>
</xsl:template>
<xsl:template name="showPasswordChangeLink" >
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:text>false</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>true</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="showAppletLink" >
<xsl:text>true</xsl:text>
</xsl:template>
<xsl:template name="showSaikuLink" >
<xsl:text>false</xsl:text>
</xsl:template>
<xsl:template name="showResetLink" >
<xsl:text>true</xsl:text>
</xsl:template>
<xsl:template name="showLogoutLink">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="showLogoutLink_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="showLogoutLink_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="showLogoutLink_hisinone">
<!-- in his1 ist Logout Button rechts oben -->
<xsl:text>false</xsl:text>
</xsl:template>
<xsl:template name="showLogoutLink_superx" >
<xsl:text>true</xsl:text>
</xsl:template>
<xsl:template name="showThemenbaumMask" >
<xsl:text>false</xsl:text>
</xsl:template>
<xsl:template name="showBreadcrumbsMask" >
<xsl:choose>
<xsl:when test="/*/@showNavigation='false'"><xsl:text>false</xsl:text></xsl:when>
<xsl:otherwise>
<xsl:text>true</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="showBreadcrumbsTable" >
<xsl:choose>
<xsl:when test="/*/@showNavigation='false'"><xsl:text>false</xsl:text></xsl:when>
<xsl:otherwise>
<xsl:text>true</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="menue_fuss" >
</xsl:template>
<xsl:template name="root_in_breadcrumb" >
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="root_in_breadcrumb_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="root_in_breadcrumb_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="root_in_breadcrumb_superx" >
<xsl:text>Abfragen</xsl:text>
</xsl:template>
<xsl:template name="root_in_breadcrumb_hisinone">
<xsl:text>Standardberichte</xsl:text>
</xsl:template>
<xsl:template name="pccustomize">
<xsl:param name="position" />
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="pccustomize_hisinone">
<xsl:with-param name="position" select="$position"></xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="pccustomize_superx" >
<xsl:with-param name="position" select="$position"></xsl:with-param>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="pccustomize_hisinone">
<xsl:param name="position" />
<xsl:if test="$position='mask_post_javascript'">
<script language="javascript">
<xsl:text>
function maskonload() {
parent.document.title="</xsl:text>
<xsl:value-of select="/maske/@name" />
<xsl:text> - HISinOne ist ein Produkt der HIS eG";
}</xsl:text>
</script>
</xsl:if>
<xsl:if test="$position='submenu_post_javascript'">
<script language="javascript">
<xsl:text>
function submenuonload() {
parent.document.title="</xsl:text>
<xsl:for-each select="/*/menupos/eintraege/eintrag">
<xsl:if test="position()=last()">
<xsl:value-of select="titel" />
</xsl:if>
</xsl:for-each>
<xsl:text> - HISinOne ist ein Produkt der HIS eG";
}</xsl:text>
</script>
</xsl:if>
<xsl:if test="$position='table_post_javascript'">
<xsl:text disable-output-escaping="yes"><![CDATA[
<script language="javascript">
function tableonload() {
]]></xsl:text>
<!-- #293635 -->
<xsl:if test="/ergebnisse/@fixed_columns_aktiv='true'">
tableRowHeaderSticky(<xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@fixed_column_count"/>);
</xsl:if>
<xsl:text disable-output-escaping="yes"><![CDATA[ }
</script>
]]></xsl:text>
</xsl:if>
<xsl:if test="$position='table_pre_title' and (/ergebnisse/@isMakro!='true' or @ordnr='0')">
<!--nun die Buttonleiste -->
<div class="iconsTopAbove">
<a onMouseOver="window.status='Export starten';return true"
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"
class="linkLookImage">
<xsl:attribute name="href"><xsl:text>javascript:prepareExport('druckversion')</xsl:text>
</xsl:attribute>
<img title="Ausgabe in HTML" alt="Ausgabe in HTML"
src="../xml/his1/images/icons/html.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<a onMouseOver="window.status='Export starten';return true"
onFocus="window.status='Download starten';return true" onMouseOut="window.status='DowcheckTrenload starten';return true"
class="linkLookImage">
<xsl:attribute name="href"><xsl:text>javascript:prepareExport('excel')</xsl:text>
</xsl:attribute>
<img title="Ausgabe in Excel" alt="Ausgabe in Excel"
src="../xml/his1/images/icons/page_white_excel.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<!-- <a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download
starten';return true" onMouseOut="window.status='Download starten';return
true" class="linkLookImage"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('xml');</xsl:text>
</xsl:attribute><img title="Ausgabe in XML" alt="Ausgabe in XML" src="../xml/his1/images/icons/page_white_code.gif"
border="0" /></a> <span class="separator">&#160;</span> -->
<a onMouseOver="window.status='Export starten';return true"
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"
class="linkLookImage">
<xsl:attribute name="href"><xsl:call-template
name="create_url"><xsl:with-param name="stylesheet">tabelle_xml.xsl</xsl:with-param></xsl:call-template><xsl:text>&amp;contenttype=text/xml&amp;reuseresult=true</xsl:text>
</xsl:attribute>
<img title="Ausgabe in XML" alt="Ausgabe in XML"
src="../xml/his1/images/icons/page_white_code.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl']) !=0
and /ergebnisse/user/@admin='true'">
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;"
class="linkLookImage"><xsl:attribute name="onclick"><xsl:text>setTemplatePropertiesAndSubmit('rpta_assistent.xsl|text/html');</xsl:text>
</xsl:attribute>
<img title="Berichtsassistent" alt="Berichtsassistent"
src="../images/icons/page_white_medal.svg" border="0" width="25px" height="25px" />
</a>
<span class="separator">&#160;</span>
</xsl:if>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='viz_html_chart.xsl']) !=0
and /ergebnisse/user/@admin='true'">
<script language="Javascript">
function prepareExportChart()
{
document.forms[0].stylesheet.value = 'viz_html_chart.xsl';
document.forms[0].contenttype.value = 'text/html';
document.forms[0].target = '_blank';
document.forms[0].offset.value='0';
document.forms[0].maxoffset.value = '1000000';
document.forms[0].reuseresult.value = 'true';
if (isTreeTable) {
dojo.widget.byId("ttexdlg").show(); //ruft function exportandhidedlg auf
} else {
startExport();
}
}
</script>
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;"
class="linkLookImage"><xsl:attribute name="onclick"><xsl:text>prepareExportChart();</xsl:text>
</xsl:attribute>
<img title="Ausgabe als Diagramm" alt="Ausgabe als Diagramm"
src="../images/icons/chart_pie.svg" border="0" width="25px" height="25px" />
</a>
<span class="separator">&#160;</span>
</xsl:if>
<a onMouseOver="window.status='Export starten';return true"
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"
class="linkLookImage">
<xsl:attribute name="href"><xsl:text>javascript: prepareExport('pdf')</xsl:text>
</xsl:attribute>
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat"
src="../xml/his1/images/icons/page_white_width_acrobat.svg" class="svg_icon"
border="0" />
</a>
<span class="separator">&#160;</span>
<!--MB neu CSV-export-->
<a onMouseOver="window.status='Export starten';return true"
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"
class="linkLookImage">
<xsl:attribute name="href"><xsl:text>javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
</xsl:attribute>
<img title="Ausgabe als CSV" alt="Ausgabe als CSV"
src="../xml/his1/images/icons/page_white_csv.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<!-- bis hier-->
<script language="JavaScript" type="text/javascript">
function copyText()
{
var ergtabelle=document.getElementById('table1');
const selection = window.getSelection();
const range = document.createRange();
range.selectNodeContents(ergtabelle);
selection.removeAllRanges();
selection.addRange(range);
try {
document.execCommand('copy');
selection.removeAllRanges();
} catch(e) {
const errorMsg = document.querySelector('.error-msg');
errorMsg.classList.add('show');
setTimeout(() => {
errorMsg.classList.remove('show');
}, 1200);
}
//alert("Angezeigte Tabelle wurde in die Zwischenablage kopiert.");
}
</script>
<a class="linkLookImage" href="" onClick="copyText();return false;" onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true">
<img title="Kopie in die Zwischenablage als CSV" alt="Kopie in die Zwischenablage als CSV" src="../images/copy.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<!-- <span dojoType="tooltip" connectId="btnKonfig" style="display:none">Spaltensortierung-
und Reihenfolge festlegen<br />, Spalten entfernen</span> -->
<a title="Erläuterung" class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of
select="concat('javascript:showErlaeuterung',../maskenname/@id,'()')" /></xsl:attribute>
<img title="Erläuterung" alt="Erläuterung"
src="../xml/his1/images/icons/information.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<a href="/{/ergebnisse/ergebnis/maskenname/@helpcontext}" title="Hilfe"
target="_blank" class="linkLookImage">
<img title="Handbuch" alt="Handbuch" src="../xml/his1/images/icons/book.svg" class="svg_icon"
border="0" />
</a>
<xsl:if test="/ergebnisse/@isMakro!='true'">
<xsl:call-template name="bookmark_deepLink" />
<span class="separator">&#160;</span>
<a href="javascript:showConfig();" id="btnKonfig" class="linkLookImage">
<img title="Tabelle editieren" alt="Tabelle editieren"
src="../xml/his1/images/icons/table_pencil.svg" class="svg_icon" border="0" />
</a>
</xsl:if>
<xsl:call-template name="AdminMenuBtn" />
<xsl:call-template name="JasperExportBtn" />
</div>
<!--klappt nicht wg. Umbruch bei p.maskentitel: <xsl:text disable-output-escaping="yes"><![CDATA[<h2
class="table_caption"><img src="../xml/his1/images/icons/bullet_star.gif"
alt=" " />]]></xsl:text> -->
</xsl:if>
</xsl:template>
<xsl:template name="pccustomize_superx">
<xsl:param name="position"/>
<xsl:if test="$position='submenu_post_javascript'">
<script language="javascript"><xsl:text>
function submenuonload() {
parent.document.title="SuperX - </xsl:text>
<xsl:for-each select="/*/menupos/eintraege/eintrag">
<xsl:if test="position()=last()">
<xsl:value-of select="titel"/>
</xsl:if>
</xsl:for-each>
<xsl:text>"; }</xsl:text>
<xsl:call-template name="jsHis1Pinger" />
</script>
</xsl:if>
<xsl:if test="$position='mask_post_javascript'">
<script language="javascript"><xsl:text>
function maskonload() {
parent.document.title="SuperX - Maske: </xsl:text><xsl:value-of select="/maske/@name"/><xsl:text>";
}</xsl:text>
</script>
</xsl:if>
<xsl:if test="$position='table_post_javascript'">
<xsl:text disable-output-escaping="yes"><![CDATA[
<script language="javascript">
function tableonload() {
]]></xsl:text>
<!-- #293635 -->
<xsl:if test="/ergebnisse/@fixed_columns_aktiv='true'">
tableRowHeaderSticky(<xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@fixed_column_count"/>);
</xsl:if>
<xsl:text disable-output-escaping="yes"><![CDATA[ }
</script>
]]></xsl:text>
</xsl:if>
<xsl:if test="$position='table_pre_title' and (/ergebnisse/@isMakro!='true' or @ordnr='0')">
<!--nun die Buttonleiste-->
<div class="iconsTopAbove">
<xsl:call-template name="JasperExportBtn" />
</div>
</xsl:if>
</xsl:template>
<!-- templates fürs Menü-->
<xsl:template name="menue_head">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="menue_head_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="menue_head_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="menue_head_superx">
<head>
<title>Anmeldung</title>
<link rel="stylesheet" type="text/css" href="../style/superx.css"/>
<link rel="stylesheet" type="text/css" href="../xml/menue_html.css"/>
<!-- <LINK REL="stylesheet" type="text/css" href="../xml/superxml_html.css" ></LINK> unschoene CSS Trick mit img size 16-->
<link rel="stylesheet" type="text/css" href="../xml/superx_standalone.css"/>
<base target="maske" />
</head>
</xsl:template>
<xsl:template name="menue_head_hisinone">
<head>
<title>Anmeldung</title>
<!--LINK REL="stylesheet" type="text/css" href="../xml/his1/css/HISinOne.css"/ -->
<link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/superx_menue_html.css" />
<base target="maske" />
</head>
</xsl:template>
<xsl:template name="submenue_head">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="submenue_head_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="submenue_head_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="submenue_head_superx">
<head>
<title>Anmeldung</title>
<link rel="stylesheet" type="text/css" href="../style/superx.css"/>
<link rel="stylesheet" type="text/css" href="../xml/menue_html.css"/>
<link rel="stylesheet" type="text/css" href="../xml/superx_standalone.css"/>
<link rel="stylesheet" type="text/css" href="../xml/css/fontello-codes.css" />
<link rel="stylesheet" type="text/css" href="../xml/css/start_portlet.css" />
<script src="../xml/js/jquery/jquery-1.12.4.min.js"></script>
<script type="text/javascript">
<xsl:call-template name="jqueryXssFilter" />
</script>
<base target="_self" />
</head>
</xsl:template>
<xsl:template name="submenue_head_hisinone">
<head>
<title>Anmeldung</title>
<link rel="stylesheet" type="text/css" href="../xml/his1/css/HISinOne.css" />
<link rel="stylesheet" type="text/css"
href="../xml/his1/css/superx_menue_html.css" />
<script src="../xml/js/jquery/jquery-1.12.4.min.js"></script>
<script type="text/javascript">
<xsl:call-template name="jqueryXssFilter" />
<xsl:call-template name="disableBackButton">
<xsl:with-param name="ajax" select="'true'" />
</xsl:call-template>
</script>
<base target="_self" />
</head>
</xsl:template>
<xsl:template name="topbar_menue">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="topbar_menue_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="topbar_menue_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="topbar_menue_superx">
<div class="header_hisinone">
<div class="logo">
<a href="http://www.superx-projekt.de" target="_parent" style="float:left;">
<img src="../images/superx_logo.svg" alt="SuperX" class="logoPortal" title="SuperX" border="0" />
</a>
<ul class="nav" style="float:left;">
<!-- <li class="topMenuList">
<a class="topMenuLink" href="/qisserver/pages/cs/sys/portal/hisinoneStartPage.faces" target="_parent">Startseite</a>
</li>-->
<li class="open-menu">
<a class="topMenuLink" href="#leftpanel3">Navigation ein/aus</a>
</li>
<li class="close-menu">
<a class="topMenuLink" href="#">Navigation ein/aus</a>
</li>
<!--
<li class="topMenuList">
<a class="topMenuLink" href="javascript:lesezeichen_erstellen();" id="btnBookmark" target="_parent">Lesezeichen</a>
</li>
-->
</ul>
</div>
<!-- <h1 style="padding-top:25px">Business Intelligence</h1> -->
<!-- <div id="headerwiki2" class="headerwiki2">
</div>
<script>
$( "#headerwiki2" ).load('/superx/xml/header_wiki.jsp');
</script> -->
<div style="float:right;">
<ul class="nav" style="float:left;">
<li>
<a class="topMenuLink icon icon-home" target="_parent">
<xsl:attribute name="href"><xsl:text>/superx/</xsl:text>
<xsl:if test="/ergebnisse/@MandantenID!='default'"><xsl:value-of select="/ergebnisse/@MandantenID"/><xsl:text>/</xsl:text></xsl:if>
<xsl:if test="/maske/@MandantenID!='default'"><xsl:value-of select="/maske/@MandantenID"/><xsl:text>/</xsl:text></xsl:if>
<xsl:if test="/menue/mandantenid!='default'"><xsl:value-of select="/menue/mandantenid"/><xsl:text>/</xsl:text></xsl:if>
<xsl:if test="/menue/menue/mandantenid!='default'"><xsl:value-of select="/menue/menue/mandantenid"/><xsl:text>/</xsl:text></xsl:if>
</xsl:attribute>
Startseite</a>
</li>
<xsl:if test="not(starts-with(/*/nachricht, 'gast')) and not(starts-with(/menue/user, 'gast')) ">
<li>
<a class="topMenuLink icon icon-logout" target="_parent" href="/superx/servlet/SuperXmlAbmeldung">Abmelden</a>
</li>
</xsl:if>
</ul>
</div>
<div class="services">
<ol>
<li>
</li>
</ol>
</div>
<!-- <div style="clear: both;"></div> -->
</div>
</xsl:template>
<xsl:template name="topbar_menue_hisinone">
<div class="header_hisinone">
<div class="logo">
<a href="/_HISINONE_/pages/cs/sys/portal/hisinoneStartPage.faces" target="_parent" style="float:left;">
<img src="../xml/his1/images/logos/hisinone_schriftzug_portal.svg" alt="Zur HISinOne Startseite" class="logoPortal" title="Zur HISinOne Startseite" border="0" />
</a>
<div class="browserback_tooltip">
<span class="browserback_tooltiptext">Browser Zurück ist deaktiviert. Bitte das Menü zur Navigation benutzen!</span>
</div>
<ul class="nav" style="float:left;">
<!-- <li class="topMenuList">
<a class="topMenuLink" href="/qisserver/pages/cs/sys/portal/hisinoneStartPage.faces" target="_parent">Startseite</a>
</li>-->
<li class="open-menu">
<a class="topMenuLink" href="#leftpanel3">Navigation ein/aus</a>
</li>
<li class="close-menu">
<a class="topMenuLink" href="#">Navigation ein/aus</a>
</li>
<!--
<li class="topMenuList">
<a class="topMenuLink" href="javascript:lesezeichen_erstellen();" id="btnBookmark" target="_parent">Lesezeichen</a>
</li>
-->
</ul>
</div><h1 style="padding-top:25px">Business Intelligence</h1>
<div style="float:right;">
<img src="../images/icons/arrow_left_fat.svg" class="svg_icon" alt=" " title=" " border="0" style="vertical-align:bottom;"/>
<a tabindex="30" href="/superx/servlet/SuperXmlAbmeldung" target="_parent" style="cursor:pointer; font-weight: bold;">Abmelden von Standardberichte</a>
</div>
<div class="services">
<ol>
<li>
<xsl:if test="/*/@can_write_user_kettle='false'">
<span style="color:red; font-weight: bold; ">
Achtung:
</span><br />
<span style="color: red;">
Tomcat-Nutzer hat keine Schreibrechte im Verzeichnis .kettle in seinem Heimatverzeichnis.<br />
Bitte dem Administrator melden, da sonst die Statistik nicht erstellt werden kann!
</span>
</xsl:if>
</li>
</ol>
</div>
<!-- <div style="clear: both;"></div> -->
</div>
</xsl:template>
<xsl:template name="bottombar_menue">
<a href="#menue" class="ui-btn ui-shadow ui-corner-all ui-btn-inline ui-btn-mini">Navigation anzeigen</a>
</xsl:template>
<xsl:template name="information_box">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="information_box_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="information_box_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="information_box_hisinone">
<div class="columnOneThirdRight_1024">
<div class="box_grey_bg_white">
<div class="box_container">
<div class="box_title">
<h2>Informationen</h2>
</div>
<div class="box_content">
<fieldset class="fieldsetNoBorder">
<legend>Informationen</legend>
<xsl:for-each select="/*/menupos/eintraege/eintrag">
<xsl:if test="position()=last()">
<xsl:value-of select="explanation" />
</xsl:if>
</xsl:for-each>
</fieldset>
</div>
<div class="box_bottom_left">
<div class="box_bottom_right">
</div>
</div>
</div>
</div>
</div>
</xsl:template>
<xsl:template name="information_box_superx" >
<div class="columnOneThirdRight_1024">
<div class="box_grey_bg_white">
<div class="box_container">
<div class="box_title">
<h2>Informationen</h2>
</div>
<div class="box_content">
<fieldset class="fieldsetNoBorder"><legend>Informationen</legend>
<xsl:for-each select="/*/menupos/eintraege/eintrag">
<xsl:if test="position()=last()">
<xsl:value-of select="explanation"/>
</xsl:if>
</xsl:for-each>
</fieldset>
</div>
<div class="box_bottom_left">
<div class="box_bottom_right">
</div>
</div>
</div>
</div>
</div>
</xsl:template>
<xsl:template name="AdminMenuBtn">
<xsl:if test="/ergebnisse/user [@admin='true']">
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_edit.jsp?tid=',../maskenname/@id)"/>
<span class="separator">&#160;</span>
<a class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of select="$url" />
</xsl:attribute>
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=750</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
<img title="Maskeninfo verwalten" alt="Maskeninfo verwalten"
src="../images/icons/book_open_edit.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<xsl:variable name="url" select="concat('../edit/kern/sachgeb_maske_bez_edit.jsp?maskeninfo_id=',../maskenname/@id)"/>
<a class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of select="$url" />
</xsl:attribute>
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
<img title="Sachgebiet zuordnen" alt="Sachgebiet zuordnen"
src="../images/icons/folder_edit.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_style.jsp?tid=',../maskenname/@id)"/>
<a class="linkLookImage">
<xsl:attribute name="href"><xsl:value-of select="$url" />
</xsl:attribute>
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
<img title="Stylesheets zuordnen" alt="Stylesheets zuordnen"
src="../images/icons/copy_edit.svg" class="svg_icon" border="0" />
</a>
<span class="separator">&#160;</span>
</xsl:if>
</xsl:template>
<xsl:template name="JasperExportBtn">
<!-- ################# -->
<!-- # Jasperreports # -->
<!-- ################# -->
<script language="javascript">
function setTemplatePropertiesAndSubmit(selectedValue)
{
var filename=selectedValue.substring(0,selectedValue.indexOf("|"));
var contenttype=selectedValue.substr(selectedValue.indexOf("|")+1);
document.forms[0].stylesheet.value=filename;
if(contenttype !="")
document.forms[0].contenttype.value=contenttype;
document.forms[0].target="_blank";
document.forms[0].offset.value='0';
document.forms[0].maxoffset.value = '1000000';
document.forms[0].reuseresult.value = 'true';
if (isTreeTable) {
dojo.widget.byId("ttexdlg").show(); //ruft function exportandhidedlg auf
}
else
{
startExport();
}
}
</script>
<!--
<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 !='tabelle2jasperreport_generic.xsl'
and not(ends-with(filename,'.jrxml'))">
<span class="separator">&#160;</span><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>
</xsl:if>
</xsl:for-each> -->
<xsl:if test="/ergebnisse/user [ @admin='true']">
<span class="separator">&#160;Weiterverarbeitung:&#160;</span>
<select name="xsl_template">
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[is_generic='1']">
<option value="{concat(filename,'|',contenttype)}"><xsl:value-of select="caption" /></option>
</xsl:for-each>
</select>
<xsl:variable name="newTemplateImage">
<xsl:choose>
<xsl:when test="/ergebnisse/@hisinone_active='true'">
<xsl:text>../xml/his1/images/icons/context_add.svg</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>../images/icons/context_add.svg</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<a class="linkLookImage" style="margin-left:5px;"><xsl:attribute name="href">
<xsl:text>javascript:setTemplatePropertiesAndSubmit(document.forms[0].xsl_template.value);</xsl:text>
</xsl:attribute>
<img title="Weiterverarbeitung" alt="Weiterverarbeitung" src="{$newTemplateImage}" border="0" /></a>
<span class="separator">&#160;</span>
</xsl:if>
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[ends-with(filename,'.jrxml')])">
<br />
&#160;Bericht ausgeben:&#160;
<select name="jr_stylesheet" onchange="jsDisableInput(this.value);">
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet">
<xsl:if test="ends-with(filename,'.jrxml')">
<option><xsl:attribute name="value"><xsl:value-of select="filename" /></xsl:attribute><xsl:value-of select="caption" /></option>
<!-- <span class="separator">&#160;</span><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>
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:if>
</xsl:for-each>
</select>
<select name="jr_contenttype" onchange="">
<option value="application/pdf">PDF</option>
<option value="application/vnd.ms-excel">XLS</option>
<option value="application/rtf">RTF</option>
<option value="application/vnd.oasis.opendocument.text">ODT</option>
<option value="application/vnd.oasis.opendocument.spreadsheet">ODS</option>
<option value="text/html">HTML</option>
<option value="text/xhtml">XHTML</option>
<option value="text/csv">CSV</option>
<option value="text/xml">XML</option>
<!-- klappt noch nicht: <option value="text/plain">TXT</option>-->
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLSX</option>
<option value="application/vnd.openxmlformats-officedocument.wordprocessingml.document">DOCX</option>
</select>
<input tabindex="10" type="button" value="GO">
<xsl:attribute name="onclick">
<xsl:text>
<![CDATA[document.forms[0].stylesheet.value=this.form.jr_stylesheet.options[this.form.jr_stylesheet.selectedIndex].value;document.forms[0].contenttype.value=this.form.jr_contenttype.options[this.form.jr_contenttype.selectedIndex].value; document.forms[0].submit();]]>
</xsl:text>
</xsl:attribute>
</input>
</xsl:if>
<!-- Jasperreports ende -->
</xsl:template>
<xsl:template name="bookmark_deepLink">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="bookmark_deepLink_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="bookmark_deepLink_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="bookmark_deepLink_hisinone">
<span class="separator">&#160;</span>
<a href="javascript:lesezeichen_erstellen();" id="btnBookmark"
class="linkLookImage">
<img title="Aktuelle Maske als Lesezeichen im Browser speichern"
alt="Aktuelle Maske als Lesezeichen im Browser speichern" src="../xml/his1/images/icons/attach.svg" class="svg_icon"
border="0" />
</a>
<span class="separator">&#160;</span>
<a href="javascript:deeplink_dialog();" id="btnDeepLink" class="linkLookImage">
<img title="Deeplink für aktuelle Maske anzeigen" alt="Deeplink für aktuelle Maske anzeigen"
src="../xml/his1/images/icons/link.svg" class="svg_icon" border="0" />
</a>
</xsl:template>
<xsl:template name="bookmark_deepLink_superx">
<td>
<span dojoType="tooltip" connectId="btnBookmark" style="display:none">Die aktuelle SuperX-Maske als Lesezeichen im Browser speichern.</span>
<a href="javascript:lesezeichen_erstellen();" id="btnBookmark"><img src="../images/attach.svg" class="svg_icon" alt="Lesezeichen erstellen" border="0" /></a>
</td>
<td>
<a href="javascript:deeplink_dialog();" id="btnDeepLink" class="linkLookImage"><img title="Deeplink für aktuelle Maske anzeigen" alt="Deeplink für aktuelle Maske anzeigen" src="../images/link.svg" class="svg_icon" border="0" /></a>
</td>
</xsl:template>
<xsl:template name="head">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="head_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="head_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="head_superx">
<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="/superx/xml/his1/css/superx_menue_html.css" /> -->
<link rel="stylesheet" type="text/css" href="../style/superx.css"/>
<link rel="stylesheet" type="text/css" href="../xml/menue_html.css"/>
<!-- <LINK REL="stylesheet" type="text/css" href="../xml/superxml_html.css" ></LINK> unschoene CSS Trick mit img size 16-->
<link rel="stylesheet" type="text/css" href="../xml/superx_standalone.css"/>
<link rel="stylesheet" type="text/css" href="../xml/maske_html.css" />
<link rel="stylesheet" type="text/css" href="../xml/tabelle_html.css" />
<link rel="stylesheet" type="text/css" href="../xml/css/fontello-codes.css" />
<link rel="stylesheet" type="text/css" href="../xml/css/start_portlet.css" />
<!--<LINK REL="stylesheet" type="text/css" href="../style/superx.css"
></LINK> <LINK REL="stylesheet" type="text/css" href="../xml/superxml_html.css"
></LINK> -->
<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" />
</xsl:when>
<xsl:otherwise>
<!-- Styles für HIS1 sind in xml/his1/css/superx_menue_html.css definiert
<LINK REL="stylesheet" type="text/css" href="../xml/tabelle_html.css" ></LINK> -->
</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>
<script src="../xml/js/jquery/jquery.mobile-1.4.2.min.js"></script>
<link rel="stylesheet" href="../xml/js/jquery/jquery.mobile.structure-1.4.2.dw.css" />
<link rel="stylesheet" href="../xml/js/jquery/jqm-demos.dw.css" />
<xsl:if test="$css != ''">
<link rel="stylesheet" type="text/css" href="$css" />
</xsl:if>
</head>
</xsl:template>
<xsl:template name="head_hisinone">
<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="../xml/his1/css/superx_menue_html.css" />
<link rel="stylesheet" type="text/css" href="../xml/maske_html.css" />
<!--<LINK REL="stylesheet" type="text/css" href="../style/superx.css"
></LINK> <LINK REL="stylesheet" type="text/css" href="../xml/superxml_html.css"
></LINK> -->
<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" />
</xsl:when>
<xsl:otherwise>
<!-- Styles für HIS1 sind in xml/his1/css/superx_menue_html.css definiert
<LINK REL="stylesheet" type="text/css" href="../xml/tabelle_html.css" ></LINK> -->
</xsl:otherwise>
</xsl:choose>
<title>
<xsl:value-of select="$title" />
</title>
</xsl:when>
<xsl:otherwise>
<title>
<xsl:text>HISinOne-BI</xsl:text>
</title>
</xsl:otherwise>
</xsl:choose>
<link rel="stylesheet" type="text/css" href="../xml/his1/css/HISinOne.css" />
<script src="../xml/js/jquery/jquery.mobile-1.4.2.min.js"></script>
<link rel="stylesheet" href="../xml/js/jquery/jquery.mobile.structure-1.4.2.dw.css" />
<link rel="stylesheet" href="../xml/js/jquery/jqm-demos.dw.css" /> -->
<xsl:if test="$css != ''">
<link rel="stylesheet" type="text/css" href="$css" />
</xsl:if>
</head>
</xsl:template>
<xsl:template name="head_jquery">
<xsl:param name="title" />
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="head_jquery_hisinone" >
<xsl:with-param name="title" select="$title" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="head_jquery_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="head_jquery_hisinone">
<xsl:param name="title" />
<head>
<title><xsl:value-of select="$title"/></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="../xml/js/jquery/jquery-1.12.4.min.js"></script>
<script src="../xml/js/jquery/jquery.mobile-1.4.2.min.js"></script>
<link rel="stylesheet" href="../xml/js/jquery/jquery.mobile.structure-1.4.2.dw.css" />
<link rel="stylesheet" href="../xml/js/jquery/jqm-demos.dw.css" />
<link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/superx_menue_html.css" />
<link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/HISinOne.css" />
<script type="text/javascript">
<![CDATA[
/* Hier wird geregelt, dass das Menue Panel bei dem Laden der Seite offen ist. */
$(document).on('pageinit', function () {
$('#leftpanel3').panel('open');
});
/* Das Menue Panel soll unter dem Header sein. */
//var header = $('[data-role=header]').outerHeight();
//var panel = $('[data-role=panel]').outerHeight();
//var panel = $('.ui-panel').height();
//var panelheight = panel - header;
//$('[data-role=panel]').css({
// 'top': header,
// 'min-height': panelheight
//});
//alert('top: ' + header + '\npanel: ' + panel + '\nmin-height: ' + panelheight);
]]>
<xsl:call-template name="disableBackButton">
<xsl:with-param name="ajax" select="'false'" />
</xsl:call-template>
<xsl:call-template name="jqueryXssFilter" />
</script>
</head>
</xsl:template>
<xsl:template name="superx_standalone_css" >
<LINK REL="stylesheet" type="text/css" href="../xml/superx_standalone.css" ></LINK>
</xsl:template>
<xsl:template name="head_jquery_superx">
<xsl:param name="title" />
<head>
<title><xsl:value-of select="$title"/></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="../xml/js/jquery/jquery-1.12.4.min.js"></script>
<script src="../xml/js/jquery/jquery.mobile-1.4.2.min.js"></script>
<link rel="stylesheet" href="../xml/js/jquery/jquery.mobile.structure-1.4.2.dw.css" />
<link rel="stylesheet" href="../xml/js/jquery/jqm-demos.dw.css" />
<link rel="stylesheet" type="text/css" href="../style/superx.css"/>
<link rel="stylesheet" type="text/css" href="../xml/menue_html.css"/>
<xsl:call-template name="superx_standalone_css" />
<link rel="stylesheet" type="text/css" href="../xml/css/fontello-codes.css" />
<link rel="stylesheet" type="text/css" href="../xml/css/start_portlet.css" />
<!-- <link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/HISinOne.css" /> -->
<script type="text/javascript">
<![CDATA[
/* Hier wird geregelt, dass das Menue Panel bei dem Laden der Seite offen ist. */
$(document).on('pageinit', function () {
$('#leftpanel3').panel('open');
});
/* Das Menue Panel soll unter dem Header sein. */
//var header = $('[data-role=header]').outerHeight();
//var panel = $('[data-role=panel]').outerHeight();
//var panel = $('.ui-panel').height();
//var panelheight = panel - header;
//$('[data-role=panel]').css({
// 'top': header,
// 'min-height': panelheight
//});
//alert('top: ' + header + '\npanel: ' + panel + '\nmin-height: ' + panelheight);
]]>
<xsl:call-template name="jqueryXssFilter" />
</script>
</head>
</xsl:template>
<xsl:template name="initialContent">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="initialContent_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="initialContent_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="initialContent_hisinone">
<xsl:comment>Template initialContent_hisinone in file pageComponents_html.xsl</xsl:comment>
<div class="divBreadcrumb">
<ul style="list-style:none;margin:0;padding:0">
<li style="list-style:none;display:inline;margin:0;padding:0">Sie sind hier:</li>
<!-- Menü: HISinOne Startseite -->
<li style="list-style:none;display:inline;margin:0;padding:0">
<a href="/_HISINONE_/pages/cs/sys/portal/hisinoneStartPage.faces" target="_parent">Startseite</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
</li>
<!-- Menü: HISinOne BI -->
<li style="list-style:none;display:inline;margin:0;padding:0">
<a class="xdummy" href="/_HISINONE_/pages/cs/sys/portal/subMenu.faces?navigationPosition=hisinonebi" target="_parent">Business Intelligence</a>
<img src="../images/icons/resultset_next.svg" class="svg_icon" alt="" style="margin-left: 2px; top: 5px; position:relative;" />
</li>
<!-- Menü: Standardberichte -->
<li style="list-style:none;display:inline;margin:0;padding:0">
<a class="xdummy" href="../../../superx/servlet/SuperXmlAnmeldung" target="_parent">Standardberichte</a>
</li>
</ul></div>
<br />
<div class="submenu">
<div class="welcome_text">
<div class="headline">
<div class="squareBox">
<div class="square square1"></div>
<div class="square square2"></div>
<div class="square square3"></div>
</div>
<div class="headlineText">
<h1>Vorgefertigte Berichte und
Statistiken zu ausgewählten Themen im Hochschul-Berichtswesen.</h1>
</div>
</div>
</div>
</div>
</xsl:template>
<xsl:template name="initialContent_superx">
<div id="submenu" class="submenu">
</div>
<script>
$( "#submenu" ).load('/superx/xml/welcome_wiki.jsp');
</script>
</xsl:template>
<xsl:template name="jsHis1Pinger">
/*
// commented out, see HISzilla #147395
var hisInOneWebapp = '_HISINONE_';
if ((typeof his1PingerRunning == 'undefined' || !his1PingerRunning) &amp;&amp; hisInOneWebapp) {
// ping HIS1 every 2 minutes to keep session alive
// give current timestamp as param to prevent loading from browser cache
setInterval(function(){
jQuery.ajax({type: 'GET', url: '/' + hisInOneWebapp + '/pages/cs/sys/portal/hisinoneStartPage.faces', cache: false, dataType: 'html', accepts: 'text/html'});
}, 5000);
his1PingerRunning = true;
}
*/
</xsl:template>
<xsl:template name="jqueryXssFilter">
jQuery.ajaxPrefilter( function( s ) {
if ( s.crossDomain ) {
s.contents.script = false;
}
} );
</xsl:template>
<xsl:template name="disableBackButton">
<xsl:param name="ajax" />
// disable browser back button
var referrer = document.referrer;
// only disable back button if not coming from his1 sso - if ajax always!
if (referrer.indexOf('utarget=') == -1 || '<xsl:value-of select="$ajax" />' == 'true') {
history.pushState(null, null, document.URL);
window.addEventListener('popstate', function () {
history.pushState(null, null, document.URL);
$(".browserback_tooltiptext").show("fast",function() {
setTimeout(function() {
$(".browserback_tooltiptext").hide("fast");
}, 3000);
});
});
} else {
}
function ajaxErrorHandler(response, status, xhr) {
if ( status == "error" ) {
var msg = "Fehler beim Aufruf der Seite. Bitte wenden Sie sich an den Administrator.";
if (xhr.status == '403') {
msg = "Sie sind nicht mehr angemeldet. Bitte melden Sie sich neu an."
}
alert(msg);
}
}
</xsl:template>
<xsl:template name="create_url">
<xsl:param name="stylesheet" />
<xsl:text>/superx/servlet/SuperXmlTabelle?</xsl:text>
<xsl:text>tid=</xsl:text>
<xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" />
<xsl:if test="$stylesheet!=''">
<xsl:text>&amp;stylesheet=</xsl:text>
<xsl:value-of select="$stylesheet" />
</xsl:if>
<xsl:for-each select="/ergebnisse/ergebnis/felder/feld[value!='']">
<xsl:if test="@varname!='##line##'">
<xsl:text>&amp;</xsl:text>
<xsl:value-of select="@varname" />
<xsl:text>=</xsl:text>
<xsl:value-of select="encode-for-uri(value)" />
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template name="header_p">
<table border="0" width="100%"><tr><td align="left">
<div class="dontprint">
<a href="javascript:window.print();"><img class="svg_icon" src="../images/printer.svg" border="0" /></a>
</div>
</td>
<td align="right"><!--Logo wird schon in customheader gemacht-->
</td></tr></table>
</xsl:template>
<xsl:template name="footer">
<xsl:choose>
<xsl:when test="/*/@hisinone_active='true'">
<xsl:call-template name="footer_hisinone" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="footer_superx" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="footer_hisinone">
<div id="footer_his" style="background-color: #f4f4ef;z-index: 1000;left: 0px;height: 30px;width: 100%;position: fixed; bottom:0px;border-top: 1px solid #cccccc;">
<div style="text-align: center;left:1em;">
<ul id="top-navi">
<li><a target="_blank" href="{concat('/',/*/@hisinone_refapp,'/pages/cs/sys/portal/imprint/imprint.faces')}">Impressum</a></li>
<li><a target="_blank" href="{concat('/',/*/@hisinone_refapp,'/pages/cs/sys/portal/imprint/privacy.faces')}">Datenschutz</a></li>
<li><p>© HISinOne ist ein Produkt der HIS eG</p></li>
</ul>
</div>
</div>
</xsl:template>
<xsl:template name="footer_superx">
<div id="footer_sx" style="background-color: #f4f4ef;z-index: 1000;left: 0px;height: 30px;width: 100%;position: fixed;border-top: 1px solid #cccccc;bottom: 0px;">
<div style="text-align: center;left:1em;">
<ul id="top-navi">
<li><a target="_blank" href="/superx/edit/kern/show_html_content.jsp?output=IMPRINT">Impressum</a></li>
<li><a target="_blank" href="/superx/edit/kern/show_html_content.jsp?output=PRIVACY">Datenschutz</a></li>
</ul>
</div>
</div>
</xsl:template>
<!--graphtools-Layout Templates, können in pageComponents_html_final.xsl überlagert werden-->
<xsl:template name="myBarColorFg" >
<xsl:text>steelblue</xsl:text>
</xsl:template>
<xsl:template name="myBarColorBg" >
<xsl:text>#cccccc</xsl:text>
</xsl:template>
<xsl:template name="customValidationCode" >
<!-- zum Überlagern durch pageComponents_html_final.xsl -->
</xsl:template>
</xsl:stylesheet>