Ignore:
Timestamp:
Mar 22, 2007, 2:21:35 PM (15 years ago)
Author:
Martin Svensson
Message:

Fixes #515 Add date of html pages generation to the first page.
The revision number and date for latest commit are added to the footer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.chunked.xsl

    r3198 r3202  
    22<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    33                xmlns:fo="http://www.w3.org/1999/XSL/Format"
     4                xmlns:date="http://exslt.org/dates-and-times"
     5                exclude-result-prefixes="date"
    46                version='1.0'>
    57
     
    3335<xsl:param name="root.filename">@root.filename@</xsl:param>
    3436
     37<!-- doc.revision and doc.last.modified -->
     38<xsl:param name="doc.revision">@doc.revision@</xsl:param>
     39<xsl:param name="doc.last.modified">@doc.last.modified@</xsl:param>
    3540
    3641<!-- convert url-only references to a format that is wrappable -->
     
    8388</xsl:template>
    8489
     90<!-- Base specific templates -->
     91
    8592<xsl:template match="helptext">
    8693  <xsl:apply-templates />
     94</xsl:template>
     95
     96<xsl:template name="user.footer.navigation">
     97  <div
     98    class="navfooter"
     99    align="left">
     100    <p>
     101    <i>
     102      <xsl:if test="$doc.revision" >
     103        Revision: <xsl:value-of select="$doc.revision"/><br/>
     104      </xsl:if>
     105      <xsl:if test="$doc.last.modified" >
     106        Book last modified: <xsl:value-of select="$doc.last.modified" />
     107      </xsl:if>
     108    </i></p>
     109  </div>
    87110</xsl:template>
    88111
Note: See TracChangeset for help on using the changeset viewer.