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.
116 lines
3.7 KiB
116 lines
3.7 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> |
|
<!ENTITY ouml "ö"> |
|
]><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
xmlns:HtmlUtils="de.superx.util.HtmlUtils"> |
|
<xsl:import href="pageComponents_html.xsl" /> |
|
<xsl:output method="html" indent="yes" /> |
|
<xsl:template match="/"> |
|
<xsl:variable name="user" select = "menue/user"/> |
|
<html lang="de"> |
|
|
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> |
|
<title>Anmeldung</title> |
|
<LINK REL="stylesheet" type="text/css" href="../style/superx.css"/> |
|
<LINK REL="stylesheet" type="text/css" href="../xml/menue_html.css"/> |
|
<base target="maske" /> |
|
</head> |
|
<body class="menue"> |
|
<p><a href="http://www.superx-projekt.de" target="_parent" alt="Homepage" title="Homepage"><img src="../applet/images/Symbol.gif" alt="Logo von SuperX" border="0" /></a><br /> |
|
<a target="_parent"> |
|
<xsl:attribute name="href"><xsl:value-of select="HtmlUtils:encodeURL('../xml/index.htm',/menue/jsessionid)" /> |
|
</xsl:attribute>Start</a></p> |
|
|
|
<div style="padding:0px 0px 0px 10px; |
|
margin:0px 10px 0px 0px;"> |
|
<p><xsl:value-of select="menue/nachricht" /></p> |
|
|
|
<form method='post' target='maske'> |
|
<xsl:attribute name="action"><xsl:value-of select="HtmlUtils:encodeURL('SuperXmlMaske',/menue/@jsessionid)" /></xsl:attribute> |
|
|
|
<input type="hidden" name="user"> |
|
<xsl:attribute name="value"><xsl:value-of select="$user" /> |
|
</xsl:attribute></input><input type="hidden" name="tid" value=""> |
|
</input><table border="0" class="menue"> |
|
|
|
<tr><td> |
|
<xsl:call-template name="eintraege"> |
|
</xsl:call-template> |
|
|
|
</td></tr></table> |
|
<hr /> |
|
<div class="loginbox"> |
|
<div class="loginbox_title"><a class="klein" href="../servlet/SuperXmlAbmeldung" title="Login/Logout" target="_self"> |
|
<img src="../applet/images/connect.gif" border="0" alt="An/Abmelden"/> Login/Logout</a> |
|
</div> |
|
</div> |
|
</form> |
|
</div> |
|
</body> |
|
</html> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
<xsl:template name="eintraege"> |
|
<xsl:variable name="t_root"/> |
|
<xsl:variable name="t_null" select = "null" /> |
|
<xsl:for-each select="menue/eintraege/eintrag"> |
|
<xsl:if test="parent='null'"> |
|
<xsl:call-template name="suche_kinder"> |
|
<xsl:with-param name="elter" select="id"/> |
|
<xsl:with-param name="ebene" select="1"/> |
|
</xsl:call-template> |
|
|
|
</xsl:if> |
|
|
|
</xsl:for-each> |
|
|
|
</xsl:template> |
|
<xsl:template name="suche_kinder"> |
|
<xsl:param name="elter"/> |
|
<xsl:param name="ebene"/> |
|
<xsl:for-each select="../eintrag"> |
|
<xsl:sort select="titel"/> |
|
<xsl:variable name="i" select="parent"/> |
|
|
|
<xsl:if test="$i=$elter"> |
|
<p> |
|
<xsl:attribute name="class">listlevel<xsl:value-of select="$ebene" /> |
|
</xsl:attribute> |
|
<xsl:if test="tid='null'"> |
|
<xsl:value-of select="titel" /> |
|
</xsl:if> |
|
<xsl:if test="tid!='null'"> |
|
|
|
<a target="maske"> |
|
<xsl:attribute name="href"> |
|
<xsl:value-of select="HtmlUtils:encodeURL('SuperXmlMaske',/menue/@jsessionid)" /> |
|
<xsl:text>?tid=</xsl:text><xsl:value-of select="tid" /> |
|
</xsl:attribute> |
|
<xsl:attribute name="class">listlevel<xsl:value-of select="$ebene" /> |
|
</xsl:attribute> |
|
|
|
|
|
<xsl:value-of select="titel" /> |
|
<!--<xsl:attribute name="href">javascript:parent.menue.document.forms[0].tid.value=<xsl:value-of select="tid" />;parent.menue.document.forms[0].submit();</xsl:attribute> |
|
<xsl:value-of select="titel" />--> |
|
</a> |
|
</xsl:if> |
|
</p> |
|
|
|
|
|
<xsl:call-template name="suche_kinder"> |
|
<xsl:with-param name="elter" select="id"/> |
|
<xsl:with-param name="ebene" select="$ebene+1"/> |
|
</xsl:call-template> |
|
</xsl:if> |
|
|
|
</xsl:for-each> |
|
|
|
</xsl:template> |
|
|
|
|
|
</xsl:stylesheet> |