git://git.exim.org
/
exim-website.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Emphasize the security aspect, link to qualys
[exim-website.git]
/
templates
/
doc
/
chapter.xsl
diff --git
a/templates/doc/chapter.xsl
b/templates/doc/chapter.xsl
index 06d9eb982b3240c2b53f933b5baf17124c0556c7..17d772ad7a16cfa287fc448675ec22bb972f7290 100644
(file)
--- a/
templates/doc/chapter.xsl
+++ b/
templates/doc/chapter.xsl
@@
-16,7
+16,7
@@
<xsl:variable name="html.head.append">
<!-- CSS -->
<xsl:variable name="html.head.append">
<!-- CSS -->
- <link rel="stylesheet" type="text/css" href="{$
do
croot}/doc/chapter.css"/>
+ <link rel="stylesheet" type="text/css" href="{$
stati
croot}/doc/chapter.css"/>
<!-- Canonical -->
<link rel="canonical" href="{/chapter/canonical_url}"/>
<!-- Canonical -->
<link rel="canonical" href="{/chapter/canonical_url}"/>
@@
-25,14
+25,14
@@
<!-- JavaScript -->
<xsl:variable name="html.body.append">
<!-- JavaScript -->
<xsl:variable name="html.body.append">
- <script type="text/javascript" src="{$
do
croot}/doc/chapter.js"/>
+ <script type="text/javascript" src="{$
stati
croot}/doc/chapter.js"/>
</xsl:variable>
<!-- Table of Contents -->
<xsl:variable name="html.body.outer.append">
<div id="toc">
<ul class="hidden"/>
</xsl:variable>
<!-- Table of Contents -->
<xsl:variable name="html.body.outer.append">
<div id="toc">
<ul class="hidden"/>
- <img src="
../../../..
/doc/contents.png" width="16" height="155"/>
+ <img src="
{$staticroot}
/doc/contents.png" width="16" height="155"/>
</div>
</xsl:variable>
</div>
</xsl:variable>
@@
-41,8
+41,8
@@
<!-- Navigation -->
<a class="previous_page" href="{prev_url}"><![CDATA[<-previous]]></a>
<!-- Navigation -->
<a class="previous_page" href="{prev_url}"><![CDATA[<-previous]]></a>
- <xsl:if test="next_url">
- <a class="next_page" href="{next_url}"><![CDATA[next->]]></a>
+
<xsl:if test="next_url">
+ <a class="next_page"
href="{next_url}"><![CDATA[next->]]></a>
</xsl:if>
<!-- Chapter Wrapper -->
</xsl:if>
<!-- Chapter Wrapper -->
@@
-60,7
+60,9
@@
<!-- Chapter Title -->
<h2 id="{@id}" class="{@class}">
<!-- Chapter Title -->
<h2 id="{@id}" class="{@class}">
- <xsl:value-of select="concat('Chapter ',chapter_id,' - ',title)"/>
+ <a href="{this_url}">
+ <xsl:value-of select="concat('Chapter ',chapter_id,' - ',title)"/>
+ </a>
</h2>
<!-- Chapter Info -->
</h2>
<!-- Chapter Info -->
@@
-70,7
+72,10
@@
<!-- Navigation -->
<a class="previous_page" href="{prev_url}"><![CDATA[<-previous]]></a>
<!-- Navigation -->
<a class="previous_page" href="{prev_url}"><![CDATA[<-previous]]></a>
- <a class="next_page" href="{next_url}"><![CDATA[next->]]></a>
+ <a class="toc_page" href="{toc_url}"><![CDATA[Table of Contents]]></a>
+ <xsl:if test="next_url">
+ <a class="next_page" href="{next_url}"><![CDATA[next->]]></a>
+ </xsl:if>
</xsl:template>
</xsl:template>
@@
-107,6
+112,6
@@
</xsl:template>
<!-- Ignore -->
</xsl:template>
<!-- Ignore -->
- <xsl:template match="chapter_id|
prev_url|next_url|canonical_url|current_url
"/>
+ <xsl:template match="chapter_id|
this_url|prev_url|next_url|toc_url|canonical_url|current_url|title_uri|old_versions
"/>
</xsl:stylesheet>
</xsl:stylesheet>