<?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:import href="interLinks_html.xsl" /> <xsl:import href="pageComponents_html.xsl" /> <xsl:import href="tabelle_html.xsl" /> <xsl:import href="man_patch.xsl" /> <xsl:import href="pageComponents_html_final.xsl" /> <xsl:decimal-format name="German" grouping-separator="." NaN="" zero-digit="0" decimal-separator="," /> <!-- wichtig fuer DOJO! --> <xsl:output method="xml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="DTD/xhtml1-strict.dtd" cdata-section-elements="script style" indent="yes" encoding="ISO-8859" /> <xsl:variable name="Bericht"> <xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Bericht']/value" /> </xsl:variable> <xsl:template name="explanation"> </xsl:template> <xsl:template name="head"> <xsl:param name="css" /> <xsl:param name="title" /> <head> <meta http-equiv="Content-Type" content="text/html"> </meta> <link rel="stylesheet" type="text/css" href="/superx/xml/man.css" /> <link rel="stylesheet" type="text/css" href="/superx/xml/man_html.css" /> <link rel="stylesheet" type="text/css" href="/superx/xml/man_tabelle_html.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/HISinOneFrame.css" /> <link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/HISinOneMikroNavigation.css" /> <title>Managementbericht</title> </head> </xsl:template> <xsl:template name="infobox_man"> <xsl:if test="../col [f_name='hiddendescription' and wert !=''] and f_name='shortname'"> <xsl:text> </xsl:text> <!-- <div id="infobox"> --> <img src="/superx/xml/info_zahl_kl.png" alt="info"> <xsl:attribute name="onclick"> <xsl:text>alert("</xsl:text> <xsl:for-each select="../col [f_name='shortname' and wert !='']"><xsl:value-of select="wert" /></xsl:for-each> <xsl:text>\n</xsl:text> <xsl:for-each select="../col [f_name='hiddendescription' and wert !='']"><xsl:value-of select="wert" /></xsl:for-each> <xsl:text>")</xsl:text> </xsl:attribute> </img> <!--</div> --> <!--<div> <p><strong><xsl:for-each select="../col [f_name='shortname' and wert !='']"><xsl:value-of select="wert" /></xsl:for-each></strong></p> <xsl:for-each select="../col [f_name='hiddendescription' and wert !='']"> <p><xsl:value-of select="wert" /></p> </xsl:for-each> </div> --> </xsl:if> </xsl:template> <!-- Besonderheit ist InfoButton ganz unten --> <xsl:template name="resultrow"> <xsl:param name="erglevelmax" /> <xsl:param name="row" /> <xsl:param name="excludecols" /> <tr> <xsl:choose> <xsl:when test="col/f_name = 'ebene'"> <!-- DQ 9.12.07 --> <xsl:choose> <xsl:when test="$erglevelmax != 5"> <xsl:attribute name="class"><xsl:value-of select="concat('erglevel',$erglevelmax,'_',col[ f_name = 'ebene' ] /wert)" /></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"><xsl:text>erglevel_</xsl:text><xsl:value-of select="col[ f_name = 'ebene' ] /wert" /></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="@issumme='true'"> <xsl:attribute name="class"><xsl:text>issumme</xsl:text></xsl:attribute> </xsl:when> <xsl:otherwise> <!-- odd und even --> <xsl:choose> <xsl:when test="position() mod 2 = 1"> <xsl:attribute name="class"><xsl:text>listRowOdd</xsl:text></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="class"><xsl:text>listRowEven</xsl:text></xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> <xsl:attribute name="id"><xsl:value-of select="@treetableid" /></xsl:attribute> <xsl:for-each select="col[not (starts-with(f_name,'hidden')) and not (contains($excludecols,f_name))]"> <xsl:choose> <xsl:when test="starts-with(f_name,'nextwindowtable') and wert !=''"> <td class="ergfeld"> <xsl:call-template name="resultsetLink"> <xsl:with-param name="zs2" select="concat(wert,'&Bericht=',/ergebnisse/ergebnis/felder/feld[@varname='Bericht']/value)" /> </xsl:call-template> </td> </xsl:when> <xsl:otherwise> <td class="ergfeld"> <xsl:choose> <xsl:when test="@typ='3' or @typ='2' or @typ='8'"> <xsl:attribute name="class">decimal</xsl:attribute> <xsl:call-template name="displaydecimal"> <xsl:with-param name="checkname"> <xsl:value-of select="concat('hidden',f_name,'dp')" /> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:when test="@typ='4'"> <xsl:attribute name="class">integer</xsl:attribute> <xsl:choose> <xsl:when test="wert != ''"> <xsl:value-of select="format-number(wert,'###.###.###.###.###','German')" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="' '" /> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <!--Typ=1 ist string und wird defaultmaeig behandelt --> <xsl:call-template name="field_type" /> <xsl:variable name="zs"> <xsl:call-template name="field_value" /> </xsl:variable> <xsl:variable name="zs3"> <xsl:call-template name="resultsetLink"> <xsl:with-param name="zs2" select="$zs" /> </xsl:call-template> </xsl:variable> <xsl:if test="/ergebnisse/@isMakro!='true' and position()=2 and ../@treeindent >=0"> <xsl:call-template name="indent"> <xsl:with-param name="i"> 1 </xsl:with-param> <xsl:with-param name="count"> <xsl:value-of select="../@treeindent" /> </xsl:with-param> </xsl:call-template> <xsl:choose> <xsl:when test="/ergebnisse/@isMakro!='true' and ../@isfolder='true'"> <a> <xsl:attribute name="href"><xsl:text>#</xsl:text><xsl:value-of select="../@treetableid" /></xsl:attribute> <xsl:attribute name="onclick"> <xsl:text>ajaxNodeToggle('</xsl:text><xsl:value-of select="../@treetableid" /><xsl:text>','</xsl:text> <xsl:value-of select="../@internalrowno" /><xsl:text>')</xsl:text> </xsl:attribute> <img src="/superx/xml/plus_circ.svg" class="treebutton" alt="" width="16" height="16" /> </a> </xsl:when> <xsl:otherwise>   </xsl:otherwise> </xsl:choose> </xsl:if> <!-- pruefen ob spezieller Link darzustellen bei linktimeline --> <xsl:choose> <xsl:when test="../col[f_name='hiddenattrib1']/wert='1' and f_name='nextwindowtable1'"> <a target="_blank"> <xsl:attribute name="href"><xsl:value-of select="concat('test',wert)" /></xsl:attribute> <xsl:value-of select="../col[f_name='shortname']/wert" /> </a> </xsl:when> <xsl:otherwise> <xsl:call-template name="get_val_or_nbsp"> <xsl:with-param name="zs4"> <xsl:copy-of select="$zs3" /> </xsl:with-param> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> <xsl:if test="f_name = 'ebene' and ../@isfolder='true'"> </xsl:if> <xsl:call-template name="infobox_man" /> </td> </xsl:otherwise> </xsl:choose> </xsl:for-each> </tr> </xsl:template> <xsl:template name="tablecustomize"> <xsl:param name="position" /> <xsl:if test="$position='table_pre_javascript'"> </xsl:if> </xsl:template> <xsl:template name="breadcrumbs" /> <xsl:template name="tablePrintsaveexport" /> <xsl:template name="tablepretitle" /><!--defined in pageComponents --> <xsl:template name="bottombar"> </xsl:template> <xsl:template name="exportButtons"> <!-- <br/> <table> <tr> <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_html_p.xsl';document.forms[0].maxoffset.value='1000000';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 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_pdf_man.xsl';document.forms[0].contenttype.value='application/pdf'; document.forms[0].target='_blank';document.forms[0].maxoffset.value='1000000'; 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 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_xls_man.xsl';document.forms[0].contenttype.value='application/vnd.ms-excel';document.forms[0].maxoffset.value='1000000';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text> </xsl:attribute> <xsl:attribute name="title"><xsl:text></xsl:text></xsl:attribute> <xsl:text>Excel</xsl:text></a> </td> </tr> </table> --> </xsl:template> <xsl:template name="customheader" /> <xsl:template name="topbar_table"> <!--% String startPageLink = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/" + System.getProperty("QIS_CONTEXT") + "/pages/cs/sys/portal/hisinoneStartPage.faces"; % --> <xsl:choose> <xsl:when test="/ergebnisse/generalinfo/REPORT_LOGO_FILE!='' and /ergebnisse/generalinfo/REPORT_LOGO_FILE!='@@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: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:choose> </xsl:template> <!-- start singleTable --> <xsl:template name="tableSingletable"> <!-- <p align="center"> <xsl:choose> <xsl:when test="/ergebnisse/generalinfo/REPORT_LOGO_FILE!='' and /ergebnisse/generalinfo/REPORT_LOGO_FILE!='@@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> <img border="0" alt="Logo"> <xsl:attribute name="src"><xsl:call-template name="logo_path"></xsl:call-template></xsl:attribute> </img> </xsl:otherwise> </xsl:choose> </p> --> <!--MB navi --> <div id="Navigation"> <p>Navigation</p> <!-- hier Auswahlmoeglichkeit Zeitraum --> <xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/row/col[f_name='hiddenlinkmenusub' and wert!='']"> <xsl:variable name="caption" select="substring-before(wert,'|') " /> <xsl:variable name="href" select="substring-after(wert,'|') " /> <p class="navi"> <a target="_self"> <xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=',$href,'&Bericht=',$Bericht)" /></xsl:attribute> <![CDATA[]]> <xsl:value-of select="$caption" /><![CDATA[]]> </a> </p> </xsl:for-each> </div> <!--MB navi --> <div id="Inhalt"> <p class="mantitel"> <xsl:value-of select="../maskenname" /> </p> <!-- hier optional ausgewaehlte Kostenstelle --> <xsl:if test="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Kostenstelle']/value!=''"> <h2 class="Kostenstelle"> <xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Kostenstelle']/value_caption" /> </h2> </xsl:if> <table id="table1" rules="rows"> <!-- <thead> <xsl:call-template name="tableheader"/> </thead> --> <tbody> <xsl:call-template name="tablebody" /> </tbody> </table> <xsl:call-template name="exportButtons" /> <xsl:call-template name="legende"> <xsl:with-param name="withbr"> true </xsl:with-param> </xsl:call-template> <br /> <table border="0"><tr> <xsl:call-template name="bookmark_deepLink_man" /> </tr></table> </div> </xsl:template> <!-- end singleTable --> <xsl:template name="tablebody"> <xsl:variable name="erglevelmax"> <xsl:text>5</xsl:text> </xsl:variable> <xsl:for-each-group select="sqlerg/row" group-by="col[f_name='hiddengrouping']/wert"> <xsl:if test="current-grouping-key()!=''"> <!-- Ausser beim ersten Groupingnamen eine Leerzeile einfuegen <xsl:variable name="pos"><xsl:number/></xsl:variable> <xsl:if test="$pos!=1"> <tr class="listRowOdd"><td> </td><td> </td><td> </td><td> </td></tr> </xsl:if> --> <!-- bei ausgewaehlter Kostenstelle kommt keine Spalte fuer linksub Fakultaeten --> <tr class="groupheader"> <td class="groupheader" colspan="4"> <b> <xsl:value-of select="current-grouping-key()" /> </b> </td> </tr> <xsl:for-each select="../row[col[f_name='hiddengrouping']/wert=current-grouping-key() and col[f_name='hiddenlinkmenusub']/wert='']"> <xsl:call-template name="resultrow"> <xsl:with-param name="row" select="." /> <xsl:with-param name="erglevelmax" select="$erglevelmax" /> </xsl:call-template> </xsl:for-each> </xsl:if> </xsl:for-each-group> </xsl:template> <!-- start daten --> <xsl:template name="navigationsfuss" /> <!-- end --> <xsl:template match="/"> <xsl:call-template name="table" /> </xsl:template> <xsl:template name="bookmark_deepLink_man"> <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/bookmark.png" 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.png" border="0" /></a> </td> </xsl:template> </xsl:stylesheet>