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.
982 lines
43 KiB
982 lines
43 KiB
2 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<xsl:stylesheet version="1.0" xmlns:sx="http://memtext.de"
|
||
|
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="ISO88591"/>
|
||
|
<xsl:variable name="Bericht" select="concat('',/ergebnisse/ergebnis/felder/feld[@varname='Bericht']/value)" />
|
||
|
<xsl:variable name="Kennzahl" select="concat('',/ergebnisse/ergebnis/felder/feld[@varname='Kennzahl']/value)" />
|
||
|
|
||
|
<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-Details</title>
|
||
|
</head>
|
||
|
<xsl:variable name="excelContenttype">
|
||
|
<!-- wenn es Attribut showNavigation gibt, dann handelt es sich um Kernmodul 4.7 oder höher.
|
||
|
Wenn nicht, ist es Kernmodul 4.5, da war der Excel Export anders definiert.
|
||
|
-->
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse[@showNavigation='true'] or /ergebnisse[@showNavigation='false']">
|
||
|
<xsl:text>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>application/vnd.ms-excel</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
<script language="javascript"><xsl:text>
|
||
|
<![CDATA[
|
||
|
function prepareExportMan(which)
|
||
|
{
|
||
|
if (which=='excel')
|
||
|
{
|
||
|
document.forms[0].stylesheet.value='tabelle_xls.xsl';document.forms[0].contenttype.value=']]></xsl:text><xsl:value-of select="$excelContenttype"/><xsl:text><![CDATA[';
|
||
|
}
|
||
|
if (which=='pdf')
|
||
|
{
|
||
|
document.forms[0].stylesheet.value='tabelle_fo_pdf.xsl';document.forms[0].contenttype.value='application/pdf';document.forms[0].target='_blank';
|
||
|
}
|
||
|
if (which=='pdf_man')
|
||
|
{
|
||
|
document.forms[0].stylesheet.value='tabelle_fo_pdf_man_allg.xsl';document.forms[0].contenttype.value='application/pdf';document.forms[0].target='_blank';
|
||
|
}
|
||
|
if (which=='druckversion')
|
||
|
{
|
||
|
document.forms[0].stylesheet.value='tabelle_html_p.xsl';document.forms[0].contenttype.value='text/html';document.forms[0].target='_blank';
|
||
|
}
|
||
|
//AK 1.2.2021: auskommentiert, da nicht mehr verwendet
|
||
|
//if (which=='druckversion_man')
|
||
|
//{
|
||
|
// document.forms[0].stylesheet.value='tabelle_man_html_p.xsl';document.forms[0].contenttype.value='text/html';document.forms[0].target='_blank';
|
||
|
//}
|
||
|
if (which=='xml')
|
||
|
{
|
||
|
document.forms[0].stylesheet.value='tabelle_xml.xsl';document.forms[0].contenttype.value='text/xml'; document.forms[0].target='_blank';
|
||
|
}
|
||
|
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();}
|
||
|
|
||
|
|
||
|
}
|
||
|
]]></xsl:text>
|
||
|
</script>
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
<xsl:template name="tableheader">
|
||
|
<!-- nur unten normale Header angepasst WS/SS-->
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@hasAggregationHeaders='true'">
|
||
|
<xsl:for-each select="sqlerg/aggregationHeaders/tr">
|
||
|
<tr>
|
||
|
<xsl:for-each select="th [@isHidden!='true']">
|
||
|
<th class="header">
|
||
|
<xsl:if test="@colspan!=''"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
|
||
|
<xsl:if test="@rowspan!=''"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
|
||
|
<xsl:attribute name="scope">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="@colspan!='' and @colspan!='1'"><xsl:text>colgroup</xsl:text></xsl:when>
|
||
|
<xsl:otherwise></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:choose>
|
||
|
<!-- kann der Block raus? Wegen 'Ich idiot' -->
|
||
|
<xsl:when test="@isopen='true'">
|
||
|
<a class='bildnavi' >
|
||
|
<xsl:attribute name="href"><xsl:text>javascript:setHeaderExpanded('</xsl:text>
|
||
|
<xsl:value-of select="/ergebnisse/@jsessionid"/><xsl:text>',</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" />
|
||
|
<xsl:text>,</xsl:text><xsl:value-of select="@id"/><xsl:text>,false);</xsl:text></xsl:attribute>
|
||
|
<img border='0' src='/superx/xml/minus_circ.svg'/> 
|
||
|
<xsl:call-template name="removeBackslashN" >
|
||
|
<xsl:with-param name="derwert"><xsl:text>Ich idiot</xsl:text></xsl:with-param>
|
||
|
<xsl:with-param name="format"><xsl:value-of select="'html'" /></xsl:with-param>
|
||
|
</xsl:call-template>
|
||
|
</a>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="@isopen='false'"><xsl:text>Ich idiot</xsl:text>
|
||
|
<a class='bildnavi'>
|
||
|
<xsl:attribute name="href"><xsl:text>javascript:setHeaderExpanded('</xsl:text>
|
||
|
<xsl:value-of select="/ergebnisse/@jsessionid"/><xsl:text>',</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" />
|
||
|
<xsl:text>,</xsl:text><xsl:value-of select="@id"/><xsl:text>,true);</xsl:text></xsl:attribute>
|
||
|
<img border='0' src='/superx/xml/plus_circ.svg'/> 
|
||
|
<xsl:call-template name="removeBackslashN" >
|
||
|
<xsl:with-param name="derwert"><xsl:text>Ich idiot</xsl:text></xsl:with-param>
|
||
|
<xsl:with-param name="format"><xsl:value-of select="'html'" /></xsl:with-param>
|
||
|
</xsl:call-template>
|
||
|
</a>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:call-template name="removeBackslashN" >
|
||
|
<xsl:with-param name="derwert"><xsl:text>Ich idiot</xsl:text></xsl:with-param>
|
||
|
<xsl:with-param name="format"><xsl:value-of select="'html'" /></xsl:with-param>
|
||
|
</xsl:call-template>
|
||
|
</xsl:otherwise>
|
||
|
<!-- Block raus ende -->
|
||
|
</xsl:choose>
|
||
|
</th>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</tr>
|
||
|
</xsl:for-each>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<!-- alt Normale headers -->
|
||
|
<xsl:variable name="headers_str">
|
||
|
<xsl:for-each select="sqlerg/headers/header[not (starts-with(f_name,'hidden'))]">
|
||
|
<xsl:value-of select="concat('^',replace(replace(replace(wert,'WS 20','WS '),'SS 20','SS '),'/20','/'))" />
|
||
|
</xsl:for-each>
|
||
|
</xsl:variable>
|
||
|
<xsl:value-of select="sx:headers2html($headers_str)" disable-output-escaping="yes"/>
|
||
|
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--leere Templates für HISinOne-->
|
||
|
<xsl:template name="pccustomize" />
|
||
|
<xsl:template name="topbar_table" />
|
||
|
|
||
|
<xsl:template name="breadcrumbs"/>
|
||
|
<xsl:template name="tablePrintsaveexport"/>
|
||
|
|
||
|
<xsl:template name="tablepretitle"/>
|
||
|
<xsl:template name="bottombar">
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="exportButtons">
|
||
|
<br/>
|
||
|
<table border="0"><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>-->
|
||
|
<!-- Hier jasper Report Berichte einhängen -->
|
||
|
|
||
|
<xsl:variable name="zeitraumtyp">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Semester']/value!=''">
|
||
|
<!-- Semester: -->
|
||
|
<xsl:text>S</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>J</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="zeitreihe">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Semester']/value='1' or /ergebnisse/ergebnis/felder/feld[@varname='Anzahl Jahre']/value='1'">
|
||
|
<!-- keine Zeitreihe: -->
|
||
|
<xsl:text>false</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>true</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="jrfile">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$zeitreihe='false'">
|
||
|
<!-- keine Zeitreihe: -->
|
||
|
<xsl:text>tabelle_888880290_diagramm.jrxml</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>tabelle_888880290_diagramm_zeitreihe.jrxml</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
<!-- Diagramme für Zeitreihen und Fakultäten -->
|
||
|
<xsl:variable name="studiengang_sichtmerker">
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Studiengang-Sichtmerker']/value !=''">
|
||
|
<xsl:text>&Studiengang-Sicht=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Studiengang-Sichtmerker']/value"/>
|
||
|
</xsl:if>
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="institution_sichtmerker">
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Institution-Sichtmerker']/value !=''">
|
||
|
<xsl:text>&Institution-Sicht=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Institution-Sichtmerker']/value"/>
|
||
|
</xsl:if>
|
||
|
</xsl:variable>
|
||
|
|
||
|
<!-- zuerst in PDF-->
|
||
|
<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].action='../servlet/SuperXmlTabelle?1=1</xsl:text><xsl:value-of select="$studiengang_sichtmerker" /><xsl:value-of select="$institution_sichtmerker" /><xsl:text>';document.forms[0].tid.value='888880290';document.forms[0].reuseresult.value='false';document.forms[0].stylesheet.value='</xsl:text><xsl:value-of select="$jrfile" /><xsl:text>';document.forms[0].contenttype.value='application/pdf';document.forms[0].maxoffset.value='1000000';document.forms[0].submit();</xsl:text></xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:text>Diagramm (PDF)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>Diagramm (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].action='../servlet/SuperXmlTabelle?1=1</xsl:text><xsl:value-of select="$studiengang_sichtmerker" /><xsl:value-of select="$institution_sichtmerker" /><xsl:text>';document.forms[0].tid.value='888880290';document.forms[0].reuseresult.value='false';document.forms[0].stylesheet.value='</xsl:text><xsl:value-of select="$jrfile" /><xsl:text>';document.forms[0].contenttype.value='application/vnd.ms-excel';document.forms[0].maxoffset.value='1000000';document.forms[0].submit();</xsl:text></xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:text>Diagramm (Excel)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>Diagramm (Excel)</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].tid.value='</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" /><xsl:text>';prepareExportMan('pdf_man')</xsl:text></xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:text>Tabelle (PDF)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>Tabelle (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].tid.value='</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" /><xsl:text>';prepareExportMan('excel')</xsl:text></xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:text>Tabelle (Excel)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>Tabelle (Excel)</xsl:text></a>
|
||
|
</td>
|
||
|
|
||
|
<!-- Tabellenüberschrift stimmt noch nicht
|
||
|
<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].tid.value='888880290';javascript:prepareExportMan('druckversion')</xsl:text></xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:text>Tabelle (HTML)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>Tabelle (HTML)</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('druckversion')</xsl:text></xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:text>HTML Ausgabe (test)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>HTML Ausgabe (test)</xsl:text></a>
|
||
|
</td>-->
|
||
|
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
|
||
|
<!-- start singleTable-->
|
||
|
<xsl:template name="tableSingletable">
|
||
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'table_pre_title'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tablecustomize"><xsl:with-param name="position" select="'table_pre_title'"></xsl:with-param></xsl:call-template>
|
||
|
<p align="center">
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/generalinfo/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>
|
||
|
<p align="center" class="maskentitel"><xsl:value-of select="../felder/feld [@varname = 'Kennzahl'] /value_caption" /></p>
|
||
|
|
||
|
<!-- hier optional ausgewaehlte Kostenstelle - reicht nicht in SOS-Detailberichten ist kein Feld Kostenstelle
|
||
|
vorhanden, wird daher nicht angezeigt
|
||
|
<xsl:if test="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Kostenstelle']/value!=''">
|
||
|
<h2 align="center" class="Kostenstelle"><xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Kostenstelle']/value_caption"/></h2>
|
||
|
</xsl:if>
|
||
|
-->
|
||
|
<xsl:variable name="id"><xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Kennzahl']/value"/></xsl:variable>
|
||
|
<!-- <xsl:value-of select="/ergebnisse/ergebnis[position()=1]/maskenname"/> <xsl:value-of select="index-of(/ergebnisse/ergebnis[position()=1]/maskenname,'eitreihe')"/>-->
|
||
|
<!--nur bei MAN-Masken ohne eitreihe im Nahmen -->
|
||
|
<xsl:if test="starts-with(/ergebnisse/ergebnis[position()=1]/maskenname/@id,'88888') and not (contains(/ergebnisse/ergebnis[position()=1]/maskenname,'eitreihe')) and /ergebnisse/ergebnis[position()=1]/ergebniselement[position()=1]/navigation/doubleitem[@id=$id]/zeitreihe!=''">
|
||
|
<p align="center">
|
||
|
<a class="ebene1">
|
||
|
<xsl:attribute name="href">/superx/servlet/SuperXmlTabelle?tid=<xsl:value-of select="concat(/ergebnisse/ergebnis[position()=1]/ergebniselement[position()=1]/navigation/doubleitem[@id=$id]/zeitreihe,'&Bericht=',$Bericht)"/></xsl:attribute>
|
||
|
--> Zeitreihe
|
||
|
</a>
|
||
|
</p>
|
||
|
</xsl:if>
|
||
|
<a target="_self"></a>
|
||
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'table_post_title'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tablecustomize"><xsl:with-param name="position" select="'table_post_title'"></xsl:with-param></xsl:call-template>
|
||
|
|
||
|
|
||
|
|
||
|
<!--MB navi-->
|
||
|
<div id="Navigation">
|
||
|
<p class="ebene0">
|
||
|
<a class="ebene1" href="javascript:window.close()">Ansicht schließen</a>
|
||
|
</p>
|
||
|
<!-- enthält nur Verweis auf Start = zurück zur startseite
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/navigation/item">
|
||
|
<p class="ebene0">
|
||
|
<a class="ebene1" target="_self">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat(HtmlUtils:encodeURL('SuperXmlTabelle',/ergebnisse/@jsessionid ),'?tid=',href,'&Bericht=',$Bericht)" /></xsl:attribute>
|
||
|
<![CDATA[]]><xsl:value-of select="caption" /><![CDATA[]]>
|
||
|
</a>
|
||
|
</p>
|
||
|
</xsl:for-each>
|
||
|
-->
|
||
|
<!-- hier Links zu anderen Kennzahlen -->
|
||
|
<xsl:variable name="linkparams">
|
||
|
<xsl:text>&Bericht=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Bericht']/value" />
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Jahr']/value != ''">
|
||
|
<xsl:text>&Jahr=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Jahr']/value" />
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Semester']/value != ''">
|
||
|
<xsl:text>&Semester=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Semester']/value" />
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Jahre']/value != ''">
|
||
|
<xsl:text>&Anzahl%20Jahre=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Jahre']/value" />
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Semester']/value != ''">
|
||
|
<xsl:text>&Anzahl%20Semester=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Semester']/value" />
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Institution']/value != ''">
|
||
|
<xsl:text>&Institution=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Institution']/value" />
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/felder/feld[@varname='Studiengang']/value != ''">
|
||
|
<xsl:text>&Studiengang=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Studiengang']/value" />
|
||
|
</xsl:if>
|
||
|
</xsl:variable>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/maskenname[@id='888881450']">
|
||
|
<!--neue Variante MAN 1.2:-->
|
||
|
<xsl:for-each-group select="/ergebnisse/ergebnis/ergebniselement/navigation/doubleitem[(aktuell!='' or zeitreihe!='') and ($Bericht='' or @report_id=$Bericht)]" group-by="@group_id">
|
||
|
<p class="ebene0"><xsl:value-of select="@group_caption" /></p>
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/navigation/doubleitem[(aktuell!='' or zeitreihe!='') and ($Bericht='' or @report_id=$Bericht) and @group_id=current-grouping-key()]">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/felder/feld[@varname='Anzahl Semester']/value = '1' or /ergebnisse/ergebnis/felder/feld[@varname='Anzahl Jahre']/value = '1'">
|
||
|
<!-- aktuell: -->
|
||
|
<p class="ebene1"><a target="_self" class="ebene1">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=888881450&Ausgabe=',aktuell,$linkparams,'&Kennzahl=',@id)" /></xsl:attribute>
|
||
|
<xsl:value-of select="caption" /></a></p>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<!--zeitreihe -->
|
||
|
<p class="ebene1"><a target="_self" class="ebene1">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=888881450&Ausgabe=',zeitreihe,$linkparams,'&Kennzahl=',@id)" /></xsl:attribute>
|
||
|
<xsl:value-of select="caption" /></a></p>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:for-each-group>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<!-- alte Variante:-->
|
||
|
<xsl:for-each-group select="/ergebnisse/ergebnis/ergebniselement/navigation/doubleitem[(aktuell!='' or zeitreihe!='') and ($Bericht='' or @report_id=$Bericht)]" group-by="@group_id">
|
||
|
<p class="ebene0"><xsl:value-of select="@group_caption" /></p>
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/navigation/doubleitem[(aktuell!='' or zeitreihe!='') and ($Bericht='' or @report_id=$Bericht) and @group_id=current-grouping-key()]">
|
||
|
<xsl:if test="aktuell!=''">
|
||
|
<p class="ebene1"><a target="_self" class="ebene1">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=',aktuell,'&Bericht=',$Bericht)" /></xsl:attribute>
|
||
|
<xsl:value-of select="caption" /></a></p>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="(aktuell='' or not(aktuell) ) and zeitreihe!=''">
|
||
|
<p class="ebene1"><a target="_self" class="ebene1">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=',zeitreihe,'&Bericht=',$Bericht)" /></xsl:attribute>
|
||
|
<xsl:value-of select="caption" /></a></p>
|
||
|
</xsl:if>
|
||
|
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:for-each-group>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</div>
|
||
|
<!--MB navi-->
|
||
|
|
||
|
|
||
|
<div id="Inhalt">
|
||
|
|
||
|
<!-- <xsl:if test="/ergebnisse/ergebnis/ergebniselement/navigation/doubleitem [aktuell!='' and zeitreihe!='' and caption=/ergebnisse/ergebnis/felder/feld/value_caption]"> -->
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/navigation/doubleitem[aktuell!='' and zeitreihe!='' and @kennzahl=/ergebnisse/ergebnis/felder/feld/value]">
|
||
|
<p>
|
||
|
|
||
|
<xsl:text> </xsl:text>
|
||
|
<a target="_self" class="ebene1">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=',aktuell,'&Bericht=',$Bericht)" /></xsl:attribute>
|
||
|
<![CDATA[]]>Aktuelle Zahlen<![CDATA[]]>
|
||
|
</a>
|
||
|
<xsl:text> | </xsl:text>
|
||
|
<a target="_self" class="ebene1">
|
||
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=',zeitreihe,'&Bericht=',$Bericht)" /></xsl:attribute>
|
||
|
<![CDATA[]]>Zeitreihe<![CDATA[]]>
|
||
|
</a>
|
||
|
|
||
|
</p>
|
||
|
<!-- </xsl:if> -->
|
||
|
</xsl:for-each>
|
||
|
<table id="table1" class="ergtabelle" 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>
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="tablebody">
|
||
|
<xsl:variable name="erglevelmax"><xsl:text>5</xsl:text> </xsl:variable>
|
||
|
<xsl:for-each select="sqlerg/row">
|
||
|
<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:template>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!-- start daten-->
|
||
|
<xsl:template name="navigationsfuss">
|
||
|
<xsl:call-template name="bookmark_deepLink" />
|
||
|
</xsl:template>
|
||
|
<!-- end -->
|
||
|
<xsl:template match="/">
|
||
|
<xsl:call-template name="table"/>
|
||
|
<xsl:call-template name="navigationsfuss" />
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
<!--//MB einzige Aenderung , letzte Spalte weglassen mit hiddendp geht nicht wegen zeitreihe
|
||
|
<xsl:template name="tablecustomize"><xsl:param name="position"/>
|
||
|
<xsl:if test="$position='table_post_javascript'">
|
||
|
<script type="text/javascript">
|
||
|
function ajaxNodeToggle(nodeid,internalrowno)
|
||
|
{
|
||
|
|
||
|
if (!document.getElementById(nodeid+"_0"))
|
||
|
{
|
||
|
document.getElementById('progressbar').style.display="";
|
||
|
<xsl:text>var callurl="/superx/servlet/SuperXmlTabelle</xsl:text>
|
||
|
<xsl:if test="/ergebnisse/@jsessionid!=''">;jsessionid=<xsl:value-of select="/ergebnisse/@jsessionid"/></xsl:if>
|
||
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/@id"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
<![CDATA[
|
||
|
callurl+="&treetableid="+nodeid+"&getKidRows="+internalrowno;
|
||
|
]]>
|
||
|
dojo.io.bind({url:callurl,encoding: "ISO-8859-1",method: "post",
|
||
|
handler: function(type,data,evt)
|
||
|
{
|
||
|
|
||
|
document.getElementById('progressbar').style.display="none";
|
||
|
if (type=='error') {
|
||
|
msg='Fehler beim Lesen der Daten!\n';
|
||
|
if (data.message) msg+=data.message;
|
||
|
else msg+=data.error;
|
||
|
alert(msg);
|
||
|
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
|
||
|
var help=document.createElement("div");
|
||
|
help.innerHTML=data;
|
||
|
var pos=document.getElementById(nodeid).sectionRowIndex;
|
||
|
|
||
|
var newrows=help.getElementsByTagName("tr");
|
||
|
<![CDATA[
|
||
|
for (i=0;i<newrows.length;i++)
|
||
|
{
|
||
|
|
||
|
var newrow=document.getElementById("table1").tBodies[0].insertRow(pos+i+1);
|
||
|
newrow.id=nodeid+"_"+i;
|
||
|
for (i2=0;i2<newrows[i].attributes.length;i2++)
|
||
|
{
|
||
|
newrow.setAttribute(newrows[i].attributes[i2].name,newrows[i].getAttribute(newrows[i].attributes[i2].name));
|
||
|
}
|
||
|
|
||
|
newrow.setAttribute("className", newrows[i].getAttribute("className"));
|
||
|
//MB einzige Aenderung , letzte Spalte weglassen mit hiddendp
|
||
|
for (i2=0;i2<newrows[i].cells.length-1;i2++)
|
||
|
{
|
||
|
newcell=newrow.insertCell(i2);
|
||
|
newcell.innerHTML=newrows[i].cells[i2].innerHTML;
|
||
|
|
||
|
for (i3=0;i3<newrows[i].cells[i2].attributes.length;i3++)
|
||
|
{
|
||
|
newcell.setAttribute(newrows[i].cells[i2].attributes[i3].name,newrows[i].cells[i2].getAttribute(newrows[i].cells[i2].attributes[i3].name));
|
||
|
}
|
||
|
//fuck IE
|
||
|
newcell.setAttribute("className", newrows[i].cells[i2].getAttribute("className"));
|
||
|
}
|
||
|
}
|
||
|
treetable_toggleRow(nodeid,1,1);
|
||
|
treetable_eventRowChanged(nodeid, 1);
|
||
|
if (window.xthf) window.xthf.init();
|
||
|
document.getElementById('progressbar').style.display="none";
|
||
|
]]>
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
);
|
||
|
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
treetable_toggleRow(nodeid);
|
||
|
|
||
|
}
|
||
|
|
||
|
if (window.xthf) window.xthf.init();
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
</script>
|
||
|
</xsl:if>
|
||
|
</xsl:template>
|
||
|
-->
|
||
|
|
||
|
<xsl:template name="legende_man">
|
||
|
<p class="legende">
|
||
|
<xsl:for-each select="../felder/feld">
|
||
|
<xsl:variable name="id"><xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Kennzahl']/value"/></xsl:variable>
|
||
|
<xsl:variable name="timeunit"><xsl:value-of select="/ergebnisse/ergebnis[position()=1]/ergebniselement[position()=1]/navigation/doubleitem[@id=$id]/@timeunit"/></xsl:variable>
|
||
|
<!-- hier Abfrage dass bei Timeunit J Jahr ausgegeben wird und bei timeunit VJ das KLR-Jahr-->
|
||
|
<xsl:if test="@varname!='Kennzahl' and (@varname!='Jahr' or ($timeunit='J' and not (contains(/ergebnisse/ergebnis[position()=1]/maskenname,'eitreihe')))) and (@varname!='KLR-Jahr' or ($timeunit='VJ' and not (contains(/ergebnisse/ergebnis[position()=1]/maskenname,'eitreihe')))) and (value !='' or sicht/@isFirstInGroup='false' or @isstandtoday='false') and @varname != 'sort' and @varname != 'maxoffset'">
|
||
|
|
||
|
<span class="feldname">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="string-length(caption_short) > 0 and caption_short != 'null'" >
|
||
|
<![CDATA[]]><xsl:value-of select="caption_short" /><![CDATA[]]>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="@varname" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose></span>: 
|
||
|
<xsl:if test="string-length(wert/value_caption) < 50">
|
||
|
<span class="feldwert"><xsl:value-of select="value_caption" /><![CDATA[]]></span>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="string-length(wert/value_caption) > 49">
|
||
|
<span class="feldwert"><![CDATA[]]><xsl:value-of select="substring(value_caption,0,50)" /><![CDATA[]]>...</span>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="sicht!=''">
|
||
|
<span><![CDATA[ (]]><xsl:value-of select="sicht" />
|
||
|
<xsl:if test="@stand!=''"><xsl:text> - Stand:</xsl:text><xsl:value-of select="@stand"/></xsl:if>
|
||
|
<xsl:text><![CDATA[)]]> </xsl:text></span>
|
||
|
|
||
|
</xsl:if>
|
||
|
;
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
User: <xsl:value-of select="/ergebnisse/user"/> 
|
||
|
Stand: <xsl:value-of select="../stand" /></p>
|
||
|
<xsl:if test="../hinweis != ''">
|
||
|
<!-- 11.3.09 MB -->
|
||
|
<xsl:call-template name="newline_to_br">
|
||
|
<xsl:with-param name="string" select="../hinweis" />
|
||
|
</xsl:call-template>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:template>
|
||
|
<xsl:template name="getDatenblattLink">
|
||
|
<xsl:param name="jrfile" />
|
||
|
<xsl:param name="contenttype" />
|
||
|
<xsl:param name="zeitraumtyp" />
|
||
|
<xsl:param name="zeitreihe" />
|
||
|
<xsl:text>javascript:document.forms[0].action='/superx/servlet/SuperXmlTabelle?tablestylesheet=</xsl:text><xsl:value-of select="$jrfile" />
|
||
|
<xsl:text>&Management-Bericht=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Bericht']/value"/>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$zeitraumtyp='S'">
|
||
|
<xsl:text>&Endsemester=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Semester']/value"/>
|
||
|
<xsl:if test="zeitreihe='false'">
|
||
|
<xsl:text>&Startsemester=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Semester']/value"/>
|
||
|
</xsl:if>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>&End-Jahr=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Jahr']/value"/>
|
||
|
<xsl:if test="zeitreihe='false'">
|
||
|
<xsl:text>&Start-Jahr=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/felder/feld[@varname='Jahr']/value"/>
|
||
|
</xsl:if>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:text>';document.forms[0].Kennzahl.value='</xsl:text><xsl:value-of select="$Kennzahl" /><xsl:text>';document.forms[0].tid.value='888881430';document.forms[0].contenttype.value='</xsl:text><xsl:value-of select="$contenttype"/><xsl:text>';document.forms[0].reuseresult.value='false'; document.forms[0].target='_blank'; document.forms[0].maxoffset.value='1000000';document.forms[0].submit();</xsl:text>
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="table">
|
||
|
<html>
|
||
|
|
||
|
<xsl:call-template name="head" ><xsl:with-param name="title" select="concat('Ergebnis ',/ergebnisse/ergebnis[ position()=1]/maskenname)" /></xsl:call-template>
|
||
|
|
||
|
<xsl:call-template name="tableCSS"></xsl:call-template>
|
||
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'table_pre_javascript'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tablecustomize"><xsl:with-param name="position" select="'table_pre_javascript'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tableJavascript"></xsl:call-template>
|
||
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'table_post_javascript'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tablecustomize"><xsl:with-param name="position" select="'table_post_javascript'"></xsl:with-param></xsl:call-template>
|
||
|
|
||
|
<!-- start Body-->
|
||
|
<body onload="document.getElementById('progressbar').style.display='none';tableonload();"> <!-- tableonload definiert in pageComponents.pccustomize position table_post_javascript -->
|
||
|
<div id="progressbar" style="position:absolute; width:150px; height:150px; left:200px; top:200px; background:#AAAAAA">
|
||
|
<p> <b>Laden...</b><br/><img src="/superx/images/progress_bar.gif"></img><br/></p></div>
|
||
|
|
||
|
<xsl:if test="/ergebnisse/@showNavigation='true'">
|
||
|
<xsl:for-each select="/ergebnisse/menue">
|
||
|
<xsl:call-template name="menuFrame" />
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
<div>
|
||
|
<xsl:if test="/ergebnisse/@showNavigation='true'">
|
||
|
<xsl:attribute name="class"><xsl:text>page-wrap</xsl:text></xsl:attribute>
|
||
|
<xsl:for-each select="/ergebnisse/menue">
|
||
|
<xsl:call-template name="topbar_menue" />
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
|
||
|
<div>
|
||
|
<xsl:if test="/ergebnisse/@showNavigation='true'">
|
||
|
<xsl:attribute name="id"><xsl:text>wrapper</xsl:text></xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:call-template name="customheader"/> <!--Standard in pageCompnents.xsl wird ggfs. direkt vom Servlet ersetzt!!-->
|
||
|
<xsl:call-template name="topbar_table" /> <!-- momentan nur in pageCompnents_final fuer h1 gefullet -->
|
||
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'table_pre_center'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tablecustomize"><xsl:with-param name="position" select="'table_pre_center'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tableCenter"/>
|
||
|
<xsl:call-template name="pccustomize"><xsl:with-param name="position" select="'table_post_center'"></xsl:with-param></xsl:call-template>
|
||
|
<xsl:call-template name="tablecustomize"><xsl:with-param name="position" select="'table_post_center'"></xsl:with-param></xsl:call-template>
|
||
|
|
||
|
<xsl:call-template name="tableDialogs"></xsl:call-template>
|
||
|
<!--<div class="dontprint" id="dojoDebug"></div>-->
|
||
|
<xsl:call-template name="bottombar" />
|
||
|
<xsl:comment>customfooter</xsl:comment>
|
||
|
</div>
|
||
|
</div>
|
||
|
<xsl:call-template name="footer" />
|
||
|
</body>
|
||
|
<!-- end body -->
|
||
|
</html>
|
||
|
</xsl:template>
|
||
|
<!-- aus menue_html_dojo.xsl kopiert:-->
|
||
|
<xsl:template name="menuFrame">
|
||
|
<xsl:variable name="user" select = "menue/user"/>
|
||
|
<xsl:variable name="useragent" select="'mozilla'" />
|
||
|
<xsl:variable name="mandantenid">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="string-length(/menue/mandantenid) > 0 and /menue/mandantenid !='default'">
|
||
|
<xsl:value-of select="concat(/menue/mandantenid,'/')" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="''" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable><xsl:variable name="showPasswordChangeLink">
|
||
|
<xsl:call-template name="showPasswordChangeLink" />
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="showLogoutLink">
|
||
|
<xsl:call-template name="showLogoutLink" />
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="showAppletLink">
|
||
|
<xsl:call-template name="showAppletLink" />
|
||
|
</xsl:variable>
|
||
|
|
||
|
<div class="menue menuFrame" id="leftpanel3">
|
||
|
<!-- <div id="navigation_on_off" style="visibility:hidden; position:absolute;top:0px; left:8px;min-width:95%;min-height:100%;background-color:white">
|
||
|
<a class="navigation_on_off_link" onclick="top.document.getElementById('superxframes').cols='255,*'; top.document.getElementById('menue').scrolling='auto'; document.getElementById('navigation_on_off').style.visibility='hidden';" style="cursor:pointer;"></a>
|
||
|
</div> -->
|
||
|
<xsl:variable name="showJavascriptMenue"><xsl:call-template name="showJavascriptMenue" /></xsl:variable>
|
||
|
<xsl:variable name="showThemenbaumMask"><xsl:call-template name="showThemenbaumMask" /></xsl:variable>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$showJavascriptMenue='true'">
|
||
|
<xsl:call-template name="eintraege_js">
|
||
|
<xsl:with-param name="showLogoutLink" select="$showLogoutLink"/>
|
||
|
</xsl:call-template>
|
||
|
<noscript>
|
||
|
<xsl:call-template name="eintraege">
|
||
|
<xsl:with-param name="showLogoutLink" />
|
||
|
</xsl:call-template>
|
||
|
</noscript>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:call-template name="eintraege">
|
||
|
<xsl:with-param name="showLogoutLink" select="$showLogoutLink"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<!-- <xsl:call-template name="bottombar_menue" >
|
||
|
<xsl:with-param name="showPasswordChangeLink" select="$showPasswordChangeLink"/>
|
||
|
<xsl:with-param name="mandantenid" select="$mandantenid"/>
|
||
|
<xsl:with-param name="showLogoutLink" select="$showLogoutLink"/>
|
||
|
<xsl:with-param name="showAppletLink" select="$showAppletLink" />
|
||
|
</xsl:call-template -->
|
||
|
|
||
|
<xsl:call-template name="menue_fuss" />
|
||
|
</div>
|
||
|
<!-- <div style="clear: left;float: left;width: 0px;margin: 300px 250px 0px 0px;padding: 0px;"></div> -->
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="eintraege">
|
||
|
<xsl:param name="showLogoutLink" />
|
||
|
<div class="menue">
|
||
|
<ul class="ui-listview" style="margin:0;padding:0">
|
||
|
<xsl:variable name="t_root"/>
|
||
|
<xsl:variable name="t_null" select = "null" />
|
||
|
<xsl:variable name="is_admin"><xsl:value-of select = "../user/@admin" /></xsl:variable>
|
||
|
|
||
|
<xsl:for-each select="eintraege/eintrag">
|
||
|
<xsl:if test="parent='null'">
|
||
|
<xsl:call-template name="suche_kinder_dojo">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="1"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
<!--Wenn UserID/@admin=true, dann auch Links für Manager und Entwicklung zeigen:-->
|
||
|
<xsl:if test="$is_admin='true'">
|
||
|
<li style="list-style:none"><p class="listlevel"> </p></li>
|
||
|
<li style="list-style:none" class="ebene1"><p class="listlevel"><a class="ebene_his_1 icon icon-wrench" tabindex="30" href="/superx/servlet/SuperXManager" target="_blank" style="cursor:pointer;">Webanwendung Manager</a></p></li>
|
||
|
<li style="list-style:none" class="ebene2"><p class="listlevel"><a class="ebene_his_2" tabindex="30" href="/superx/servlet/SuperXManager?xupdater=true" target="_blank" style="cursor:pointer;">Masken-Sicherung</a></p></li>
|
||
|
<li style="list-style:none" class="ebene2"><p class="listlevel"><a class="ebene_his_2" tabindex="30" href="/superx/servlet/de.superx.servlet.Entwicklung" target="_blank" style="cursor:pointer;">Masken-Entwicklung</a></p></li>
|
||
|
</xsl:if>
|
||
|
<li style="list-style:none"><p class="listlevel"> </p></li>
|
||
|
<!-- <li style="list-style:none" class="ebene1"><p class="listlevel"><a class="ebene_his_1" tabindex="30" onclick="top.document.getElementById('superxframes').cols='40,*'; scroll(0,0); top.document.getElementById('menue').scrolling='no'; document.getElementById('navigation_on_off').style.visibility='visible';" style="cursor:pointer;">Navigation ausblenden</a></p></li> -->
|
||
|
<li style="list-style:none"><p class="listlevel"> </p></li>
|
||
|
<xsl:if test="$showLogoutLink='true'">
|
||
|
<li style="list-style:none" class="ebene1"><p class="listlevel"><a class="ebene_his_1 icon icon-logout" tabindex="30" href="/superx/servlet/SuperXmlAbmeldung" target="_parent" style="cursor:pointer;">Abmelden</a></p></li>
|
||
|
</xsl:if></ul>
|
||
|
</div>
|
||
|
<!--<script language="Javascript">
|
||
|
versteckeText("toc_complete");
|
||
|
</script>-->
|
||
|
|
||
|
<!--#######################################################################-->
|
||
|
</xsl:template>
|
||
|
<xsl:template name="eintraege_js">
|
||
|
<xsl:param name="showLogoutLink" />
|
||
|
<script language="Javascript" src="../xml/dynapi/dynapi.js">
|
||
|
</script>
|
||
|
<script language="Javascript" src="../xml/texteffekte.js"></script>
|
||
|
|
||
|
<script language="Javascript">
|
||
|
dynapi.library.setPath('../xml/dynapi/');
|
||
|
dynapi.library.include('dynapi.api');
|
||
|
dynapi.library.include('dynapi.api.ext.DynLayerInline');
|
||
|
dynapi.library.include('TemplateManager');
|
||
|
dynapi.library.include('dynapi.gui.BorderManager');
|
||
|
dynapi.library.include('dynapi.gui.HTMLCalendar');
|
||
|
dynapi.library.include('ViewPane');
|
||
|
dynapi.library.include('Explorer');
|
||
|
dynapi.library.include('ExplorerBlockStyle');
|
||
|
<![CDATA[
|
||
|
ie5=(document.getElementById&&document.all&&document.styleSheets)?1:0;
|
||
|
nn6=(document.getElementById&&!document.all)?1:0;
|
||
|
]]>
|
||
|
</script>
|
||
|
<script language="Javascript">
|
||
|
<xsl:text>
|
||
|
var s = Styles.getStyle('Explorer');
|
||
|
var file1 = s.getStyleAttribute('imageFile');
|
||
|
var expl2 = new Explorer(0,0,null,null,'ExplorerBlock');
|
||
|
expl2.setBgColor('#EEEEEE');
|
||
|
|
||
|
menue = new Array();
|
||
|
var i=1;
|
||
|
</xsl:text>
|
||
|
<xsl:variable name="showThemenbaumMask"><xsl:call-template name="showThemenbaumMask" /></xsl:variable>
|
||
|
<xsl:for-each select="menue/eintraege/eintrag">
|
||
|
<!-- MB 2.6.08 passende Sortierung nach sort-Feld/Name wird jetzt vom Servlet schon gemacht-->
|
||
|
<!--<xsl:sort select="parent"/><xsl:sort select="titel"/>-->
|
||
|
|
||
|
<xsl:variable name="my_parent"><xsl:value-of select="parent" /></xsl:variable>
|
||
|
<!--nur wenn ein parent auch existiert wird der Eintrag eingefügt.-->
|
||
|
<xsl:if test="count(/menue/eintraege/eintrag[ id = $my_parent ]/id) > 0 or id='1'">
|
||
|
|
||
|
<xsl:text>
|
||
|
menue[i] = new Array();
|
||
|
menue[i][4]= '</xsl:text><xsl:value-of select="id"/><xsl:text>';
|
||
|
menue[i][2]= '</xsl:text><xsl:value-of select="titel"/><xsl:text>';
|
||
|
menue[i][3]= '</xsl:text><xsl:value-of select="parent"/><xsl:text>';
|
||
|
menue[i][1]= '</xsl:text><xsl:value-of select="tid"/><xsl:text>';
|
||
|
i++;
|
||
|
var zeilenanzahl=i-1;
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
<xsl:text><![CDATA[
|
||
|
for (var i=1;i <= zeilenanzahl;i++)
|
||
|
{
|
||
|
if(menue[i][3]=="null") //parent null = root
|
||
|
{ expl2.addLeave(menue[i][4],menue[i][2],null,null,null,'null'); }
|
||
|
else
|
||
|
{
|
||
|
]]></xsl:text>
|
||
|
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$showThemenbaumMask='false'">
|
||
|
<xsl:text><![CDATA[
|
||
|
if(menue[i][1]=="null") //tid in maskeninfo
|
||
|
{
|
||
|
expl2.addLeave(menue[i][4],menue[i][2],menue[i][3],null,null,"]]></xsl:text><xsl:value-of select="'/superx/servlet/SuperXmlMenu'" /><xsl:text><![CDATA[?tid="+menue[i][4]);
|
||
|
}]]></xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text><![CDATA[
|
||
|
if(menue[i][1]=="null") //tid in maskeninfo
|
||
|
{
|
||
|
expl2.addLeave(menue[i][4],menue[i][2],menue[i][3],null,null,'null');
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
expl2.addLeave(menue[i][4],menue[i][2],menue[i][3],file1,null,"]]></xsl:text><xsl:value-of select="'/superx/servlet/SuperXmlMaske'" /><xsl:text><![CDATA[?tid="+menue[i][1]);
|
||
|
}]]></xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:text>
|
||
|
<![CDATA[
|
||
|
}
|
||
|
}
|
||
|
expl2.unfold(1);
|
||
|
expl2.addEventListener({
|
||
|
onselect : function(e) {
|
||
|
|
||
|
status=("Current ID is: "+e.getSource().currentPos+" and currentUrl is: "+e.getSource().currentUrl);
|
||
|
if(e.getSource().currentUrl!="null") //{oeffneMaske(e.getSource().currentUrl);}
|
||
|
{
|
||
|
|
||
|
parent.maske.location.href="/superx/xml/maskload.htm";
|
||
|
window.setTimeout("parent.maske.location.href='"+e.getSource().currentUrl+"'", 300)
|
||
|
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
var lyr12=dynapi.document.addChild(expl2);
|
||
|
dynapi.document.insertChild(lyr12,'relative');
|
||
|
|
||
|
|
||
|
|
||
|
]]></xsl:text>
|
||
|
</script>
|
||
|
<xsl:if test="$showLogoutLink='true'">
|
||
|
<p class="listlevel"><a class="ebene_his_1 icon icon-logout" tabindex="30" href="/superx/servlet/SuperXmlAbmeldung" target="_parent" style="cursor:pointer;">Abmelden</a></p>
|
||
|
</xsl:if>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="suche_kinder_dojo">
|
||
|
<xsl:param name="elter"/>
|
||
|
<xsl:param name="ebene"/>
|
||
|
<xsl:variable name="showThemenbaumMask"><xsl:call-template name="showThemenbaumMask" /></xsl:variable>
|
||
|
<xsl:for-each select="../eintrag">
|
||
|
<!-- MB 2.6.08 passende Sortierung nach sort-Feld/Name wird jetzt vom Servlet schon gemacht-->
|
||
|
<!--<xsl:sort select="parent"/><xsl:sort select="titel"/>-->
|
||
|
<xsl:variable name="i" select="parent"/>
|
||
|
|
||
|
<xsl:if test="$i=$elter">
|
||
|
|
||
|
|
||
|
<xsl:if test="tid='null'"> <!-- keine Maske -->
|
||
|
<li style="list-style:none">
|
||
|
<!-- <div> -->
|
||
|
<xsl:attribute name="class">ebene<xsl:value-of select="$ebene" />
|
||
|
</xsl:attribute>
|
||
|
<p class="listlevel">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$showThemenbaumMask='false'">
|
||
|
<!--wenn false, dann wird die Überschrift als Link angezeigt-->
|
||
|
<a>
|
||
|
<xsl:attribute name="class">ebene_his_<xsl:value-of select="$ebene" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:value-of select="'/superx/servlet/SuperXmlMenu'" /> <xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>&navi=true</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<xsl:value-of select="titel"/>
|
||
|
</a>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="titel" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</p>
|
||
|
<!-- </div> -->
|
||
|
</li>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="(tid!='null') and ($showThemenbaumMask!='false')"> <!-- wenn Menülinks keine Einzelmasken-->
|
||
|
<li style="list-style:none">
|
||
|
<p>
|
||
|
<xsl:attribute name="class">listlevel<xsl:value-of select="$ebene" />
|
||
|
</xsl:attribute>
|
||
|
<a target="maske" class="auflistung">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:value-of select="'/superx/servlet/SuperXmlMaske'" />
|
||
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="tid" />
|
||
|
</xsl:attribute>
|
||
|
<!--<xsl:attribute name="class">listlevel<xsl:value-of select="$ebene" />
|
||
|
</xsl:attribute>-->
|
||
|
|
||
|
|
||
|
<xsl:value-of select="titel" />
|
||
|
<!--<xsl:attribute name="href">javascript:parent.menue.document.forms[0].tid.value=<xsl:value-of select="tid" />;parent.menue.document.forms[0].submit();</xsl:attribute>
|
||
|
<xsl:value-of select="titel" />-->
|
||
|
</a></p></li>
|
||
|
</xsl:if>
|
||
|
|
||
|
|
||
|
<xsl:call-template name="suche_kinder_dojo">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="$ebene+1"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</xsl:template>
|
||
|
</xsl:stylesheet>
|