source: stylesheets/xhtml/lfs-legalnotice.xsl@ 5d4975d

10.0 10.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 nosym perl-modules qt5new systemd-11177 systemd-13485 trunk v5_1 v5_1-pre1 xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5d4975d was 5d4975d, checked in by Larry Lawrence <larry@…>, 17 years ago

updated stylesheets to 0.9

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

  • 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 <hr/>
32 <div class="navfooter">
33 <ul class="footerlinks">
34 <li>
35 <a accesskey="h">
36 <xsl:attribute name="href">
37 <xsl:text>../index.html</xsl:text>
38 </xsl:attribute>
39 <xsl:text>Home</xsl:text>
40 </a>
41 </li>
42 </ul>
43 </div>
44 </body>
45 </html>
46 </xsl:with-param>
47 </xsl:call-template>
48 </xsl:template>
49
50 <!-- Making the link-->
51 <xsl:template match="copyright" mode="titlepage.mode">
52 <p class="{name(.)}">
53 <a>
54 <xsl:attribute name="href">
55 <xsl:value-of select="'prologue/legalnotice.html'"/>
56 </xsl:attribute>
57 <xsl:call-template name="gentext">
58 <xsl:with-param name="key" select="'Copyright'"/>
59 </xsl:call-template>
60 </a>
61 <xsl:call-template name="gentext.space"/>
62 <xsl:call-template name="dingbat">
63 <xsl:with-param name="dingbat">copyright</xsl:with-param>
64 </xsl:call-template>
65 <xsl:call-template name="gentext.space"/>
66 <xsl:call-template name="copyright.years">
67 <xsl:with-param name="years" select="year"/>
68 <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
69 <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
70 </xsl:call-template>
71 <xsl:call-template name="gentext.space"/>
72 <xsl:apply-templates select="holder" mode="titlepage.mode"/>
73 </p>
74 </xsl:template>
75
76</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.