comparison docs/xslt/changes.xslt @ 9216:de20142f5046

Free nginx: regenerated changes.xslt after previous commit.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 19 Feb 2024 03:13:42 +0300
parents b7e02f47a339
children
comparison
equal deleted inserted replaced
9215:e79c7521aaf4 9216:de20142f5046
12 <xsl:variable select="$conf/length" name="max"/> 12 <xsl:variable select="$conf/length" name="max"/>
13 <xsl:variable name="br">&lt;br&gt;</xsl:variable> 13 <xsl:variable name="br">&lt;br&gt;</xsl:variable>
14 14
15 15
16 <xsl:template match="/"> <xsl:apply-templates select="change_log"/> </xsl:template> 16 <xsl:template match="/"> <xsl:apply-templates select="change_log"/> </xsl:template>
17 <xsl:template match="change_log"> <xsl:apply-templates select="changes"/> </xsl:template> 17 <xsl:template match="change_log"> <xsl:apply-templates select="section"/> </xsl:template>
18 <xsl:template match="section"> <xsl:apply-templates select="changes"/> </xsl:template>
18 19
19 20
20 <xsl:template match="changes"> 21 <xsl:template match="changes">
21 <xsl:text>&#10;</xsl:text> 22 <xsl:text>&#10;</xsl:text>
22 23
23 <xsl:value-of select="substring(concat($conf/changes[@lang=$lang]/title, 24 <xsl:value-of select="substring(concat($conf/changes[@lang=$lang]/title,
24 //change_log/@title, 25 ../@title,
25 ' ', @ver, 26 ' ', @ver,
26 ' '), 27 ' '),
27 1, $conf/changes[@lang=$lang]/length)"/> 28 1, $conf/changes[@lang=$lang]/length)"/>
28 29
29 <xsl:if test="$lang='ru'"> 30 <xsl:if test="$lang='ru'">