[3f8be484] | 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> |
---|
[0c318f1] | 10 | <xsl:variable name="filename" select="concat($base.dir, 'legalnotice.html')"/> |
---|
[3f8be484] | 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"> |
---|
[0c318f1] | 59 | <xsl:value-of select="'legalnotice.html'"/> |
---|
[3f8be484] | 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> |
---|