source: stylesheets/xhtml/lfs-legalnotice.xsl@ 6b3a2a6

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 6b3a2a6 was 8df9f63, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

HEAD: StyleSheets - changed the navigational links to make it simetrical and added popup titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3665 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • 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, 'prologue/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="'prologue/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.