forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/documentation/skins/forrest-site/xslt/html site2xhtml.xsl
Date Mon, 27 May 2002 13:31:54 GMT
nicolaken    02/05/27 06:31:54

  Modified:    src/documentation/skins/forrest-site/xslt/html
                        site2xhtml.xsl
  Log:
  Moved the centipede ang forrest logos above the bottom copyright bar, since it's
  intended to be at the very bottom.
  Added a "Last Published" date after the bottom copyright notice.
  It uses Emacscript to show the lastmodified date of the page.
  To be clear, this doesn't mean that it has to remain that way, we could decide not to use
javascript at all. But this method gives you the *exact* lastmodified date.
  If the browser doesn't have Emacscript, it just shows the copyright, thus degrading gracefully.
  
  Revision  Changes    Path
  1.7       +13 -5     xml-forrest/src/documentation/skins/forrest-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/skins/forrest-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- site2xhtml.xsl	21 May 2002 12:23:30 -0000	1.6
  +++ site2xhtml.xsl	27 May 2002 13:31:54 -0000	1.7
  @@ -81,13 +81,21 @@
              <td>&#160;</td>
             </tr>
           </table>
  +        <table>
  +          <tr>
  +            <td align="right"> 
  +              <a href="http://xml.apache.org/cocoon/"><img align="right" src="skin/images/built-with-cocoon.gif"
alt="Cocoon Logo" border="0"/></a> 
  +              <a href="http://www.krysalis.org/centipede/"><img align="right"
src="skin/images/centipede-logo-small.gif" alt="Krysalis Centipede Logo" border="0"/></a>
        
  +            </td>
  +          </tr>
  +        </table>      
           <div class="copyright">
  -          Copyright &#x00A9;@year@ @vendor@. All Rights Reserved.
  +           <script language="JavaScript">
  +            <![CDATA[<!-- 
  +              document.write("Copyright @year@ @vendor@. All Rights Reserved. - "+"Last
Published: " + document.lastModified); 
  +            //  -->]]>
  +          </script>
           </div>
  -        
  -        <a href="http://xml.apache.org/cocoon/"><img align="right" src="skin/images/built-with-cocoon.gif"
alt="Cocoon Logo" border="0"/></a> 
  -        <a href="http://www.krysalis.org/centipede/"><img align="right" src="skin/images/centipede-logo-small.gif"
alt="Krysalis Centipede Logo" border="0"/></a>         
  -      
         </body>
       </html>
     </xsl:template>
  
  
  

Mime
View raw message