Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
cd8e9dec
Commit
cd8e9dec
authored
Jul 17, 2015
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
docs/docs/stylesheet.xsl
docs/docs/stylesheet.xsl
+4
-2
No files found.
docs/docs/stylesheet.xsl
View file @
cd8e9dec
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment