aboutsummaryrefslogtreecommitdiff
path: root/ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl')
-rw-r--r--ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl b/ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl
index c548ec0ac2..f75b44ab4c 100644
--- a/ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl
+++ b/ru_RU.KOI8-R/share/xsl/freebsd-xhtml-common.xsl
@@ -18,4 +18,18 @@
&lt;<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>&gt;.<br/>
</small></p>
</xsl:template>
+
+ <xsl:template name="docformatnav">
+ <xsl:variable name="single.fname">
+ <xsl:choose>
+ <xsl:when test="/book">book.html</xsl:when>
+ <xsl:when test="/article">article.html</xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <div class="docformatnavi">
+ [ <a href="index.html">По разделам</a> /
+ <a href="{$single.fname}">Одним файлом</a> ]
+ </div>
+ </xsl:template>
</xsl:stylesheet>