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.
95 lines
2.8 KiB
95 lines
2.8 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
|
<xsl:import href="levels.xsl" /> |
|
<xsl:output method="html" indent="yes" /> |
|
<xsl:template match="/"> |
|
<xsl:variable name="user" select = "menue/user"/> |
|
<html> |
|
|
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> |
|
<title>Anmeldung</title> |
|
|
|
</head> |
|
<body> |
|
<div id="navi"> |
|
<div id="hauptNavi"> |
|
<ul> |
|
<li><a href="http://www.hrk.de/de/home/index.php" class="active" target="_parent">Home</a><!--1--></li> |
|
<li><a href="../xml/index_public.htm" class="active" target="_parent">Hochschulkompass</a><!--1--></li> |
|
</ul> |
|
</div><p> |
|
<xsl:copy-of select="menue/nachricht" /></p> |
|
<form action='SuperXmlMaske' method='post'> |
|
<p><input type="hidden" name="user"> |
|
<xsl:attribute name="value"><xsl:value-of select="$user" /> |
|
</xsl:attribute></input><input type="hidden" name="tid" value=""> |
|
</input> |
|
<br></br> |
|
<xsl:call-template name="eintraege"> |
|
</xsl:call-template> |
|
|
|
</p> |
|
<p><a href="/superx/servlet/SuperXmlAbmeldung" title="Anmelden"><img src="../applet/images/connect.gif" border="0" alt="Anmelden"/>Login</a></p> |
|
|
|
</form> |
|
</div> |
|
</body> |
|
</html> |
|
|
|
</xsl:template> |
|
<xsl:template name="eintraege"> |
|
<xsl:variable name="t_root"/> |
|
<xsl:variable name="t_null" select = "null" /> |
|
<p> |
|
<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> |
|
</p> |
|
</xsl:template> |
|
<xsl:template name="suche_kinder"> |
|
<xsl:param name="elter"/> |
|
<xsl:param name="ebene"/> |
|
<xsl:for-each select="../eintrag"> |
|
|
|
<xsl:variable name="i" select="parent"/> |
|
|
|
<xsl:if test="$i=$elter"> |
|
|
|
<xsl:call-template name="levels"> |
|
<xsl:with-param name="ebene" select="$ebene"/> |
|
</xsl:call-template> |
|
<xsl:if test="tid='null'"> |
|
<xsl:value-of select="titel" /> |
|
</xsl:if> |
|
<xsl:if test="tid!='null'"> |
|
|
|
<a> |
|
<xsl:attribute name="href">SuperXmlMaske?tid=<xsl:value-of select="tid" />&UserID=<xsl:value-of select="/menue/userid" /></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> |
|
<br></br> |
|
|
|
|
|
<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> |