mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
Make the comments link always appear under "See also" in the right panel of each doc page.
Previously it was inconsistently placed right below the last section on top. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1741557 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -38,12 +38,12 @@
|
|||||||
<xsl:attribute name="class">no-sidebar</xsl:attribute>
|
<xsl:attribute name="class">no-sidebar</xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:call-template name="top"/>
|
<xsl:call-template name="top"/>
|
||||||
|
|
||||||
<div id="page-content">
|
<div id="page-content">
|
||||||
<xsl:call-template name="retired" />
|
<xsl:call-template name="retired" />
|
||||||
|
|
||||||
<div id="preamble">
|
<div id="preamble">
|
||||||
<h1>
|
<h1>
|
||||||
<xsl:value-of select="title"/>
|
<xsl:value-of select="title"/>
|
||||||
</h1>&lf;
|
</h1>&lf;
|
||||||
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
<xsl:apply-templates select="summary" />
|
<xsl:apply-templates select="summary" />
|
||||||
</div>&lf; <!-- /#preamble -->
|
</div>&lf; <!-- /#preamble -->
|
||||||
|
|
||||||
<xsl:if test="(not($is-chm) and count(section) > 1) or seealso">
|
<xsl:if test="(not($is-chm) and count(section) > 1) or seealso">
|
||||||
<div id="quickview">
|
<div id="quickview">
|
||||||
<xsl:if test="not($is-chm) and count(section) > 1">
|
<xsl:if test="not($is-chm) and count(section) > 1">
|
||||||
@ -61,7 +61,10 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:if test="seealso">
|
<!-- The seealso section shows links to related documents
|
||||||
|
explicitly set in .xml docs or simply the comments. -->
|
||||||
|
<xsl:if test="seealso or not($is-chm or $is-zip or
|
||||||
|
$metafile/basename = 'index')">
|
||||||
<h3>
|
<h3>
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="$message[@id='seealso']" />
|
select="$message[@id='seealso']" />
|
||||||
@ -72,15 +75,13 @@
|
|||||||
<xsl:apply-templates />
|
<xsl:apply-templates />
|
||||||
</li>
|
</li>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
<xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
|
||||||
|
<li><a href="#comments_section"><xsl:value-of
|
||||||
|
select="$message[@id='comments']" /></a>
|
||||||
|
</li>
|
||||||
|
</xsl:if>
|
||||||
</ul>
|
</ul>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
|
|
||||||
<ul class="seealso">
|
|
||||||
<li><a href="#comments_section"><xsl:value-of
|
|
||||||
select="$message[@id='comments']" /></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</xsl:if>
|
|
||||||
</div>&lf; <!-- /#quickview -->
|
</div>&lf; <!-- /#quickview -->
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
|
@ -289,8 +289,10 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<!-- The seealso section shows links to related documents
|
||||||
<xsl:if test="seealso">
|
explicitly set in .xml docs or simply the comments. -->
|
||||||
|
<xsl:if test="seealso or not($is-chm or $is-zip or
|
||||||
|
$metafile/basename = 'index')">
|
||||||
<h3>
|
<h3>
|
||||||
<xsl:value-of select="$message
|
<xsl:value-of select="$message
|
||||||
[@id='seealso']" />
|
[@id='seealso']" />
|
||||||
@ -302,15 +304,13 @@
|
|||||||
<xsl:apply-templates />
|
<xsl:apply-templates />
|
||||||
</li>&lf;
|
</li>&lf;
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
<xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
|
||||||
|
<li><a href="#comments_section"><xsl:value-of
|
||||||
|
select="$message[@id='comments']" /></a>
|
||||||
|
</li>
|
||||||
|
</xsl:if>
|
||||||
</ul>
|
</ul>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="not($is-chm or $is-zip or $metafile/basename = 'index')">
|
|
||||||
<ul class="seealso">
|
|
||||||
<li><a href="#comments_section"><xsl:value-of
|
|
||||||
select="$message[@id='comments']" /></a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</xsl:if>
|
|
||||||
</div> <!-- /#quickview -->
|
</div> <!-- /#quickview -->
|
||||||
</xsl:if>&lf; <!-- have sidebar -->
|
</xsl:if>&lf; <!-- have sidebar -->
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user