Go back to showing 3 SA's and 3 EN's since we currently have 3 new EN's.
This commit is contained in:
parent
255670fc74
commit
186dea4022
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=29676
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd">
|
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd">
|
||||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.4 2007/02/15 21:40:56 gabor Exp $ -->
|
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.5 2007/02/15 21:47:10 gabor Exp $ -->
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
version="1.0"
|
version="1.0"
|
||||||
|
@ -688,7 +688,7 @@
|
||||||
|
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$type = 'advisory'">
|
<xsl:when test="$type = 'advisory'">
|
||||||
<xsl:for-each select="document($advisories.xml)/descendant::advisory[position() <= 4]">
|
<xsl:for-each select="document($advisories.xml)/descendant::advisory[position() <= 3]">
|
||||||
<xsl:variable name="year" select="../../../name" />
|
<xsl:variable name="year" select="../../../name" />
|
||||||
<xsl:variable name="month" select="../../name" />
|
<xsl:variable name="month" select="../../name" />
|
||||||
<xsl:variable name="day" select="../name" />
|
<xsl:variable name="day" select="../name" />
|
||||||
|
@ -714,7 +714,7 @@
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:when test="$type = 'notice'">
|
<xsl:when test="$type = 'notice'">
|
||||||
<xsl:for-each select="document($advisories.xml)/descendant::notice[position() <= 2]">
|
<xsl:for-each select="document($advisories.xml)/descendant::notice[position() <= 3]">
|
||||||
<xsl:variable name="year" select="../../../name" />
|
<xsl:variable name="year" select="../../../name" />
|
||||||
<xsl:variable name="month" select="../../name" />
|
<xsl:variable name="month" select="../../name" />
|
||||||
<xsl:variable name="day" select="../name" />
|
<xsl:variable name="day" select="../name" />
|
||||||
|
|
Loading…
Reference in a new issue