Bladeren bron

Moved legalnotice.html to the top-level dir.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/new-xsl@8052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 18 jaren geleden
bovenliggende
commit
4408cab4c7
1 gewijzigde bestanden met toevoegingen van 4 en 5 verwijderingen
  1. 4 5
      xhtml/lfs-legalnotice.xsl

+ 4 - 5
xhtml/lfs-legalnotice.xsl

@@ -7,8 +7,7 @@
   <!-- This stylesheet controls how legalnotice page is created -->
   <!-- This stylesheet controls how legalnotice page is created -->
 
 
     <!-- Generating the legalnotice page:
     <!-- Generating the legalnotice page:
-           We are forcing separate legalnotice page generation and placing it
-           into the prologue/ subdirectory.
+           We are forcing separate legalnotice page generation.
            Removed the default link to legalnotice page. We want it in Copyright.
            Removed the default link to legalnotice page. We want it in Copyright.
            Added footer navigational link to Home.  -->
            Added footer navigational link to Home.  -->
     <!-- The original template is in {docbook-xsl}/xhtml/titlepage.xsl -->
     <!-- The original template is in {docbook-xsl}/xhtml/titlepage.xsl -->
@@ -16,7 +15,7 @@
     <xsl:variable name="id">
     <xsl:variable name="id">
       <xsl:call-template name="object.id"/>
       <xsl:call-template name="object.id"/>
     </xsl:variable>
     </xsl:variable>
-    <xsl:variable name="filename" select="concat($base.dir, 'prologue/legalnotice.html')"/>
+    <xsl:variable name="filename" select="concat($base.dir, 'legalnotice.html')"/>
     <xsl:variable name="title">
     <xsl:variable name="title">
       <xsl:apply-templates select="." mode="title.markup"/>
       <xsl:apply-templates select="." mode="title.markup"/>
     </xsl:variable>
     </xsl:variable>
@@ -40,7 +39,7 @@
                 <li class="home">
                 <li class="home">
                   <a accesskey="h">
                   <a accesskey="h">
                     <xsl:attribute name="href">
                     <xsl:attribute name="href">
-                      <xsl:text>../index.html</xsl:text>
+                      <xsl:text>index.html</xsl:text>
                     </xsl:attribute>
                     </xsl:attribute>
                     <xsl:attribute name="title">
                     <xsl:attribute name="title">
                       <xsl:value-of select="/book/bookinfo/title"/>
                       <xsl:value-of select="/book/bookinfo/title"/>
@@ -67,7 +66,7 @@
     <p class="{name(.)}">
     <p class="{name(.)}">
       <a>
       <a>
         <xsl:attribute name="href">
         <xsl:attribute name="href">
-          <xsl:value-of select="'prologue/legalnotice.html'"/>
+          <xsl:value-of select="'legalnotice.html'"/>
         </xsl:attribute>
         </xsl:attribute>
         <xsl:call-template name="gentext">
         <xsl:call-template name="gentext">
           <xsl:with-param name="key" select="'Copyright'"/>
           <xsl:with-param name="key" select="'Copyright'"/>