Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2007 14:10:48 +0100
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Johann Kois <jkois@freebsd.org>
Cc:        doc-committers@freebsd.org, cvs-doc@freebsd.org, cvs-all@freebsd.org, keramida@freebsd.org
Subject:   Re: cvs commit: www/share/sgml templates.oldnewsflash.xsl templates.oldpress.xsl
Message-ID:  <45F7F458.4050308@FreeBSD.org>
In-Reply-To: <200703141302.46815.jkois@freebsd.org>
References:  <200703131228.l2DCS0EE073562@repoman.freebsd.org> <200703141302.46815.jkois@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Johann Kois schrieb:
> 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@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"/>
>
>
>   
Ah, yes, the fix is good, I tested it. Please commit. :)

Gabor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F7F458.4050308>