Improve the handling of the current versions of news.html/press.html:
- Unify the linking between new+old pages for news.html and press.html. - Provide links to press.html for passed years as they did not exist before. * * Found by: Rudolf Cejka (cejkar at fit dot vutbr dot cz)
This commit is contained in:
parent
1079dbd4b8
commit
ab2ad381c9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=31248
4 changed files with 37 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd">
|
||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.11 2008/01/10 04:23:39 murray Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.12 2008/01/10 08:03:39 murray Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0"
|
||||
|
@ -385,6 +385,20 @@
|
|||
<a href="1996/index.html">1996</a></p>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "html-press-make-olditems-list" -->
|
||||
<xsl:template name="html-press-make-olditems-list">
|
||||
<p>Old press publications:
|
||||
<a href="2006/press.html">2006</a>,
|
||||
<a href="2005/press.html">2005</a>,
|
||||
<a href="2004/press.html">2004</a>,
|
||||
<a href="2003/press.html">2003</a>,
|
||||
<a href="2002/press.html">2002</a>,
|
||||
<a href="2001/press.html">2001</a>,
|
||||
<a href="2000/press.html">2000</a>,
|
||||
<a href="1999/press.html">1999</a>,
|
||||
<a href="1998/press.html">1998-1996</a></p>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "html-news-list-newsflash-preface" -->
|
||||
<xsl:template name="html-news-list-newsflash-preface">
|
||||
<img src="&base;/gifs/news.jpg" align="right" border="0" width="193"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!ENTITY % navinclude.about "INCLUDE">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.5 2007/03/14 14:58:28 gabor Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.6 2008/01/04 22:28:53 jkois Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
|
||||
|
@ -63,6 +63,19 @@
|
|||
|
||||
<xsl:apply-templates select="descendant::month"/>
|
||||
|
||||
<p>Other project news:
|
||||
<a href="../2006/index.html">2006</a>,
|
||||
<a href="../2005/index.html">2005</a>,
|
||||
<a href="../2004/index.html">2004</a>,
|
||||
<a href="../2003/index.html">2003</a>,
|
||||
<a href="../2002/index.html">2002</a>,
|
||||
<a href="../2001/index.html">2001</a>,
|
||||
<a href="../2000/index.html">2000</a>,
|
||||
<a href="../1999/index.html">1999</a>,
|
||||
<a href="../1998/index.html">1998</a>,
|
||||
<a href="../1997/index.html">1997</a>,
|
||||
<a href="../1996/index.html">1996</a></p>
|
||||
|
||||
<a href="&base;/news/news.html">News Home</a>
|
||||
</div> <!-- CONTENTWRAP -->
|
||||
<br class="clearboth" />
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!ENTITY % navinclude.about "INCLUDE">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD: www/share/sgml/templates.oldpress.xsl,v 1.3 2007/03/13 12:27:59 gabor Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/templates.oldpress.xsl,v 1.4 2008/01/04 22:28:53 jkois Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
|
||||
|
@ -47,14 +47,16 @@
|
|||
<xsl:apply-templates select="//month"/>
|
||||
|
||||
<p>Other press publications:
|
||||
<a href="../press.html">2003-2004</a>,
|
||||
<a href="../2006/press.html">2006</a>,
|
||||
<a href="../2005/press.html">2005</a>,
|
||||
<a href="../2004/press.html">2004</a>,
|
||||
<a href="../2003/press.html">2003</a>,
|
||||
<a href="../2002/press.html">2002</a>,
|
||||
<a href="../2001/press.html">2001</a>,
|
||||
<a href="../2000/press.html">2000</a>,
|
||||
<a href="../1999/press.html">1999</a>,
|
||||
<a href="../1998/press.html">1998-1996</a></p>
|
||||
|
||||
<a href="press.html">Press Home</a>,
|
||||
<a href="&base;/news/news.html">News Home</a>
|
||||
</div> <!-- CONTENTWRAP -->
|
||||
<br class="clearboth" />
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!ENTITY % navinclude.about "INCLUDE">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD: www/share/sgml/templates.press.xsl,v 1.1 2006/08/19 21:20:54 hrs Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/templates.press.xsl,v 1.2 2006/08/21 18:27:43 hrs Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
|
||||
|
@ -48,6 +48,8 @@
|
|||
<xsl:with-param name="news.press.xml" select="$news.press.xml" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:call-template name="html-press-make-olditems-list" />
|
||||
|
||||
<xsl:call-template name="html-news-list-newsflash-homelink" />
|
||||
|
||||
</div> <!-- CONTENTWRAP -->
|
||||
|
|
Loading…
Reference in a new issue