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.
4296 lines
179 KiB
4296 lines
179 KiB
2 months ago
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<xsl:stylesheet version="1.0"
|
||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sx="http://memtext.de" xmlns="http://www.w3.org/1999/xhtml" >
|
||
|
|
||
|
<!--*****Allgemeine Templates*****-->
|
||
|
<!--#Template htmlhead-->
|
||
|
<xsl:template name="nd_htmlhead">
|
||
|
<xsl:param name="css"/>
|
||
|
<xsl:param name="title"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<meta name="color-scheme" content="dark light" />
|
||
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||
|
<meta http-equiv="Pragma" content="no-cache" />
|
||
|
<meta http-equiv="Expires" content="0" />
|
||
|
|
||
|
<link rel="stylesheet" type="text/css" href="../style/fontello-codes.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../style/sx_fontello.css" />
|
||
|
|
||
|
<link rel="stylesheet" href="../style/bulma.css" />
|
||
|
<link rel="stylesheet" href="../style/bulma-tooltip.min.css" />
|
||
|
<link rel="stylesheet" href="../style/sx_menue.css" />
|
||
|
<link rel="stylesheet" href="../style/sx_common.css" />
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$title != ''">
|
||
|
<title><xsl:value-of select="$title" /></title>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<title><xsl:text>SuperX</xsl:text></title>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:if test="$css != ''">
|
||
|
<LINK REL="stylesheet" type="text/css" href="$css" ></LINK>
|
||
|
</xsl:if>
|
||
|
|
||
|
<xsl:if test="/*/custom_css != ''">
|
||
|
<style type="text/css"><xsl:copy-of select="/*/custom_css"/></style>
|
||
|
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/*/custom_js != ''">
|
||
|
<script language="javascript"><xsl:copy-of select="/*/custom_js"/></script>
|
||
|
|
||
|
</xsl:if>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende htmlhead-->
|
||
|
<xsl:template name="nd_htmlscript">
|
||
|
<script src="../xml/js/jquery/jquery-1.12.4.min.js"></script>
|
||
|
<script language="javascript">
|
||
|
function ajaxErrorHandler(response, status, xhr) {
|
||
|
if ( status == "error" ) {
|
||
|
var msg = "Fehler beim Aufruf der Seite. Bitte wenden Sie sich an den Administrator.";
|
||
|
if (xhr.status == '403') {
|
||
|
msg = "Sie sind nicht mehr angemeldet. Bitte melden Sie sich neu an."
|
||
|
}
|
||
|
alert(msg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
jQuery.ajaxPrefilter( function( s ) {
|
||
|
if ( s.crossDomain ) {
|
||
|
s.contents.script = false;
|
||
|
}
|
||
|
} );
|
||
|
|
||
|
|
||
|
</script>
|
||
|
<script language="javascript" src="/superx/dbformslib/jscal/calendar.js"></script>
|
||
|
<script type="text/javascript" src="/superx/xml/js/memtext/sx_functions.js"></script>
|
||
|
<script type="text/javascript" src="/superx/xml/js/memtext/nd_functions.js"></script>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
var felder = new Array();
|
||
|
var Feldname=null;
|
||
|
var caption;
|
||
|
</script>
|
||
|
</xsl:template>
|
||
|
<!--#Template Beginn Seitentitel-->
|
||
|
<xsl:template name="nd_pagetitle">
|
||
|
<xsl:param name="title" />
|
||
|
<xsl:param name="subtitle" />
|
||
|
<xsl:param name="icon_classname" />
|
||
|
<div id="nd_pagetitle">
|
||
|
<p class="title is-4">
|
||
|
<xsl:call-template name="renderIconIfExists">
|
||
|
<xsl:with-param name="classname" select="$icon_classname" />
|
||
|
<xsl:with-param name="context" select="'normal'" />
|
||
|
</xsl:call-template>
|
||
|
<xsl:value-of select="$title" /></p>
|
||
|
<p class="subtitle is-6"><xsl:value-of select="$subtitle" /></p>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Seitentitel-->
|
||
|
|
||
|
|
||
|
<!--#Template Beginn Modul-Info-Card-->
|
||
|
<xsl:template name="nd_modulinfo">
|
||
|
<div id="nd_modulinfo">
|
||
|
<div class="card">
|
||
|
<div class="card-content">
|
||
|
<figure class="image is-128x128">
|
||
|
<a href="#">
|
||
|
<img src="../images/logobutton_sos.svg" alt="Studierende, Prüfungen" title="Studierende, Prüfungen" />
|
||
|
</a>
|
||
|
</figure>
|
||
|
<span class="separator"> </span>
|
||
|
<p class="title is-5">Modul Studierende, Prüfungen</p>
|
||
|
<p class="subtitle is-6">Bereich Studierende</p>
|
||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec
|
||
|
iaculis mauris.
|
||
|
<a href="#"></a>
|
||
|
<br />
|
||
|
<time datetime="2024-04-11">15:09 AM - 11 April 2024</time>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Modul-Info-Card-->
|
||
|
|
||
|
<!--#Template Beginn nd_submenu_initial-->
|
||
|
<xsl:template name="nd_submenu_initial">
|
||
|
|
||
|
<div id="content">
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<script>
|
||
|
$( "#content" ).load('/superx/xml/welcome_wiki.jsp',ajaxErrorHandler);
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende nd_submenu_initial-->
|
||
|
|
||
|
<!--#Template Beginn nd_submenu-->
|
||
|
<xsl:template name="nd_submenu">
|
||
|
|
||
|
<ul style="margin:0;padding:0">
|
||
|
<!-- zunächst Untermenues-->
|
||
|
<xsl:for-each select="/menue/eintraege/eintrag[@isMaske!='true']">
|
||
|
<li class="submenu_listelem">
|
||
|
<div class="element report_dir">
|
||
|
<div class="round_corner_link">
|
||
|
<div class="round_corner">
|
||
|
<b class="top"><b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b></b>
|
||
|
<div class="boxcontent">
|
||
|
<p> <a><!--
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMenu',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="id"/>
|
||
|
</xsl:attribute>-->
|
||
|
|
||
|
<xsl:attribute name="onclick"><xsl:text>$('#content').load('</xsl:text><xsl:value-of select="'/superx/servlet/SuperXmlMenu'" /><xsl:text>?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>',ajaxErrorHandler);</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<span class="Funktion">
|
||
|
<xsl:call-template name="renderIconIfExists">
|
||
|
<xsl:with-param name="classname" select="css_class" />
|
||
|
<xsl:with-param name="context" select="'small'" />
|
||
|
</xsl:call-template>
|
||
|
|
||
|
<xsl:value-of select="titel"/></span>
|
||
|
</a><br/>
|
||
|
<xsl:if test="explanation!=''"><xsl:value-of select="explanation"/><br/></xsl:if>
|
||
|
</p>
|
||
|
</div>
|
||
|
<b class="bottom"><b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b></b>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</li>
|
||
|
</xsl:for-each>
|
||
|
<br/>
|
||
|
<!-- dann einzelne Masken-->
|
||
|
<xsl:for-each select="/menue/eintraege/eintrag[@isMaske='true']">
|
||
|
<li class="submenu_listelem">
|
||
|
|
||
|
<!-- references ticket nr: 95948 -->
|
||
|
<xsl:variable name="titeltext">
|
||
|
<xsl:value-of select="titel"/>
|
||
|
</xsl:variable>
|
||
|
|
||
|
<xsl:variable name="divclass">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="contains($titeltext,'Zeitreihe')='true'">
|
||
|
<xsl:text>element report_zeitreihe</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="contains($titeltext,'Datenblatt')='true'">
|
||
|
<xsl:text>element report_datenblatt</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>element report</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
<div class="{$divclass}">
|
||
|
<!-- /references ticket -->
|
||
|
|
||
|
<!-- <xsl:attribute name="onClick">
|
||
|
<xsl:text>document.location='</xsl:text><xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMaske',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>';</xsl:text>
|
||
|
</xsl:attribute> -->
|
||
|
|
||
|
<div class="round_corner_link">
|
||
|
<div class="round_corner round_corner_pointer">
|
||
|
|
||
|
|
||
|
<b class="top"><b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b></b>
|
||
|
<div class="boxcontent">
|
||
|
<p>
|
||
|
<!-- da Anklicken von ganzen Div Bericht aufrufen soll, deaktiviert
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:value-of select="HtmlUtils:encodeURL('/superx/servlet/SuperXmlMaske',/menue/@jsessionid)"/><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>&navi=true</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
-->
|
||
|
|
||
|
<a data-ajax="false">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:text>/superx/servlet/SuperXmlMaske?tid=</xsl:text>
|
||
|
<xsl:value-of select="tid"/>
|
||
|
<xsl:text>&navi=true</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<xsl:call-template name="renderIconIfExists">
|
||
|
<xsl:with-param name="classname" select="css_class" />
|
||
|
<xsl:with-param name="context" select="'small'" />
|
||
|
</xsl:call-template>
|
||
|
<xsl:value-of select="titel"/>
|
||
|
</a>
|
||
|
|
||
|
<br/>
|
||
|
<span class="report-explanation">
|
||
|
<xsl:if test="explanation!=''"><xsl:value-of select="explanation"/><br/></xsl:if>
|
||
|
</span>
|
||
|
</p>
|
||
|
</div>
|
||
|
<b class="bottom"><b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b></b>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</li>
|
||
|
</xsl:for-each>
|
||
|
</ul>
|
||
|
</xsl:template>
|
||
|
|
||
|
<!--#Template Beginn Krümelpfad-->
|
||
|
<xsl:template name="nd_breadcrumb">
|
||
|
<xsl:variable name="root_in_breadcrumb">
|
||
|
<xsl:call-template name="root_in_breadcrumb" />
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="renderIconsInBreadcrumb">
|
||
|
<xsl:call-template name="renderIconsInBreadcrumb" />
|
||
|
</xsl:variable>
|
||
|
|
||
|
<div id="nd_breadcrumb">
|
||
|
|
||
|
<div class="container"> <!--Neu 20240728 nötig??-->
|
||
|
<nav class="breadcrumb has-path-separator" aria-label="breadcrumbs">
|
||
|
<ul>
|
||
|
<xsl:for-each select="/*/menupos/eintraege/eintrag">
|
||
|
<xsl:variable name="tabindex"><xsl:value-of select="position()"/></xsl:variable>
|
||
|
<li>
|
||
|
<xsl:if test="$renderIconsInBreadcrumb='true'" >
|
||
|
<xsl:call-template name="renderIconIfExists">
|
||
|
<xsl:with-param name="classname" select="css_class" />
|
||
|
<xsl:with-param name="context" select="'small'" />
|
||
|
</xsl:call-template>
|
||
|
</xsl:if>
|
||
|
<a tabindex="{$tabindex}" data-ajax="false">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="@isMaske='true'">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:value-of select="'/superx/servlet/SuperXmlMaske'" /><xsl:text>?tid=</xsl:text><xsl:value-of select="tid"/><xsl:text>&navi=true</xsl:text>
|
||
|
<!--MandantenID-->
|
||
|
</xsl:attribute>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="id = '1'">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:text>/superx/servlet/SuperXmlAnmeldung</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="id != '1'">
|
||
|
<xsl:attribute name="onclick"><xsl:text>$('#content').load('/superx/servlet/SuperXmlMenu?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>');</xsl:text></xsl:attribute>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="titel='Abfragen'">
|
||
|
<xsl:value-of select="$root_in_breadcrumb"/>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="titel"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</a></li>
|
||
|
</xsl:for-each>
|
||
|
<!--<li class="is-active"><a href="#" aria-current="page">Studierende nach Alter</a></li>-->
|
||
|
<!-- bei Tabellen als letztes Link zur Maske-->
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="count(/ergebnisse/ergebnis) > 0">
|
||
|
<li>
|
||
|
<a tabindex="{count(/*/menupos/eintraege/eintrag)+1}" id="btnBacktoMask" data-ajax="false">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:text><![CDATA[javascript:document.forms[0].maxoffset.value='';self.location.href='/superx/servlet/SuperXmlMaske']]></xsl:text>
|
||
|
<!-- <xsl:if test="/ergebnisse/@jsessionid!=''">';jsessionid=<xsl:value-of select="/ergebnisse/@jsessionid"/>'</xsl:if> -->
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/@isMakro!='true'">
|
||
|
<xsl:text><![CDATA[+'?tid='+getTid()+getParams('direkt')]]></xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise> <!-- bei Makros ohne Params, weil die im XML und Javascript-Felderarray nicht richtig drin sind-->
|
||
|
<xsl:text><![CDATA[+'?tid='+getTid()]]></xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:text>+'&navi=true'</xsl:text>
|
||
|
<!--;alert(url);location.href=url;</xsl:text>-->
|
||
|
</xsl:attribute>
|
||
|
<xsl:value-of select="concat(/ergebnisse/ergebnis/maskenname,'/Bericht erstellen')" />
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<span class="separator"> </span>
|
||
|
<xsl:value-of select="concat('Datensätze/', /ergebnisse/ergebnis/maskenname)" />
|
||
|
</li>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="count(/maske) > 0">
|
||
|
<li class="is-active"><!--<a href="#" aria-current="page">-->
|
||
|
<span class="separator"> </span>
|
||
|
<xsl:value-of select="concat(/maske/@name,' - Bericht erstellen')" />
|
||
|
<!--</a>-->
|
||
|
</li>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</ul>
|
||
|
<!--<xsl:call-template name="maskbreadcrumbs" />-->
|
||
|
</nav>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Krümelpfad-->
|
||
|
<xsl:template name="renderIconsInBreadcrumb" >
|
||
|
<!-- Zeige Icons im Krümelpfad. Default ist false, kann aber in pageComponents_html_final.xsl überlagert werden -->
|
||
|
<xsl:text>false</xsl:text>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="renderIconsInNaviPanel" >
|
||
|
<!-- Zeige Icons im Krümelpfad. Default ist false, kann aber in pageComponents_html_final.xsl überlagert werden -->
|
||
|
<xsl:text>true</xsl:text>
|
||
|
</xsl:template>
|
||
|
|
||
|
<!--*****Templates zur Navigation*****-->
|
||
|
<!--#Template Beginn Top-Navigation-->
|
||
|
<xsl:template name="nd_navi_top">
|
||
|
<div id="nd_navi_top">
|
||
|
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
||
|
<div class="navbar-brand">
|
||
|
<a class="navbar-item" target="_self" href="{/*/generalinfo/REPORT_HEADING_URL }">
|
||
|
<img src="{/*/generalinfo/REPORT_LOGO_FILE}" alt="Zur Startseite der Institution" title="Zur Startseite" height="30px"/>
|
||
|
</a>
|
||
|
<a class="navbar-item" href="{/*/generalinfo/REPORT_DOCUMENTATION_URL }"><xsl:value-of select="/*/generalinfo/REPORT_HEADING_INSTITUTION" />
|
||
|
</a>
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<!--<div class="inside"--><!--120724BFdeaktiviert-->
|
||
|
<button class="closebutton" title="Menü" onclick="toggleNavpanelFrame(this);"></button>
|
||
|
<!--</div>-->
|
||
|
</div>
|
||
|
</div><!--navbar-brand-->
|
||
|
|
||
|
<div class="navbar-end">
|
||
|
<span class="navbar-end">
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<div class="buttons">
|
||
|
<a href="../" target="_self">
|
||
|
<button class="button is-small is-outlined">
|
||
|
<span class="icon is-small">
|
||
|
<img src="../images/home.svg" alt="Zur Startseite" title="Zur Startseite" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<a href="https://super-ics.de/superx/doku/memtext/academy/f_WillkommenbeiderMemtext-Academy.htm" aria-label="Zur Memtext Academy"> <!--aria-label=Beschreibung für Screenreader-->
|
||
|
<div class="buttons">
|
||
|
<button class="button is-small is-outlined" aria-haspopup="true"> <!--aria-haspopup zeigtan,dass ein DropDown-Menü geöffnet werden kann-->
|
||
|
<span class="icon is-small">
|
||
|
<img src="../images/video.svg" alt="Kurse und Videos" title="Kurse und Videos" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<a href="http://www.superx-projekt.de/images/sx_info_hotspot_inhalt.svg" aria-label="Infos und Handbücher"> <!--aria-label=Beschreibung für Screenreader-->
|
||
|
<div class="buttons">
|
||
|
<button class="button is-small is-outlined" aria-haspopup="true"> <!--aria-haspopup zeigtan,dass ein DropDown-Menü geöffnet werden kann-->
|
||
|
<span class="icon is-small">
|
||
|
<img src="../images/books.svg" alt="Infos und Handbücher" title="Infos und Handbücher" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<a href="../edit/kern/systeminfo_view.jsp" aria-label="Zu den Systemdaten">
|
||
|
<div class="buttons">
|
||
|
<button class="button is-small is-outlined" aria-haspopup="true" >
|
||
|
<span class="icon is-small">
|
||
|
<img src="../images/information_liberation.svg" alt="Systemdaten" title="Systemdaten" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<!--#Template Beginn WebAnwMng-->
|
||
|
<xsl:if test="count(/*/menue/eintraege/eintrag [@isMaske='true' and tid=70510]) > 0
|
||
|
or count(/menue/eintraege/eintrag [@isMaske='true' and tid=70510]) > 0" >
|
||
|
<xsl:call-template name="nd_navi_wam" />
|
||
|
</xsl:if>
|
||
|
<!--#Template Ende WebAnwMng-->
|
||
|
</div>
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="starts-with(/*/menue/nachricht, 'gast')">
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<xsl:call-template name="nd_navi_profil" />
|
||
|
</div>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
<div class="navbar-item is-hoverable">
|
||
|
<a href="/superx/servlet/SuperXmlAbmeldung" aria-label="Logout" target="_self">
|
||
|
<div class="buttons">
|
||
|
<button class="button is-small is-outlined" >
|
||
|
<span class="icon is-small">
|
||
|
<img src="../images/logout.svg" alt="Logout" title="Logout" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</a>
|
||
|
|
||
|
</div>
|
||
|
</span>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Top-Navigation-->
|
||
|
|
||
|
<!--#Template Beginn Web-AnwendungsManager-->
|
||
|
|
||
|
<xsl:template name="nd_navi_wam">
|
||
|
<div id="wamDropdown" class="dropdown is-right is-hoverable">
|
||
|
<div class="dropdown-trigger">
|
||
|
<button class="button is-small is-outlined" aria-haspopup="true" aria-controls="dropdown-menu">
|
||
|
<span class="icon is-small"><img src="../images/wrenchblck.svg" alt="Web-Anwendungsmanger" title="Web-Anwendungsmanger" border="0"/></span>
|
||
|
</button>
|
||
|
|
||
|
</div>
|
||
|
<div class="dropdown-menu" id="dropdown-menu" role="menu">
|
||
|
<div class="dropdown-content">
|
||
|
<a href="../edit/kern/webapp_manager.jsp" class="dropdown-item" target="_blank">Webanwendung Manager</a>
|
||
|
<a href="../servlet/SuperXManager?xupdater=true" class="dropdown-item" target="_blank">Maskensicherung</a>
|
||
|
<hr class="dropdown-divider" />
|
||
|
<a href="../servlet/de.superx.servlet.Entwicklung" class="dropdown-item" target="_blank">Maskenentwicklung</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Web-AnwendungsManager-->
|
||
|
<xsl:template name="nd_navi_profil">
|
||
|
<div id="profilDropdown" class="dropdown is-right is-hoverable">
|
||
|
<div class="dropdown-trigger">
|
||
|
<button class="button is-small is-outlined" aria-haspopup="true" aria-controls="dropdown-menu">
|
||
|
<span class="icon is-small"><img src="../images/user.svg" title="Mein Profil bearbeiten" alt="Mein Profil" border="0"/></span>
|
||
|
</button>
|
||
|
|
||
|
</div>
|
||
|
<div class="dropdown-menu" id="dropdown-menu" role="menu">
|
||
|
<div class="dropdown-content">
|
||
|
<a href="/superx/servlet/de.superx.servlet.SuperXmlPwChanger" class="dropdown-item" target="_blank">Passwort ändern</a>
|
||
|
|
||
|
<hr class="dropdown-divider" />
|
||
|
<a href="../servlet/SuperXmlMaske?tid=71010&navi=false" class="dropdown-item" target="_blank">Name/Email ändern</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
<!--#Template Beginn Navigations-Panel fuer Auswertungen-->
|
||
|
<xsl:template name="nd_navi_panel">
|
||
|
<xsl:if test="/*/@showNavigation='true'">
|
||
|
<xsl:call-template name="nd_themenbaum2json" />
|
||
|
<div class="nd_navi_panel">
|
||
|
<nav class="navpanel">
|
||
|
<div class="inside">
|
||
|
|
||
|
<!--<button class="closebutton" title="Menü" onclick="toggleNavpanelFrame(this);"></button>--> <!--28062024BF auskommentiert-->
|
||
|
|
||
|
<div class="navpanelFrame" id="navpanelFrame" style="display:flex">
|
||
|
<!-- <div class="panel-tabs">
|
||
|
<a class="is-active">Berichte</a> 
|
||
|
<a>Kennzahlen</a> 
|
||
|
<a>Datenanalysen</a> 
|
||
|
</div>-->
|
||
|
|
||
|
<div class="panel-block">
|
||
|
<span class="panel-block-search">
|
||
|
<div class="field has-addons">
|
||
|
<div class="control" style="width:15em;">
|
||
|
<!--<p class="control has-icons-left">-->
|
||
|
<input class="input is-small" type="text" placeholder="Suche" onChange="themenbaumsuche(this);"/>
|
||
|
<!--<span class="icon is-left"><i class="fas fa-search" aria-hidden="true"></i></span>-->
|
||
|
<!--<span class="icon" aria-hidden="true">
|
||
|
<img src="../images/CSerch.svg" alt="Suche" title="Suche" />
|
||
|
</span>-->
|
||
|
<!--</p>-->
|
||
|
</div>
|
||
|
<div class="control">
|
||
|
<button class="button is-small is-rounded">
|
||
|
<span class="icon" aria-hidden="true" alt="Suche" title="Suche">
|
||
|
<img src="../images/search_blue.svg" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</span>
|
||
|
</div>
|
||
|
|
||
|
<li class="panel-block">
|
||
|
<p class="menu-label">Module > Bereiche > Abfragen</p>
|
||
|
</li>
|
||
|
|
||
|
<xsl:variable name="showJavascriptMenue"><xsl:call-template name="showJavascriptMenue" /></xsl:variable><!--klappt nicht, wird vom Servlet nicht richtig übergeben: <xsl:value-of select="/*/@aufklappbarer_themenbaum" />-->
|
||
|
<xsl:call-template name="nd_user_themen">
|
||
|
<xsl:with-param name="showJavascriptMenue" select="$showJavascriptMenue" />
|
||
|
</xsl:call-template>
|
||
|
</div><!--Ende Panel-Frame-->
|
||
|
</div> <!--Ende Panel-Inside-->
|
||
|
</nav> <!--Ende Navigations-Panel-->
|
||
|
</div>
|
||
|
</xsl:if>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Navigations-Panel fuer Auswertungen-->
|
||
|
|
||
|
<!--#Template Themenbaum-->
|
||
|
<xsl:template name="nd_user_themen">
|
||
|
<xsl:param name="showJavascriptMenue" select="true" />
|
||
|
<xsl:variable name="renderIconsInNaviPanel">
|
||
|
<xsl:call-template name="renderIconsInNaviPanel" />
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="t_root"/>
|
||
|
<xsl:variable name="t_null" select = "null" />
|
||
|
<xsl:variable name="is_admin"><xsl:value-of select = "menue/user/@admin" /></xsl:variable>
|
||
|
<div class="panel-block">
|
||
|
<ol id="themenbaumSearchResults" class="themenbaumSearchResults" style="display:none">
|
||
|
</ol>
|
||
|
<ul class="themenbaumStatic" id="themenbaumStatic" style="display:inline"> <!--050624: class="themenbaumStatic" ergänzt BF-->
|
||
|
<xsl:for-each select="menue/eintraege/eintrag">
|
||
|
<xsl:if test="parent='null'">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$showJavascriptMenue='false'">
|
||
|
<xsl:call-template name="nd_user_themen_kinder">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="1"/>
|
||
|
<xsl:with-param name="renderIcons" select="$renderIconsInNaviPanel"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:call-template name="nd_user_themen_js "/>
|
||
|
|
||
|
<xsl:call-template name="nd_user_themen_kinder_js">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="1"/>
|
||
|
<xsl:with-param name="renderIcons" select="$renderIconsInNaviPanel"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</ul>
|
||
|
</div><!--ende panel-block-->
|
||
|
<!--#######################################################################-->
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_user_themen_js ">
|
||
|
<script type="text/javascript"><xsl:text>
|
||
|
<![CDATA[
|
||
|
|
||
|
function toggleThemenbaumCaret(caretElem)
|
||
|
{
|
||
|
var liElem=caretElem.parentElement.querySelector(".themenbaumNested");
|
||
|
console.log(liElem.innerHTML + liElem.classList);
|
||
|
liElem.classList.toggle("themenbaumActive");
|
||
|
//liElem.classList.toggle("themenbaumEintrag");
|
||
|
//liElem.classList.toggle("themenbaumNested");
|
||
|
|
||
|
caretElem.classList.toggle("themenbaumCaret-down");
|
||
|
|
||
|
}
|
||
|
|
||
|
function initThemenbaumJs(){
|
||
|
var toggler = document.getElementsByClassName("themenbaumCaret");
|
||
|
var i;
|
||
|
|
||
|
/*for (i = 0; i < toggler.length; i++) {
|
||
|
toggler[i].addEventListener("click", function() {
|
||
|
this.parentElement.querySelector(".themenbaumNested").classList.toggle("themenbaumActive");
|
||
|
this.classList.toggle("themenbaumCaret-down");
|
||
|
});
|
||
|
}*/
|
||
|
|
||
|
//Menü passend aufklappen
|
||
|
var parentelement;
|
||
|
]]></xsl:text>
|
||
|
<xsl:for-each select="/*/menupos/eintraege/eintrag">
|
||
|
<xsl:text>parentelement=document.getElementById("themenbaumCaret_</xsl:text><xsl:value-of select="id"/><xsl:text>");
|
||
|
//if (parentelement) parentelement.click();
|
||
|
if (parentelement) toggleThemenbaumCaret(parentelement);
|
||
|
</xsl:text>
|
||
|
</xsl:for-each>
|
||
|
<xsl:text>
|
||
|
}
|
||
|
</xsl:text>
|
||
|
</script>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_user_themen_kinder">
|
||
|
<xsl:param name="elter"/>
|
||
|
<xsl:param name="ebene"/>
|
||
|
<xsl:param name="renderIcons" />
|
||
|
<xsl:variable name="showThemenbaumMask"><xsl:call-template name="showThemenbaumMask" /></xsl:variable>
|
||
|
<xsl:for-each select="../eintrag">
|
||
|
<xsl:variable name="i" select="parent"/>
|
||
|
|
||
|
<xsl:if test="$i=$elter">
|
||
|
|
||
|
|
||
|
<xsl:if test="tid='null'"> <!-- keine Maske -->
|
||
|
|
||
|
<li class="panel-block">
|
||
|
<span>
|
||
|
<xsl:attribute name="class">panel-block-ebene<xsl:value-of select="$ebene" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$showThemenbaumMask='false'">
|
||
|
<!--wenn false, dann wird die Überschrift als Link angezeigt-->
|
||
|
|
||
|
|
||
|
<!-- Hier sollte der Link genau so aufgebaut werden wie in menue_html_dojo.xsl:244 damit die Seite
|
||
|
neu geladen wird und im Browser nach oben springt. Leider erscheinen dann immer 2 Bildlaufleisten
|
||
|
auf der rechten Seite und der Button "Nafigation ein/aus" geht nicht mehr. -->
|
||
|
|
||
|
|
||
|
<a class="panel-item">
|
||
|
<!--<xsl:attribute name="class"><xsl:value-of select="concat('panel-item ',css_class)" /></xsl:attribute>-->
|
||
|
<!--<xsl:attribute name="href"><xsl:text>/superx/servlet/SuperXmlMenu?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>&navi=</xsl:text><xsl:value-of select="/*/@showNavigation"/></xsl:attribute>-->
|
||
|
<xsl:attribute name="onclick"><xsl:text>$('#content').load('/superx/servlet/SuperXmlMenu?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>');</xsl:text></xsl:attribute>
|
||
|
<xsl:call-template name="renderIconIfExists">
|
||
|
<xsl:with-param name="classname" select="css_class" />
|
||
|
<xsl:with-param name="context" select="'small'" />
|
||
|
<xsl:with-param name="renderAtAll" select="$renderIcons" />
|
||
|
</xsl:call-template>
|
||
|
<xsl:value-of select="titel"/>
|
||
|
</a>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="titel" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</span>
|
||
|
|
||
|
</li>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="(tid!='null') and ($showThemenbaumMask!='false')"> <!-- wenn Menülinks keine Einzelmasken-->
|
||
|
<li class="panel-block">
|
||
|
<span class="{concat('panel-block-ebene',$ebene)}">
|
||
|
<a target="maske" class="auflistung">
|
||
|
<xsl:attribute name="href"><xsl:text>/superx/servlet/SuperXmlMaske?tid=</xsl:text><xsl:value-of select="tid" />
|
||
|
<xsl:text>&navi=</xsl:text><xsl:value-of select="/*/@showNavigation"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
|
||
|
<xsl:value-of select="titel" />
|
||
|
</a></span></li>
|
||
|
</xsl:if>
|
||
|
|
||
|
|
||
|
<xsl:call-template name="nd_user_themen_kinder">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="$ebene+1"/>
|
||
|
<xsl:with-param name="renderIcons" select="$renderIcons"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Themenbaum-->
|
||
|
|
||
|
<!-- xx -->
|
||
|
<xsl:template name="nd_user_themen_kinder_js">
|
||
|
<xsl:param name="elter"/>
|
||
|
<xsl:param name="ebene"/>
|
||
|
<xsl:param name="renderIcons" />
|
||
|
<xsl:for-each select="../eintrag">
|
||
|
<xsl:variable name="currentid" select="id"/>
|
||
|
<xsl:variable name="i" select="parent"/>
|
||
|
|
||
|
<xsl:if test="$i=$elter">
|
||
|
<xsl:if test="tid='null'"> <!-- keine Maske -->
|
||
|
<xsl:variable name="menuChildrenCount"><xsl:value-of select="count(../eintrag[parent=$currentid and @isMaske='false'])"/></xsl:variable>
|
||
|
|
||
|
<li class="themenbaumEintrag">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$menuChildrenCount>0"> <span class="themenbaumCaret">
|
||
|
<xsl:attribute name="id">themenbaumCaret_<xsl:value-of select="id"/></xsl:attribute>
|
||
|
<xsl:attribute name="onclick">toggleThemenbaumCaret(this);</xsl:attribute>
|
||
|
</span></xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
 <span class="themenbaumPlaceholder"> </span>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
<a class="themenbaumLink" ><!--style="display:inline;"-->
|
||
|
<!--<xsl:attribute name="class"><xsl:value-of select="concat('image is-24x24 ',css_class)" /></xsl:attribute> fas fa-home
|
||
|
<xsl:attribute name="class"><xsl:value-of select="'icon-themenbaum icon-scissors'" /></xsl:attribute>-->
|
||
|
|
||
|
<xsl:attribute name="onclick"><xsl:text>$('#content').load('/superx/servlet/SuperXmlMenu?tid=</xsl:text><xsl:value-of select="id"/><xsl:text>');</xsl:text></xsl:attribute>
|
||
|
<xsl:call-template name="renderIconIfExists">
|
||
|
<xsl:with-param name="classname" select="css_class" />
|
||
|
<xsl:with-param name="context" select="'small'" />
|
||
|
<xsl:with-param name="renderAtAll" select="$renderIcons" />
|
||
|
</xsl:call-template>
|
||
|
|
||
|
<!--<xsl:value-of select="titel"/>-->
|
||
|
<span class="themenbaumLinkName"><xsl:value-of select="titel" /></span> <!--20240908BF für Ausrichtung bei Zeilenumbruch-->
|
||
|
</a>
|
||
|
|
||
|
<ul class="themenbaumNested">
|
||
|
<xsl:call-template name="nd_user_themen_kinder_js">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="$ebene+1"/>
|
||
|
<xsl:with-param name="renderIcons" select="$renderIcons"/>
|
||
|
</xsl:call-template>
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
</li>
|
||
|
</xsl:if>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_themenbaum2json">
|
||
|
<script language="Javascript" type="text/javascript">
|
||
|
<xsl:text>
|
||
|
function themenbaumEintrag(tid,title,parent,isMaske,maskeninfo_id,explanation,css_class,sortnr)
|
||
|
{
|
||
|
this.id=tid;
|
||
|
this.title=title;
|
||
|
this.parentId=parent;
|
||
|
this.isMaske=isMaske;
|
||
|
this.maskeninfo_id=maskeninfo_id;
|
||
|
this.explanation=explanation;
|
||
|
this.css_class=css_class;
|
||
|
this.sortnr=sortnr;
|
||
|
//this.children=new Array();
|
||
|
}
|
||
|
//function initThemenbaum(){
|
||
|
var menue = new Array();
|
||
|
var entry=new themenbaumEintrag(1,'Abfragen',null,false,null,null,null,0);
|
||
|
menue.push(entry);
|
||
|
</xsl:text>
|
||
|
<!--start from root-->
|
||
|
<xsl:for-each select="menue/eintraege/eintrag">
|
||
|
<xsl:if test="parent='null'">
|
||
|
<xsl:call-template name="nd_themenbaumEntry2json">
|
||
|
<xsl:with-param name="elter" select="id"/>
|
||
|
<xsl:with-param name="ebene" select="1"/>
|
||
|
<xsl:with-param name="nr" select="1"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</script>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_themenbaumEntry2json">
|
||
|
<xsl:param name="elter"/>
|
||
|
<xsl:param name="ebene"/>
|
||
|
|
||
|
<xsl:variable name="showThemenbaumMask"><xsl:call-template name="showThemenbaumMask" /></xsl:variable>
|
||
|
<xsl:for-each select="../eintrag">
|
||
|
<xsl:variable name="i" select="parent"/>
|
||
|
|
||
|
<xsl:if test="$i=$elter">
|
||
|
|
||
|
<xsl:text>
|
||
|
var entry=new themenbaumEintrag(</xsl:text><xsl:value-of select="id"/>
|
||
|
<xsl:text>,'</xsl:text><xsl:value-of select="substring(titel,0,40)" />
|
||
|
<xsl:text>',</xsl:text><xsl:value-of select="parent"/>
|
||
|
<xsl:text>,</xsl:text><xsl:value-of select="@isMaske"/>
|
||
|
<xsl:text>,</xsl:text><xsl:value-of select="tid"/>
|
||
|
<xsl:text>,'</xsl:text><xsl:value-of select="substring(explanation,0,40)" />
|
||
|
<xsl:text>','</xsl:text><xsl:value-of select="substring(css_class,0,40)" />
|
||
|
<xsl:text>',</xsl:text><xsl:value-of select="sortnr"/><xsl:text>);
|
||
|
</xsl:text>
|
||
|
<xsl:text>
|
||
|
menue.push(entry);
|
||
|
</xsl:text>
|
||
|
<xsl:call-template name="nd_themenbaumEntry2json">
|
||
|
<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>
|
||
|
<!--#Template Beginn Navigations-Panel fuer OrgEinheiten-->
|
||
|
<xsl:template name="nd_navi_panel_orgunits">
|
||
|
<div class="nd_navi_panel_orgunits">
|
||
|
<nav class="navpanel">
|
||
|
<div class="inside">
|
||
|
|
||
|
<!--***beim Dialogöffnen ist NavPanel_ou zu + OrgUnit-Button sichtbar (sh. auch sx_common.css)***-->
|
||
|
<!--<button class="orgunitbutton" title="Organisationseinheiten" aria-label="Organisationseinheiten" onclick="this.classList.toggle('shownavpanel_ou')"></button>-->
|
||
|
|
||
|
<!--***beim Dialogöffnen ist NavPanel_ou offen + Closebutton sichtbar (sh. auch sx_common.css)***-->
|
||
|
<button class="closebutton" title="Organisationseinheiten" aria-label="Organisationseinheiten" onclick="this.classList.toggle('closenavpanel_ou')"></button>
|
||
|
|
||
|
<ul>
|
||
|
<!--<div class="panel-tabs">
|
||
|
<a class="is-active">Organisationseinheiten</a> 
|
||
|
</div> -->
|
||
|
|
||
|
<div class="panel-block">
|
||
|
<p class="control has-icons-left">
|
||
|
<input class="input" type="text" placeholder="Suche" />
|
||
|
<span class="icon is-left"><i class="fas fa-search"></i></span>
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene1">
|
||
|
<a href="#" class="panel-item">Hochschule</a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene2">
|
||
|
<a href="#" class="panel-item">Fakultäten</a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene3">
|
||
|
<a href="#" class="panel-item active">Fakultät Geowissenschaften  </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene3">
|
||
|
<a href="#" class="panel-item">Fakultät 2 </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene4">
|
||
|
<a href="#" class="panel-item">Institutsgruppe 21 </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-down.svg" alt="Untergliederung einblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene4">
|
||
|
<a href="#" class="panel-item">Institutsgruppe 22 </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene5">
|
||
|
<a href="#" class="panel-item">Institut 221 </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-down.svg" alt="Untergliederung einblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene5">
|
||
|
<a href="#" class="panel-item">Institut 222 </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene6">
|
||
|
<a href="#" class="panel-item">Professur 222A </a>
|
||
|
</span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene6">
|
||
|
<a href="#" class="panel-item">Professur 222B </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene7">
|
||
|
<a href="#" class="panel-item">Projektkomplex ABC </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene8">
|
||
|
<a href="#" class="panel-item">Projekt ABC111  </a>
|
||
|
</span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene8">
|
||
|
<a href="#" class="panel-item">Projekt ABC777  </a>
|
||
|
</span>
|
||
|
<span class="panel-icon"><img src="../images/angle-up.svg" alt="Untergliederung ausblenden" /></span>
|
||
|
</li>
|
||
|
<li class="panel-block">
|
||
|
<span class="panel-block-ebene9">
|
||
|
<a href="#" class="panel-item">TeilProjekt ABC777-Teil1  </a>
|
||
|
</span>
|
||
|
</li>
|
||
|
</ul> <!--Ende Panel-Itemliste-->
|
||
|
</div> <!--Ende Panel-Inside-->
|
||
|
</nav> <!--Ende Navigations-Panel-->
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Navigations-Panel fuer OrgEinheiten-->
|
||
|
|
||
|
<!--#Template Beginn Navigations-Menü = Alternative zu nd_navi_panel-->
|
||
|
<xsl:template name="nd_menu">
|
||
|
<div id="nd_menu">
|
||
|
<div class="menu-container">
|
||
|
<div class="columns">
|
||
|
<div class="column is-30">
|
||
|
<aside class="column aside hero"> <!--is-fullheight is-hidden-mobile-->
|
||
|
<div class="menu">
|
||
|
<p class="menu-label">
|
||
|
Module > Bereiche > Abfragen
|
||
|
</p>
|
||
|
<ul class="menu-list">
|
||
|
<li><a></a></li>
|
||
|
<li><a></a>
|
||
|
<ul>
|
||
|
<li><a></a></li>
|
||
|
<li><a></a></li>
|
||
|
<li><a></a>
|
||
|
<ul>
|
||
|
<li><a></a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</aside>
|
||
|
</div><!--Ende column-->
|
||
|
</div><!--Ende columns-->
|
||
|
</div><!--Ende menu-container>-->
|
||
|
</div><!--Ende nd_menu-->
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Navigations-Menü = Alternative zu nd_navi_panel-->
|
||
|
|
||
|
<!--#Template Beginn Bottom-Navigation-->
|
||
|
<xsl:template name="nd_navi_bottom">
|
||
|
<div id="nd_navi_bottom">
|
||
|
<nav class="bottom-nav">
|
||
|
<ul>
|
||
|
<span class="bottom-nav">
|
||
|
<li class="navbar-item"><a href="https://super-ics.de/superx/f_SuperX-Homepage.htm"><div class="poweredby_sxbi" aria-hidden="true"></div></a></li>
|
||
|
<li class="navbar-item"><a href="https://super-ics.de/datenschutz_public.htm" >Datenschutz</a></li>
|
||
|
<li class="navbar-item"><a href="https://super-ics.de/impressum.htm" >Impressum</a></li>
|
||
|
<li class="navbar-item"><a href="#top" aria-label="Zum Seitenanfang"><span class="icon" aria-hidden="true"><img src="../images/up-circled-grey.svg" alt="nach oben" title="nach oben" /></span></a></li>
|
||
|
</span>
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Bottom-Navigation-->
|
||
|
|
||
|
<!--#Template Beginn Berichts-Navi-->
|
||
|
<!-- obsolet:
|
||
|
<xsl:template name="nd_navi_resultset">
|
||
|
<div id="nd_navi_resultset">
|
||
|
<p class="dontprint">
|
||
|
Datensatz 1 -
|
||
|
16 von insgesamt
|
||
|
30 Sätzen
|
||
|
<span class="icon is-medium">
|
||
|
<a title="Nächste Seite" onmouseover="window.status='Navigation starten';return true" onfocus="window.status='Navigation starten';return true" onmouseout="window.status='Navigation starten';return true" href="javascript:document.forms[0].target='_self'; document.forms[0].offset.value='30'; document.forms[0].stylesheet.value='tabelle_html.xsl';document.forms[0].contenttype.value='text/html'; document.forms[0].submit();%0A"><img src="../images/resultset_next.svg" alt="Nächste Seite" class="resultset" border="0" /></a>
|
||
|
<a title="Letzte Seite" onmouseover="window.status='Navigation starten';return true" onfocus="window.status='Navigation starten';return true" onmouseout="window.status='Navigation starten';return true" href="javascript:document.forms[0].target='_self'; document.forms[0].offset.value='60';document.forms[0].stylesheet.value='tabelle_html.xsl';document.forms[0].contenttype.value='text/html'; document.forms[0].submit();%0A"><img src="../images/resultset_last.svg" alt="Letzte Seite" class="resultset" border="0" /></a>
|
||
|
</span>
|
||
|
</p>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
-->
|
||
|
<!--#Template Ende Berichts-Navi-->
|
||
|
|
||
|
<!--*****Abfragen-Templates*****-->
|
||
|
<!--#Template Beginn Subdirectories--><!--***Links zu Verzeichnissen & Berichten noch zu bearbeiten, sh. # ***-->
|
||
|
<xsl:template name="nd_query_subdir">
|
||
|
<div id="nd_query_subdir">
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<div class="label">
|
||
|
<label class="label"><p><a href="#"><strong>Fachochschulen:</strong></a></p></label>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="field-body">
|
||
|
<button class="subdir-button has-text-left is-responsive is-fullwidth">
|
||
|
<p><a href="#"><strong>Semesterberichte</strong>
|
||
|
<span class="supplement">mit Handbuch für Semester-Kennzahlen</span></a></p>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<div class="label">
|
||
|
<label class="label"><p><a href="#"><strong>Päd.Hochschulen:</strong></a></p></label>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="field-body">
|
||
|
<button class="subdir-button has-text-left is-responsive is-fullwidth">
|
||
|
<p><a href="#"><strong>Semesterberichte</strong>
|
||
|
<span class="supplement">mit Handbuch für Semester-Kennzahlen</span></a></p>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Subdirectories-->
|
||
|
|
||
|
<!--#Template Beginn Abfragenliste--><!--***Links zu Berichten noch zu bearbeiten, sh. # ***-->
|
||
|
<xsl:template name="nd_query_list">
|
||
|
<div id="nd_query_list">
|
||
|
<div class="query-list">
|
||
|
<div class="field is-grouped">
|
||
|
<button class="button is-static is-responsive is-small has-background-white">
|
||
|
<span class="icon">
|
||
|
<img src="../images/list.svg" alt="Statistik" title="Statistik"></img> <!--Statistik-->
|
||
|
</span>
|
||
|
</button>
|
||
|
<span class="separator"> </span>
|
||
|
<button class="stb-button has-text-left is-responsive"> <!-- Zeilenumbruch erfolgt jeweils nach Leerzeichen-->
|
||
|
<p><a href="#"><strong>Statistik.</strong> Studierende nach Abschluss.
|
||
|
<span class="after"></span>
|
||
|
<span class="supplement">je Fach/Studiengang </span></a></p>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<button class="button is-static is-responsive is-small has-background-white">
|
||
|
<span class="icon">
|
||
|
<img src="../images/th.svg" alt="Datenblatt" title="Datenblatt"></img> <!--Datenblatt-->
|
||
|
</span>
|
||
|
</button>
|
||
|
<span class="separator"> </span>
|
||
|
<button class="stb-button has-text-left is-responsive"> <!-- Zeilenumbruch erfolgt jeweils nach Leerzeichen-->
|
||
|
<p><a href="#"><strong>Datenblatt.</strong> Fächerkombinationen unabhängig von Fach-Nr.
|
||
|
<!--<span class="after"></span>-->
|
||
|
<span class="supplement">Liste der Fächerkombintionen, unabh. von Fach-Nr.
|
||
|
<span class="after"></span>Je Studierenden werden ausgegeben:
|
||
|
<span class="after"></span>in Spalte "Fach": alle Fächer
|
||
|
<span class="after"></span>in Spalte "in Kombination mit": alle Kombinationsfächer</span></a></p>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<button class="button is-static is-responsive is-small has-background-white">
|
||
|
<span class="icon">
|
||
|
<img src="../images/chart-line.svg" alt="Zeitreihe" title="Zeitreihe"></img> <!--Zeitreihe-->
|
||
|
</span>
|
||
|
</button>
|
||
|
<span class="separator"> </span>
|
||
|
<button class="stb-button has-text-left is-responsive"> <!-- Zeilenumbruch erfolgt jeweils nach Leerzeichen-->
|
||
|
<p><a href="#"><strong>Zeitreihe.</strong> Entwicklung der Studierendenpopulation nach Herkunft
|
||
|
<span class="supplement">HINWEIS. HINWEIS. Bitte beachten Sie, dass der Zeilenumbruch bei Platzmangel, d.h. sofern der verfübare Platz erschöpft ist, nach einem Leerzeichen erfolgt. Bitte beachten Sie, dass der Zeilenumbruch nach Leerzeichen erfolgt.</span></a></p>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<button class="button is-static is-responsive is-small has-background-white">
|
||
|
<span class="icon">
|
||
|
<img src="../images/chart-line.svg" alt="Zeitreihe" title="Zeitreihe"></img> <!--Zeitreihe-->
|
||
|
</span>
|
||
|
</button>
|
||
|
<span class="separator"> </span>
|
||
|
<button class="stb-button has-text-left"> <!-- Zeilenumbruch erfolgt jeweils nach Leerzeichen-->
|
||
|
<p><a href="#"><strong>Zeitreihe.</strong> Entwicklung der Zahl weiblicher Studiernder nach Alter
|
||
|
<span class="supplement">ACHTUNG: ACHTUNG: Bei Platzmangel erfolgt ein Zeilnumbruch innerhalb eines Fließtextes, wie diesem, genau nach einem Leerzeichen. Bei Platzmangel erfolgt ein Zeilnumbruch innerhalb eines Fließtextes, wie diesem, genau nach einem Leerzeichen.</span></a></p>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div> <!--Ende query-list-->
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Abfragenliste-->
|
||
|
|
||
|
<xsl:template name="renderIconIfExists">
|
||
|
<xsl:param name="classname" />
|
||
|
<xsl:param name="context" select="'small'" />
|
||
|
<xsl:param name="renderAtAll" select="'true'" />
|
||
|
<xsl:if test="$renderAtAll='true'">
|
||
|
<xsl:variable name="classnameNotNull">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="normalize-space($classname)!=''">
|
||
|
<xsl:value-of select="$classname"/>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>icon_themenbaum_neutral_*</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="classname_with_suffix">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="ends-with($classnameNotNull,'*')">
|
||
|
<xsl:value-of select="concat(substring-before($classnameNotNull,'*'),$context)" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="$classnameNotNull"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
|
||
|
|
||
|
<i class="{$classname_with_suffix}"></i> 
|
||
|
</xsl:if><!-- wenn icon überhaupt erscheinen soll -->
|
||
|
</xsl:template>
|
||
|
|
||
|
<!--*****Button(bar)-Templates*****-->
|
||
|
<!--#Template Beginn Buttonbar Maske-->
|
||
|
<xsl:template name="nd_buttonbar_mask">
|
||
|
<div id="nd_buttonbar_mask">
|
||
|
<div class="buttonbar">
|
||
|
<a href="/{/maske/@helpcontext}" target="_blank"><img src="../images/bookblck_rotiert.svg" alt="Benutzerhandbuch" title="Benutzerhandbuch" border="0" /></a>
|
||
|
<a onclick="maskepreparelesezeichendlg();document.getElementById('lesezeichendlg').style='display:block'; return false;" id="btnBookmark"><img src="../images/attach.svg" alt="Lesezeichen erstellen" title="Die aktuelle SuperX-Maske als Lesezeichen im Browser speichern." border="0" /></a>
|
||
|
<a onclick="maskeTogglekeyfields(); return false;" id="btnDeepLink" class="linkLookImage"><img title="Schlüsselfelder an- oder ausschalten" alt="Schlüsselfelder an- oder ausschalten" src="../images/key.svg" border="0"/></a>
|
||
|
</div> <!--Ende buttonbar-->
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Buttonbar Maske-->
|
||
|
|
||
|
<!--#Template Beginn Buttonbar Tabelle-->
|
||
|
<xsl:template name="nd_buttonbar_table">
|
||
|
<div id="nd_buttonbar_table">
|
||
|
<!--<div class="container">--> <!--061014BFdeaktiviert-->
|
||
|
<div class="buttonbar">
|
||
|
<a href="javascript:window.print();" id="btnPrint"><img src="../images/printer.svg" title="Die aktuelle Seite drucken (Dialog erscheint)" alt="Drucken" border="0" /></a>
|
||
|
<a id="btnBacktoMask">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:text><![CDATA[javascript:self.location.href='/superx/servlet/SuperXmlMaske']]></xsl:text>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/@isMakro!='true'">
|
||
|
<xsl:text><![CDATA[+'?tid='+getTid()+getParams('direkt')+'&cachingcontrol=reusemask']]></xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise> <!-- bei Makros ohne Params, weil die im XML und Javascript-Felderarray nicht richtig drin sind-->
|
||
|
<xsl:text><![CDATA[+'?tid='+getTid()+'&cachingcontrol=reusemask']]></xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<!--;alert(url);location.href=url;</xsl:text>-->
|
||
|
<xsl:text>+'&navi=</xsl:text><xsl:value-of select="/*/@showNavigation"/><xsl:text>'</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<img src="../images/arrow_left_fat.svg" class="svg_icon" border="0" alt="zur Maske" />
|
||
|
</a>
|
||
|
<a href="https://www.superx-projekt.de/doku/kern_modul/benutzer/" target="_blank"><img src="../images/bookblck_rotiert.svg" alt="Benutzerhandbuch" title="Benutzerhandbuch" border="0" /></a>
|
||
|
<a onclick="openModal('modalCard_erlaeuterung0');">
|
||
|
<img src="../images/information.svg" alt="Erläuterung der Tabelle" title="Erläuterung der Tabelle" border="0" />
|
||
|
</a>
|
||
|
<a href="javascript:lesezeichen_erstellen();" id="btnBookmark"><img src="../images/attach.svg" alt="Lesezeichen erstellen" title="Die aktuelle SuperX-Maske als Lesezeichen im Browser speichern." border="0" /></a>
|
||
|
<a href="javascript:deeplink_dialog();" id="btnDeepLink" class="linkLookImage"><img title="Deeplink für aktuelle Maske anzeigen" alt="Deeplink für aktuelle Maske anzeigen" src="../images/link.svg" border="0" /></a>
|
||
|
<a href="javascript:showConfig();" id="btnKonfig"><img src="../images/table_sort.svg" alt="Konfiguration der Tabelle" title="Spaltensortierung- und Reihenfolge festlegen, Spalten entfernen" border="0" /></a>
|
||
|
<xsl:call-template name="nd_tableExportButtons" />
|
||
|
</div><!--Ende buttonbar; 061024BF verlagert-->
|
||
|
<xsl:if test="/ergebnisse/user [ @admin='true']">
|
||
|
<xsl:call-template name="nd_tableExportWeiterverarbeitung" />
|
||
|
</xsl:if>
|
||
|
<!--</div>--><!--Ende buttonbar; 061024BF verlagert-->
|
||
|
<!--</div>--><!--Ende container; 061014BFdeaktiviert-->
|
||
|
<xsl:call-template name="nd_JasperExportBtn" />
|
||
|
</div><!--Ende nd_buttonbar_table-->
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Buttonbar Tabelle-->
|
||
|
|
||
|
<!--#Template Beginn Buttonbar Export-->
|
||
|
<xsl:template name="nd_buttonbar_export">
|
||
|
<div id="nd_buttonbar_export">
|
||
|
<div class="buttonbar">
|
||
|
<a href="javascript:showConfig();" id="btnKonfig"><img src="../images/into_word.svg" alt="Ausgabe in Word" title="Ausgabe in Word" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('excel')"><img title="Ausgabe in Excel, normal" alt="Ausgabe in Excel, normal" src="../images/into_excel_normal.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('excel')"><img title="Ausgabe in Excel, große Datenmengen, mit Download" alt="Ausgabe in Excel, große Datenmengen, mit Download" src="../images/into_excel_big.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('excel')"><img title="Ausgabe in Excel, schön" alt="Ausgabe in Excel, schön" src="../images/into_excel_nice.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('pdf')"><img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat" src="../images/into_pdf.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('druckversion')"><img title="Ausgabe in HTML" alt="Ausgabe in HTML" src="../images/into_html.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();"><img title="Ausgabe als CSV, Text" alt="Ausgabe als CSV, Text" src="../images/into_csv_text.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();"><img title="Ausgabe als CSV, Excel" alt="Ausgabe als CSV,excel" src="../images/into_csv_excel.svg" border="0" /></a>
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('xml')"><img title="Ausgabe in XML" alt="Ausgabe in XML" src="../images/into_xml.svg" border="0" /></a>
|
||
|
<a href="javascript:showConfig();" id="btnKonfig"><img src="../images/into_mediawiki.svg" alt="mediaWiki" title="mediaWIKI" border="0" /></a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Buttonbar Export-->
|
||
|
|
||
|
<!--***Beginn EinzelTemplates je Button***-->
|
||
|
<!--HINWEIS: Alle Buttons müssen in die gemeinsame div class="buttonbar" integriert werden für korrekte Ausrichtung, Größe, Responsiveness-->
|
||
|
|
||
|
<!--#Template Beginn Button Schlüsselfelder anzeigen-->
|
||
|
<xsl:template name="nd_button_Keyfields">
|
||
|
<div id="nd_button_Keyfields">
|
||
|
<a href="javascript:deeplink_dialog();" id="btnDeepLink" class="linkLookImage"><img title="Schlüsselfelder anzeigen" alt="Schlüsselfelder anzeigen" src="../images/key.svg" border="0"/></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Schlüsselfelder anzeigen-->
|
||
|
|
||
|
<!--#Template Beginn Button Drucken-->
|
||
|
<xsl:template name="nd_button_Print">
|
||
|
<div id="nd_button_Print">
|
||
|
<a href="javascript:window.print();" id="btnPrint"><img src="../images/printer.svg" title="Die aktuelle Seite drucken (Dialog erscheint)" alt="Drucken" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Drucken-->
|
||
|
|
||
|
<!--#Template Beginn Button zurück zur Maske-->
|
||
|
<xsl:template name="nd_button_BackToMask">
|
||
|
<div id="nd_button_BackToMask">
|
||
|
<a id="btnBacktoMask" href="javascript:self.location.href='/superx/servlet/SuperXmlMaske'+'?tid='+getTid()+getParams('direkt')+'&cachingcontrol=reusemask'+'&navi=false'"><img src="../images/arrow_left_fat.svg" alt="zur Maske" title="zur Maske" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button zurück zur Maske-->
|
||
|
|
||
|
<!--#Template Beginn Button Nutzungsdoku-->
|
||
|
<xsl:template name="nd_button_UserDoc">
|
||
|
<div id="nd_button_UserDoc">
|
||
|
<a href="https://superxhosting.de/superx/doku/kern_modul/benutzer/main.htm" target="_blank"><img src="../images/bookblck_rotiert.svg" alt="Nutzungshandbuch" title="Nutzungshandbuch" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Nutzungsdoku-->
|
||
|
|
||
|
<!--#Template Beginn Button Lesezeichen-->
|
||
|
<xsl:template name="nd_button_Bookmark">
|
||
|
<div id="nd_button_Bookmark">
|
||
|
<a href="javascript:lesezeichen_erstellen();" id="btnBookmark"><img src="../images/attach.svg" alt="Lesezeichen erstellen" title="Die aktuelle SuperX-Maske als Lesezeichen im Browser speichern." border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Lesezeichen-->
|
||
|
|
||
|
<!--#Template Beginn Button DeepLink-->
|
||
|
<xsl:template name="nd_button_DeepLink">
|
||
|
<div id="nd_button_DeepLink">
|
||
|
<a href="javascript:deeplink_dialog();" id="btnDeepLink" class="linkLookImage"><img title="Deeplink für aktuelle Maske anzeigen" alt="Deeplink für aktuelle Maske anzeigen" src="../images/link.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button DeepLink-->
|
||
|
|
||
|
<!--#Template Beginn Button Spaltensortierung/-folge-->
|
||
|
<xsl:template name="nd_button_Konfig">
|
||
|
<div id="nd_button_Konfig">
|
||
|
<a href="javascript:showConfig();" id="btnKonfig"><img src="../images/table_sort.svg" alt="Konfiguration der Tabelle" title="Spaltensortierung- und Reihenfolge festlegen, Spalten entfernen" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Spaltensortierung/-folg-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach Word--><!--***ACHUNG: JavaScript/Link nicht korrekt***-->
|
||
|
<xsl:template name="nd_button_intoWord">
|
||
|
<div id="nd_button_intoWord">
|
||
|
<a href="javascript:showConfig();" id="btnKonfig"><img src="../images/into_word.svg" alt="Ausgabe in Word" title="Ausgabe in Word" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach Word-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach NormalExcel-->
|
||
|
<xsl:template name="nd_button_intoExcelNormal">
|
||
|
<div id="nd_button_intoExcelNormal">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('excel')"><img title="Ausgabe in Excel, normal" alt="Ausgabe in Excel, normal" src="../images/into_excel_normal.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach NormalExcel-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach BigExcel-->
|
||
|
<xsl:template name="nd_button_intoExcelBig">
|
||
|
<div id="nd_button_intoExcelBig">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('excel')"><img title="Ausgabe in Excel, große Datenmengen, mit Download" alt="Ausgabe in Excel, große Datenmengen, mit Download" src="../images/into_excel_big.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach BigExcel-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach NiceExcel-->
|
||
|
<xsl:template name="nd_button_intoExcelNice">
|
||
|
<div id="nd_button_intoExcelNice">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('excel')"><img title="Ausgabe in Excel, schön" alt="Ausgabe in Excel, schön" src="../images/into_excel_nice.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach NiceExcel-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach PDF-->
|
||
|
<xsl:template name="nd_button_intoPDF">
|
||
|
<div id="nd_button_intoPDF">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('pdf')"><img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat" src="../images/into_pdf.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach PDF-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach HTML-->
|
||
|
<xsl:template name="nd_button_intoHTML">
|
||
|
<div id="nd_button_intoHTML">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('druckversion')"><img title="Ausgabe in HTML" alt="Ausgabe in HTML" src="../images/into_html.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach HTML-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach CSV, Text-->
|
||
|
<xsl:template name="nd_button_intoCSVText">
|
||
|
<div id="nd_button_intoCSVText">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();"><img title="Ausgabe als CSV, Text" alt="Ausgabe als CSV, Text" src="../images/into_csv_text.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach CSV, Text-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach CSV, Excel--><!--ACHTUNG: LINK stimmt nicht-->
|
||
|
<xsl:template name="nd_button_intoCSVExcel">
|
||
|
<div id="nd_button_intoCSVExcel">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();"><img title="Ausgabe als CSV, Excel" alt="Ausgabe als CSV,excel" src="../images/into_csv_excel.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach CSV, Excel-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach XML-->
|
||
|
<xsl:template name="nd_button_intoXML">
|
||
|
<div id="nd_button_intoXML">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" href="javascript:prepareExport('xml')"><img title="Ausgabe in XML" alt="Ausgabe in XML" src="../images/into_xml.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach XML-->
|
||
|
|
||
|
<!--#Template Beginn Button Export nach MediaWiki-->
|
||
|
<xsl:template name="nd_button_intoMediaWiki">
|
||
|
<div id="nd_button_intoMediaWiki">
|
||
|
<a href="javascript:showConfig();" id="btnKonfig"><img src="../images/into_mediawiki.svg" alt="mediaWiki" title="mediaWIKI" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Export nach MediaWiki-->
|
||
|
|
||
|
<!--#Template Beginn Button TextKopie als csv in Zwischenablage-->
|
||
|
<xsl:template name="nd_button_Copy">
|
||
|
<div id="nd_button_Copy">
|
||
|
<a onmouseover="window.status='Export starten';return true" onfocus="window.status='Download starten';return true" onmouseout="window.status='Download starten';return true" onclick="copyText('table1');return false;" href=""><img title="Kopie in die Zwischenablage als CSV" alt="Kopie in die Zwischenablage als CSV" src="../images/copy.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button TextKopie als csv in Zwischenablage-->
|
||
|
|
||
|
<!--#Template Beginn Button Maskeninfo-Verwaltung-->
|
||
|
<xsl:template name="nd_button_MaskInfoEdit">
|
||
|
<div id="nd_button_MaskInfoEdit">
|
||
|
<a class="linkLookImage" href="https://superxhosting.de/superx/edit/kern/maskeninfo_edit.jsp?tid=520" onclick="javascript:neu=window.open('../edit/kern/maskeninfo_edit.jsp?tid=520','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=750'); return false;"><img title="Maskeninfo verwalten" alt="Maskeninfo verwalten" src="../images/book_open_edit2.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Maskeninfo-Verwaltung-->
|
||
|
|
||
|
<!--#Template Beginn Button Sachgebiet-Zuordnung-->
|
||
|
<xsl:template name="nd_button_MaskToSachgeb">
|
||
|
<div id="nd_button_MaskToSachgeb">
|
||
|
<a class="linkLookImage" href="https://superxhosting.de/superx/edit/kern/sachgeb_maske_bez_edit.jsp?maskeninfo_id=520" onclick="javascript:neu=window.open('../edit/kern/sachgeb_maske_bez_edit.jsp?maskeninfo_id=520','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img title="Sachgebiet zuordnen" alt="Sachgebiet zuordnen" src="../images/folder_edit.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button Sachgebiet-Zuordnung-->
|
||
|
|
||
|
<!--#Template Beginn Button StyleSheet-Zuordnung-->
|
||
|
<xsl:template name="nd_button_StyleToMask">
|
||
|
<div id="nd_button_StyleToMask">
|
||
|
<a class="linkLookImage" href="https://superxhosting.de/superx/edit/kern/maskeninfo_style.jsp?tid=520" onclick="javascript:neu=window.open('../edit/kern/maskeninfo_style.jsp?tid=520','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;"><img title="Stylesheets zuordnen" alt="Stylesheets zuordnen" src="../images/copy_edit.svg" border="0" /></a>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Button StyleSheet-Zuordnung-->
|
||
|
<!-- Hinweis: </div> Ende buttonbar nicht vergessen-->
|
||
|
|
||
|
<!--*****Templates fuer Ergebnisberichte*****-->
|
||
|
<!--#Template Beginn Legende, Eräuterung-->
|
||
|
<xsl:template name="nd_legend_explanation">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0" />
|
||
|
|
||
|
<xsl:variable name="legendeDivId"><xsl:text>modalCard_legende</xsl:text><xsl:value-of select="$ergebniselement_ordnr" /></xsl:variable>
|
||
|
<xsl:variable name="erlaeuterungDivId"><xsl:text>modalCard_erlaeuterung</xsl:text><xsl:value-of select="$ergebniselement_ordnr" /></xsl:variable>
|
||
|
<xsl:variable name="renderLegendAsModalCard">
|
||
|
<xsl:call-template name="renderLegendAsModalCard" />
|
||
|
</xsl:variable>
|
||
|
|
||
|
<div id="nd_legend_explanation">
|
||
|
<div class="legend-explanation">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="$renderLegendAsModalCard='true'">
|
||
|
<a><xsl:attribute name="onClick"><xsl:text>openModal('</xsl:text><xsl:value-of select="$legendeDivId" /><xsl:text>');</xsl:text></xsl:attribute>
|
||
|
<span class="button is-small is-outlined is-link is-modal-button">Legende ...</span>
|
||
|
</a>
|
||
|
<xsl:call-template name="nd_legende_modal">
|
||
|
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" />
|
||
|
</xsl:call-template>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<!--Legende nicht im modalen Dialog, sondern inline:-->
|
||
|
<xsl:call-template name="nd_legendeContent">
|
||
|
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" />
|
||
|
<xsl:with-param name="isDisplayedInModal" select="'false'" />
|
||
|
</xsl:call-template>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
|
||
|
<xsl:call-template name="nd_erlaeuterung_modal">
|
||
|
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" />
|
||
|
</xsl:call-template>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<xsl:if test="errmsg !=''">
|
||
|
<div class="notification is-warning">
|
||
|
<xsl:copy-of select="errmsg" />
|
||
|
</div></xsl:if>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="renderLegendAsModalCard" >
|
||
|
<xsl:text>false</xsl:text>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Legende, Erläuterung-->
|
||
|
|
||
|
|
||
|
<!--#Template Beginn -->
|
||
|
<xsl:template name="nd_singleTable">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0" />
|
||
|
<xsl:param name="showPager" select="'top_bottom'" />
|
||
|
<div id="nd_resultset_simple" >
|
||
|
<xsl:if test="contains($showPager,'top')">
|
||
|
<xsl:call-template name="nd_seitenpager" >
|
||
|
<xsl:with-param name="isBottomPager" select="'false'" />
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</xsl:if>
|
||
|
<!--<div class="table-container"> reakiviertBF20240608-->
|
||
|
<table id="{concat('table',$ergebniselement_ordnr + 1)}" class="ergtabelle" style="display:block"><!--bulma:class="table is-bordered is-striped is-narrow is-hoverable" -->
|
||
|
<thead>
|
||
|
<xsl:call-template name="nd_tableheader"/>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<xsl:call-template name="nd_tablebody"/>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<!-- </div> Ende singletable-container-->
|
||
|
<!-- start fuß-->
|
||
|
<xsl:if test="contains($showPager,'bottom')">
|
||
|
<xsl:call-template name="nd_seitenpager" >
|
||
|
<xsl:with-param name="isBottomPager" select="'true'" />
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</xsl:if>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Modultabelle-->
|
||
|
<xsl:template name="nd_tableheader">
|
||
|
<!--Spaltenüberschriften: zunächst wird geprüft, ob Spaltenüberschriften verknüpft werden sollen
|
||
|
|
||
|
<xsl:variable name="spanned_cols">
|
||
|
<xsl:for-each select="sqlerg/headers/header">
|
||
|
<xsl:if test="contains(wert,'\000')">
|
||
|
<xsl:text>true</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</xsl:variable>
|
||
|
|
||
|
<xsl:when test="contains($spanned_cols,'true')">
|
||
|
<xsl:variable name="headers_str">
|
||
|
<xsl:for-each select="sqlerg/headers/header">
|
||
|
<xsl:value-of select="concat('^',wert)" />
|
||
|
</xsl:for-each>
|
||
|
</xsl:variable>
|
||
|
<xsl:value-of select="sx:headers2html($headers_str)" disable-output-escaping="yes"/>
|
||
|
-->
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@hasAggregationHeaders='true'">
|
||
|
<xsl:for-each select="sqlerg/aggregationHeaders/tr">
|
||
|
<tr>
|
||
|
<!--auch bei aggregierten Headers Spalten die mit hidden_starten nicht anzeigen-->
|
||
|
<xsl:for-each select="th [not (starts-with(@f_name,'hidden')) and @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:text>col</xsl:text></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:choose>
|
||
|
<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 class="svg_icon" border='0' src='/superx/xml/tree_minus_rect.svg'/> 
|
||
|
<xsl:call-template name="removeBackslashN" >
|
||
|
<xsl:with-param name="derwert"><xsl:value-of select="." /></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'">
|
||
|
<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 class="svg_icon" border='0' src='/superx/xml/tree_plus_rect.svg'/> 
|
||
|
<xsl:call-template name="removeBackslashN" >
|
||
|
<xsl:with-param name="derwert"><xsl:value-of select="." /></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:value-of select="." /></xsl:with-param>
|
||
|
<xsl:with-param name="format"><xsl:value-of select="'html'" /></xsl:with-param>
|
||
|
</xsl:call-template>
|
||
|
</xsl:otherwise>
|
||
|
</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('^',wert)" />
|
||
|
</xsl:for-each>
|
||
|
</xsl:variable>
|
||
|
<xsl:value-of select="sx:headers2html($headers_str)" disable-output-escaping="yes"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_tablebody">
|
||
|
<xsl:variable name="erglevelmax"><xsl:text>5</xsl:text>
|
||
|
|
||
|
</xsl:variable>
|
||
|
<xsl:for-each select="sqlerg/row">
|
||
|
<!-- MB ausgelagert nach resultset.xsl-->
|
||
|
<xsl:call-template name="resultrow">
|
||
|
<xsl:with-param name="row" select="."/>
|
||
|
<xsl:with-param name="erglevelmax" select="$erglevelmax"/>
|
||
|
<!-- wenn versteckte Links angegeben sind, nach dem Schema hidden_fname diese anzeigen-->
|
||
|
<xsl:with-param name="showlinks"><xsl:text>true</xsl:text></xsl:with-param>
|
||
|
</xsl:call-template>
|
||
|
</xsl:for-each>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_tableCSS">
|
||
|
<!--<link rel="stylesheet" type="text/css" href="../style/superx.css"/>
|
||
|
<link rel="stylesheet" type="text/css" href="../xml/menue_html.css"/>
|
||
|
<link rel="stylesheet" type="text/css" href="../xml/superxml_html.css"/>
|
||
|
<link rel="stylesheet" type="text/css" href="../xml/maske_html.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../xml/tabelle_html.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../xml/superx_standalone.css"/>-->
|
||
|
<style type="text/css">
|
||
|
.dojoDialog {background : #eee; border : 1px solid #999;-moz-border-radius : 5px;padding : 4px;width:800px;overflow:scroll}
|
||
|
.treebutton {
|
||
|
border:none;
|
||
|
margin: 0 4px 0 0;
|
||
|
}
|
||
|
@media print{
|
||
|
.dontprint{display:none;}
|
||
|
}
|
||
|
</style>
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
<!-- start DOJO Dialoge-->
|
||
|
<xsl:template name="nd_tableDialogs">
|
||
|
<xsl:if test="/ergebnisse/@isMakro!='true'">
|
||
|
<!-- start configdlg-->
|
||
|
<div dojoType="dialog" id="configdlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="250" closeNode="ok" style="display:none">
|
||
|
|
||
|
<form name="configform" onsubmit="return false;">
|
||
|
|
||
|
<table style="font-size:10pt">
|
||
|
<tr><td align="center"><h3>Spaltenreihenfolge</h3></td><td align="center" valign="top"><h3>Sortierung der Ergebnisse</h3></td></tr>
|
||
|
<tr><td align="left">
|
||
|
<div style="height:250px;width:300px;overflow:scroll"><!-- IE needs non-dojo div vor scrolling-->
|
||
|
<ul id="spaltenliste">
|
||
|
<li>Keine Spalteninformation gefunden</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<!--
|
||
|
<p align="center"><b>MÜLLEIMER</b></p>
|
||
|
<div style="height:80px;width:350px;overflow:scroll">-->
|
||
|
<!-- IE needs non-dojo div vor scrolling-->
|
||
|
<!--
|
||
|
<ul id="spaltentrash"><li>nicht dargestellte Spalten</li></ul>
|
||
|
</div>
|
||
|
-->
|
||
|
<label> <![CDATA[Sie können einen Eintrag anklicken und ]]><br/>
|
||
|
<![CDATA[ bei gedrückter li. Maustaste verschieben]]> <br/>
|
||
|
<![CDATA[die schwarze Hilfslinie zeigt das Ziel an.]]><br/>
|
||
|
<![CDATA[ Entfernen Sie das Häkchen bei "anzeigen",]]><br/>
|
||
|
<![CDATA[ um Spalten auszublenden]]><br/>
|
||
|
<!-- <![CDATA[ in den Mülleimer ziehen.]]> -->
|
||
|
</label>
|
||
|
</td>
|
||
|
<td>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/ergebniselement/sqlerg/@istreetable='true'">
|
||
|
<p>Sortieren nach Spalte bei hierarchischer Darstellung nicht möglich</p>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<p>Sortieren nach Spalte</p>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
<div id="sortierspalten">
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div class="buttons">
|
||
|
<button class="button is-primary is-outlined" id="ok" onclick="tableReload('','');">OK</button> 
|
||
|
|
||
|
<button class="button is-info is-outlined" id="restore" onclick="tableReload('restore','restore');">Alles zurücksetzen</button> 
|
||
|
<button class="button" id="abbrechen" onclick="configdlg.hide()">Abbrechen</button> 
|
||
|
</div>
|
||
|
|
||
|
</form>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
<!-- end configdlg -->
|
||
|
<!-- start export dlg dojoType="dialog" -->
|
||
|
<div dojoType="dialog" id="ttexdlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="250" closeNode="hidettexdlg" style="display:none">
|
||
|
<form name="treetableexportform" onsubmit="return false;">
|
||
|
<p align="center">
|
||
|
<b>EXPORT</b>
|
||
|
<br />Welche Daten sollen exportiert werden?<br/>
|
||
|
<button class="button" id="treesomedata" onclick="exportandhidedlg('some rows');startExport">Nur die sichtbaren Tabellenzeilen</button> 
|
||
|
<button class="button" id="treealldata" onclick="exportandhidedlg('all rows')">Alle Daten</button> 
|
||
|
<br/>
|
||
|
<button class="button" id="hidettexdlg">Abbrechen</button>
|
||
|
</p>
|
||
|
</form>
|
||
|
</div>
|
||
|
<!-- end export dlg -->
|
||
|
</xsl:if>
|
||
|
|
||
|
<!-- start lesezeichen -->
|
||
|
<div dojoType="dialog" id="lesezeichendlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="250" closeNode="hidelesezeichen" style="display:none">
|
||
|
<form name="lesezeichenform" onsubmit="return false;">
|
||
|
<h1 align="center">Lesezeichen erstellen</h1>
|
||
|
<div id="lesezeichenlinkdiv">
|
||
|
<p align="center"> Hier Ihr Lesezeichen-Link:</p>
|
||
|
<h3 align="center"><a id="lesezeichenlink"></a></h3>
|
||
|
<p align="center" id="lesezeicheninfoIE"> Klicken Sie mit der <b><font color="red">rechten Maustaste</font></b> auf den obigen Link und wählen Sie <br/><br/><b>"Zu Favoriten hinzufügen"</b><br/>
|
||
|
<br/>
|
||
|
Es folgt ein Sicherheitshinweis <br/>"Sie fügen einen Favoriten hinzu, der möglicherweise nicht sicher ist"<br/>
|
||
|
Den können Sie bestätigen, da SuperX-Lesezeichen nur harmloses JavaScript verwenden.<br/><br/>
|
||
|
Hinweis: Damit SuperX-Lesezeichen im IE7 aufgerufen werden können, muss vorher eine beliebige andere Seite angezeigt werden.</p>
|
||
|
<p align="center" id="lesezeicheninfoFF"> Klicken Sie mit der <b><font color="#f17c00">rechten Maustaste</font></b> auf den obigen Link und wählen Sie <br/><b>"Lesezeichen für diesen Link hinzufügen"</b>
|
||
|
</p>
|
||
|
<p align="center" id="lesezeicheninfoOther">
|
||
|
Klicken Sie mit der linken Maustaste auf den Link, dann öffnet sich ein neues Fenster mit der Maske, die Sie dann als Lesezeichen hinzufügen können.</p>
|
||
|
<br/><br/><br/><br/><br/><br/><br/>
|
||
|
<p align="center"><button class="button" id="hidelesezeichen">Dialog schließen</button></p>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
<!-- end lesezeichen-->
|
||
|
<!-- start deeplink-->
|
||
|
<div dojoType="dialog" id="deeplinkdlg" bgColor="darkgray" bgOpacity="0.7" toggle="fade" toggleDuration="250" closeNode="hidedeeplink" style="display:none">
|
||
|
<form name="deeplinkform" onsubmit="return false;">
|
||
|
<h1 align="center">Deeplink erstellen</h1>
|
||
|
<div id="deeplinkdiv">
|
||
|
<br/><br/>
|
||
|
<p align="center">
|
||
|
Ausgabe
|
||
|
<select id="deeplinkausgabe" name="deeplinkausgabe" size="1" onchange="deeplink_ausgabeformat()">
|
||
|
<option value="tabelle_html.xsl">Standard HTML mit Navigation</option>
|
||
|
<option value="tabelle_html.xsl">Standard HTML</option>
|
||
|
<option value="tabelle_html_p.xsl">Standard Druckversion</option>
|
||
|
<option value="tabelle_xls.xsl">Standard Excel</option>
|
||
|
<option value="tabelle_fo_pdf.xsl">Standard PDF</option>
|
||
|
<option value="tabelle_xml.xsl">Standard XML</option>
|
||
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[filename!='tabelle_html.xsl' and filename!='tabelle_html_p.xsl' and filename!='tabelle_xls.xsl'
|
||
|
and filename!='tabelle_fo_pdf.xsl' and filename!='tabelle_xml.xsl' and filename!='tabelle2jasperreport_generic.xsl']">
|
||
|
<option>
|
||
|
<xsl:attribute name="value"><xsl:value-of select="filename"/></xsl:attribute>
|
||
|
<xsl:value-of select="caption"/>
|
||
|
</option>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</select>
|
||
|
</p>
|
||
|
<div id="div_jasper_ausgabeformat" style="display:none">
|
||
|
<p align="center"> Ausgabeformat
|
||
|
<select id="jasper_ausgabeformat" onchange="document.getElementById('deeplinktext').innerHTML='';">
|
||
|
<option></option>
|
||
|
<!--obsolet: <option value="application/vnd.ms-excel">Excel</option>-->
|
||
|
<option value="application/pdf">PDF</option>
|
||
|
<option value="application/rtf">RTF</option>
|
||
|
<option value="application/vnd.oasis.opendocument.spreadsheet">ODS</option>
|
||
|
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLSX</option>
|
||
|
<option value="text/html" selected="true">HTML</option></select>
|
||
|
</p>
|
||
|
</div>
|
||
|
<p align="center"> <button class="button is-primary is-outlined" id="deeplinkcreate" >
|
||
|
<xsl:attribute name="onclick"><xsl:text>createLinkForMask('</xsl:text><xsl:value-of select="/ergebnisse/@hisinone_refapp" /><xsl:text>','</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colset"/><xsl:text>','</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colsort"/><xsl:text>');</xsl:text></xsl:attribute>
|
||
|
Link erzeugen</button>
|
||
|
</p>
|
||
|
<textarea class="textarea" id="deeplinktext" name="deeplinktext" rows="13"></textarea>
|
||
|
<p align="center"> Den fertigen Link können Sie per Copy&Paste kopieren</p>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
<p align="center"><button class="button" id="hidedeeplink">Dialog schließen</button></p>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
<!--ende deeplink-->
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_getTeiltabelleName">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0"/>
|
||
|
<xsl:value-of select="../maskenname" />
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_seitenpager">
|
||
|
<xsl:param name="maxRowsPerPage" select="30" />
|
||
|
<xsl:param name="isBottomPager" />
|
||
|
<xsl:if test="/ergebnisse/@isMakro!='true' and /ergebnisse/ergebnis/ergebniselement/sqlerg/@istreetable!='true'">
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="sqlerg/@max=0">
|
||
|
<xsl:if test="$isBottomPager='true'">
|
||
|
<p class="dontprint">Keinen Treffer gefunden.</p>
|
||
|
</xsl:if>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="sqlerg/@max <=$maxRowsPerPage">
|
||
|
<!--kein pager-->
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:variable name="stylesheet">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/stylesheets/stylesheet/filename !='tabelle_html.xsl'">
|
||
|
<xsl:value-of select="/ergebnisse/stylesheets/stylesheet/filename" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>tabelle_html.xsl</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
|
||
|
<p class="dontprint pagination-container"> <!--20240611 BF eingefügt-->
|
||
|
<a title="Erste Seite">
|
||
|
<xsl:attribute name="class"><xsl:text>pagination-previous</xsl:text>
|
||
|
<xsl:if test="(sqlerg/@offset = 0)">
|
||
|
<xsl:text> is-disabled</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="(sqlerg/@offset > 0)">
|
||
|
<xsl:attribute name="href"><xsl:text>javascript:pager(document.forms[0],'</xsl:text><xsl:value-of select="$stylesheet" /><xsl:text>',0);</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<!--<img src="../images/resultset_first.svg" class="icon" border="0" alt="Zur ersten Seite"/>-->
|
||
|
<span class="icon is-small"><img src="../images/resultset_first.svg" border="0" alt="Zur ersten Seite" ></img></span>
|
||
|
</a>
|
||
|
|
||
|
<a title="Vorherige Seite">
|
||
|
<xsl:attribute name="class"><xsl:text>pagination-previous</xsl:text>
|
||
|
<xsl:if test="(sqlerg/@offset = 0)">
|
||
|
<xsl:text> is-disabled</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="(sqlerg/@offset > 0)">
|
||
|
<xsl:attribute name="href"><xsl:text>javascript:pager(document.forms[0],'</xsl:text><xsl:value-of select="$stylesheet" />
|
||
|
<xsl:text>',</xsl:text>
|
||
|
<xsl:value-of select="((sqlerg/@offset) - (sqlerg/@maxOffset))" /><xsl:text>);</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<!--<img src="../images/resultset_previous.svg" class="icon" border="0" alt="Zur vorherigen Seite"/>-->
|
||
|
<span class="icon is-small"><img src="../images/resultset_previous.svg" border="0" alt="Zur vorherigen Seite" ></img></span>
|
||
|
</a>
|
||
|
|
||
|
<span class="pagination-info"> <!--20240611 BF eingefügt-->
|
||
|
<xsl:call-template name="nd_datensatzzaehler" />
|
||
|
<xsl:call-template name="nd_seitenzaehler" />
|
||
|
</span>
|
||
|
|
||
|
<a title="Nächste Seite">
|
||
|
<xsl:attribute name="class"><xsl:text>pagination-next</xsl:text>
|
||
|
<xsl:if test="(sqlerg/@offset + sqlerg/@maxOffset) = sqlerg/@max">
|
||
|
<xsl:text> is-disabled</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="(sqlerg/@offset + sqlerg/@maxOffset) < sqlerg/@max">
|
||
|
<xsl:attribute name="href"><xsl:text>javascript:pager(document.forms[0],'</xsl:text><xsl:value-of select="$stylesheet" />
|
||
|
<xsl:text>',</xsl:text>
|
||
|
<xsl:value-of select="((sqlerg/@offset) + (sqlerg/@maxOffset))" /><xsl:text>);</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<!--<img src="../images/resultset_next.svg" class="icon" border="0" alt="Zur nächsten Seite"/>-->
|
||
|
<span class="icon is-small"><img src="../images/resultset_next.svg" border="0" alt="Zur nächsten Seite" ></img></span>
|
||
|
</a>
|
||
|
|
||
|
<xsl:variable name="offset">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="(sqlerg/@max) mod (sqlerg/@maxOffset) = 0">
|
||
|
<xsl:value-of select="sqlerg/@max - sqlerg/@maxOffset" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="sqlerg/@max - ((sqlerg/@max) mod (sqlerg/@maxOffset))" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
|
||
|
<a title="Letzte Seite">
|
||
|
<xsl:attribute name="class"><xsl:text>pagination-next</xsl:text>
|
||
|
<xsl:if test="(sqlerg/@offset + sqlerg/@maxOffset) = sqlerg/@max">
|
||
|
<xsl:text> is-disabled</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="(sqlerg/@offset + sqlerg/@maxOffset) < sqlerg/@max">
|
||
|
<xsl:attribute name="href"><xsl:text>javascript:pager(document.forms[0],'</xsl:text><xsl:value-of select="$stylesheet" />
|
||
|
<xsl:text>',</xsl:text>
|
||
|
<xsl:value-of select="$offset" /><xsl:text>);</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<!--<img src="../images/resultset_last.svg" class="icon" border="0" alt="Zur letzten Seite"/>-->
|
||
|
<span class="icon is-small"><img src="../images/resultset_last.svg" border="0" alt="Zur letzten Seite" ></img></span>
|
||
|
</a>
|
||
|
</p> <!--Ende pagination-container-->
|
||
|
</xsl:otherwise><!-- wenn überhaupt Daten vorliegen -->
|
||
|
</xsl:choose>
|
||
|
</xsl:if>
|
||
|
|
||
|
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_datensatzzaehler">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="sqlerg/@max=0">
|
||
|
Kein Treffer gefunden
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
Treffer <xsl:choose>
|
||
|
<xsl:when test="sqlerg/@offset=0 and sqlerg/@max=0">0</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="sqlerg/@offset+1"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose> -
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="(sqlerg/@offset + sqlerg/@maxOffset) < sqlerg/@max">
|
||
|
<xsl:value-of select="(sqlerg/@offset + sqlerg/@maxOffset)"/> von insgesamt
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="sqlerg/@max =1 ">
|
||
|
<xsl:value-of select="sqlerg/@max"/> Treffer.
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="sqlerg/@max"/> Treffern.
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="sqlerg/@max"/> von insgesamt
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="sqlerg/@max =1 ">
|
||
|
<xsl:value-of select="sqlerg/@max"/> Treffer.
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="sqlerg/@max"/> Treffern.
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_seitenzaehler">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="sqlerg/@max=0">
|
||
|
Seite 1 von 1
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
Seite
|
||
|
<xsl:value-of select="floor(((sqlerg/@offset+1+30)) div 30)"/>
|
||
|
von
|
||
|
<xsl:value-of select="floor(((sqlerg/@max)+30) div 30)"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:text> </xsl:text>
|
||
|
</xsl:template>
|
||
|
|
||
|
<!--*****Templates fuer Masken-Formulare*****-->
|
||
|
<!--#Template Beginn Auswahlfelder--> <!--*** Links für Infobuttons sind noch anzupassen ***-->
|
||
|
<xsl:template name="nd_selectionform">
|
||
|
<xsl:variable name="showResetLink">
|
||
|
<xsl:call-template name="showResetLink" />
|
||
|
</xsl:variable>
|
||
|
<div id="nd_selectionform">
|
||
|
<div class="columns">
|
||
|
<div class="column">
|
||
|
<form name="maske" id="SuperXMaske" method="post" charset="UTF-8" action="SuperXmlTabelle" >
|
||
|
<xsl:if test="/maske/felder/feld[art=19]!=''" >
|
||
|
<xsl:attribute name="enctype">multipart/form-data</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:for-each select="/maske">
|
||
|
<xsl:call-template name="nd_selectionform_and_table_JS" />
|
||
|
<xsl:call-template name="nd_selectionform_JS">
|
||
|
<xsl:with-param name="isCalledInMask" select="'true'" />
|
||
|
</xsl:call-template>
|
||
|
<div class="field-container">
|
||
|
<input type="hidden" name="keyfieldsused" value="false"/>
|
||
|
<input type="hidden" name="tid"><xsl:attribute name="value"><xsl:value-of select="/maske/@tid"/></xsl:attribute></input>
|
||
|
<input type="hidden" name="stylesheet" value="" />
|
||
|
|
||
|
<!-- Merkfelder für Sichten/Stände -->
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:for-each select="sichten/sicht">
|
||
|
<xsl:if test="@selected='true'">
|
||
|
<xsl:text>
|
||
|
</xsl:text>
|
||
|
<input type="hidden">
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="../../name"/></xsl:with-param></xsl:call-template>
|
||
|
<xsl:text>_Sichtmerker</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="value">
|
||
|
<!-- MB 6.10.08 UTF <xsl:call-template name="umlaut_urlencode"><xsl:with-param name="s1"><xsl:value-of select="@name_intern"/></xsl:with-param></xsl:call-template>-->
|
||
|
<xsl:value-of select="@name_intern"/>
|
||
|
</xsl:attribute>
|
||
|
</input>
|
||
|
<xsl:text>
|
||
|
</xsl:text>
|
||
|
<input type="hidden">
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="../../name"/></xsl:with-param></xsl:call-template>
|
||
|
<xsl:text>_Standmerker</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:value-of select="@stand"/>
|
||
|
</xsl:attribute>
|
||
|
</input>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</xsl:for-each>
|
||
|
|
||
|
<xsl:if test="nachricht !=''"><p><xsl:copy-of select="nachricht" /></p></xsl:if>
|
||
|
|
||
|
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:call-template name="nd_selectionform_field" />
|
||
|
</xsl:for-each>
|
||
|
</div><!--Ende field-container-->
|
||
|
|
||
|
</xsl:for-each>
|
||
|
<xsl:call-template name="nd_formsubmit" >
|
||
|
<xsl:with-param name="showResetLink" select="$showResetLink" />
|
||
|
</xsl:call-template>
|
||
|
|
||
|
<!--#Template Ende Auswahlformular-Buttons-->
|
||
|
|
||
|
</form> <!--Ende-Eingabeformular-->
|
||
|
|
||
|
</div><!--Ende Spalte Maskenfelder-->
|
||
|
<xsl:if test="count(/maske/felder/feld[art=18]) > 0">
|
||
|
<div class ="column is-5"><!--Beginn nd_selectionform_field_weitere_einst-Column-->
|
||
|
<!--#Template Beginn nd_selectionform_field_weitere_einst-->
|
||
|
<xsl:call-template name="nd_selectionform_field_weitere_einst" />
|
||
|
<!--#Template Ende nd_selectionform_field_weitere_einst-->
|
||
|
</div> <!--Ende nd_selectionform_field_weitere_einst-Column-->
|
||
|
</xsl:if>
|
||
|
<!--Ende nd_selectionform_field_weitere_einst-->
|
||
|
</div><!--Ende columns Maskenfelder und weitere Einst.-->
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Auswahlfelder-->
|
||
|
<!--#Template Anfang Auswahlfeld-->
|
||
|
|
||
|
<xsl:template name="nd_selectionform_field">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="attribut!='hidden' and name!='##line##' and art!=18">
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container" lang="de">
|
||
|
<xsl:call-template name="nd_selectionform_field_label" />
|
||
|
</div>
|
||
|
|
||
|
<!--<div class="field-body">--> <!--220424BFdeaktiviert-->
|
||
|
<!--<div class="field is-active">--> <!--220424BFdeaktiviert-->
|
||
|
<!--<p class="control-new">--> <!--220424BFdeaktiviert-->
|
||
|
<xsl:call-template name="nd_selectionform_field_input" />
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</xsl:when>
|
||
|
<xsl:when test="name='##line##'">
|
||
|
<!--<span class="separator"> </span>--> <!--23102024BFdeaktiviert-->
|
||
|
<!--<hr />-->
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<input class="schluesselfeld" type="hidden">
|
||
|
<xsl:attribute name="id"><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
||
|
<xsl:attribute name="name"><xsl:value-of select="name"/></xsl:attribute>
|
||
|
|
||
|
<xsl:if test="defaultwert/key!=''">
|
||
|
<xsl:attribute name="value"><xsl:value-of select="defaultwert/key"/></xsl:attribute>
|
||
|
</xsl:if>
|
||
|
</input>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Auswahlfeld-->
|
||
|
<xsl:template name="nd_selectionform_field_label">
|
||
|
<xsl:variable name="labelClass">
|
||
|
<xsl:text>label is-small trennung</xsl:text> <!--"trennung" sorgt für Umbruch bei langen Labels-->
|
||
|
<xsl:if test="obligatorisch='1'"><xsl:text> required</xsl:text></xsl:if>
|
||
|
</xsl:variable>
|
||
|
<xsl:choose>
|
||
|
<!-- start 0-->
|
||
|
<xsl:when test="art='0' and zeilenanzahl > 1">
|
||
|
<label class="{$labelClass}"><xsl:value-of select="name" /></label>
|
||
|
</xsl:when>
|
||
|
<!-- end 0 -->
|
||
|
<!-- start 1,2-->
|
||
|
<xsl:when test="(art='1' or art='2') and (@isDynamic='true' or zeilenanzahl > 1)">
|
||
|
<xsl:if test="obligatorisch='1'"><xsl:text>* </xsl:text></xsl:if>
|
||
|
<span class="labelSichtorComboButton">
|
||
|
<xsl:attribute name="onClick">
|
||
|
<xsl:call-template name="ndMaskeComboLadenOnClick" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="caption_short != ''"><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]></xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</span>
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<!-- end 1,2-->
|
||
|
<!-- start 4,6,7,12 Sichten -->
|
||
|
<xsl:when test="(art='4' or art='6' or art='7' or art='12') and attribut!='hidden' ">
|
||
|
<xsl:call-template name="nd_SichtBtn" />
|
||
|
</xsl:when>
|
||
|
<!-- end-->
|
||
|
<!-- start 13/15-->
|
||
|
<xsl:when test="art = '13' or art = '15' or art = '18'">
|
||
|
<!--Kein Label bei versteckten Feldern und Hyperlinks-->
|
||
|
</xsl:when>
|
||
|
|
||
|
<xsl:otherwise>
|
||
|
<span>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="obligatorisch='1'">
|
||
|
<xsl:attribute name="class">labelPflicht</xsl:attribute><xsl:text>* </xsl:text></xsl:when>
|
||
|
<xsl:otherwise><xsl:attribute name="class">labelNormal</xsl:attribute></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="caption_short != ''"><![CDATA[]]><xsl:value-of select="caption_short" /><![CDATA[]]></xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="name" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</span>
|
||
|
|
||
|
</xsl:otherwise>
|
||
|
<!-- end otherwise -->
|
||
|
</xsl:choose>
|
||
|
</xsl:template>
|
||
|
|
||
|
<!-- start dojosicht-->
|
||
|
<xsl:template name="nd_SichtBtn">
|
||
|
<span class="labelSichtorComboButton">
|
||
|
<xsl:attribute name="onClick">
|
||
|
<xsl:call-template name="ndMaskeSichtLadenOnClick" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="obligatorisch='1'"><xsl:text>* </xsl:text></xsl:if>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="caption_short != ''"><![CDATA[]]><xsl:value-of select="caption_short"/><![CDATA[]]></xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</span>
|
||
|
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_SichtValue">
|
||
|
<xsl:call-template name="nd_selectionform_field_input_schluesselfeld" />
|
||
|
<input type="label" readonly ="true" class="input is-small is-fullwidth">
|
||
|
<xsl:attribute name="name"><xsl:text>label_</xsl:text> <xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
||
|
<xsl:attribute name="id"><xsl:text>label_</xsl:text> <xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
||
|
|
||
|
<xsl:attribute name="tabindex">
|
||
|
|
||
|
<xsl:value-of select="10000+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="defaultwert/key!=''"><xsl:value-of select="defaultwert/name"/></xsl:when>
|
||
|
<!-- AK 20.08.2014 von "bitte wählen" nach "nichts gewählt" -->
|
||
|
<xsl:otherwise> nichts gewählt </xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="onClick">
|
||
|
<xsl:call-template name="ndMaskeSichtLadenOnClick" />
|
||
|
</xsl:attribute>
|
||
|
|
||
|
</input>
|
||
|
<!--<xsl:if test="string-length(sichten/sicht [ @selected='true' ]/@stand) > 1 ">-->
|
||
|
<div id="{concat(name,'-Stand','-div')}" style="display:none">
|
||
|
Stand: <input type="text" size="10" class="sichtText">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="string-length(sichten/sicht [ @selected='true' ]/@stand) > 1 ">
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:value-of select="sichten/sicht[ @selected='true' ]/@stand"/>
|
||
|
</xsl:attribute>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:attribute name="value"><xsl:value-of select="'01.01.2024'"/>
|
||
|
</xsl:attribute>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:attribute name="name">
|
||
|
<xsl:value-of select="concat(name,'-Stand')"/>
|
||
|
</xsl:attribute>
|
||
|
</input>
|
||
|
</div>
|
||
|
<!--</xsl:if>-->
|
||
|
|
||
|
|
||
|
<!--
|
||
|
Abfrage ob Sicht überhaupt mitkommt:-->
|
||
|
<xsl:if test="count(sichten/sicht) > 1 ">
|
||
|
<div id="{concat(name,'-Sicht','-div')}" style="display:none">Sicht: <select class="maskinput">
|
||
|
<xsl:attribute name="name">
|
||
|
<xsl:value-of select="concat(name,'-Sicht')"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:for-each select="sichten/sicht">
|
||
|
<option class="maskinput">
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:value-of select="@tid"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="@selected = 'true'">
|
||
|
<xsl:attribute name="selected">
|
||
|
<xsl:value-of select="@selected"/>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:value-of select="."/></option>
|
||
|
</xsl:for-each>
|
||
|
</select>
|
||
|
</div>
|
||
|
</xsl:if>
|
||
|
</xsl:template>
|
||
|
<!-- end dojosicht -->
|
||
|
<xsl:template name="nd_indent_levels">
|
||
|
<xsl:param name="ebene"/>
|
||
|
|
||
|
<xsl:if test="$ebene='1'">
|
||
|
<xsl:text>  -</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="$ebene='2'">
|
||
|
<xsl:text>    -</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="$ebene='3'">
|
||
|
<xsl:text>      -</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="$ebene='4'">
|
||
|
<xsl:text>        -</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="$ebene='5'">
|
||
|
<xsl:text>          -</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="$ebene='6'">
|
||
|
<xsl:text>          -</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_progressbar">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="count(/maske/felder/feld[name='Ausgabeformat']) > 0 or count(/maske/felder/feld[name='Exportformat']) > 0 or count(/maske/felder/feld[name='contenttype']) > 0">
|
||
|
<div id="progressbar" style="position:absolute; width:1px; height:1px; left:1px; top:1px; z-index:2001"></div>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<div id="progressbar" style="display:none;
|
||
|
-webkit-box-shadow: 3px 3px 15px #aaaaaa;
|
||
|
-moz-box-shadow : 3px 3px 15px #aaaaaa;
|
||
|
-o-box-shadow : 3px 3px 15px #aaaaaa;
|
||
|
box-shadow : 3px 3px 15px #aaaaaa;
|
||
|
position: fixed;
|
||
|
width: 250px;
|
||
|
height: 115px;
|
||
|
left: 50%;
|
||
|
margin-left: -150px;
|
||
|
top: 200px;
|
||
|
background-color: rgba(255, 255, 255, 0.9);
|
||
|
z-index: 2001;
|
||
|
background-position: initial;
|
||
|
background-repeat: initial;
|
||
|
border: 1px solid #DFDFDF;
|
||
|
-moz-border-radius: 1px;
|
||
|
border-radius: 1px;
|
||
|
"><center><p> <br/><img src="/superx/images/icons/loader_33.gif" style="position: center;height:33px; width:33px;"></img><br/><br/><b style="font-style: italic; font-weight: normal">Bitte warten ...</b></p></center></div>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:template>
|
||
|
<!--#Template Beginn Maske weitere Einstellungen-Card-->
|
||
|
<xsl:template name="nd_selectionform_field_weitere_einst">
|
||
|
|
||
|
<aside class="menu">
|
||
|
<p class="menu-label">Weitere Einstellungen:</p>
|
||
|
<ul class="menu-list">
|
||
|
<xsl:for-each select="/maske/felder/feld[art=18]">
|
||
|
<li><a target="_blank">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="contains(defaultwert/key,'|')">
|
||
|
<!-- MB 9/14 encode URL ignoriert jsession id -->
|
||
|
<xsl:value-of select="concat(substring-before(defaultwert/key,'|'),'?',substring-after(defaultwert/key,'|'))"/>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="defaultwert/key"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:value-of select="name" />
|
||
|
</a></li>
|
||
|
</xsl:for-each>
|
||
|
</ul>
|
||
|
|
||
|
</aside>
|
||
|
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_selectionform_field_input">
|
||
|
<xsl:variable name="feldbreite_faktor">6</xsl:variable>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="art='0' and zeilenanzahl!='1'">
|
||
|
<textarea WRAP="on" class="resizable-textarea input is-small" >
|
||
|
<xsl:attribute name="cols">
|
||
|
<xsl:value-of select="feldbreite div 10"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="rows">
|
||
|
<xsl:value-of select="zeilenanzahl"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
</textarea>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<div class="control-new"> <!--220424BFeingefügt-->
|
||
|
<div class="field has-addons"> <!--220424BFeingefügt-->
|
||
|
<div class="control is-expanded"> <!--220424BFeingefügt-->
|
||
|
<xsl:choose>
|
||
|
<!-- start art 0-->
|
||
|
<xsl:when test="art='0'">
|
||
|
<!--wg. Schlüsselfeldern gleiche Breite-->
|
||
|
<xsl:if test="zeilenanzahl='1'">
|
||
|
<input type="text" class="input is-small is-fullwidth">
|
||
|
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="tabindex">
|
||
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="MAXLENGTH">
|
||
|
<xsl:value-of select="laenge"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="VALUE">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="typ='date'">
|
||
|
<xsl:call-template name="dateGermanToDateUS">
|
||
|
<xsl:with-param name="date_str" select="defaultwert/name"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="size">
|
||
|
<xsl:value-of select="feldbreite div $feldbreite_faktor"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="typ='date'">
|
||
|
<xsl:attribute name="type"><xsl:text>date</xsl:text></xsl:attribute>
|
||
|
</xsl:if>
|
||
|
</input>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:when>
|
||
|
<!-- end art 0-->
|
||
|
<!-- start art 1 oder 2 COMBO-->
|
||
|
<xsl:when test="art='1' or art='2'">
|
||
|
<!--normale Combo-Box -->
|
||
|
<xsl:call-template name="nd_selectionform_field_input_schluesselfeld" />
|
||
|
<xsl:choose>
|
||
|
<!-- start combobox für zeilenzahl 1/nicht-dynamisches Feld-->
|
||
|
<xsl:when test="zeilenanzahl=1 and @isDynamic='false'">
|
||
|
<!--Combobox ist nur Auswahlhilfe ausgewertet wird inhalt von Inputfeld!!-->
|
||
|
<div class="select is-small is-fullwidth is-focused">
|
||
|
|
||
|
<select>
|
||
|
<xsl:attribute name="class">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="obligatorisch='1'">
|
||
|
<xsl:text>maskinputPflicht</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>maskinput</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id"><xsl:text>select_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:text>select_</xsl:text><xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="tabindex">
|
||
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="onchange">
|
||
|
<xsl:text>c=document.getElementById('</xsl:text>
|
||
|
<xsl:text>select_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
||
|
<xsl:text>');document.getElementById('</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>').value=c.options[c.selectedIndex].value;resetValidation();</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<option />
|
||
|
<xsl:for-each select="relation/item">
|
||
|
<xsl:if test="string-length(name) > 0">
|
||
|
<option class="maskinput">
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:value-of select="key"/>
|
||
|
</xsl:attribute>
|
||
|
<!--MB-->
|
||
|
<xsl:if test="../../defaultwert/name=name">
|
||
|
<xsl:attribute name="selected">true</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:value-of select="name"/>
|
||
|
</option>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</select>
|
||
|
</div>
|
||
|
</xsl:when>
|
||
|
<!-- end combobox für zeilenzahl 1-->
|
||
|
<!-- start Button and Skript für zeilenzahl größer 1 -->
|
||
|
<xsl:otherwise>
|
||
|
<xsl:call-template name="nd_selectionform_field_input_valuelabel" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<!-- end Button and Skript für zeilenzahl > 1 -->
|
||
|
</xsl:when>
|
||
|
<!-- end art 1 -->
|
||
|
<!-- start 8,5 Kommentar/Label-->
|
||
|
<xsl:when test="art='8' or art='5'">
|
||
|
<!--label-->
|
||
|
<div style="margin-left:1em;padding-top:5px;"><xsl:value-of select="defaultwert/name" disable-output-escaping="yes"/></div>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="art='9'">
|
||
|
<xsl:call-template name="nd_selectionform_field_input_treeview" />
|
||
|
</xsl:when>
|
||
|
<xsl:when test="art='10'">
|
||
|
|
||
|
<input type="checkbox" value="" class="maskinput">
|
||
|
<xsl:attribute name="onclick"><xsl:text>toggleCheckbox('</xsl:text>
|
||
|
<xsl:value-of select="name"/><xsl:text>');</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="concat('chkbx_',name)"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="tabindex">
|
||
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="defaultwert/name != '' and defaultwert/name != 'false'">
|
||
|
<xsl:attribute name="checked">
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="caption_long != ''"><xsl:attribute name="title"><![CDATA[]]><xsl:value-of select="caption_long"/><![CDATA[]]></xsl:attribute>
|
||
|
|
||
|
</xsl:if>
|
||
|
</input><input type="hidden"><xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="defaultwert/name = 'true'">
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>false</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
</input> 
|
||
|
|
||
|
</xsl:when>
|
||
|
<!-- end -->
|
||
|
<!-- start art 11 passwort-->
|
||
|
|
||
|
<xsl:when test="art='11'">
|
||
|
<xsl:if test="zeilenanzahl='1'">
|
||
|
<input type="password">
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="tabindex">
|
||
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="MAXLENGTH">
|
||
|
<xsl:value-of select="laenge"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="VALUE">
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="size">
|
||
|
<xsl:value-of select="feldbreite div 12"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
</input>
|
||
|
</xsl:if>
|
||
|
</xsl:when>
|
||
|
<!-- end art 11-->
|
||
|
<!-- start 4,6,8, 12 Sicht -->
|
||
|
|
||
|
<xsl:when test="art='4' or art='6' or art='7' or art='12'">
|
||
|
<xsl:call-template name="nd_SichtValue">
|
||
|
</xsl:call-template>
|
||
|
|
||
|
|
||
|
|
||
|
</xsl:when>
|
||
|
<!-- end 12-->
|
||
|
<!-- start 13 hidden-->
|
||
|
<xsl:when test="art='13'">
|
||
|
<input type="hidden">
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="VALUE">
|
||
|
<xsl:value-of select="defaultwert/key"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
</input>
|
||
|
</xsl:when>
|
||
|
<!-- end 13 -->
|
||
|
<!-- start 14 radiobox-->
|
||
|
<xsl:when test="art='14'">
|
||
|
<input type="radio">
|
||
|
<xsl:attribute name="class">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="obligatorisch='1'">
|
||
|
<xsl:text>maskinputPflicht</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>maskinput</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="tabindex">
|
||
|
<xsl:value-of select="100+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="NAME">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="VALUE">
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
|
||
|
</input>
|
||
|
</xsl:when>
|
||
|
<!-- end 14-->
|
||
|
<!-- start 15 links-->
|
||
|
<xsl:when test="art='15'">
|
||
|
<xsl:if test="defaultwert/name != ''">
|
||
|
<a class="feldlink">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:choose>
|
||
|
<!--bei externen Links benötigen wir keine JSESSIONID/Cookie-->
|
||
|
<xsl:when test="starts-with(defaultwert/name,'www')">
|
||
|
<xsl:value-of select="concat('http://',defaultwert/name)"/>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="starts-with(defaultwert/name,'http') or contains(defaultwert/name,'.htm')">
|
||
|
<xsl:value-of select="defaultwert/name"/>
|
||
|
|
||
|
</xsl:when>
|
||
|
<!-- MB 9/14 encode URL ignoriert jsession id -->
|
||
|
<xsl:when test="starts-with(defaultwert/name,'nexttable:')">
|
||
|
<xsl:value-of select="concat('SuperXmlTabelle','?tid=',substring-after(defaultwert/name,'nexttable:'))"/>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<!--Default: Link auf andere Maske-->
|
||
|
<!-- MB 9/14 encode URL ignoriert jsession id -->
|
||
|
<xsl:value-of select="concat('SuperXmlMaske','?tid=',defaultwert/name)"/>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
|
||
|
<xsl:value-of select="name"/>
|
||
|
</a>
|
||
|
</xsl:if>
|
||
|
</xsl:when>
|
||
|
<!-- end 15-->
|
||
|
<xsl:when test="art='17'">
|
||
|
<!--Radio-->
|
||
|
<input name="{name}" id="{name}" type="hidden" value="{defaultwert/key}" />
|
||
|
<xsl:for-each select="relation/item [string-length(name) > 0]">
|
||
|
|
||
|
<input name="{concat(../../name,'Radio')}" id="{concat(../../name,'Radio',position())}" value="{key}" type="radio" >
|
||
|
<xsl:attribute name="onclick"><xsl:text>document.forms[0].elements['</xsl:text><xsl:value-of select="../../name"/>
|
||
|
<xsl:text>'].value='</xsl:text><xsl:value-of select="key"/><xsl:text>';return true;</xsl:text></xsl:attribute>
|
||
|
<xsl:if test="../../defaultwert/name=name">
|
||
|
<xsl:attribute name="checked"><xsl:text>true</xsl:text></xsl:attribute>
|
||
|
</xsl:if>
|
||
|
</input> <xsl:value-of select="name"/><br />
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:when test="art='18'">
|
||
|
</xsl:when>
|
||
|
<xsl:when test="art='19'">
|
||
|
<input type="file" size="60" name="Datei" />
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>Unbekannte Feldart <xsl:value-of select="art"/></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
</div><!--Ende control is-expanded -->
|
||
|
|
||
|
<xsl:if test="caption_long != '' and art != '13' and art != '18' and art != '8'">
|
||
|
|
||
|
<!--<span class="info" onclick="if(document.getElementById('{concat('f_',tid)}').style.display=='none')document.getElementById('{concat('f_',tid)}').style.display='block'; else document.getElementById('{concat('f_',tid)}').style.display='none'; return false;">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" >-->
|
||
|
<!--<span class="button is-light has-tooltip-left" >--> <!--220424BFeingefügt-->
|
||
|
<div class="control"> <!--220424BFeingefügt-->
|
||
|
<button class="button is-small is-rounded has-tooltip-bottom"
|
||
|
onClick="return false;"> <!--220424BFgeändert-->
|
||
|
<xsl:attribute name="data-tooltip">
|
||
|
<xsl:call-template name="br_to_newline">
|
||
|
<xsl:with-param name="string"><![CDATA[]]><xsl:value-of select="caption_long"/><![CDATA[]]></xsl:with-param>
|
||
|
<xsl:with-param name="search"><br></xsl:with-param>
|
||
|
<!--<xsl:with-param name="replace"><xsl:text> </xsl:text></xsl:with-param>-->
|
||
|
</xsl:call-template>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<!--<figure class="image is-24x24">--> <!--220424BFdeaktiviert-->
|
||
|
<!-- <img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>-->
|
||
|
<!--</span>-->
|
||
|
<span class="icon" aria-hidden="true">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Info" title="Info" />
|
||
|
</span>
|
||
|
</button> <!--220424BFeingefügt-->
|
||
|
</div>
|
||
|
<!--<br/>--> <!--220424BFdeaktiviert-->
|
||
|
<!--<p id="{concat('f_',tid)}" class="helptext" style="display: none;">
|
||
|
<xsl:value-of select="caption_long" disable-output-escaping="yes"/>
|
||
|
</p>--> <!--220424BFdeaktiviert-->
|
||
|
</xsl:if>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_selectionform_field_input_schluesselfeld">
|
||
|
<!-- #198418 Problem bei Feldart 1 Typ SQL Beispiel Zeitraum in COB Maske Kosten und Erlöse (Primär und Sekundär) Attribut value aus default/wert key wird nicht richtig escaped
|
||
|
vergl. https://stackoverflow.com/questions/8944513/disable-output-escaping-yes-no-not-working-amp-outputted-twice-in-sharepoint-
|
||
|
Versuche mit <option value="{key}"> sind auch fehlgeschlagen, vermutlich weil XSTL bei Attributen keine Änderung des Escapings vorsieht
|
||
|
https://stackoverflow.com/questions/7887016/disable-output-escaping-not-working-for-attribute-in-xslt
|
||
|
|
||
|
hier wichtig, wenn z.B. sql-Feld einen Defaultwert hat...
|
||
|
text-Workaround -->
|
||
|
<div class="control">
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[<input class="schluesselfeld" type="text" size="15" style="display:none" onchange="resetValidation();"]]></xsl:text>
|
||
|
<xsl:text><![CDATA[ id="]]></xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>" </xsl:text>
|
||
|
<xsl:text><![CDATA[ name="]]></xsl:text><xsl:value-of select="name"/><xsl:text>" </xsl:text>
|
||
|
<xsl:text><![CDATA[ tabindex="]]></xsl:text><xsl:value-of select="100+(nummer*10)+1"/><xsl:text>" </xsl:text>
|
||
|
<xsl:text><![CDATA[ class="]]></xsl:text>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="typ='sql'">schluesselfeld_invisible</xsl:when>
|
||
|
<xsl:otherwise>schluesselfeld</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<xsl:text>" </xsl:text>
|
||
|
<xsl:if test="defaultwert/key!=''">
|
||
|
<xsl:text><![CDATA[ value="]]></xsl:text><xsl:value-of select="defaultwert/key"/><xsl:text>" </xsl:text>
|
||
|
</xsl:if>
|
||
|
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="(art=1 or art=2) and (zeilenanzahl=1 and @isDynamic='false')">
|
||
|
<!-- select-box deaktivieren-->
|
||
|
<xsl:text><![CDATA[ onfocus="]]></xsl:text> <xsl:text>document.forms[0].elements['select_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>'].selectedIndex =-1;" </xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise> <!-- Labelfeld leeren-->
|
||
|
<xsl:text><![CDATA[ onfocus="]]></xsl:text><xsl:text>document.forms[0].elements['label_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>'].value ='';"</xsl:text>
|
||
|
<xsl:text><![CDATA[ onblur="]]></xsl:text><xsl:text>document.forms[0].elements['label_</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>'].value =this.value;" </xsl:text>
|
||
|
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[ </input>]]></xsl:text>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_selectionform_field_input_valuelabel">
|
||
|
<input type="label" readonly ="true" class="input is-small is-fullwidth">
|
||
|
<xsl:attribute name="name"><xsl:text>label_</xsl:text> <xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
||
|
<xsl:attribute name="id"><xsl:text>label_</xsl:text> <xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template></xsl:attribute>
|
||
|
|
||
|
<xsl:attribute name="tabindex">
|
||
|
|
||
|
<xsl:value-of select="10000+(nummer*10)+2"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="defaultwert/key!=''"><xsl:value-of select="defaultwert/name"/></xsl:when>
|
||
|
<!-- AK 20.08.2014 von "bitte wählen" nach "nichts gewählt" -->
|
||
|
<xsl:otherwise> nichts gewählt </xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="onClick">
|
||
|
<xsl:call-template name="ndMaskeComboLadenOnClick" />
|
||
|
</xsl:attribute>
|
||
|
</input>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="ndMaskeComboLadenOnClick">
|
||
|
<xsl:text>javascript:ndMaskeComboLaden(getFieldName(</xsl:text>
|
||
|
<xsl:value-of select="position()" /><xsl:text>),</xsl:text>
|
||
|
<xsl:value-of select="zeilenanzahl" /><xsl:text>,'</xsl:text>
|
||
|
<xsl:value-of select="caption_short" /><xsl:text>');</xsl:text>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="ndMaskeSichtLadenOnClick">
|
||
|
<xsl:text>javascript:ndMaskeSichtLaden(getFieldName(</xsl:text>
|
||
|
<xsl:value-of select="position()" /><xsl:text>),</xsl:text>
|
||
|
<xsl:value-of select="zeilenanzahl" /><xsl:text>,'</xsl:text>
|
||
|
<xsl:value-of select="caption_short" /><xsl:text>');</xsl:text>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_selectionform_field_input_treeview">
|
||
|
<!--Das Treeview-Control geht davon aus, dass im sqlerg die Felder wie folgt belegt sind:
|
||
|
col0 enthält den Volltext des Eintrags,
|
||
|
col1 die nr bzw. key_apnr beim Organigramm
|
||
|
col2 den parent-Knoten
|
||
|
-->
|
||
|
<!--zum Debuggen: <xsl:copy-of select="relation" /> -->
|
||
|
<div class="select is-small is-fullwidth is-focused">
|
||
|
<select>
|
||
|
<xsl:attribute name="name">
|
||
|
<xsl:value-of select="name"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
|
||
|
<option class="maskinput"></option>
|
||
|
<xsl:variable name="t_root"/>
|
||
|
<xsl:for-each select="relation/item">
|
||
|
<xsl:if test="((parent='null') or (parent=''))">
|
||
|
<!--Zuerst wird root eingefügt, und dann alle Kinder von Root -->
|
||
|
<option class="option_0">
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:value-of select="key"/>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<!--MB-->
|
||
|
<xsl:if test="../../defaultwert/key=key">
|
||
|
<xsl:attribute name="selected">true</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:value-of select="name"/>
|
||
|
</option>
|
||
|
|
||
|
<xsl:call-template name="nd_selectionform_field_input_treeview_suche_kinder">
|
||
|
<xsl:with-param name="elter" select="key"/>
|
||
|
<!--MB-->
|
||
|
<xsl:with-param name="ausgewaehlt" select="../../defaultwert/key"/>
|
||
|
<xsl:with-param name="ebene" select="0"/>
|
||
|
</xsl:call-template>
|
||
|
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</select>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
|
||
|
|
||
|
<xsl:template name="nd_selectionform_field_input_treeview_suche_kinder">
|
||
|
<xsl:param name="elter"/>
|
||
|
<xsl:param name="ausgewaehlt"/>
|
||
|
<xsl:param name="ebene"/>
|
||
|
|
||
|
<!--MB statt row hier jetzt item-->
|
||
|
<xsl:for-each select="../item">
|
||
|
<xsl:sort select="name"/>
|
||
|
<xsl:variable name="i" select="parent"/>
|
||
|
|
||
|
<xsl:if test="$i=$elter">
|
||
|
|
||
|
<option>
|
||
|
<xsl:attribute name="class">
|
||
|
<xsl:value-of select="concat('option_',$ebene)"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="value">
|
||
|
<xsl:value-of select="key"/>
|
||
|
</xsl:attribute>
|
||
|
<xsl:if test="$ausgewaehlt=key">
|
||
|
<xsl:attribute name="selected">
|
||
|
true
|
||
|
</xsl:attribute>
|
||
|
</xsl:if>
|
||
|
<xsl:call-template name="nd_indent_levels">
|
||
|
<xsl:with-param name="ebene" select="$ebene"/>
|
||
|
</xsl:call-template>
|
||
|
<xsl:value-of select="name"/>
|
||
|
</option>
|
||
|
<xsl:call-template name="nd_selectionform_field_input_treeview_suche_kinder">
|
||
|
<xsl:with-param name="elter" select="key"/>
|
||
|
<xsl:with-param name="ausgewaehlt" select="$ausgewaehlt"/>
|
||
|
<xsl:with-param name="ebene" select="$ebene+1"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<!--#Template Beginn Auswahlfelder-Man-->
|
||
|
<xsl:template name="nd_selectionform_man">
|
||
|
<div id="nd_selectionform_man">
|
||
|
<form id="form" method="post">
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<label class="label is-small required trennung">Bericht</label>
|
||
|
</div>
|
||
|
|
||
|
<div class="field-body">
|
||
|
<p class="control-new">
|
||
|
<div class="select is-small is-fullwidth">
|
||
|
<select>
|
||
|
<option>Hochschulinterne Kennzahlen</option>
|
||
|
<option>Aktivität von Studiengängen</option>
|
||
|
<option>???</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
</p>
|
||
|
|
||
|
<!--<span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660'); ">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">-->
|
||
|
<span class="button is-light has-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<label class="label is-small required trennung">Jahr</label>
|
||
|
</div>
|
||
|
|
||
|
<div class="field-body">
|
||
|
<p class="control-new-narrow">
|
||
|
<div class="select is-small is-fullwidth">
|
||
|
<select>
|
||
|
<option></option>
|
||
|
<option>2021</option>
|
||
|
<option>2020</option>
|
||
|
<option>etc.</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
</p>
|
||
|
<!--<span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660'); ">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">-->
|
||
|
<span class="button is-light has-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<label class="label is-small required trennung">Semester</label>
|
||
|
</div>
|
||
|
|
||
|
<div class="field-body">
|
||
|
<p class="control-new-narrow">
|
||
|
<div class="select is-small is-fullwidth">
|
||
|
<select>
|
||
|
<option></option>
|
||
|
<option>WiSe 2022/23</option>
|
||
|
<option>soSe 2022</option>
|
||
|
<option>???</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
</p>
|
||
|
<!-- <span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660'); ">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">-->
|
||
|
<span class="button is-light has-tooltip-right" data-tooltip="Lesen Sie hier zusätzliche Infos">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<p class="button-label">
|
||
|
<button type="text" class="button is-link is-outlined is-small is-fullwidth">Institution </button>
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="field-body">
|
||
|
<p class="control-new">
|
||
|
<input class="input is-small is-fullwidth" type="text" /> <!--placeholder="Institution">-->
|
||
|
</p>
|
||
|
<!--<span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660'); ">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">-->
|
||
|
<span class="button is-light has-tooltip-right" data-tooltip="Lesen Sie hier zusätzliche Infos">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<p class="button-label">
|
||
|
<button type="text" class="button is-link is-outlined is-small is-fullwidth">Gruppierung</button>
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="field-body">
|
||
|
<p class="control-new ">
|
||
|
<input class="input is-small is-fullwidth" type="text" /> <!-- placeholder="Gruppierung">-->
|
||
|
</p>
|
||
|
|
||
|
<!--<span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660'); ">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">-->
|
||
|
<span class="button is-light has-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-grouped">
|
||
|
<div class="label-container">
|
||
|
<p class="button-label">
|
||
|
<button type="text" class="button is-link is-outlined is-small is-fullwidth">Studiengang</button>
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="field-body">
|
||
|
<p class="control-new ">
|
||
|
<input class="input is-small is-fullwidth" type="text" /> <!--placeholder="Studiengang">-->
|
||
|
</p>
|
||
|
|
||
|
<!--<span class="info" onclick="window.open('https://super-ics.de/superx/doku/kern_modul/admin/f_Patcheinspielen.htm','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=660'); ">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" alt="Information" title="Information" />
|
||
|
</figure>
|
||
|
</span>-->
|
||
|
<!--<span class="button is-light tooltip is-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">-->
|
||
|
<span class="button is-light has-tooltip-right" data-tooltip="Lesen Sie hier zusätzlichen Infos">
|
||
|
<figure class="image is-24x24">
|
||
|
<img src="../images/information_grey_liberation.svg" />
|
||
|
</figure>
|
||
|
</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form> <!--Ende-Eingabeformular-->
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Auswahlfelder-Man-->
|
||
|
|
||
|
|
||
|
<!--#Template Beginn Auswahlformular-Buttons-->
|
||
|
<xsl:template name="nd_formsubmit">
|
||
|
<xsl:param name="showResetLink" select="'true'" />
|
||
|
<div id="nd_formsubmit">
|
||
|
<div class="form-submit">
|
||
|
<p class="form-submit-item">
|
||
|
<input name="navi" type="hidden" value="{/*/@showNavigation}" />
|
||
|
<span class="submit_button"><button class="button" type="submit">
|
||
|
<xsl:attribute name="onClick">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="count(/maske/felder/feld[ name='_customValidation']) > 0">
|
||
|
<xsl:text>ok=</xsl:text><xsl:value-of select="/maske/felder/feld[ name='_customValidation']/defaultwert/key" /><xsl:text>(document.forms[0],'superx');if (ok==true) document.getElementById('progressbar').style.display='block';return ok;</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>ok=validateForm(document.forms[0],'superx');if (ok==true) document.getElementById('progressbar').style.display='block';return ok;</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:attribute>
|
||
|
@@abschicken@@</button></span></p>
|
||
|
<xsl:if test="$showResetLink='true'">
|
||
|
<script type="text/javascript">
|
||
|
<![CDATA[
|
||
|
function getUrlVars() {
|
||
|
var vars = {};
|
||
|
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,
|
||
|
function(m,key,value) {
|
||
|
vars[key] = value;
|
||
|
});
|
||
|
return vars;
|
||
|
}
|
||
|
]]>
|
||
|
</script>
|
||
|
<p class="form-submit-item"><span class="reset_button"><button class="button" type="reset"> <!--050624 button geändert in reset_button.BF-->
|
||
|
<xsl:attribute name="onclick">var navi_status = getUrlVars()['navi']; location.href='/superx/servlet/SuperXmlMaske?tid=<xsl:value-of select="/maske/@tid"/><xsl:text>&navi=</xsl:text><xsl:value-of select="/*/@showNavigation"/><xsl:text>&cachingcontrol=clearsessiondefaults';return false;</xsl:text></xsl:attribute>
|
||
|
@@reset@@</button></span></p>
|
||
|
</xsl:if>
|
||
|
<div id="validation" style="color:#CC0000"><p style="color:#CC0000"> </p></div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!--#Template Ende Auswahlformular-Buttons-->
|
||
|
<xsl:template name="nd_selectionform_and_table_JS">
|
||
|
<script type="text/javascript">
|
||
|
<xsl:text>
|
||
|
var maskentid=</xsl:text><xsl:value-of select="@tid"/><xsl:text>;
|
||
|
var maskenname='</xsl:text><xsl:value-of select="substring(@name,0,40)" /><xsl:text>';
|
||
|
var mandantenID='</xsl:text><xsl:value-of select="@MandantenID"/><xsl:text>';
|
||
|
</xsl:text>
|
||
|
</script>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_selectionform_JS">
|
||
|
<xsl:param name="isCalledInMask" select="'true'" />
|
||
|
<script type="text/javascript">
|
||
|
<xsl:text>
|
||
|
</xsl:text>
|
||
|
<xsl:for-each select="felder/feld">
|
||
|
<xsl:text>felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]= new Object();
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["tid"]='</xsl:text><xsl:value-of select="tid" /><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["attribut"]='</xsl:text><xsl:value-of select="attribut" /><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["htmlname"]='</xsl:text><xsl:value-of select="name"/><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["name"]='</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["caption_short"]='</xsl:text><xsl:call-template name="ohne_umlaut">
|
||
|
<xsl:with-param name="s1"><xsl:choose>
|
||
|
<xsl:when test="caption_short != ''">
|
||
|
<![CDATA[]]><xsl:value-of select="caption_short" /><![CDATA[]]>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:value-of select="name" /></xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:with-param></xsl:call-template><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["art"]='</xsl:text><xsl:value-of select="art"/><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["zeilenanzahl"]='</xsl:text><xsl:value-of select="zeilenanzahl"/><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["cb_name"]='</xsl:text><xsl:call-template name="umlaut_urlencode"><xsl:with-param name="s1"><xsl:value-of select="name"/></xsl:with-param></xsl:call-template><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["obligatorisch"]='</xsl:text><xsl:value-of select="obligatorisch"/><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["hasDefaultDbValue"]='</xsl:text><xsl:value-of select="defaultwert/@hasDbValue"/><xsl:text>';
|
||
|
</xsl:text>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
<xsl:if test="$isCalledInMask='true'">
|
||
|
<xsl:text><![CDATA[function applyMerkmale(merkmale)
|
||
|
{
|
||
|
url=location.protocol+'//'+location.host+"/superx/servlet/SuperXmlMaske";
|
||
|
|
||
|
url+="?tid=" +maskentid +"&cachingcontrol=reusemask&MandantenID="+escape(mandantenID);
|
||
|
|
||
|
var merkmale2=merkmale.replace(/n:'/g,'n:"');
|
||
|
var merkmale3=merkmale2.replace(/',k:'/g,'",k:"');
|
||
|
var merkmale4=merkmale3.replace(/'}/g,'"}');
|
||
|
var merkmale5=merkmale4.replace(/',sichtparam:'/g,'",sichtparam:"');
|
||
|
var merkmale6=merkmale5.replace(/',standparam:'/g,'",standparam:"');
|
||
|
//alert(merkmale6)
|
||
|
var m=purgeval(merkmale6);
|
||
|
//alert(m);
|
||
|
for (i=0;i<m.length;i++)
|
||
|
{
|
||
|
url+="&"+getEncoded(m[i].n)+"="+getEncoded(m[i].k);
|
||
|
if (m[i].sichtparam) url+="&"+getEncoded(m[i].n)+"-Sicht="+getEncoded(m[i].sichtparam);
|
||
|
if (m[i].standparam) url+="&"+getEncoded(m[i].n)+"-Stand="+m[i].standparam;
|
||
|
}
|
||
|
//<!--falls ein Feld nicht als Merkmal belegt ist und es für ein Feld auf der Maske eine Auswahl gibt, diese übernehmen-->
|
||
|
for(var i1=1;i1<= felder.length-1; i1++)
|
||
|
{
|
||
|
var merkmalvorhanden=false;
|
||
|
if (document.forms['maske'].elements[felder[i1]["name"]].value!='')
|
||
|
{
|
||
|
for (i=0;i<m.length;i++)
|
||
|
{
|
||
|
if (getEncoded(m[i].n)==getEncoded(felder[i1]["htmlname"])) merkmalvorhanden=true;
|
||
|
}
|
||
|
if (!merkmalvorhanden) url+="&"+getEncoded(felder[i1]["htmlname"])+"="+getEncoded(document.forms['maske'].elements[felder[i1]["name"]].value);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
document.getElementById('progressbar').style.display="";
|
||
|
location.href=url;
|
||
|
}
|
||
|
]]>
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
</script>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_selectionform_and_table_dialogs">
|
||
|
<!-- Dialoge für Masken und Tabellen -->
|
||
|
|
||
|
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_selectionform_dialogs">
|
||
|
|
||
|
<!-- start Lesezeichen DLG -->
|
||
|
|
||
|
<div class="modal modal-fx-3dSlit" id="lesezeichendlg">
|
||
|
<div class="modal-background"></div>
|
||
|
<div class="modal-content is-huge is-image">
|
||
|
<!-- content -->
|
||
|
|
||
|
<div class="modal-content">
|
||
|
<div class="box">
|
||
|
<span class="box-new">Lesezeichen erstellen
|
||
|
<a href="javascript:document.getElementById('lesezeichendlg').style='display:none';return false;">
|
||
|
<span class="button is-grey"> X </span>
|
||
|
</a>
|
||
|
</span>
|
||
|
<form name="lesezeichenform" onsubmit="return false;" class="modalValues">
|
||
|
<h1 align="center"></h1>
|
||
|
<div id="lesezeichen_konfig">
|
||
|
<p>Bitte wählen Sie aus, ob die aktuelle Auswahl bei den<br/> folgenden Feldern, mit im Lesezeichen hinterlegt werden soll.</p>
|
||
|
<div id="lesezeichen_checkboxen" style="height:250px;overflow:scroll">
|
||
|
</div>
|
||
|
<table><tr><td valign="center">Dieses Lesezeichen soll</td><td><input type="radio" name="lesezeichenart" id="lesezeichen_maske" value="maske" checked="true">speziell für diese Maske gelten</input></td></tr>
|
||
|
<tr><td></td><td><input type="radio" id="lesezeichen_vorlage" name="lesezeichenart" value="vorlage">eine Merkmalsvorlage sein (<a onclick="javascript:document.getElementById('merkmalsvorlageinfo').style='display:block';">Was ist das?</a>)</input></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div id="lesezeichenlinkdiv">
|
||
|
<p align="center"> Hier Ihr Lesezeichen-Link:</p>
|
||
|
<h3 align="center"><a id="lesezeichenlink" rel="sidebar" target="_blank"></a></h3>
|
||
|
<p align="center" id="lesezeicheninfoIE"> Klicken Sie mit der <b><font color="red">linken Maustaste</font></b> auf den obigen Link und wählen Sie <br/><br/><b>"Zu Favoriten hinzufügen"</b><br/>
|
||
|
<br/></p>
|
||
|
<p align="center" id="lesezeicheninfoFF"> Um das Lesezeichen zu erstellen, klicken Sie mit der <b><font color="#f17c00">rechten Maustaste</font></b> auf den obigen Link und wählen Sie <br/><b>"Lesezeichen hinzufügen"</b>
|
||
|
</p>
|
||
|
<p align="center" id="lesezeicheninfoOther">
|
||
|
Klicken Sie mit der linken Maustaste auf den Link, dann öffnet sich ein neues Fenster mit der Maske, die Sie dann als Lesezeichen hinzufügen können.</p>
|
||
|
<br/><br/><br/><br/><br/><br/><br/>
|
||
|
<p align="center"><button id="hidelesezeichen" class="button is-primary" onclick="document.getElementById('lesezeichendlg').style='display:none';return false;">Dialog schließen</button></p>
|
||
|
</div>
|
||
|
<p align="center">
|
||
|
<button class="button" id="lesezeichen_abbrechen" onclick="document.getElementById('lesezeichendlg').style='display:none';return false;">Abbrechen</button> 
|
||
|
<button class="button is-primary" id="lesezeichen_ok" onclick="prepareLesezeichenLink2();">OK</button> 
|
||
|
</p>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="modal modal-fx-3dSlit" id="merkmalsvorlageinfo">
|
||
|
<div class="modal-background"></div>
|
||
|
<div class="modal-content is-huge is-image">
|
||
|
<!-- content -->
|
||
|
|
||
|
<div class="modal-content">
|
||
|
<div class="box">
|
||
|
<span class="box-new">Merkmalsvorlagen
|
||
|
<a href="javascript:document.getElementById('merkmalsvorlageinfo').style='display:none';return false;">
|
||
|
<span class="button is-grey"> X </span>
|
||
|
</a>
|
||
|
</span>
|
||
|
<h2 align="center"></h2>
|
||
|
<SPAN STYLE="font-size: 1.2em">Normalerweise sind Lesezeichen dafür gedacht, ausgewählte Berichtsmasken oder Ergebnistabellen wieder aufzurufen.<br/>
|
||
|
Es ist aber darüber hinaus auch möglich sogenannte "Merkmalsvorlagen" zu erstellen.<br/><br/>
|
||
|
Dabei werden die auf einer Maske ausgewählten Merkmale (z.B. Haushaltsjahr=2007 und Kostenstelle=1) gespeichert.<br/>
|
||
|
Sie können nun bei der gleichen oder auch anderen Masken diese Vorlage aufrufen und die Merkmale werden als Auswahl eingestellt.<br/><br/>
|
||
|
Weiterhin können Sie sogar bei einer Ergebnistabelle die Vorlage aufrufen und die Ergebnisse werden für die enthaltenen Merkmale neu berechnet.<br/><br/>
|
||
|
(Zu beachten ist allerdings, dass die Feldbezeichnungen passen müssen, z.B. wirkt sich das Merkmal Kostenstelle=1 nicht auf das Feld Institution aus).
|
||
|
<br/></SPAN>
|
||
|
<br/>
|
||
|
<p align="center">
|
||
|
<button class="button is-primary" id="merkmalsvorlage_abbrechen" onclick="document.getElementById('merkmalsvorlageinfo').style='display:none';return false;">OK</button> 
|
||
|
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<!-- end Lesezeichen DLG-->
|
||
|
|
||
|
<xsl:template name="nd_tableJavascript">
|
||
|
<script language="Javascript" type="text/javascript" src="/superx/xml/js/jquery-2.1.1.min.js" />
|
||
|
<script language="JavaScript" type="text/javascript">
|
||
|
function getTid(){
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/@isMakro='true'">
|
||
|
<xsl:text>tid=</xsl:text><xsl:value-of select="/ergebnisse/makro/@id" /><xsl:text>;
|
||
|
</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>tid=</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" /><xsl:text>;
|
||
|
</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
return tid;
|
||
|
}
|
||
|
|
||
|
<xsl:call-template name="jsHis1Pinger" />
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
djConfig = {
|
||
|
bindEncoding: "UTF-8",
|
||
|
isDebug: false,
|
||
|
debugAtAllCosts:false,
|
||
|
debugContainerId:"dojoDebug"
|
||
|
};
|
||
|
|
||
|
</script>
|
||
|
<script type="text/javascript" src="/superx/xml/js/dojo/dojo.js"></script>
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[<script type="text/javascript">
|
||
|
dojo.require("dojo.widget.Dialog");
|
||
|
dojo.require("dojo.widget.Button");
|
||
|
dojo.require("dojo.event.*");
|
||
|
dojo.require("dojo.io.*");
|
||
|
dojo.require("dojo.widget.*");
|
||
|
dojo.require("dojo.html.selection");
|
||
|
dojo.require("dojo.widget.ContentPane");
|
||
|
dojo.require("dojo.widget.TreeV3");
|
||
|
dojo.require("dojo.widget.TreeNodeV3");
|
||
|
dojo.require("dojo.widget.TreeBasicController");
|
||
|
dojo.require("dojo.widget.TreeSelectorV3");
|
||
|
dojo.require("dojo.widget.TreeEmphasizeOnSelect");
|
||
|
dojo.require("dojo.widget.Tooltip");
|
||
|
dojo.require("dojo.widget.DropdownDatePicker");
|
||
|
dojo.registerModulePath("memtext", "../memtext");
|
||
|
dojo.require("memtext.widget.MemTree");
|
||
|
dojo.require("memtext.widget.TreeLoadingControllerSx");
|
||
|
|
||
|
dojo.hostenv.writeIncludes();
|
||
|
|
||
|
|
||
|
function jsDisableInput(datei) {
|
||
|
var dateiendungArray = datei.split(".");
|
||
|
var dateiendung = dateiendungArray[dateiendungArray.length - 1];
|
||
|
if(dateiendung=="jrxml") {
|
||
|
document.Weiterverarbeitung.jr_contenttype.disabled=false;
|
||
|
}
|
||
|
else {
|
||
|
document.Weiterverarbeitung.jr_contenttype.disabled=true;
|
||
|
}
|
||
|
}
|
||
|
function setTemplatePropertiesAndSubmit(selectedValue)
|
||
|
{
|
||
|
var filename=selectedValue.substring(0,selectedValue.indexOf("|"));
|
||
|
var contenttype=selectedValue.substr(selectedValue.indexOf("|")+1);
|
||
|
document.forms[0].stylesheet.value=filename;
|
||
|
if(contenttype !="")
|
||
|
document.forms[0].contenttype.value=contenttype;
|
||
|
document.forms[0].target="_blank";
|
||
|
document.forms[0].offset.value='0';
|
||
|
document.forms[0].maxoffset.value = '1000000';
|
||
|
document.forms[0].reuseresult.value = 'true';
|
||
|
if (isTreeTable) {
|
||
|
dojo.widget.byId("ttexdlg").show(); //ruft function exportandhidedlg auf
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
startExport();
|
||
|
}
|
||
|
}
|
||
|
</script>]]></xsl:text>
|
||
|
<script language="JavaScript" type="text/javascript">
|
||
|
var isTreeTable=false;
|
||
|
<xsl:if test="/ergebnisse/@isMakro!='true' and /ergebnisse/ergebnis/ergebniselement/sqlerg/@istreetable='true'">
|
||
|
isTreeTable=true;
|
||
|
</xsl:if>
|
||
|
</script>
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[
|
||
|
<script language="javascript">
|
||
|
function tableonload() {
|
||
|
]]></xsl:text>
|
||
|
<!-- #293635 -->
|
||
|
<xsl:if test="/ergebnisse/@fixed_columns_aktiv='true'">
|
||
|
tableRowHeaderSticky(<xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@fixed_column_count"/>);
|
||
|
</xsl:if>
|
||
|
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[ }
|
||
|
</script>
|
||
|
]]></xsl:text>
|
||
|
|
||
|
<!-- start normale Abfragen - nicht makros dojo/ggfs. Treetable-->
|
||
|
<xsl:if test="/ergebnisse/@isMakro!='true'">
|
||
|
<!-- javascript array mit Feldern - bei Makros ist Feld-XML noch nicht drin-->
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[<script type="text/javascript">
|
||
|
|
||
|
// für Druck ohne Menü
|
||
|
function printDiv(divName) {
|
||
|
var printContents = document.getElementById(divName).innerHTML;
|
||
|
w=window.open();
|
||
|
w.document.write(printContents);
|
||
|
w.print();
|
||
|
w.close();
|
||
|
}
|
||
|
|
||
|
var felder = new Array();]]></xsl:text>
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/felder/feld">
|
||
|
<xsl:text>felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]= new Object();
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["htmlname"]='</xsl:text><xsl:value-of select="@varname"/><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["name"]='</xsl:text><xsl:call-template name="create_varname"><xsl:with-param name="string"><xsl:value-of select="@varname"/></xsl:with-param></xsl:call-template><xsl:text>';
|
||
|
felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["cb_name"]='</xsl:text><xsl:call-template name="umlaut_urlencode"><xsl:with-param name="s1"><xsl:value-of select="@varname"/></xsl:with-param></xsl:call-template><xsl:text>';
|
||
|
</xsl:text>
|
||
|
<!-- in sql-variablen könnte auch " vorkommen als %22 codieren-->
|
||
|
<xsl:variable name="quot">"</xsl:variable>
|
||
|
<xsl:variable name="r"><xsl:value-of disable-output-escaping="yes" select="value"/></xsl:variable>
|
||
|
<xsl:text>felder[</xsl:text><xsl:value-of select="position()" /><xsl:text>]["value"]="</xsl:text>
|
||
|
<xsl:call-template name="search_replace">
|
||
|
<xsl:with-param name="string" select="$r"/>
|
||
|
<xsl:with-param name="search" select="$quot" />
|
||
|
<xsl:with-param name="replace" select="'%22'" />
|
||
|
</xsl:call-template><xsl:text>";
|
||
|
</xsl:text>
|
||
|
</xsl:for-each>
|
||
|
var stylesheetcontenttype = new Array();
|
||
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet">
|
||
|
stylesheetcontenttype['<xsl:value-of select="filename"/>'] = '<xsl:value-of select="contenttype"/>';
|
||
|
</xsl:for-each>
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[</script>]]></xsl:text>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!-- start xy-->
|
||
|
<script language="JavaScript" type="text/javascript">
|
||
|
<xsl:text>headers=eval("([</xsl:text>
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/header[not (starts-with(f_name,'hidden'))]">
|
||
|
<xsl:text>{key:'</xsl:text><xsl:value-of select="f_name"/><xsl:text>',name:'</xsl:text>
|
||
|
<xsl:call-template name='json_adapt'>
|
||
|
<xsl:with-param name="string" select="wert" />
|
||
|
</xsl:call-template><xsl:text>'}</xsl:text>
|
||
|
<xsl:if test="position() != last()"><xsl:text>,</xsl:text></xsl:if>
|
||
|
</xsl:for-each>
|
||
|
<xsl:text>])");
|
||
|
var count=1;
|
||
|
<![CDATA[for (var i=0;i<headers.length;i++) if (headers[i].name.replace(/\s+$/,"")=='') {headers[i].name='Leerspalte '+count;count++;}]]>
|
||
|
</xsl:text>
|
||
|
<xsl:text>complete_headers=eval("([</xsl:text>
|
||
|
<!--MB 04/2010 versteckte Spalten nicht -->
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement/sqlerg/complete_headers/header[not (starts-with(f_name,'hidden'))]">
|
||
|
<xsl:text>{key:'</xsl:text><xsl:value-of select="f_name"/><xsl:text>',name:'</xsl:text>
|
||
|
<xsl:call-template name='json_adapt'>
|
||
|
<xsl:with-param name="string" select="wert" />
|
||
|
</xsl:call-template><xsl:text>'}</xsl:text>
|
||
|
<xsl:if test="position() != last()"><xsl:text>,</xsl:text></xsl:if>
|
||
|
</xsl:for-each>
|
||
|
<xsl:text>])");</xsl:text>
|
||
|
var count=1;
|
||
|
<![CDATA[for (var i=0;i<complete_headers.length;i++) if (complete_headers[i].name.replace(/\s+$/,"")=='') {complete_headers[i].name='Leerspalte '+count;count++;}]]>
|
||
|
|
||
|
|
||
|
//document.getElementById('progressbar').style.display="none";
|
||
|
|
||
|
|
||
|
function init(e) {
|
||
|
configdlg = dojo.widget.byId("configdlg");
|
||
|
spaltenliste=document.getElementById('spaltenliste');
|
||
|
//spaltentrash=document.getElementById('spaltentrash');
|
||
|
new dojo.dnd.HtmlDropTarget(spaltenliste, ["spaltenobjekt"]);
|
||
|
//new dojo.dnd.HtmlDropTarget(document.getElementById('spaltentrash'), ["spaltenobjekt"]);
|
||
|
|
||
|
document.getElementById('progressbar').style.display="none";
|
||
|
}
|
||
|
dojo.addOnLoad(init);
|
||
|
|
||
|
<!-- start showConfig -->
|
||
|
function showConfig()
|
||
|
{
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@hasAggregationHeaders='true'">
|
||
|
alert("Konfiguration bei diesem komplexen Layout nicht moeglich");
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
//Spaltenreihenfolge
|
||
|
while (spaltenliste.hasChildNodes())
|
||
|
spaltenliste.removeChild(spaltenliste.childNodes[0]);
|
||
|
//while (spaltentrash.hasChildNodes()) spaltentrash.removeChild(spaltentrash.childNodes[0]);
|
||
|
//var newLI = document.createElement("li"); newLI.appendChild(document.createTextNode("nicht dargestellte Spalten")); spaltentrash.appendChild(newLI);
|
||
|
<![CDATA[
|
||
|
for (var i=0;i<complete_headers.length;i++)
|
||
|
{
|
||
|
var newLI = document.createElement("li");
|
||
|
newLI.setAttribute("key",complete_headers[i].key);
|
||
|
spaltenliste.appendChild(newLI);
|
||
|
|
||
|
var newLIText = document.createTextNode(complete_headers[i].name+" ");
|
||
|
var b = document.createElement ("b");
|
||
|
b.setAttribute("style","cursor:pointer;");
|
||
|
var sp= document.createElement("span");
|
||
|
b.appendChild(sp);
|
||
|
sp.appendChild(newLIText);
|
||
|
newLI.appendChild(b);
|
||
|
var cb = document.createElement("input");
|
||
|
cb.type = "checkbox";
|
||
|
cb.name = "checkboxHeader"+i;
|
||
|
cb.id= "checkboxHeader"+i;
|
||
|
var vis=false;
|
||
|
for (var i2=0;i2<headers.length;i2++)
|
||
|
{
|
||
|
if (complete_headers[i].key==headers[i2].key) vis=true;
|
||
|
}
|
||
|
cb.checked = cb.defaultChecked=vis;
|
||
|
newLI.appendChild(cb);
|
||
|
newLI.appendChild(document.createTextNode("anzeigen"));
|
||
|
}
|
||
|
var lis = document.getElementById('spaltenliste').getElementsByTagName("li");
|
||
|
for(var x=0; x<lis.length; x++){
|
||
|
new dojo.dnd.HtmlDragSource(lis[x], "spaltenobjekt");
|
||
|
}
|
||
|
]]>
|
||
|
//Spaltensortierung
|
||
|
var sortierspalten=document.getElementById('sortierspalten');
|
||
|
while (sortierspalten.hasChildNodes()) sortierspalten.removeChild(sortierspalten.childNodes[0]);
|
||
|
<![CDATA[
|
||
|
if (!isTreeTable){
|
||
|
for (var i=0;i<complete_headers.length&&i<5;i++)
|
||
|
{
|
||
|
var lbl=document.createElement("label");
|
||
|
lbl.innerHTML=(i+1)+".";
|
||
|
sortierspalten.appendChild(lbl);
|
||
|
var newSelect = document.createElement("select");
|
||
|
newSelect.id="sortcol"+i;
|
||
|
newSelect.options[0]=new Option("","nocol_selected");
|
||
|
for (var i2=0;i2<complete_headers.length;i2++)
|
||
|
{newSelect.options[i2+1]=new Option(complete_headers[i2].name,complete_headers[i2].key);}
|
||
|
sortierspalten.appendChild(newSelect);
|
||
|
var asc=document.createElement("select");
|
||
|
asc.id = "sortcol"+i+"-asc";
|
||
|
asc.options[0]=new Option("aufsteigend","-A");
|
||
|
asc.options[1]=new Option("absteigend","-D");
|
||
|
sortierspalten.appendChild(asc);
|
||
|
sortierspalten.appendChild(document.createElement("br"));
|
||
|
}
|
||
|
}
|
||
|
]]>
|
||
|
|
||
|
configdlg.show();
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
}
|
||
|
<!-- end show config-->
|
||
|
<!-- start tableReload-->
|
||
|
function tableReload(colsetParam,colsortParam)
|
||
|
{
|
||
|
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><![CDATA[&navi=true&reuseresult=true&colset=";]]></xsl:text>
|
||
|
<![CDATA[
|
||
|
if (colsetParam=='restore')
|
||
|
callurl+='restore';
|
||
|
else
|
||
|
{
|
||
|
var lis = document.getElementById('spaltenliste').getElementsByTagName("li");
|
||
|
|
||
|
for(var x=0; x<lis.length; x++){
|
||
|
if (lis[x].getElementsByTagName('input')[0].checked)
|
||
|
{
|
||
|
for (var i=0;i<complete_headers.length;i++)
|
||
|
if (complete_headers[i].key==lis[x].getAttribute("key")) callurl+=escape(complete_headers[i].key);
|
||
|
if (x<(lis.length-1)){ callurl+="%7C";}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
if (!isTreeTable)
|
||
|
{
|
||
|
callurl+='&colsort=';
|
||
|
if (colsortParam=='restore')
|
||
|
callurl+='restore';
|
||
|
else
|
||
|
{
|
||
|
|
||
|
for (var i=0;i<complete_headers.length&&i<5;i++)
|
||
|
{
|
||
|
|
||
|
var sortcol=document.getElementById('sortcol'+i);
|
||
|
var sortcolasc=document.getElementById('sortcol'+i+'-asc');
|
||
|
var sel=sortcol.options[sortcol.selectedIndex].value;
|
||
|
if (i==0&&sel!='nocol_selected') callurl+=sel+sortcolasc.options[sortcolasc.selectedIndex].value;
|
||
|
if (i>0&&sel!='nocol_selected') callurl+="%7C"+sel+sortcolasc.options[sortcolasc.selectedIndex].value;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]]>
|
||
|
;
|
||
|
self.location=callurl;
|
||
|
}
|
||
|
<!-- end table reload -->
|
||
|
|
||
|
</script>
|
||
|
|
||
|
|
||
|
|
||
|
<!-- start treetable -->
|
||
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/@istreetable='true'">
|
||
|
<script type="text/javascript" src="/superx/xml/js/treetable.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
treetable_callbacks['eventRowStateChanged'] = 'treetable_eventRowChanged';
|
||
|
|
||
|
function treetable_eventRowChanged(rowId, state) {
|
||
|
try{
|
||
|
//normalerweise ist Grafik in erster Spalte, kann aber auch 2. sein
|
||
|
//var row=document.getElementById(rowId); //macht im FF plötzlich Ärger
|
||
|
var row=document.getElementById(rowId);
|
||
|
var tds= row.getElementsByTagName('td');
|
||
|
var td0=tds[0]
|
||
|
var td0img= td0.getElementsByTagName('img');
|
||
|
if (td0img.length>0) img=td0img[0];
|
||
|
else
|
||
|
{
|
||
|
tds=row.getElementsByTagName('td');
|
||
|
var td1=tds[1];
|
||
|
var td1img= td1.getElementsByTagName('img');
|
||
|
|
||
|
if (td1img.length>0) img = td1img[0];
|
||
|
}
|
||
|
|
||
|
if (state == 1) {
|
||
|
img.src = '/superx/xml/tree_minus_rect.svg';
|
||
|
} else {
|
||
|
img.src = '/superx/xml/tree_plus_rect.svg';
|
||
|
}
|
||
|
}
|
||
|
catch (e) {
|
||
|
}
|
||
|
return (true);
|
||
|
}
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
function ajaxNodeToggle(nodeid, internalrowno)
|
||
|
{
|
||
|
|
||
|
//if children already loaded, no ajax request necessary
|
||
|
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: "get",
|
||
|
handler: function(type,data,evt)
|
||
|
{
|
||
|
// dojo.debug(data);
|
||
|
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);
|
||
|
//dojo.debugDeep(data);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
|
||
|
var help=document.createElement("div");
|
||
|
help.innerHTML=data;
|
||
|
var pos=document.getElementById(nodeid).sectionRowIndex;
|
||
|
//dojo.debug("pos: "+pos);
|
||
|
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;
|
||
|
//IE kann nicht in TR-innerHTML schreiben
|
||
|
//newrow.innerHTML=newrows[i].innerHTML;
|
||
|
for (i2=0;i2<newrows[i].attributes.length;i2++)
|
||
|
{
|
||
|
newrow.setAttribute(newrows[i].attributes[i2].name,newrows[i].getAttribute(newrows[i].attributes[i2].name));
|
||
|
}
|
||
|
//fuck IE
|
||
|
newrow.setAttribute("className", newrows[i].getAttribute("className"));
|
||
|
for (i2=0;i2<newrows[i].cells.length;i2++)
|
||
|
{
|
||
|
newcell=newrow.insertCell(i2);
|
||
|
newcell.innerHTML=newrows[i].cells[i2].innerHTML;
|
||
|
//Attribut wie class wird nicht durch innerHTML übernommen
|
||
|
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";
|
||
|
]]>
|
||
|
<xsl:if test="/ergebnisse/@hisinone_active!='true'">tableRowHeaderSticky(<xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@fixed_column_count"/>);</xsl:if>
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
);
|
||
|
|
||
|
}
|
||
|
else //kein Nachladen per Dojo nötig
|
||
|
{
|
||
|
treetable_toggleRow(nodeid);
|
||
|
<xsl:if test="/ergebnisse/@hisinone_active!='true'">tableRowHeaderSticky(<xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@fixed_column_count"/>);</xsl:if>
|
||
|
// treetable_zuklappen(nodeid);
|
||
|
// var starttime=(new Date).getTime();
|
||
|
// while (starttime+400>(new Date).getTime()){};
|
||
|
// treetable_toggleRow(nodeid,-1,-1);
|
||
|
}
|
||
|
if (window.xthf) window.xthf.init();
|
||
|
//dojo.debugDeep(window.xthf);
|
||
|
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
|
||
|
</xsl:if>
|
||
|
<!-- end treetable-->
|
||
|
|
||
|
<!-- start Lesezeichen/applyMerkmale-->
|
||
|
<script language="JavaScript" type="text/javascript">
|
||
|
|
||
|
<!-- von Lesezeichen oder template Merkmale eintragen
|
||
|
geht nur für normale Masken da Javascript-array für Felder korrekt gefüllt sein muss
|
||
|
anders definiert als in maske_html, muss genauso heißen, damit allgemeine Vorlage sowohl masken als auch bei Tabellen greifen
|
||
|
-->
|
||
|
function applyMerkmale(merkmale)
|
||
|
{
|
||
|
<xsl:text><![CDATA[url=location.protocol+'//'+location.host+"/superx/servlet/SuperXmlTabelle";]]>
|
||
|
</xsl:text>
|
||
|
<!-- <xsl:if test="/ergebnisse/@jsessionid!=''"><xsl:text>url+=';jsessionid=</xsl:text><xsl:value-of select="/maske/@jsessionid"/><xsl:text>';
|
||
|
</xsl:text></xsl:if>-->
|
||
|
<xsl:text>url+="?tid="+getTid();</xsl:text>
|
||
|
<xsl:if test="/ergebnisse/@MandantenID!='default'">
|
||
|
<xsl:text><![CDATA[url+="&MandantenID=]]></xsl:text><xsl:value-of select="/ergebnisse/@MandantenID"/><xsl:text>";</xsl:text>
|
||
|
</xsl:if>
|
||
|
var merkmale2=merkmale.replace(/n:'/g,'n:"');
|
||
|
var merkmale3=merkmale2.replace(/',k:'/g,'",k:"');
|
||
|
var merkmale4=merkmale3.replace(/'}/g,'"}');
|
||
|
var merkmale5=merkmale4.replace(/',sichtparam:'/g,'",sichtparam:"');
|
||
|
var merkmale6=merkmale5.replace(/',standparam:'/g,'",standparam:"');
|
||
|
var m=purgeval(merkmale6);
|
||
|
<![CDATA[
|
||
|
for (i=0;i<m.length;i++)
|
||
|
{
|
||
|
url+="&"+getEncoded(m[i].n)+"="+getEncoded(m[i].k);
|
||
|
if (m[i].sichtparam) url+="&"+getEncoded(m[i].n)+"-Sicht="+getEncoded(m[i].sichtparam);
|
||
|
if (m[i].standparam) url+="&"+getEncoded(m[i].n)+"-Stand="+m[i].standparam;
|
||
|
}
|
||
|
]]>
|
||
|
<!--falls ein Feld nicht als Merkmal belegt ist und es für ein Feld auf der Maske eine Auswahl gibt, diese übernehmen-->
|
||
|
<![CDATA[
|
||
|
for(var i1=1;i1<= felder.length-1; i1++)
|
||
|
{
|
||
|
var merkmalvorhanden=false;
|
||
|
for (i=0;i<m.length;i++)
|
||
|
{
|
||
|
if (getEncoded(m[i].n)==getEncoded(felder[i1]["htmlname"])) merkmalvorhanden=true;
|
||
|
}
|
||
|
if (!merkmalvorhanden)
|
||
|
{
|
||
|
var val=felder[i1]["value"];
|
||
|
url+="&"+getEncoded(felder[i1]["htmlname"])+"="+getEncoded(val);
|
||
|
}
|
||
|
}
|
||
|
]]>
|
||
|
<xsl:if test="/ergebnisse/@isMakro!='true'">
|
||
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colset!=''">
|
||
|
<xsl:text><![CDATA[url+="&colset=]]></xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colset"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colsort!=''">
|
||
|
<xsl:text><![CDATA[url+="&colsort=]]></xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colsort"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:if>
|
||
|
//dojo.debug(url);
|
||
|
document.getElementById('progressbar').style.display="";
|
||
|
location.href=url;
|
||
|
}
|
||
|
<!-- für Zurück-Button bei normalen Abfragen und Lesezeichen
|
||
|
-->
|
||
|
|
||
|
function getParams(method) <!--direkt für Zurückbutton, ohne Speicherung als Bookmarklet-->
|
||
|
{
|
||
|
// check for fieldsep argument
|
||
|
var fieldsep = '&'; // default
|
||
|
var params="";
|
||
|
//alert("getparams - method: " + method);
|
||
|
if (method!='direkt') params+="p=[";
|
||
|
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/felder/feld">
|
||
|
<xsl:if test="@varname!='##line##'">
|
||
|
<xsl:if test="value!='' and value!='null' and @art!='8' and @art!='13'"> <!-- bei Duisburger Sichten vorgekommen-->
|
||
|
if (method!='direkt')
|
||
|
<xsl:text>params+="{\"n\":\"</xsl:text><xsl:value-of select="@varname"/><xsl:text>\",\"k\":\"</xsl:text>
|
||
|
<xsl:value-of select="value"/><xsl:text>\"},";
|
||
|
</xsl:text>
|
||
|
else
|
||
|
<xsl:text><![CDATA[params+=fieldsep+getEncoded("]]></xsl:text><xsl:value-of select="@varname"/><xsl:text>")+"="+getEncoded("</xsl:text><xsl:value-of select="value"/><xsl:text>");
|
||
|
</xsl:text>
|
||
|
|
||
|
|
||
|
|
||
|
<!-- Probleme im IE wenn kleiner als, Prozent oder sowas vorkommt
|
||
|
title+=" </xsl:text>
|
||
|
<xsl:choose> <xsl:when test="caption_short!= '' 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><xsl:text>: </xsl:text><xsl:value-of select="value"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
-->
|
||
|
</xsl:if>
|
||
|
<!-- MB Stand und Sicht in Lesezeichen -->
|
||
|
<xsl:if test="@stand!=''">
|
||
|
<xsl:text>var stand="</xsl:text><xsl:value-of select="@stand"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
|
||
|
if (<![CDATA[stand&&isDate(stand)&&!isToday(stand)]]>) <!-- wenn Stand today ist, braucht er nicht in bookmarklet noch in zurückbutton-->
|
||
|
{
|
||
|
if (method!='direkt')
|
||
|
<xsl:text>params+="{\"n\":\"</xsl:text><xsl:value-of select="@varname"/><xsl:text>-Stand\",\"k\":\"</xsl:text><xsl:value-of select="@stand"/><xsl:text>\"},";
|
||
|
</xsl:text>
|
||
|
else
|
||
|
<xsl:text><![CDATA[params+=fieldsep+"]]></xsl:text><xsl:value-of select="@varname"/><xsl:text>"+"-Stand=</xsl:text><xsl:value-of select="@stand"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
}
|
||
|
</xsl:if>
|
||
|
<xsl:if test="sicht/@name_intern!=''">
|
||
|
if (method!='direkt')
|
||
|
<xsl:text>params+="{\"n\":\"</xsl:text><xsl:value-of select="@varname"/><xsl:text>-Sicht\",\"k\":\"</xsl:text><xsl:value-of select="sicht/@name_intern"/><xsl:text>\"},";
|
||
|
</xsl:text>
|
||
|
else
|
||
|
<xsl:text><![CDATA[params+=fieldsep+"]]></xsl:text><xsl:value-of select="@varname"/><xsl:text>"+"-Sicht="+"</xsl:text><xsl:value-of select="sicht/@name_intern"/><xsl:text>";
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
<!-- bei Methode direkt auch -leer- uebergeben -->
|
||
|
<xsl:for-each select="/ergebnisse/ergebnis/completefields/feld">
|
||
|
<xsl:if test="(value='' or value='null') and @art!='8' and @art!='13'">
|
||
|
<xsl:text><![CDATA[ if (method=='direkt') params+="&"+getEncoded("]]></xsl:text><xsl:value-of select="@varname"/><xsl:text>")+"=--leer--";</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
|
||
|
if (method!='direkt') params=params.substring(0,params.length-1)+"]";//letztes Komma überschreiben
|
||
|
//alert(params);
|
||
|
|
||
|
return params;
|
||
|
}
|
||
|
|
||
|
<!-- Tabelle_esezeichen erstellen - bei Makros ist dojo zu aufwändig-->
|
||
|
function lesezeichen_erstellen()
|
||
|
{
|
||
|
params=getParams();
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/@isMakro='true'">
|
||
|
title='Tab <xsl:value-of select="/ergebnisse/makro/name" />';
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
title='Tab <xsl:value-of select="/ergebnisse/ergebnis/maskenname"/>';
|
||
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colset!=''">
|
||
|
<xsl:text><![CDATA[params+=";p[p.length]={\"n\":\"colset\",\"k\":\"]]></xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colset"/><xsl:text>\"}";
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colsort!=''">
|
||
|
<xsl:text><![CDATA[params+=";p[p.length]={\"n\":\"colsort\",\"k\":\"]]></xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colsort"/><xsl:text>\"}";
|
||
|
</xsl:text>
|
||
|
</xsl:if>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
//dojo.debug(params);
|
||
|
//lesezeichen funktion setzt nur noch Titel, Params hier obsolet
|
||
|
<xsl:text>lesezeichen('/superx/servlet/SuperXmlTabelle',getTid(),'</xsl:text><xsl:value-of select="/ergebnisse/@MandantenID"/><xsl:text>',params,title);
|
||
|
createLinkForTable('</xsl:text><xsl:value-of select="/ergebnisse/@hisinone_refapp" /><xsl:text>','</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colset"/><xsl:text>','</xsl:text><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/headers/@colsort"/><xsl:text>');</xsl:text>
|
||
|
dojo.widget.byId("lesezeichendlg").show();
|
||
|
|
||
|
}
|
||
|
|
||
|
function deeplink_dialog()
|
||
|
{
|
||
|
dojo.widget.byId("deeplinkdlg").show();
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
<!-- end lesezeichen -->
|
||
|
</xsl:if>
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/*/@hisinone_active='true'">
|
||
|
<script language="Javascript">
|
||
|
var platform='his1';
|
||
|
</script>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<script language="Javascript">
|
||
|
var platform='superx';
|
||
|
</script>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
<!-- end normale Abfragen - nicht makros-->
|
||
|
</xsl:template>
|
||
|
<!-- end javascript-->
|
||
|
<xsl:template name="nd_tableHiddenInputs">
|
||
|
|
||
|
<input name="navi" type="hidden" value="{/ergebnisse/@showNavigation}" />
|
||
|
|
||
|
<input type="hidden" name="tid">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/@isMakro='true'">
|
||
|
<xsl:attribute name="value"><xsl:value-of select="/ergebnisse/makro/@id" /></xsl:attribute>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:attribute name="value"><xsl:value-of select="/ergebnisse/ergebnis/maskenname/@id" /></xsl:attribute>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</input>
|
||
|
<input type="hidden" name="UserID"><xsl:attribute name="value"><xsl:value-of select="/ergebnisse/userID" /></xsl:attribute></input>
|
||
|
<input type="hidden" name="reuseresult" value="true"/> <!-- gecachte Ergebnis benutzen-->
|
||
|
<input type="hidden" name="maxoffset" value=""/> <!--im Normalfall wird Servleteinstellung genutzt - nur Druckversion übergibt Wert-->
|
||
|
<input type="hidden" name="offset">
|
||
|
<xsl:attribute name="value"><xsl:value-of select="/ergebnisse/ergebnis/ergebniselement/sqlerg/@offset" /></xsl:attribute>
|
||
|
</input>
|
||
|
<input type="hidden" name="stylesheet" value="" />
|
||
|
<input type="hidden" name="contenttype" value="" />
|
||
|
<!-- MB 5/2011 fuer Export nur sichtbarer Tabellenzeilen nach Excel/PDF -->
|
||
|
<input type="hidden" name="irowno" value="" />
|
||
|
<xsl:for-each-group select="/*/*/felder/feld" group-by=".">
|
||
|
<!--<xsl:for-each select="distinct-values(//ergebnisse/ergebnis/felder/feld [@varname !='Lehreinheit' and @varname != 'Fakultät' and @varname != 'Studiengang'])">-->
|
||
|
<!-- #198418 Problem bei Feldart 1 Typ SQL Beispiel Zeitraum in COB Maske Kosten und Erlöse (Primär und Sekundär) Attribut value aus default/wert key wird nicht richtig escaped
|
||
|
vergl. https://stackoverflow.com/questions/8944513/disable-output-escaping-yes-no-not-working-amp-outputted-twice-in-sharepoint-
|
||
|
Versuche mit <option value="{key}"> sind auch fehlgeschlagen, vermutlich weil XSTL bei Attributen keine Änderung des Escapings vorsieht
|
||
|
https://stackoverflow.com/questions/7887016/disable-output-escaping-not-working-for-attribute-in-xslt
|
||
|
alter Code:
|
||
|
<input type="hidden">
|
||
|
<xsl:attribute name="name"><xsl:value-of select="@varname" /></xsl:attribute>
|
||
|
<xsl:attribute name="value"><xsl:value-of select="value" /></xsl:attribute>
|
||
|
</input>
|
||
|
|
||
|
|
||
|
neuer Code: -->
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[<input type="hidden" name="]]></xsl:text><xsl:value-of disable-output-escaping="no" select="@varname"/><xsl:text>" value="</xsl:text>
|
||
|
<xsl:value-of disable-output-escaping="no" select="value"/><xsl:text>"</xsl:text>
|
||
|
<xsl:text disable-output-escaping="yes"><![CDATA[</input>
|
||
|
]]></xsl:text>
|
||
|
|
||
|
</xsl:for-each-group>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_tableExportButtons" >
|
||
|
|
||
|
<!-- druckversion übergibt maxoffset 10000000 damit alle Sätze angezeigt werden -->
|
||
|
|
||
|
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='rpta_assistent.xsl']) !=0">
|
||
|
<input name="RPTContentype" type="hidden" value="" />
|
||
|
<input name="RPTPageFormat" type="hidden" value="A3" />
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;"><xsl:attribute name="onclick"><xsl:text>setTemplatePropertiesAndSubmit('rpta_assistent.xsl|text/html');</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<img title="Berichtsassistent" alt="Berichtsassistent"
|
||
|
src="../images/icons/magic.svg" border="0" class="svg_icon" />
|
||
|
</a><span class="separator"> </span><span class="separator"> </span>
|
||
|
|
||
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[stylesheet_type='XSL_JRXML']">
|
||
|
|
||
|
<a onMouseOver="window.status='Export xls starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" style="cursor: pointer;">
|
||
|
<xsl:attribute name="onclick"><xsl:text>document.forms[0].elements['RPTContentype'].value='</xsl:text><xsl:value-of select="contenttype"/><xsl:text>';setTemplatePropertiesAndSubmit('</xsl:text><xsl:value-of select="filename"/><xsl:text>|application/jrxml');</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<img title="{caption}" alt="{description}"
|
||
|
src="{toolbar_icon_filepath}" border="0" class="svg_icon" />
|
||
|
</a>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[filename='viz_html_chart.xsl']) !=0
|
||
|
and /ergebnisse/user/@admin='true'">
|
||
|
|
||
|
<script language="Javascript">
|
||
|
function prepareExportChart()
|
||
|
{
|
||
|
document.forms[0].stylesheet.value = 'viz_html_chart.xsl';
|
||
|
document.forms[0].contenttype.value = 'text/html';
|
||
|
document.forms[0].target = '_blank';
|
||
|
|
||
|
document.forms[0].offset.value='0';
|
||
|
document.forms[0].maxoffset.value = '1000000';
|
||
|
document.forms[0].reuseresult.value = 'true';
|
||
|
document.forms[0].usetreetable.value = 'false';
|
||
|
startExport();
|
||
|
}
|
||
|
</script>
|
||
|
<!-- druckversion übergibt maxoffset 10000000 damit alle Sätze angezeigt werden -->
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExportChart()</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<input type="hidden" name="usetreetable" />
|
||
|
<img title="Ausgabe als Diagramm" alt="Ausgabe in Diagramm"
|
||
|
src="../images/icons/chart-bar.svg" border="0" class="svg_icon" />
|
||
|
</a>
|
||
|
|
||
|
</xsl:if>
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('druckversion')</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<!-- <xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute>
|
||
|
<xsl:text>Druckversion</xsl:text> -->
|
||
|
<img title="Ausgabe in HTML" alt="Ausgabe in HTML"
|
||
|
src="../images/into_html.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('xml')</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<img title="Ausgabe in XML" alt="Ausgabe in XML"
|
||
|
src="../images/into_xml.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('pdf')</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<!-- <xsl:attribute name="title"><xsl:text>PDF</xsl:text></xsl:attribute>
|
||
|
<xsl:text>PDF</xsl:text> -->
|
||
|
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat"
|
||
|
src="../images/into_pdf.svg" class="svg_icon" border="0" />
|
||
|
|
||
|
</a>
|
||
|
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('excel')</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<!-- <xsl:attribute name="title"><xsl:text>XLS (z.B. Excel)</xsl:text></xsl:attribute>
|
||
|
<xsl:text>XLS</xsl:text> -->
|
||
|
<img title="Ausgabe in Excel" alt="Ausgabe in Excel"
|
||
|
src="../images/into_excel_normal.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
|
||
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
|
||
|
<!-- <xsl:attribute name="title"><xsl:text>Comma Separated Values</xsl:text></xsl:attribute>
|
||
|
<xsl:text>CSV</xsl:text> -->
|
||
|
<img title="Ausgabe als CSV" alt="Ausgabe als CSV"
|
||
|
src="../images/into_csv_text.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
|
||
|
<xsl:if test="/ergebnisse/user [@admin='true']">
|
||
|
|
||
|
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_edit.jsp?tid=',/ergebnisse/ergebnis/maskenname/@id)"/>
|
||
|
<a>
|
||
|
<xsl:attribute name="href"><xsl:value-of select="$url" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
|
||
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=750</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
|
||
|
<img title="Maskeninfo verwalten" alt="Maskeninfo verwalten"
|
||
|
src="../images/icons/book_open_edit.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
|
||
|
<xsl:variable name="url" select="concat('../edit/kern/sachgeb_maske_bez_edit.jsp?maskeninfo_id=',/ergebnisse/ergebnis/maskenname/@id)"/>
|
||
|
|
||
|
<a>
|
||
|
<xsl:attribute name="href"><xsl:value-of select="$url" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
|
||
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
|
||
|
<img title="Sachgebiet zuordnen" alt="Sachgebiet zuordnen"
|
||
|
src="../images/icons/folder_edit.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
|
||
|
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_style.jsp?tid=',/ergebnisse/ergebnis/maskenname/@id)"/>
|
||
|
|
||
|
<a>
|
||
|
<xsl:attribute name="href"><xsl:value-of select="$url" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$url" />
|
||
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
|
||
|
<img title="Stylesheets zuordnen" alt="Stylesheets zuordnen"
|
||
|
src="../images/icons/copy_edit.svg" class="svg_icon" border="0" />
|
||
|
</a>
|
||
|
</xsl:if>
|
||
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[is_generic='0']">
|
||
|
<xsl:if test="not(ends-with(filename,'.jrxml'))">
|
||
|
<a><xsl:attribute name="href">javascript:document.forms[0].stylesheet.value='<xsl:value-of select="filename" />';document.forms[0].contenttype.value='<xsl:value-of select="contenttype" />'; document.forms[0].submit();</xsl:attribute>
|
||
|
<xsl:attribute name="title"><xsl:value-of select="description" /></xsl:attribute>
|
||
|
<![CDATA[]]><xsl:value-of select="caption" /><![CDATA[]]></a>
|
||
|
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</xsl:template>
|
||
|
|
||
|
<xsl:template name="nd_tableExportWeiterverarbeitung">
|
||
|
<!--<div class="buttonbar">--><!--071024 BF deaktiviert-->
|
||
|
<!--<div class="field is-grouped is-grouped-multiline">--><!--071024 BF deaktiviert-->
|
||
|
<div class="input-container">
|
||
|
<label class="label is-small">Weiterverarbeiten: </label>
|
||
|
<div class="field has-addons">
|
||
|
<div class="control">
|
||
|
<div class="select is-small is-fullwidth">
|
||
|
<select name="xsl_template">
|
||
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet[is_generic='1']">
|
||
|
<option value="{concat(filename,'|',contenttype)}"><xsl:value-of select="caption" /></option>
|
||
|
</xsl:for-each>
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<xsl:variable name="newTemplateImage">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="/ergebnisse/@hisinone_active='true'">
|
||
|
<xsl:text>../xml/his1/images/icons/context_add.svg</xsl:text>
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
<xsl:text>../images/icons/context_add.svg</xsl:text>
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
</xsl:variable>
|
||
|
|
||
|
<!-- ************ 071024 BF eingefügt-->
|
||
|
<div class="control">
|
||
|
<button class="button is-small is-rounded">
|
||
|
<span class="icon">
|
||
|
<img alt="Weiterverarbeiten" title="Weiterverarbeiten"
|
||
|
onclick="javascript:setTemplatePropertiesAndSubmit(document.forms[0].xsl_template.value);"
|
||
|
src="../images/icon_go_mini.svg"/>
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
<!--071024 BF eingefügt ************-->
|
||
|
<!--************ 071024 BF deaktiviert-->
|
||
|
<!--<a class="linkLookImage" style="margin-left:0px;">
|
||
|
<xsl:attribute name="href">
|
||
|
<xsl:text>javascript:setTemplatePropertiesAndSubmit(document.forms[0].xsl_template.value);
|
||
|
</xsl:text>
|
||
|
</xsl:attribute>
|
||
|
<img title="Weiterverarbeiten" alt="Weiterverarbeiten" src="{$newTemplateImage}" border="0" />
|
||
|
</a>-->
|
||
|
<!--071024 BF deaktiviert ************-->
|
||
|
</div> <!--Ende field has-addons -->
|
||
|
</div> <!--Ende input-container-->
|
||
|
<!-- </div>--> <!--Ende field is grouped is-multiline--><!--071024 BF deaktiviert-->
|
||
|
<!--</div>--> <!--Ende buttonbar--><!--071024 BF deaktiviert-->
|
||
|
</xsl:template> <!--Ende nd_tableExportWeiterverarbeitung-->
|
||
|
|
||
|
<xsl:template name="nd_JasperExportBtn">
|
||
|
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[ends-with(filename,'.jrxml')])">
|
||
|
<!--<div class="container" style="margin-bottom:20px">--><!--061024 BF deaktiviert-->
|
||
|
<!--<div class="buttonbar">--> <!--071024 BF deaktiviert-->
|
||
|
<!--<div class="field is-grouped is-grouped-multiline">--><!--071024 BF deaktiviert-->
|
||
|
|
||
|
<div class="input-container">
|
||
|
<!--<div class="control">--><!--061024 BF deaktiviert-->
|
||
|
<label class="label is-small">Bericht ausgeben: </label>
|
||
|
<!--</div>--><!--061024 BF deaktiviert-->
|
||
|
<div class="field has-addons">
|
||
|
<div class="control">
|
||
|
<div class="select is-small" style="margin-left:3px;">
|
||
|
<select name="jr_stylesheet" onchange="jsDisableInput(this.value);">
|
||
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet">
|
||
|
<xsl:if test="ends-with(filename,'.jrxml')">
|
||
|
<option><xsl:attribute name="value"><xsl:value-of select="filename" /></xsl:attribute><xsl:value-of select="caption" /></option>
|
||
|
</xsl:if>
|
||
|
</xsl:for-each>
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="control">
|
||
|
<div class="select is-small">
|
||
|
<select name="jr_contenttype" onchange="">
|
||
|
<option value="application/pdf">PDF</option>
|
||
|
<!-- klappt nicht mehr: <option value="application/vnd.ms-excel">XLS</option>-->
|
||
|
<option value="application/rtf">RTF</option>
|
||
|
<option value="application/vnd.oasis.opendocument.text">ODT</option>
|
||
|
<option value="application/vnd.oasis.opendocument.spreadsheet">ODS</option>
|
||
|
<option value="text/html">HTML</option>
|
||
|
<option value="text/xhtml">XHTML</option>
|
||
|
<option value="text/csv">CSV</option>
|
||
|
<option value="text/xml">XML</option>
|
||
|
<!-- klappt noch nicht: <option value="text/plain">TXT</option>-->
|
||
|
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLSX</option>
|
||
|
<option value="application/vnd.openxmlformats-officedocument.wordprocessingml.document">DOCX</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="control">
|
||
|
<button class="button is-rounded" onclick="document.forms[0].stylesheet.value=this.form.jr_stylesheet.options[this.form.jr_stylesheet.selectedIndex].value;document.forms[0].contenttype.value=this.form.jr_contenttype.options[this.form.jr_contenttype.selectedIndex].value; document.forms[0].submit();"> <!--071024 rein-->
|
||
|
<span class="icon">
|
||
|
<img title="Bericht ausgeben" alt="Bericht ausgeben" src="../images/icon_go_mini.svg" />
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
<!--***** 061024 BF deaktiviert-->
|
||
|
<!-- <div class="control">
|
||
|
<xsl:attribute name="onclick" >
|
||
|
<button class="button is-small is-rounded">
|
||
|
<span class="icon">
|
||
|
<img src="../images/icon_go.svg" title="Bericht ausgeben" alt="Bericht ausgeben" />
|
||
|
</span>
|
||
|
<xsl:text>
|
||
|
<![CDATA[document.forms[0].stylesheet.value=this.form.jr_stylesheet.options[this.form.jr_stylesheet.selectedIndex].value;document.forms[0].contenttype.value=this.form.jr_contenttype.options[this.form.jr_contenttype.selectedIndex].value; document.forms[0].submit();]]>
|
||
|
</xsl:text>
|
||
|
GO
|
||
|
</button>
|
||
|
</xsl:attribute>
|
||
|
</div>-->
|
||
|
<!--061024 BF deaktiviert *****-->
|
||
|
|
||
|
</div> <!-- ende field has-addons-->
|
||
|
</div> <!-- ende input-container-->
|
||
|
<!--</div>--> <!--ende field is-grouped is-grouped-multiline-->
|
||
|
<!--</div>--> <!--ende buttonbar-->
|
||
|
<!--</div>--> <!--ende container-->
|
||
|
</xsl:if>
|
||
|
</xsl:template><!--ende nd_JasperExportBtn-->
|
||
|
|
||
|
<xsl:template name="nd_legendeContent">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0" />
|
||
|
<xsl:param name="isDisplayedInModal" select="'true'" />
|
||
|
|
||
|
|
||
|
<div class="container"> <!--20240911NEU-->
|
||
|
<p class="legende">
|
||
|
|
||
|
<xsl:for-each select="../felder/feld">
|
||
|
<xsl:if test="(value !='' or sicht/@isFirstInGroup='false' or @isstandtoday='false') and @varname != 'sort' and @varname != 'maxoffset' and value_caption != ''">
|
||
|
|
||
|
<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(value_caption) < 50">
|
||
|
<span class="feldwert"><xsl:value-of select="value_caption" /><![CDATA[]]></span>
|
||
|
</xsl:if>
|
||
|
<xsl:if test="string-length(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:text>; </xsl:text>
|
||
|
<xsl:if test="$isDisplayedInModal='true'">
|
||
|
<br />
|
||
|
</xsl:if>
|
||
|
</xsl:if>
|
||
|
|
||
|
</xsl:for-each>
|
||
|
|
||
|
<span class="legende-info"> User: <xsl:value-of select="/ergebnisse/user"/>
|
||
|
<xsl:if test="$isDisplayedInModal='true'">
|
||
|
<br />
|
||
|
</xsl:if>
|
||
|
<xsl:text> Stand: </xsl:text>
|
||
|
<!--Zeitangabe bei Stand entfernen wenn es nicht ueber die neue Komponentenverwaltung läuft -->
|
||
|
<xsl:variable name="stand_korr">
|
||
|
<xsl:choose>
|
||
|
<xsl:when test="contains(../stand,'00:00:00')">
|
||
|
<xsl:value-of select="substring-before(../stand,'00:00:00')" />
|
||
|
|
||
|
</xsl:when>
|
||
|
<xsl:otherwise>
|
||
|
|
||
|
<xsl:value-of select="../stand" />
|
||
|
</xsl:otherwise>
|
||
|
</xsl:choose>
|
||
|
|
||
|
</xsl:variable>
|
||
|
<xsl:value-of select="$stand_korr" /> 
|
||
|
<xsl:if test="../standdt != ''">
|
||
|
<xsl:text> / </xsl:text>
|
||
|
<xsl:value-of select="../standdt" />
|
||
|
</xsl:if>
|
||
|
</span>
|
||
|
</p>
|
||
|
<xsl:if test="../hinweis != ''">
|
||
|
<xsl:call-template name="newline_to_br">
|
||
|
<xsl:with-param name="string" select="../hinweis" />
|
||
|
</xsl:call-template>
|
||
|
</xsl:if>
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_legende_modal">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0" />
|
||
|
<xsl:variable name="quote"><xsl:text>'</xsl:text></xsl:variable>
|
||
|
|
||
|
<div class="modal modal-fx-3dSlit" id="{concat('modalCard_legende',$ergebniselement_ordnr)}">
|
||
|
<div class="modal-background"></div>
|
||
|
<div class="modal-content is-huge is-image">
|
||
|
<!-- content -->
|
||
|
|
||
|
<div class="modal-content">
|
||
|
<div class="box">
|
||
|
<span class="box-new">Legende
|
||
|
<a href="{concat('javascript:closeModal(',$quote,'modalCard_legende',$ergebniselement_ordnr,$quote,');')}">
|
||
|
<span class="button is-grey"> X </span>
|
||
|
</a>
|
||
|
</span>
|
||
|
|
||
|
<xsl:call-template name="nd_legendeContent">
|
||
|
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" />
|
||
|
<xsl:with-param name="isDisplayedInModal" select="'true'" />
|
||
|
</xsl:call-template>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_erlaeuterung_modal">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0" />
|
||
|
<xsl:variable name="quote"><xsl:text>'</xsl:text></xsl:variable>
|
||
|
<div class="modal modal-fx-3dSlit" id="{concat('modalCard_erlaeuterung',$ergebniselement_ordnr)}">
|
||
|
<div class="modal-background"></div>
|
||
|
<div class="modal-content is-huge is-image">
|
||
|
<!-- content -->
|
||
|
|
||
|
<div class="modal-content">
|
||
|
<div class="box">
|
||
|
<span class="box-new">Erläuterung
|
||
|
<a href="{concat('javascript:closeModal(',$quote,'modalCard_erlaeuterung',$ergebniselement_ordnr,$quote,');')}">
|
||
|
<span class="button is-grey"> X </span>
|
||
|
</a>
|
||
|
</span>
|
||
|
<xsl:call-template name="nd_erlaeuterungModalContent">
|
||
|
<xsl:with-param name="ergebniselement_ordnr" select="$ergebniselement_ordnr" />
|
||
|
</xsl:call-template>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_erlaeuterungModalContent">
|
||
|
<xsl:param name="ergebniselement_ordnr" select="0" />
|
||
|
<h2><xsl:value-of select="../explanation" /></h2>
|
||
|
|
||
|
<div class="leg_erl">
|
||
|
<dl><span class="dl_title"><xsl:text>Maske</xsl:text></span>
|
||
|
<xsl:for-each select="../felder/feld [string-length(caption_long) > 0 and caption_long != 'null']">
|
||
|
|
||
|
<dt><span class="feldwert"><xsl:value-of select="@varname" /></span> </dt>
|
||
|
<dd><xsl:value-of select="caption_long" /></dd>
|
||
|
</xsl:for-each>
|
||
|
</dl>
|
||
|
</div>
|
||
|
|
||
|
<span class="separator"> </span>
|
||
|
<div class="leg_erl">
|
||
|
<dl> <span class="dl_title"><xsl:text>Ergebnistabelle</xsl:text></span>
|
||
|
<xsl:for-each select="sqlerg/headers/header [string-length(caption_long) > 1 and caption_long !='null'and starts-with(f_name,'hidden')=false]">
|
||
|
<dt><span class="feldwert"><xsl:call-template name="nd_removeBackslash000">
|
||
|
<xsl:with-param name="string" select="wert" />
|
||
|
</xsl:call-template></span> </dt>
|
||
|
<dd><xsl:call-template name="nd_prepareColCaptionlong"><xsl:with-param name="string" select="caption_long" /></xsl:call-template>
|
||
|
</dd>
|
||
|
</xsl:for-each>
|
||
|
</dl>
|
||
|
</div>
|
||
|
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_removeBackslash000">
|
||
|
<xsl:param name="string" />
|
||
|
<xsl:call-template name="search_replace">
|
||
|
<xsl:with-param name="string" select="normalize-space($string)" />
|
||
|
<xsl:with-param name="search" select="'\000'" />
|
||
|
<xsl:with-param name="replace" select="' '"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="nd_prepareColCaptionlong">
|
||
|
<xsl:param name="string" />
|
||
|
<xsl:variable name="s1">
|
||
|
<xsl:call-template name="nd_removeBackslash000"><xsl:with-param name="string" select="$string" /></xsl:call-template>
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="s2">
|
||
|
<xsl:call-template name="search_replace">
|
||
|
<xsl:with-param name="string" select="$s1" />
|
||
|
<xsl:with-param name="search" select="'<br>'" />
|
||
|
<xsl:with-param name="replace" select="' '"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:variable>
|
||
|
<xsl:variable name="s3">
|
||
|
<xsl:call-template name="search_replace">
|
||
|
<xsl:with-param name="string" select="$s2" />
|
||
|
<xsl:with-param name="search" select="'<b>'" />
|
||
|
<xsl:with-param name="replace" select="' '"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:variable>
|
||
|
<xsl:call-template name="search_replace">
|
||
|
<xsl:with-param name="string" select="$s3" />
|
||
|
<xsl:with-param name="search" select="'</b>'" />
|
||
|
<xsl:with-param name="replace" select="' '"/>
|
||
|
</xsl:call-template>
|
||
|
</xsl:template>
|
||
|
<xsl:template name="dateGermanToDateUS">
|
||
|
<xsl:param name="date_str" />
|
||
|
<xsl:variable name="yyyy" select="substring($date_str,7,4)" />
|
||
|
<xsl:variable name="mm" select="substring($date_str,4,2)" />
|
||
|
<xsl:variable name="dd" select="substring($date_str,1,2)" />
|
||
|
<xsl:value-of select="concat($yyyy,'-',$mm,'-',$dd)" />
|
||
|
</xsl:template>
|
||
|
</xsl:stylesheet>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|