source: stylesheets/xhtml/lfs-legalnotice.xsl@ 3fe8b51

10.0 10.1 11.0 11.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 3fe8b51 was 3fe8b51, checked in by Bruce Dubbs <bdubbs@…>, 17 years ago

Update stylesheets and fix Python references

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3217 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns="http://www.w3.org/1999/xhtml"
5 version="1.0">
6
7 <!-- Generating the page -->
8 <xsl:template match="legalnotice" mode="titlepage.mode">
9 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
10 <xsl:variable name="filename" select="concat($base.dir, 'legalnotice.html')"/>
11 <xsl:variable name="title">
12 <xsl:apply-templates select="." mode="title.markup"/>
13 </xsl:variable>
14 <xsl:call-template name="write.chunk">
15 <xsl:with-param name="filename" select="$filename"/>
16 <xsl:with-param name="quiet" select="$chunk.quietly"/>
17 <xsl:with-param name="content">
18 <html>
19 <head>
20 <xsl:call-template name="system.head.content"/>
21 <xsl:call-template name="head.content"/>
22 <xsl:call-template name="user.head.content"/>
23 </head>
24 <body>
25 <xsl:call-template name="body.attributes"/>
26 <div class="{local-name(.)}">
27 <xsl:apply-templates mode="titlepage.mode"/>
28 </div>
29 <div class="navfooter">
30 <ul class="footerlinks">
31 <li class="home">
32 <a accesskey="h">
33 <xsl:attribute name="href">
34 <xsl:text>index.html</xsl:text>
35 </xsl:attribute>
36 <xsl:attribute name="title">
37 <xsl:value-of select="/book/bookinfo/title"/>
38 <xsl:text> - </xsl:text>
39 <xsl:value-of select="/book/bookinfo/subtitle"/>
40 </xsl:attribute>
41 <xsl:call-template name="navig.content">
42 <xsl:with-param name="direction" select="'home'"/>
43 </xsl:call-template>
44 </a>
45 </li>
46 </ul>
47 </div>
48 </body>
49 </html>
50 </xsl:with-param>
51 </xsl:call-template>
52 </xsl:template>
53
54 <!-- Making the link-->
55 <xsl:template match="copyright" mode="titlepage.mode">
56 <p class="{name(.)}">
57 <a>
58 <xsl:attribute name="href">
59 <xsl:value-of select="'legalnotice.html'"/>
60 </xsl:attribute>
61 <xsl:call-template name="gentext">
62 <xsl:with-param name="key" select="'Copyright'"/>
63 </xsl:call-template>
64 </a>
65 <xsl:call-template name="gentext.space"/>
66 <xsl:call-template name="dingbat">
67 <xsl:with-param name="dingbat">copyright</xsl:with-param>
68 </xsl:call-template>
69 <xsl:call-template name="gentext.space"/>
70 <xsl:call-template name="copyright.years">
71 <xsl:with-param name="years" select="year"/>
72 <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
73 <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
74 </xsl:call-template>
75 <xsl:call-template name="gentext.space"/>
76 <xsl:apply-templates select="holder" mode="titlepage.mode"/>
77 </p>
78 </xsl:template>
79
80</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.