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.
267 lines
10 KiB
267 lines
10 KiB
<?xml version="1.0" encoding="UTF-8" ?> |
|
<!-- Änderungen |
|
17.1.05 MB pdf von alt tabelle_fo_pdf.xsl nach erg_itext_pdf.xsl |
|
--> |
|
<xsl:stylesheet version="1.0" xmlns:sx="http://memtext.de" |
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
xmlns:string="java.lang.String" |
|
> |
|
<xsl:template name="head" > |
|
<xsl:param name="css"/> |
|
<xsl:param name="title"/> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html" /> |
|
<LINK REL="stylesheet" type="text/css" href="../style/superx.css" ></LINK> |
|
<xsl:choose> |
|
<xsl:when test="/*/@hisinone_active='true'"> |
|
<LINK REL="stylesheet" type="text/css" href="../xml/superxml_html.css" ></LINK> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<LINK REL="stylesheet" type="text/css" href="../xml/superx_standalone.css" ></LINK> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
|
|
<xsl:choose> |
|
<xsl:when test="$title != ''"> |
|
<xsl:choose> |
|
<xsl:when test="starts-with($title,'Mask') "> |
|
<LINK REL="stylesheet" type="text/css" href="../xml/maske_html.css" ></LINK> |
|
</xsl:when> |
|
<xsl:otherwise> |
|
<LINK REL="stylesheet" type="text/css" href="../xml/tabelle_html.css" ></LINK> |
|
</xsl:otherwise> |
|
</xsl:choose> |
|
<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> |
|
<style type="text/css"> |
|
div.versteckt |
|
{ |
|
font-size:smaller |
|
} |
|
</style> |
|
<script language="Javascript" src="../xml/dynlayer.js"> |
|
</script> |
|
<script language="Javascript" src="../xml/texteffekte.js"> |
|
</script> |
|
</head> |
|
<script language="Javascript" src="../xml/dynlayer.js"> |
|
</script> |
|
<script language="Javascript" src="../xml/texteffekte.js"> |
|
</script> |
|
<style type="text/css"> |
|
div.versteckt |
|
{ |
|
font-size:smaller |
|
} |
|
<!-- |
|
#inhalt |
|
{position:relative} |
|
--> |
|
</style> |
|
</xsl:template> |
|
<xsl:template name="foot" > |
|
|
|
|
|
</xsl:template> |
|
<xsl:template name="topbar" > |
|
<p align="right"><a href="http://www.superx-projekt.de" target="_parent"><img src="../images/logo.gif" alt="Logo" border="0" /></a></p> |
|
</xsl:template> |
|
<xsl:template name="sidebar" > |
|
|
|
<!--<div id="funktionen"> |
|
Im IE wird bei kliern-Saklierung des Fensters die sidebar eingeklappt. |
|
Bit zur Lösung des Problems bleibt dies auf Kommentar |
|
<div id="boxTitel">Hochschulkompass</div> |
|
<div id="boxText"> |
|
<ul> |
|
<li><a href="../xml/index_hochschule.htm" target="_parent">Hochschulen</a> </li> |
|
<li><a href="../xml/index_stud.htm" target="_parent">Studium </a></li> |
|
<li><a href="../xml/index_prom.htm" target="_parent">Promotion</a></li> |
|
<li><a href="../xml/index_koop.htm" target="_parent"> Int. Kooperationen </a></li> |
|
</ul> |
|
</div> |
|
</div> |
|
--> |
|
</xsl:template> |
|
<xsl:template name="topbar_table" > |
|
</xsl:template> |
|
<xsl:template name="bottombar"> |
|
<div id="fuss"> |
|
<hr/><a href="http://www.superx-projekt.de" target="_top">Superx-Projekt</a> <a href="http://www.superx-projekt.de" target="_parent">http://www.superx-projekt.de</a> |
|
  <xsl:call-template name="today" /> |
|
</div> |
|
|
|
</xsl:template> |
|
<xsl:template name="bottombar_mask"> |
|
<div id="fuss"> |
|
<hr /> |
|
|
|
</div> |
|
</xsl:template> |
|
<xsl:template name="navibar_top" > |
|
|
|
</xsl:template> |
|
<xsl:template name="maskButtons" > |
|
<div id="breadcrumbs"><div class="xleft"> |
|
<xsl:call-template name="today" /></div> |
|
<div class="xright"> |
|
|
|
<a href="../applet/superx_help/main.htm" title="Hilfe"> |
|
hilfe</a> |
|
<span class="separator">|</span> |
|
<a href="javascript:alert('SuperX Version 2.2 \n www.superx-projekt.de');" title="Info"> |
|
über</a> |
|
|
|
<xsl:if test="/maske/UserID/@admin='true'"> |
|
<span class="separator">|</span> <a> |
|
<xsl:attribute name="href">javascript:zeigeText('inhalt');</xsl:attribute> |
|
XML-Quelle</a> |
|
|
|
</xsl:if> |
|
|
|
</div><div class="clear"> </div></div> |
|
|
|
|
|
|
|
|
|
<p align="right"> |
|
</p> |
|
</xsl:template> |
|
<xsl:template name="exportButtons" > |
|
<table border="1"><tr><td>Export:</td> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_html_p.xsl';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute> |
|
<xsl:text>Druckversion</xsl:text></a> |
|
</td> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_xml.xsl';document.forms[0].contenttype.value='text/xml'; document.forms[0].target='_blank';document.forms[0].contenttype='text/xml'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>XML</xsl:text></xsl:attribute> |
|
<xsl:text>XML</xsl:text></a> |
|
</td> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_text.xsl';document.forms[0].contenttype.value='text/plain';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>Text</xsl:text></xsl:attribute> |
|
<xsl:text>Text</xsl:text></a> |
|
</td> |
|
<!-- MB pdf von alt tabelle_fo_pdf.xsl nach erg_itext_pdf.xsl --> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='erg_itext_pdf.xsl';document.forms[0].contenttype.value='application/pdf'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>PDF</xsl:text></xsl:attribute> |
|
<xsl:text>PDF</xsl:text></a> |
|
</td> |
|
<!--<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_fo_rtf.xsl';document.forms[0].contenttype.value='application/msword';document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>RTF</xsl:text></xsl:attribute> |
|
<xsl:text>RTF</xsl:text></a> |
|
</td>--> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='erg_itext_rtf.xsl';document.forms[0].contenttype.value='application/rtf';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>RTF</xsl:text></xsl:attribute> |
|
<xsl:text>RTF</xsl:text></a> |
|
</td> |
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet"> |
|
<xsl:if test="filename !='tabelle_html.xsl'"> |
|
<td><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> |
|
<xsl:value-of select="caption" /></a> |
|
</td> |
|
|
|
</xsl:if> |
|
</xsl:for-each> |
|
|
|
</tr> |
|
</table> |
|
</xsl:template> |
|
<xsl:template name="exportButtonsDoc" > |
|
<table border="1"><tr><td>Export:</td> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_html_doc_p.xsl';document.forms[0].contenttype.value='text/html';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute> |
|
<xsl:text>Druckversion</xsl:text></a> |
|
</td> |
|
|
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_text.xsl';document.forms[0].contenttype.value='text/plain';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>Text</xsl:text></xsl:attribute> |
|
<xsl:text>Text</xsl:text></a> |
|
</td> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_pdf_doc.xsl';document.forms[0].contenttype.value='application/pdf'; document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>PDF</xsl:text></xsl:attribute> |
|
<xsl:text>PDF</xsl:text></a> |
|
</td> |
|
<td> |
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_rtf_doc.xsl';document.forms[0].contenttype.value='application/msword';document.forms[0].submit();</xsl:text> |
|
</xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>RTF</xsl:text></xsl:attribute> |
|
<xsl:text>RTF</xsl:text></a> |
|
</td> |
|
<xsl:if test="ergebnis/stylesheets/stylesheet[last()] < 2"> |
|
<xsl:for-each select="ergebnis/stylesheets/stylesheet"> |
|
|
|
<td><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> |
|
<xsl:value-of select="caption" /></a> |
|
</td> |
|
</xsl:for-each> |
|
</xsl:if> |
|
</tr> |
|
</table> |
|
</xsl:template> |
|
<xsl:template name="printsaveButtons" > |
|
<table border="1"> |
|
<tr> |
|
<!--<td> |
|
|
|
<img src="../applet/images/sx_copy.gif" /></td>--> |
|
<!--<td><a><xsl:attribute name="href"><xsl:text>javascript:window.external.AddFavorite('</xsl:text><xsl:call-template name="create_url"> |
|
<xsl:with-param name="stylesheet" select="''"/> |
|
</xsl:call-template><xsl:text>','</xsl:text><xsl:value-of select="/ergebnis/tabelle/maskenname" /><xsl:text>');</xsl:text></xsl:attribute> |
|
|
|
<xsl:attribute name="title"><xsl:text>Lesezeichen</xsl:text></xsl:attribute> |
|
<xsl:text>Lesezeichen</xsl:text></a> |
|
</td>--> |
|
<td><a href="javascript:doSaveAs()"><img src="../images/save.svg" border="0"/></a></td> |
|
<td><a href="javascript:window.print();"><img src="../images/printer.svg" border="0" /></a></td> |
|
<td><a href="../applet/superx_help/main.htm" title="Hilfe"> |
|
<img src="../applet/images/help.gif" border="0" alt="Benutzerhandbuch"/></a></td> |
|
<td><a href="javascript:alert('SuperX Version 2.1 \n www.superx-projekt.de');" title="Info"> |
|
<img src="../applet/images/info.gif" alt="Info" border="0" /></a></td> |
|
<!--<td><a href="javascript:document.forms[0].submit();">PDF</a></td> |
|
<td><a href="javascript:document.forms[0].stylesheet.value='tabelle_xml.xsl';document.forms[0].contenttype.value='text/xml; charset=ISO-8859-1'; document.forms[0].submit();">XML</a></td> |
|
<td><a href="javascript:document.forms[0].submit();">RTF</a></td> |
|
<td><a href="javascript:document.forms[0].submit();">SVG</a></td>--> |
|
</tr></table> |
|
</xsl:template> |
|
<xsl:template name="today"> |
|
<!--<xsl:value-of select="date:toString(date:new())" xmlns:date="java.util.Date" />--> |
|
<xsl:value-of select="sx:getTodayString()" /> |
|
</xsl:template> |
|
</xsl:stylesheet>
|
|
|