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.
738 lines
30 KiB
738 lines
30 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: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="infobox_man"> |
|
<xsl:if test="../col [f_name='hiddendescription' and wert !=''] and f_name='shortname'"> |
|
<xsl:text> </xsl:text> |
|
|
|
<img src="/superx/xml/info_zahl_kl.png" alt="Infos zur Kennzahl" border="0" style="cursor: pointer;"> |
|
<xsl:attribute name="onClick"><xsl:text>neu=window.open('/superx/edit/man/catalogue_info.jsp?tid=</xsl:text><xsl:value-of select="../col [f_name='hiddendescription']/wert"/> |
|
<xsl:text>','info','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=500,height=360'); return false;</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,'linktimeline') or starts-with(f_name,'linksub') or starts-with(f_name,'nextwindowtable') or starts-with(f_name,'linktable')"> |
|
<td class="link"> |
|
<xsl:if test="wert !=''"> |
|
<xsl:variable name="link_caption"><xsl:value-of select="substring-before(wert,'|')" /></xsl:variable> |
|
<xsl:variable name="link"><xsl:value-of select="concat('../servlet/SuperXmlTabelle?tid=',substring-after(concat(wert,'&Bericht=',/ergebnisse/ergebnis/felder/feld[@varname='Bericht']/value),'|'))" /></xsl:variable> |
|
|
|
|
|
<xsl:choose> |
|
<xsl:when test="starts-with(f_name,'linktimeline')"> |
|
<a target="_blank" title="{concat('Zeitreihe ',$link_caption)}"> |
|
<xsl:attribute name="href"><xsl:value-of select="$link" /></xsl:attribute> |
|
<img src="../xml/management/chart_organisation.svg" class="svg_icon" border="0" style="height:16px; width: 16px;"> |
|
<xsl:attribute name="alt"><xsl:value-of select="$link_caption"/></xsl:attribute> |
|
</img> |
|
</a> |
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'linktable')"> |
|
<a target="_blank" title="{concat('Tabellen-Darstellung ', $link_caption)}"> |
|
<xsl:attribute name="href"><xsl:value-of select="$link" /></xsl:attribute> |
|
<img src="../images/table.png" border="0"> |
|
<xsl:attribute name="alt"><xsl:value-of select="$link_caption"/></xsl:attribute> |
|
</img> |
|
</a> |
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'linksub')"> |
|
<a target="_blank" title="{concat('Studiengang-Darstellung: ',$link_caption)}"> |
|
<xsl:attribute name="href"><xsl:value-of select="$link" /></xsl:attribute> |
|
<img src="../xml/management/chart_organisation.svg" class="svg_icon" border="0" style="height:16px; width: 16px;"> |
|
<xsl:attribute name="alt"><xsl:value-of select="$link_caption"/></xsl:attribute> |
|
</img> |
|
</a> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<a target="_blank" title="{$link_caption}"> |
|
<xsl:attribute name="href"><xsl:value-of select="$link" /></xsl:attribute> |
|
<img src="../images/weiter_.png" border="0"> |
|
<xsl:attribute name="alt"><xsl:value-of select="$link_caption"/></xsl:attribute> |
|
</img> |
|
</a> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
<!-- |
|
<xsl:call-template name="resultsetLink"> |
|
<xsl:with-param name="zs2" |
|
select="concat(wert,'&Bericht=',/ergebnisse/ergebnis/felder/feld[@varname='Bericht']/value)" /> |
|
</xsl:call-template>--> |
|
</xsl:if> |
|
</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"> |
|
<xsl:if test="count(/ergebnisse/ergebnis/ergebniselement/sqlerg/row/col[f_name='hiddenlinkmenusub' and wert!=''])!=0"> |
|
|
|
<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="concat(substring-after(wert,'|'),'&navi=',/ergebnisse/@showNavigation)" /> |
|
<xsl:variable name="navigation_ebene" select="../col[f_name='navigation_ebene' and wert!='']/wert" /> |
|
<p class="ebene{$navigation_ebene}"> |
|
<a target="_self" class="ebene{$navigation_ebene}"> |
|
<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> |
|
|
|
</xsl:if> |
|
</div> |
|
<!--MB navi --> |
|
|
|
<div id="Inhalt"> |
|
<p class="mantitel"> |
|
<xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Bericht']/value_caption" /> |
|
</p> |
|
<!-- hier optional ausgewaehlte Kostenstelle --> |
|
<xsl:if test="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Institution']/value!=''"> |
|
<h2 class="Kostenstelle"> |
|
<xsl:value-of select="/ergebnisse/ergebnis[position()=1]/felder/feld[@varname='Institution']/value_caption" /> |
|
</h2> |
|
</xsl:if> |
|
<table id="table1" rules="rows" border="0"> |
|
<!-- <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="table"> |
|
<html> |
|
|
|
<xsl:call-template name="head_man" ><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> |
|
|
|
</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>
|
|
|