Author: manuel
Date: 2007-03-29 12:43:10 -0600 (Thu, 29 Mar 2007)
New Revision: 7988
Modified:
branches/new-xsl/xhtml/lfs-legalnotice.xsl
Log:
Revised xhtml/lfs-legalnotice.xsl
Modified: branches/new-xsl/xhtml/lfs-legalnotice.xsl
===================================================================
--- branches/new-xsl/xhtml/lfs-legalnotice.xsl 2007-03-29 18:08:40 UTC (rev
7987)
+++ branches/new-xsl/xhtml/lfs-legalnotice.xsl 2007-03-29 18:43:10 UTC (rev
7988)
@@ -4,10 +4,21 @@
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
- <!-- Generating the page -->
+ <!-- REVISED -->
+
+ <!-- This stylesheet controls how legalnotice page is created -->
+
+ <!-- Generating the legalnotice page:
+ We are forcing separate legalnotice page generation and placing it
+ into the prologue/ subdirectory.
+ Removed the default link to legalnotice page. We want it in
Copyright.
+ Added footer navigational link to Home. -->
+ <!-- The original template is in {docbook-xsl}/xhtml/titlepage.xsl -->
<xsl:template match="legalnotice" mode="titlepage.mode">
- <xsl:variable name="id"><xsl:call-template
name="object.id"/></xsl:variable>
- <xsl:variable name="filename" select="concat($base.dir,
'prologue/legalnotice.html')"/>
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="filename" select="concat($base.dir,
'prologue/legalnotice.html')"/>
<xsl:variable name="title">
<xsl:apply-templates select="." mode="title.markup"/>
</xsl:variable>
@@ -51,7 +62,9 @@
</xsl:call-template>
</xsl:template>
- <!-- Making the link-->
+ <!-- Making the legalnotice link:
+ We make the "Copyright" word a link to legalnotice page. -->
+ <!-- The original template is in {docbook-xsl}/xhtml/titlepage.xsl -->
<xsl:template match="copyright" mode="titlepage.mode">
<p class="{name(.)}">
<a>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page