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.
608 lines
22 KiB
608 lines
22 KiB
<?xml version="1.0" encoding="UTF-8" ?> |
|
<xsl:stylesheet version="1.0" |
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|
<!-- aus resulest_html.xsl--> |
|
<xsl:template name="field_type"> |
|
|
|
<xsl:choose> |
|
<!--<xsl:when test="@id='0'"> |
|
<xsl:attribute name="class">themenspalte</xsl:attribute> |
|
</xsl:when>--> |
|
|
|
<xsl:when test="@typ='3' or @typ='8' or @typ='2'"> <!-- DecimalFormat --> |
|
<xsl:attribute name="class">decimal</xsl:attribute> |
|
</xsl:when> |
|
<xsl:when test="@typ='4' or @typ='-5'"> <!-- Integer --> |
|
<xsl:attribute name="class">integer</xsl:attribute> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<!--Typ=1 ist string und wird defaultmäßig behandelt --> |
|
<xsl:attribute name="class">ergfeld</xsl:attribute> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
</xsl:template> |
|
<xsl:template name="field_value"> |
|
<!--Transformation: |
|
3=DecimalFormat |
|
4=integer |
|
-7=Boolean |
|
6=date |
|
8=timestamp |
|
9=time |
|
Default ist |
|
1=string--> |
|
|
|
<xsl:choose> |
|
<xsl:when test="@id='0'"> |
|
<xsl:value-of select="wert" /> |
|
</xsl:when> |
|
|
|
<xsl:when test="@typ='3' or @typ='2' or @typ='8'"> <!-- DecimalFormat --> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" /> |
|
</xsl:when> |
|
<xsl:when test="@typ='4' or @typ='-5'"> <!-- Integer --> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.###','German')" /> |
|
</xsl:when> |
|
<xsl:when test="@typ='-7'"> <!-- Boolean --> |
|
<input type="checkbox" readonly="true"> |
|
<xsl:if test="wert = 'true'"> |
|
<xsl:attribute name="checked">true</xsl:attribute> |
|
</xsl:if> |
|
|
|
<xsl:attribute name="name"><xsl:value-of select="f_name" /></xsl:attribute> |
|
</input> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<!--Typ=1 ist string und wird defaultmäßig behandelt --> |
|
<xsl:value-of select="wert" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
</xsl:template> |
|
|
|
<!-- MB ausgelagert aus tabelle.html--> |
|
<xsl:template name="resultrow"> |
|
<xsl:param name="erglevelmax" /> |
|
<xsl:param name="row" /> |
|
<xsl:param name="excludecols"/> |
|
<tr> |
|
<!-- wenn tr andere Attribute als class/id erhält kann es beim Nachladen von Tabellenzeilen im IE Probleme geben--> |
|
<xsl:choose> |
|
<xsl:when test="col/f_name = 'ebene'"> |
|
<!-- DQ 9.12.07 --> |
|
<xsl:choose> |
|
<xsl:when test="$erglevelmax != 5"> |
|
<xsl:attribute name="class"><xsl:value-of select="concat('erglevel',$erglevelmax,'_',col[ f_name = 'ebene' ] /wert)" /></xsl:attribute> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:attribute name="class"><xsl:text>erglevel_</xsl:text><xsl:value-of select="col[ f_name = 'ebene' ] /wert" /></xsl:attribute> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:when> |
|
<xsl:when test="@issumme='true'"> |
|
<xsl:attribute name="class"><xsl:text>issumme</xsl:text></xsl:attribute> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<!-- odd und even --> |
|
<xsl:choose> |
|
<xsl:when test="position() mod 2 = 1"> |
|
<xsl:attribute name="class"><xsl:text>listRowOdd</xsl:text></xsl:attribute> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:attribute name="class"><xsl:text>listRowEven</xsl:text></xsl:attribute> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
<xsl:attribute name="id"><xsl:value-of select="@treetableid" /></xsl:attribute> |
|
|
|
<!-- MB 04/2010 hidden und bestimmte Spalte ausblenden--> |
|
<xsl:for-each select="col[not (starts-with(f_name,'hidden')) and not (contains($excludecols,f_name))]"> |
|
|
|
<td class="ergfeld"> |
|
<xsl:choose> |
|
<!--<xsl:when test="@id='0'"> |
|
<xsl:attribute name="class">themenspalte</xsl:attribute> |
|
</xsl:when> |
|
<xsl:when test="@typ='1'"> String |
|
<xsl:attribute name="class">string</xsl:attribute> |
|
<xsl:value-of select="wert" /> |
|
</xsl:when>--> |
|
<xsl:when test="@typ='3'"> <!-- DecimalFormat --> |
|
<xsl:attribute name="class">decimal</xsl:attribute> |
|
<!--<xsl:value-of select="wert" />--> |
|
<xsl:call-template name="displaydecimal"><xsl:with-param name="checkname"><xsl:value-of select="concat('hidden',f_name,'dp')"/></xsl:with-param></xsl:call-template> |
|
|
|
|
|
</xsl:when> |
|
<xsl:when test="@typ='4'"> <!-- Integer --> |
|
<xsl:attribute name="class">integer</xsl:attribute> |
|
<!--<xsl:value-of select="wert" />--> |
|
<xsl:choose> |
|
<xsl:when test="wert != ''"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.###','German')" /> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:value-of select="' '" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
</xsl:when> |
|
<xsl:otherwise> |
|
<!--Typ=1 ist string und wird defaultmäßig behandelt --> |
|
|
|
<xsl:call-template name="field_type" /> |
|
<xsl:variable name="zs"> |
|
<xsl:call-template name="field_value"> |
|
</xsl:call-template> |
|
</xsl:variable> |
|
<xsl:variable name="zs3"> |
|
<xsl:call-template name="resultsetLink"> |
|
<xsl:with-param name="zs2" select="$zs" /> |
|
</xsl:call-template> |
|
</xsl:variable> |
|
<!--Ab hier können Benutzerspezifische Transformationen nach Feldnamen oder Typ beginnen |
|
Bei leeren Zellen wird nbsp übergeben, weil |
|
der IE die Zellen sonst ohne Rahmen darstellt. |
|
Standardmmäßig wird der Feldinhalt nur noch kopiert. |
|
--> |
|
|
|
<xsl:if test="/ergebnisse/@isMakro!='true' and position()=2 and ../@treeindent >=0"> |
|
<xsl:call-template name="indent"> |
|
<xsl:with-param name="i">1</xsl:with-param> |
|
<xsl:with-param name="count"><xsl:value-of select="../@treeindent"/></xsl:with-param> |
|
</xsl:call-template> |
|
<xsl:choose> |
|
<xsl:when test="/ergebnisse/@isMakro!='true' and ../@isfolder='true'"> |
|
<a> |
|
<!-- MB 4.3.09 Attribut mit Sprungzielanker definiert, damit bei großen Tabellen an passende Stelle gesprungen wird--> |
|
<!-- <xsl:attribute name="href"><xsl:text>#</xsl:text><xsl:value-of select="../@treetableid"/></xsl:attribute> --> |
|
<!-- AK 29.07.2015 Attribut href mit Anker raus genommen. Die ersten beiden Zeilen verschwinden unter dem Tabellen Header falls die Tabelle zu lang ist. |
|
Damit bei klick auf Ordner nicht ganz nach oben gesprungen wird href ganz raus. Damit der Curser der Maus aussieht wie bei einem Link curser: pointer ergänzt. --> |
|
<xsl:attribute name="style"><xsl:text>cursor: pointer;</xsl:text></xsl:attribute> |
|
<xsl:attribute name="onclick"> |
|
<xsl:text>ajaxNodeToggle('</xsl:text><xsl:value-of select="../@treetableid"/><xsl:text>','</xsl:text> |
|
<xsl:value-of select="../@internalrowno"/><xsl:text>')</xsl:text> |
|
</xsl:attribute> |
|
<img src="/superx/xml/plus_circ.svg" class="treebutton" alt="" width="16" height="16" /> |
|
</a> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
  |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:if> |
|
<xsl:call-template name="get_val_or_nbsp"> |
|
<xsl:with-param name="zs4"><xsl:copy-of select="$zs3" /></xsl:with-param> |
|
|
|
</xsl:call-template> |
|
|
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
<xsl:if test="f_name = 'ebene' and ../@isfolder='true'"> |
|
<!-- |
|
<xsl:call-template name="indent"> |
|
<xsl:with-param name="i">1</xsl:with-param> |
|
<xsl:with-param name="count"><xsl:value-of select="../@treeindent"/></xsl:with-param> |
|
</xsl:call-template> |
|
<a href="#"> |
|
<xsl:attribute name="onclick"> |
|
<xsl:text>ajaxNodeToggle('</xsl:text><xsl:value-of select="../@treetableid"/><xsl:text>','</xsl:text> |
|
<xsl:value-of select="../@internalrowno"/><xsl:text>')</xsl:text> |
|
</xsl:attribute> |
|
<img src="/superx/xml/folder_green.png" class="treebutton" alt="" width="16" height="16" /> |
|
</a> |
|
--> |
|
</xsl:if> |
|
</td> |
|
|
|
</xsl:for-each> |
|
</tr> |
|
</xsl:template> |
|
|
|
<xsl:template name="tdCssClassErgfeld"> |
|
<xsl:param name="checkname" /> |
|
<xsl:choose> |
|
<xsl:when test="../col[f_name=$checkname]/wert!=''"> |
|
<xsl:value-of select="../col[f_name=$checkname]/wert" /> |
|
</xsl:when> |
|
<xsl:otherwise><xsl:text>ergfeld</xsl:text></xsl:otherwise> |
|
|
|
</xsl:choose> |
|
|
|
</xsl:template> |
|
<xsl:template name="displaydecimal"> |
|
<xsl:param name="checkname" /> |
|
<xsl:choose> |
|
<xsl:when test="wert != ''"> |
|
|
|
<xsl:choose> <!--MB wenn es eine versteckte hidden_decimalpl gibt auswerten--> |
|
<xsl:when test="../col[f_name=$checkname]/wert='0'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.###','German')" /> |
|
</xsl:when> |
|
<xsl:when test="../col[f_name=$checkname]/wert='1'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,0','German')" /> |
|
</xsl:when> |
|
<xsl:when test="../col[f_name=$checkname]/wert='2'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" /> |
|
</xsl:when> |
|
<xsl:when test="../col[f_name=$checkname]/wert='3'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,000','German')" /> |
|
</xsl:when> |
|
<xsl:when test="../col[f_name=$checkname]/wert='4'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,0000','German')" /> |
|
</xsl:when> |
|
<xsl:when test="../col[f_name=$checkname]/wert='5'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00000','German')" /> |
|
</xsl:when> |
|
<xsl:when test="../col[f_name=$checkname]/wert='6'"> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,000000','German')" /> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:value-of select="format-number(wert,'###.###.###.###.##0,00','German')" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:value-of select="' '" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:template> |
|
|
|
<!-- aus interlinks.xsl--> |
|
<xsl:template name="interLinks" > |
|
<xsl:param name="target"/> |
|
<xsl:param name="caption"/> |
|
<xsl:if test="(($target != 'null') and ($target != ''))"> |
|
<a><xsl:attribute name="href"> |
|
<xsl:choose> |
|
<xsl:when test="starts-with($target,'nexttable:')" > |
|
<xsl:value-of select="concat('SuperXmlTabelle','?tid=',substring-after($target,'nexttable:'))"/> |
|
</xsl:when> |
|
<xsl:when test="starts-with($target,'nextmask:')" > |
|
<xsl:value-of select="concat('SuperXmlMaske','?tid=',substring-after($target,'nextmask:'))"/> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:value-of select="$target" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:attribute> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</a> |
|
</xsl:if> |
|
</xsl:template> |
|
<xsl:template name="resultsetLink"> |
|
<xsl:param name="zs2" /> |
|
|
|
<xsl:choose> |
|
<xsl:when test="starts-with(f_name,'email') or starts-with(f_name,'E-mail')"> |
|
<a><xsl:attribute name="href">mailto:<xsl:value-of select="$zs2" /></xsl:attribute> |
|
<xsl:value-of select="$zs2" /></a> |
|
</xsl:when> |
|
<xsl:when test="f_name='url' or starts-with(f_name,'www') or starts-with(f_name,'WWW')"> |
|
<a target="_blank"><xsl:attribute name="href"><xsl:value-of select="$zs2" /></xsl:attribute> |
|
<xsl:value-of select="$zs2" /></a> |
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'nextmask')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))"> |
|
<div align="center"><a><xsl:attribute name="target">_blank</xsl:attribute><xsl:attribute name="href"> |
|
<xsl:value-of select="'SuperXmlMaske'" /> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$derwert" /> |
|
</xsl:attribute> |
|
<img src="../applet/images/punkt.gif" border="0" alt="Bearbeiten" /> |
|
</a></div> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'nexttable')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
|
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))"> |
|
<div align="center"> |
|
<a> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="'SuperXmlTabelle'" /> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$derwert" /></xsl:attribute> |
|
<img src="../applet/images/information.svg" class="svg_icon" border="0" alt="Ansehen" /> |
|
</a></div> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'nextpage')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
|
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))"> |
|
<div align="center"> |
|
<a> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="'SuperXmlTabelle'" /> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$derwert" /></xsl:attribute> |
|
<!--<img src="../applet/images/more.gif" border="0" alt="Weitere Details" />--> |
|
<![CDATA[@@nextpage@@]]> |
|
</a></div> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
<!-- MB nextwindowtable same as nexttable but with target blank--> |
|
<xsl:when test="starts-with(f_name,'nextwindowtable')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
|
|
<xsl:variable name="caption" select="substring-before($derwert,'|') "/> |
|
<xsl:variable name="href" select="substring-after($derwert,'|') "/> |
|
|
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))"> |
|
<div align="center"> |
|
<a> |
|
<xsl:attribute name="target">_blank</xsl:attribute> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="'SuperXmlTabelle'" /> |
|
<xsl:choose> |
|
<xsl:when test="(contains($derwert,'|'))"> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$href" /> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$derwert" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:attribute> |
|
<xsl:choose> |
|
<xsl:when test="(contains($derwert,'|'))"> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<img src="../applet/images/information.svg" class="svg_icon" border="0" alt="Ansehen" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</a></div> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'nextdelete')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
|
|
<xsl:if test="(($derwert != 'null') and ($derwert != ''))"> |
|
<div align="center"> |
|
<a> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="'SuperXmlMaske'" /> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$derwert" /> |
|
</xsl:attribute> |
|
<img src="../applet/images/delete.gif" border="0" alt="Löschen" /> |
|
</a></div> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
<!-- fuer Tabellen--> |
|
<xsl:when test="starts-with(f_name,'nextlink')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
<xsl:if test="($derwert != 'null') and ($derwert != '')"> |
|
|
|
<xsl:choose> |
|
<xsl:when test="(contains($derwert,'|'))"> |
|
|
|
<xsl:variable name="caption" select="substring-before($derwert,'|') "/> |
|
<xsl:variable name="href" select="substring-after($derwert,'|') "/> |
|
<xsl:choose> |
|
<xsl:when test="starts-with($href,'http')"> |
|
<a target="_parent"> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="$href" /></xsl:attribute> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</a> |
|
</xsl:when> |
|
<xsl:when test="$href='' or $href = null"> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<a target="_self"> |
|
<xsl:attribute name="href"><xsl:value-of select="concat('SuperXmlTabelle','?tid=',$href)" /></xsl:attribute> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</a> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:copy-of select="$zs2" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
|
|
<!-- für generische LInks mit optional JSESSIONID ersetzt--> |
|
<xsl:when test="starts-with(f_name,'nextgenericlink')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
<xsl:if test="($derwert != 'null') and ($derwert != '')"> |
|
|
|
<xsl:choose> |
|
<xsl:when test="(contains($derwert,'|'))"> |
|
|
|
<xsl:variable name="caption" select="substring-before($derwert,'|') "/> |
|
<xsl:variable name="href" select="substring-after($derwert,'|') "/> |
|
<xsl:choose> |
|
<xsl:when test="starts-with($href,'http')"> |
|
<a target="_parent"> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="$href" /></xsl:attribute> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</a> |
|
</xsl:when> |
|
<xsl:when test="$href='' or $href = null"> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<a target="_self"> <!--MB see here--> |
|
<xsl:variable name="jsessreplace" > |
|
<xsl:call-template name="search_replace"> |
|
<xsl:with-param name="string" select="$href" /> |
|
<xsl:with-param name="search" select="'JSESSIONID'" /> |
|
<xsl:with-param name="replace" select="concat(';jsessionid=',/ergebnisse/@jsessionid )" /> |
|
</xsl:call-template> |
|
</xsl:variable> |
|
<xsl:attribute name="href"><xsl:value-of select="$jsessreplace" /></xsl:attribute> |
|
<![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]> |
|
</a> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:copy-of select="$zs2" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
<xsl:when test="starts-with(f_name,'nextedit')"> |
|
|
|
<xsl:variable name="derwert" select="$zs2"/> |
|
<xsl:if test="($derwert != 'null') and ($derwert != '')"> |
|
<div align="center"> |
|
<xsl:choose> |
|
<xsl:when test="(contains($derwert,'|'))"> |
|
<xsl:variable name="url" select="substring-before($derwert,'|') "/> |
|
<xsl:variable name="params" select="substring-after($derwert,'|') "/> |
|
<a target="nextedit"> |
|
<xsl:attribute name="href"><xsl:value-of select="concat($url,'?',$params)" /> |
|
</xsl:attribute> |
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="concat($url,'?',$params)" /> |
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,scrollbars=yes,resizable=yes,toolbar=no,width=800,height=600'); return false;</xsl:text></xsl:attribute> |
|
|
|
<img src="../applet/images/pencil.svg" class="svg_icon" border="0" alt="Bearbeiten" /> |
|
</a> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<a target="nextedit"> |
|
<xsl:attribute name="href"><xsl:value-of select="$derwert" /> |
|
</xsl:attribute> |
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="$derwert" /> |
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=800,height=600'); return false;</xsl:text></xsl:attribute> |
|
<img src="../applet/images/pencil.svg" class="svg_icon" border="0" alt="Bearbeiten" /> |
|
</a> |
|
|
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</div> |
|
</xsl:if> |
|
|
|
</xsl:when> |
|
|
|
<xsl:otherwise> |
|
<xsl:copy-of select="$zs2" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:template> |
|
<xsl:template name="sidebar_link"> |
|
<xsl:param name="caption"/> |
|
<xsl:param name="href"/> |
|
<xsl:param name="target"/> |
|
<xsl:variable name="href_1"> |
|
<xsl:call-template name="get_colvalue"> |
|
<xsl:with-param name="colname"><xsl:value-of select="$href" /></xsl:with-param></xsl:call-template> |
|
</xsl:variable> |
|
<xsl:if test="string-length($href_1) > 0 "> |
|
<li> |
|
<xsl:choose> |
|
<xsl:when test="starts-with($href_1,'http://')"> |
|
<a target="_blank"><xsl:attribute name="href"><xsl:value-of select="$href_1" /></xsl:attribute><![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]></a> |
|
|
|
</xsl:when> |
|
<xsl:when test="starts-with($href,'email') "> |
|
<a><xsl:attribute name="href"> |
|
<xsl:text>mailto:</xsl:text><xsl:value-of select="$href_1" /></xsl:attribute><![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]></a> |
|
|
|
</xsl:when> |
|
<xsl:otherwise> |
|
<a target="_self"><xsl:attribute name="href"> |
|
<xsl:value-of select="'SuperXmlTabelle'" /> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="$href_1" /></xsl:attribute><![CDATA[]]><xsl:value-of select="$caption" /><![CDATA[]]></a> |
|
|
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</li> |
|
</xsl:if> |
|
</xsl:template> |
|
|
|
<xsl:template name="bookmark_deepLink_man"> |
|
|
|
<td> |
|
<!-- <span dojoType="tooltip" connectId="btnBookmark" style="display:none">Die aktuelle SuperX-Maske als Lesezeichen im Browser speichern.</span> --> |
|
<a href="javascript:lesezeichen_erstellen();" id="btnBookmark" class="linkLookImage"><img src="../images/attach.svg" class="svg_icon" alt="Lesezeichen erstellen" border="0" /></a> |
|
</td> |
|
<td> |
|
<a href="javascript:deeplink_dialog();" id="btnDeepLink" class="linkLookImage"><img title="Deeplink für aktuelle Maske anzeigen" alt="Deeplink für aktuelle Maske anzeigen" src="../images/link.svg" class="svg_icon" border="0" /></a> |
|
</td> |
|
<td> |
|
|
|
|
|
<input type="hidden" name="jr_stylesheet" value="tabelle_888881190_druck.jrxml" /> |
|
|
|
<select onchange="" name="jr_contenttype"> |
|
<option value="application/pdf">PDF</option> |
|
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLSX</option> |
|
<option value="text/html">HTML</option> |
|
</select> |
|
<input type="button" onclick=" document.forms[0].stylesheet.value=this.form.jr_stylesheet.value;document.forms[0].contenttype.value=this.form.jr_contenttype.options[this.form.jr_contenttype.selectedIndex].value; document.forms[0].submit(); |
|
" value="Export" tabindex="10" /> |
|
|
|
|
|
</td> |
|
|
|
|
|
</xsl:template> |
|
|
|
|
|
<xsl:template name="head_man"> |
|
<xsl:choose> |
|
<xsl:when test="/*/@hisinone_active='true'"> |
|
<xsl:call-template name="head_man_hisinone" /> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<xsl:call-template name="head_man_superx" /> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
</xsl:template> |
|
|
|
<xsl:template name="head_man_hisinone"> |
|
<xsl:param name="css" /> |
|
<xsl:param name="title" /> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html"> |
|
</meta> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/man.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/man_html.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/man_tabelle_html.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/superx_menue_html.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/HISinOneFrame.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/his1/css/HISinOneMikroNavigation.css" /> |
|
<title>Managementbericht</title> |
|
</head> |
|
</xsl:template> |
|
|
|
<xsl:template name="head_man_superx"> |
|
<xsl:param name="css" /> |
|
<xsl:param name="title" /> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html"> |
|
</meta> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/man.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/man_html.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/man_tabelle_html.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/css/fontello-codes.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/css/start_portlet.css" /> |
|
<link rel="stylesheet" type="text/css" href="/superx/xml/menue_html.css"/> |
|
<title>Managementbericht</title> |
|
</head> |
|
</xsl:template> |
|
|
|
</xsl:stylesheet>
|
|
|