Ignore:
Timestamp:
12/19/2004 09:17:48 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
faf3398
Parents:
6d3af72
Message:

Updated the stylesheets and Makefile.
Removed contrib/, index-pdf.xml and goTidy.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4428 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/xhtml/lfs-index.xsl

    r6d3af72 rf7bd105  
    1717
    1818    <!--Title-->
    19   <xsl:param name="index-title">Index of packages and important installed files</xsl:param>
     19  <xsl:param name="index-title">Index</xsl:param>
    2020 
    2121  <xsl:template match="index" mode="title.markup">
    22     <xsl:value-of select="$index-title"/>
    23   </xsl:template>
    24  
     22    <xsl:call-template name="gentext">
     23      <xsl:with-param name="key" select="$index-title"/>
     24    </xsl:call-template>
     25  </xsl:template>
     26
    2527  <xsl:template name="index.titlepage">
    2628    <div class="titlepage">
    2729      <h1 class="index">
    28         <xsl:value-of select="$index-title"/>
     30        <xsl:call-template name="gentext">
     31          <xsl:with-param name="key" select="$index-title"/>
     32        </xsl:call-template>
    2933      </h1>
    3034    </div>
     
    4347            <xsl:choose>
    4448              <xsl:when test="$divtitle = 'A'">
    45                 <xsl:text>Packages</xsl:text>
     49                <xsl:call-template name="gentext">
     50                  <xsl:with-param name="key">Packages</xsl:with-param>
     51                </xsl:call-template>
    4652             </xsl:when>
    4753             <xsl:when test="$divtitle = 'B'">
    48                 <xsl:text>Programs</xsl:text>
     54                <xsl:call-template name="gentext">
     55                  <xsl:with-param name="key">Programs</xsl:with-param>
     56                </xsl:call-template>
    4957             </xsl:when>
    5058             <xsl:when test="$divtitle = 'C'">
    51                 <xsl:text>Libraries</xsl:text>
     59                <xsl:call-template name="gentext">
     60                  <xsl:with-param name="key">Libraries</xsl:with-param>
     61                </xsl:call-template>
    5262             </xsl:when>
    5363             <xsl:when test="$divtitle = 'D'">
    54                 <xsl:text>Scripts</xsl:text>
     64                <xsl:call-template name="gentext">
     65                  <xsl:with-param name="key">Scripts</xsl:with-param>
     66                </xsl:call-template>
    5567             </xsl:when>
    5668              <xsl:when test="$divtitle = 'E'">
    57                   <xsl:text>Others</xsl:text>
     69                <xsl:call-template name="gentext">
     70                  <xsl:with-param name="key">Others</xsl:with-param>
     71                </xsl:call-template>
    5872              </xsl:when>
    5973             <xsl:otherwise>
     
    163177            </xsl:call-template>
    164178          </xsl:attribute>
    165           <xsl:text>description</xsl:text>
     179          <xsl:call-template name="gentext">
     180            <xsl:with-param name="key">description</xsl:with-param>
     181          </xsl:call-template>
    166182        </a>
    167183      </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.