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/forrest-site/xslt/html site2xhtml.xsl
Date Mon, 23 Sep 2002 10:27:17 GMT
jefft       2002/09/23 03:27:17

  Modified:    src/resources/conf sitemap.xmap
               src/resources/skins/forrest-site/xslt/html site2xhtml.xsl
  Log:
  Prevent the credits being displayed anywhere except in index.html
  
  Revision  Changes    Path
  1.19      +1 -0      xml-forrest/src/resources/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sitemap.xmap	23 Sep 2002 07:47:41 -0000	1.18
  +++ sitemap.xmap	23 Sep 2002 10:27:17 -0000	1.19
  @@ -312,6 +312,7 @@
       <map:call resource="skinit">
         <map:parameter name="type" value="site2xhtml"/>
         <map:parameter name="dir" value=""/>
  +      <map:parameter name="resource" value="{0}"/>
       </map:call>
      </map:match>
   
  
  
  
  1.6       +2 -1      xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site2xhtml.xsl	23 Sep 2002 07:47:41 -0000	1.5
  +++ site2xhtml.xsl	23 Sep 2002 10:27:17 -0000	1.6
  @@ -4,6 +4,7 @@
     <xsl:param name="config-file" select="'../../../../skinconf.xml'"/>
     <xsl:variable name="config" select="document($config-file)/skinconfig"/>
     <xsl:param name="dir" select="'UNDEFINED'"/>
  +  <xsl:param name="resource" select="'UNDEFINED'"/>
     <xsl:include href="dotdots.xsl"/>
   
     <xsl:variable name="root">
  @@ -179,7 +180,7 @@
           </xsl:if>
         </td>
         <td class="logos" bgcolor="#CFDCED" colspan="5" align="right">
  -        <xsl:if test="$config/credits">
  +        <xsl:if test="$resource = 'index.html' and $config/credits">
             <div align="right">
             <xsl:for-each select="$config/credits/credit">
               <xsl:variable name="name" select="name"/>
  
  
  

Mime
View raw message