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>
|
---|