forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/common/xslt/html document2html.xsl
Date Thu, 07 Aug 2003 12:26:09 GMT
jefft       2003/08/07 05:26:09

  Modified:    src/resources/skins/common/xslt/html document2html.xsl
  Log:
  If disable-pdf-link is undefined, as in 0.4 sites, assume it is false (so PDFs
  are displayed)
  
  Revision  Changes    Path
  1.21      +2 -2      xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- document2html.xsl	29 Jul 2003 22:00:17 -0000	1.20
  +++ document2html.xsl	7 Aug 2003 12:26:09 -0000	1.21
  @@ -125,7 +125,7 @@
   
     <!-- Generates the PDF link -->
     <xsl:template name="pdflink">
  -    <xsl:if test="$disable-pdf-link = 'false'"> 
  +    <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'">

         <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.pdf"
class="dida">
             <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/><br/>
             PDF</a>
  
  
  

Mime
View raw message