source: stylesheets/xhtml/lfs-legalnotice.xsl@ 28501c7

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 12.2 12.2-rc1 6.0 6.1 6.1.1 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/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 28501c7 was 4238149, checked in by Manuel Canales Esparcia <manuel@…>, 20 years ago

Navigational links: back again to use <ul>
and made a proper css code.

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

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