You need to sign in or sign up before continuing.
Commit cd8e9dec authored by Davis King's avatar Davis King
Browse files

Made it so you can put other xml tags in a link tag and they will

be evaluated like you would expect.
parent 40cb07b4
...@@ -474,7 +474,8 @@ function BigToggle(node) ...@@ -474,7 +474,8 @@ function BigToggle(node)
<xsl:when test="sub"> <xsl:when test="sub">
<xsl:choose> <xsl:choose>
<xsl:when test="link"> <xsl:when test="link">
<a href="{link}" style="float:right"><img src="right.gif" border="0"/></a> <xsl:variable name="linktext"><xsl:apply-templates select="link"/></xsl:variable>
<a href="{$linktext}" style="float:right"><img src="right.gif" border="0"/></a>
<a onclick="Toggle(this)" style="cursor: pointer;margin-left:-9px" ><img src="plus.gif" border="0"/><font color="green"><u><xsl:value-of select="name"/></u></font></a> <a onclick="Toggle(this)" style="cursor: pointer;margin-left:-9px" ><img src="plus.gif" border="0"/><font color="green"><u><xsl:value-of select="name"/></u></font></a>
<xsl:apply-templates select="sub"> <xsl:apply-templates select="sub">
<xsl:with-param name="file_name" select="$file_name" /> <xsl:with-param name="file_name" select="$file_name" />
...@@ -492,7 +493,8 @@ function BigToggle(node) ...@@ -492,7 +493,8 @@ function BigToggle(node)
<xsl:otherwise> <xsl:otherwise>
<xsl:choose> <xsl:choose>
<xsl:when test="link"> <xsl:when test="link">
<a href="{link}"><xsl:value-of select="name"/></a> <xsl:variable name="linktext"><xsl:apply-templates select="link"/></xsl:variable>
<a href="{$linktext}"><xsl:value-of select="name"/></a>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<a href="{$file_name}#{name}"><xsl:value-of select="name"/></a> <a href="{$file_name}#{name}"><xsl:value-of select="name"/></a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment