cvs commit: www/share/sgml templates.oldnewsflash.xsl templates.oldpress.xsl

Johann Kois jkois at freebsd.org
Wed Mar 14 12:20:06 UTC 2007


On Tuesday 13 March 2007 13:27, Gabor Kovesdan wrote:
> gabor       2007-03-13 12:27:59 UTC
>
>   FreeBSD doc repository
>
>   Modified files:
>     share/sgml           templates.oldnewsflash.xsl
>                          templates.oldpress.xsl
>   Log:
>   - Add missing sidenav for old news and press entries
>
>   PR:             www/105602
>   Submitted by:   Rudolf Cejka <cejkar at fit.vutbr.cz>
>   Approved by:    keramida (mentor)
>
>   Revision  Changes    Path
>   1.4       +24 -2     www/share/sgml/templates.oldnewsflash.xsl
>   1.3       +23 -2     www/share/sgml/templates.oldpress.xsl

Nice.  But there is another problem with one of these files.

templates.oldnewsflash.xsl ist used by the translated versions of
the website too.  But in the translated versions of the website
&base;/gifs/news.jpg does not exist.  So I would suggest the following
patch to solve this problem:

--- templates.oldnewsflash.xsl   Wed Mar 14 12:41:33 2007
+++ templates.oldnewsflash.xsl.new       Wed Mar 14 12:42:14 2007
@@ -6,7 +6,7 @@
 <!ENTITY % navinclude.about "INCLUDE">
 ]>

-<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.4 2007/03/13 
12:27:59 gabor Exp $ -->
+<!-- $FreeBSD$ -->

 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
version="1.0"
   xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
@@ -58,7 +58,7 @@
         <!-- Also notice that because this is now XML and not SGML, empty
              elements, like IMG, must have a trailing "/" just inside the
              closing angle bracket, like this " ... />" -->
-        <img src="&base;/gifs/news.jpg" align="right" border="0" width="193"
+        <img src="&enbase;/gifs/news.jpg" align="right" border="0" 
width="193"
              height="144" alt="FreeBSD News"/>

         <xsl:apply-templates select="descendant::month"/>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20070314/33b6e75f/attachment.pgp


More information about the cvs-all mailing list