- Rename the share/sgml directories to share/xml
- Fix build errors from the next change Approved by: doceng (implicit)
This commit is contained in:
parent
b4346b9b2d
commit
77d737ee88
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39632
2162 changed files with 2764 additions and 2764 deletions
65
share/xml/templates.newsflash.xsl
Normal file
65
share/xml/templates.newsflash.xsl
Normal file
|
@ -0,0 +1,65 @@
|
|||
<?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/xml/xslt10-freebsd.dtd" [
|
||||
<!ENTITY title "FreeBSD News Flash">
|
||||
<!ENTITY rsslink "rss.xml">
|
||||
<!ENTITY rsstitle "&title;">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD$ -->
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/xml/libcommon.xsl"/>
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/www/share/xml/xhtml.xsl"/>
|
||||
|
||||
<xsl:param name="news.project.xml-master" select="'none'" />
|
||||
<xsl:param name="news.project.xml" select="'none'" />
|
||||
|
||||
<xsl:variable name="title">&title;</xsl:variable>
|
||||
|
||||
<xsl:variable name="rsstitle">&rsstitle;</xsl:variable>
|
||||
|
||||
<xsl:variable name="rsslink">&rsslink;</xsl:variable>
|
||||
|
||||
<xsl:template name="process.content">
|
||||
<div id="sidewrap">
|
||||
&nav.about;
|
||||
<div id="feedlinks">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="rss.xml" title="FreeBSD RSS 2.0 Feed">
|
||||
RSS 2.0 Feed
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="news.rdf" title="FreeBSD RDF/RSS 0.9 Feed">
|
||||
RSS 0.9 Feed
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div> <!-- FEEDLINKS -->
|
||||
</div> <!-- SIDEWRAP -->
|
||||
|
||||
<div id="contentwrap">
|
||||
<h1>&title;</h1>
|
||||
|
||||
<xsl:for-each select="/news">
|
||||
<xsl:call-template name="html-news-list-newsflash-preface" />
|
||||
|
||||
<xsl:call-template name="html-news-list-newsflash">
|
||||
<xsl:with-param name="news.project.xml-master" select="$news.project.xml-master" />
|
||||
<xsl:with-param name="news.project.xml" select="$news.project.xml" />
|
||||
</xsl:call-template>
|
||||
|
||||
<xsl:call-template name="html-news-make-olditems-list" />
|
||||
|
||||
<xsl:call-template name="html-news-list-newsflash-homelink" />
|
||||
</xsl:for-each>
|
||||
|
||||
</div> <!-- CONTENTWRAP -->
|
||||
<br class="clearboth" />
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Loading…
Add table
Add a link
Reference in a new issue