<?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"> <!--In diesem Stylesheet können Sie individuelle templates unterbringen, die in ihrer Präzedenz das normale Stylesheet pageComponents_html.xsl überragt. --> <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'"> <script language="javascript"> function tableonload() {} </script> </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"> </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"> </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"> </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>&contenttype=text/xml&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"> </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('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"> </span> <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('viz_rpt_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" class="svg_icon" /> </a><span class="separator"> </span> <span class="separator"> </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"> </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"> </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"> </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"> </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="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" border="0" /> </a> <span class="separator"> </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> <!-- <xsl:attribute name="title"><xsl:text>XML</xsl:text></xsl:attribute> <xsl:text>XML</xsl:text> --> <img title="Ausgabe in XML" alt="Ausgabe in XML" src="../images/icons/page_white_code.svg" border="0" /> </a> <span class="separator"> </span> </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 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" border="0" /> </a> <span class="separator"> </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" style="cursor: pointer;"><xsl:attribute name="onclick"><xsl:text>setTemplatePropertiesAndSubmit('viz_rpt_assistent.xsl|text/html');</xsl:text> </xsl:attribute> <img title="Berichtsassistent" alt="Berichtsassistent" src="../images/icons/magic.svg" border="0" width="25px" height="25px" /><!--chart-bar.svg--> </a><span class="separator"> </span> <span class="separator"> </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('excel')</xsl:text> </xsl:attribute> <img title="Ausgabe in Excel" alt="Ausgabe in Excel" src="../images/icons/page_white_excel.svg" border="0" /> </a> <span class="separator"> </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].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text> </xsl:attribute> <!-- <xsl:attribute name="title"><xsl:text>Comma Separated Values</xsl:text></xsl:attribute> <xsl:text>CSV</xsl:text> --> <img title="Ausgabe als CSV" alt="Ausgabe als CSV" src="../images/icons/page_white_csv.svg" border="0" /> </a> <span class="separator"> </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> --> <td> <a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" onClick="copyText('table1');return false;" > <xsl:attribute name="href"><xsl:text></xsl:text></xsl:attribute> <!-- <xsl:attribute name="title"><xsl:text>Comma Separated Values</xsl:text></xsl:attribute> <xsl:text>CSV</xsl:text> --> <img title="Kopie in die Zwischenablage als CSV" alt="Kopie in die Zwischenablage als CSV" src="../images/copy.svg" border="0" /> </a> <span class="separator"> </span> </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"> </span> <span class="separator"> </span> <a class="linkLookImage"> <xsl:attribute name="href"><xsl:value-of select="string($url)" /> </xsl:attribute> <xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="string($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" border="0" /> </a> <span class="separator"> </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="string($url)" /> </xsl:attribute> <xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="string($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" border="0" /> </a> <span class="separator"> </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="string($url)" /> </xsl:attribute> <xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="string($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" border="0" /> </a> <span class="separator"> </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"> </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"> Bericht entwerfen: </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"> </span> </td> </xsl:if> <xsl:if test="count(/ergebnisse/stylesheets/stylesheet[ends-with(filename,'.jrxml')])"> <td>  Bericht ausgeben1:  <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="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="../style/bulma.css" /> <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_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/bulma.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 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> <!-- <link rel="stylesheet" type="text/css" href="../xml/his1/css/HISinOne.css" /> --> <!-- <link rel="stylesheet" type="text/css" href="../xml/his1/css/HISinOneFrame.css" /> --> <!-- <script src="../xml/js/jquery/jquery-1.11.1.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" /> --> <xsl:if test="$css != ''"> <link rel="stylesheet" type="text/css" href="{$css}" /> </xsl:if> </head> </xsl:template> </xsl:stylesheet>