- Add missing sidenav for old news and press entries

PR:		www/105602
Submitted by:	Rudolf Cejka <cejkar@fit.vutbr.cz>
Approved by:	keramida (mentor)
This commit is contained in:
Gabor Kovesdan 2007-03-13 12:27:59 +00:00
parent 8cb3639ecd
commit 3e0524ad1c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=29781
2 changed files with 47 additions and 4 deletions

View file

@ -6,7 +6,7 @@
<!ENTITY % navinclude.about "INCLUDE"> <!ENTITY % navinclude.about "INCLUDE">
]> ]>
<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.2 2006/08/21 18:27:43 hrs Exp $ --> <!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.3 2007/02/15 21:40:56 gabor Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"> xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
@ -33,7 +33,19 @@
<body> <body>
&header2; <div id="CONTAINERWRAP">
<div id="CONTAINER">
&header2;
<div id="CONTENT">
<div id="SIDEWRAP">
&nav;
</div> <!-- SIDEWRAP -->
<div id="CONTENTWRAP">
&header3;
<!-- Notice how entity references in SGML become variable references <!-- Notice how entity references in SGML become variable references
in the stylesheet, and that the syntax for referring to variables in the stylesheet, and that the syntax for referring to variables
@ -52,10 +64,20 @@
<xsl:apply-templates select="descendant::month"/> <xsl:apply-templates select="descendant::month"/>
<a href="news.html">News Home</a> <a href="news.html">News Home</a>
</div> <!-- CONTENTWRAP -->
<br class="clearboth" />
</div> <!-- CONTENT -->
<div id="FOOTER"> <div id="FOOTER">
&copyright;<br /> &copyright;<br />
&date; &date;
</div> <!-- FOOTER --> </div> <!-- FOOTER -->
</div> <!-- CONTAINER -->
</div> <!-- CONTAINERWRAP -->
</body> </body>
</html> </html>
</xsl:template> </xsl:template>

View file

@ -6,7 +6,7 @@
<!ENTITY % navinclude.about "INCLUDE"> <!ENTITY % navinclude.about "INCLUDE">
]> ]>
<!-- $FreeBSD: www/share/sgml/templates.oldpress.xsl,v 1.1 2006/08/19 21:20:54 hrs Exp $ --> <!-- $FreeBSD: www/share/sgml/templates.oldpress.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" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"> xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
@ -30,7 +30,19 @@
<body> <body>
&header2; <div id="CONTAINERWRAP">
<div id="CONTAINER">
&header2;
<div id="CONTENT">
<div id="SIDEWRAP">
&nav;
</div> <!-- SIDEWRAP -->
<div id="CONTENTWRAP">
&header3;
<xsl:apply-templates select="//month"/> <xsl:apply-templates select="//month"/>
@ -44,10 +56,19 @@
<a href="press.html">Press Home</a>, <a href="press.html">Press Home</a>,
<a href="news.html">News Home</a> <a href="news.html">News Home</a>
</div> <!-- CONTENTWRAP -->
<br class="clearboth" />
</div> <!-- CONTENT -->
<div id="FOOTER"> <div id="FOOTER">
&copyright;<br /> &copyright;<br />
&date; &date;
</div> <!-- FOOTER --> </div> <!-- FOOTER -->
</div> <!-- CONTAINER -->
</div> <!-- CONTAINERWRAP -->
</body> </body>
</html> </html>
</xsl:template> </xsl:template>