aboutsummaryrefslogtreecommitdiff
path: root/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'hu_HU.ISO8859-2/share/sgml/templates.press.xsl')
-rw-r--r--hu_HU.ISO8859-2/share/sgml/templates.press.xsl35
1 files changed, 4 insertions, 31 deletions
diff --git a/hu_HU.ISO8859-2/share/sgml/templates.press.xsl b/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
index 2f81cb4923..1a13a6fd61 100644
--- a/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
+++ b/hu_HU.ISO8859-2/share/sgml/templates.press.xsl
@@ -21,27 +21,12 @@
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
-
- <xsl:variable name="date">
- <xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
- </xsl:variable>
+ <xsl:import href="http://www.FreeBSD.org/XML/www/share/sgml/xhtml.xsl"/>
<xsl:param name="news.press.xml-master" select="'none'" />
<xsl:param name="news.press.xml" select="'none'" />
- <xsl:output type="html" encoding="&xml.encoding;"/>
-
- <xsl:template match="press">
- <html>
- &header1;
- <body>
-
- <div id="CONTAINERWRAP">
- <div id="CONTAINER">
-
- &header2;
-
- <div id="CONTENT">
+ <xsl:template name="process.content">
<div id="SIDEWRAP">
&nav;
<div id="FEEDLINKS">
@@ -59,6 +44,7 @@
&header3;
+ <xsl:for-each select="/press">
<xsl:call-template name="html-news-list-press-preface" />
<xsl:call-template name="html-news-list-press">
@@ -69,21 +55,8 @@
<xsl:call-template name="html-press-make-olditems-list" />
<xsl:call-template name="html-news-list-newsflash-homelink" />
+ </xsl:for-each>
</div> <!-- CONTENTWRAP -->
- <br class="clearboth" />
-
- </div> <!-- CONTENT -->
-
- <div id="FOOTER">
- &copyright;<br />
- &date;
- </div> <!-- FOOTER -->
-
- </div> <!-- CONTAINER -->
- </div> <!-- CONTAINERWRAP -->
-
- </body>
- </html>
</xsl:template>
</xsl:stylesheet>