Mercurial > hg > nginx-site
comparison xslt/article.xslt @ 3045:91a2ee74ca72
Regenerated.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 14 Feb 2024 20:05:53 +0300 |
parents | c704a743f269 |
children |
comparison
equal
deleted
inserted
replaced
3044:6c78190bc1cb | 3045:91a2ee74ca72 |
---|---|
25 <xsl:include href="dirname.xslt"/> | 25 <xsl:include href="dirname.xslt"/> |
26 <xsl:include href="link.xslt"/> | 26 <xsl:include href="link.xslt"/> |
27 <xsl:include href="style.xslt"/> | 27 <xsl:include href="style.xslt"/> |
28 <xsl:include href="body.xslt"/> | 28 <xsl:include href="body.xslt"/> |
29 <xsl:include href="menu.xslt"/> | 29 <xsl:include href="menu.xslt"/> |
30 <xsl:include href="banner.xslt"/> | |
31 <xsl:include href="content.xslt"/> | 30 <xsl:include href="content.xslt"/> |
32 <xsl:include href="books.xslt"/> | 31 <xsl:include href="books.xslt"/> |
33 <xsl:include href="directive.xslt"/> | 32 <xsl:include href="directive.xslt"/> |
34 <xsl:include href="donate.xslt"/> | 33 <xsl:include href="donate.xslt"/> |
35 <xsl:include href="download.xslt"/> | 34 <xsl:include href="download.xslt"/> |
38 | 37 |
39 | 38 |
40 <xsl:template match="/article | /module"> | 39 <xsl:template match="/article | /module"> |
41 <html> | 40 <html> |
42 | 41 |
43 <xsl:if test="@lang = 'he'"> <xsl:attribute name="dir"> <xsl:text>rtl</xsl:text> </xsl:attribute> </xsl:if> | |
44 | |
45 <xsl:if test="@lang = 'cn'"> <xsl:attribute name="lang"> <xsl:text>zh-CN</xsl:text> </xsl:attribute> </xsl:if> | |
46 | |
47 <head> | 42 <head> |
48 | 43 |
49 <title> <xsl:value-of select="@name"/> </title> | 44 <title> <xsl:value-of select="@name"/> </title> |
50 | 45 |
51 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template><xsl:call-template name="banner"/></head> | 46 <xsl:call-template name="style"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></head> |
52 | 47 |
53 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> | 48 <xsl:call-template name="body"><xsl:with-param select="@lang" name="lang"/></xsl:call-template></html> |
54 </xsl:template> | 49 </xsl:template> |
55 | 50 |
56 | 51 |