Mercurial > hg > nginx-site
comparison xslt/body.xslt @ 1313:2aeeb695e844
Regenerated.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 29 Sep 2014 14:45:12 +0400 |
parents | 6f1b9137911e |
children | 1b72be4562b3 |
comparison
equal
deleted
inserted
replaced
1312:91a4eee45eb7 | 1313:2aeeb695e844 |
---|---|
15 <xsl:variable name="INDEX_ALIGN"> | 15 <xsl:variable name="INDEX_ALIGN"> |
16 <xsl:choose><xsl:when test="$lang = 'he'"> <xsl:text>right</xsl:text> </xsl:when><xsl:otherwise> <xsl:text>left</xsl:text> </xsl:otherwise></xsl:choose> | 16 <xsl:choose><xsl:when test="$lang = 'he'"> <xsl:text>right</xsl:text> </xsl:when><xsl:otherwise> <xsl:text>left</xsl:text> </xsl:otherwise></xsl:choose> |
17 </xsl:variable> | 17 </xsl:variable> |
18 | 18 |
19 <body> | 19 <body> |
20 <table width="100%"> | 20 |
21 <tr> | 21 <div id="banner"> |
22 <td width="70%"> | 22 <xsl:if test="@lang = 'he'"> <xsl:attribute name="class"> <xsl:text>ltr</xsl:text> </xsl:attribute> </xsl:if> |
23 <div id="banner"> | 23 <strong>Join our upcoming user conference, |
24 <xsl:if test="@lang = 'he'"> <xsl:attribute name="class"> <xsl:text>ltr</xsl:text> </xsl:attribute> </xsl:if> | 24 <a href="http://nginx.com/nginxconf/?utm_source=nginxorg&utm_medium=banner&utm_campaign=nginxconf2014" onClick="ga('send', 'event', 'banner', 'click', 'nginxconf14');">nginx.conf 2014</a></strong><br/> |
25 <center> | 25 <em>Learn, share, and celebrate 10 years of NGINX! Oct. 20-22, |
26 <table> | 26 Hyatt Regency San Francisco Airport.</em> |
27 <tr> | 27 </div> |
28 <td align="center"> | 28 |
29 <strong>Join our upcoming user conference, | 29 <div id="main"> |
30 <a href="http://nginx.com/nginxconf/?utm_source=nginxorg&utm_medium=banner&utm_campaign=nginxconf2014" onClick="ga('send', 'event', 'banner', 'click', 'nginxconf14');">nginx.conf 2014</a>.</strong> | 30 <div id="menu"> |
31 </td> | 31 <h1> |
32 </tr> | |
33 <tr> | |
34 <td align="center"> | |
35 <i>Learn, share, and celebrate 10 years of NGINX! Oct. 20-22, | |
36 Hyatt Regency San Francisco Airport.</i> | |
37 </td> | |
38 </tr> | |
39 </table> | |
40 </center> | |
41 </div> | |
42 </td> | |
43 <td align="right"> | |
44 <xsl:if test="@lang = 'he'"> <xsl:attribute name="align"> <xsl:text>left</xsl:text> </xsl:attribute> </xsl:if> | 32 <xsl:if test="@lang = 'he'"> <xsl:attribute name="align"> <xsl:text>left</xsl:text> </xsl:attribute> </xsl:if> |
45 <a href="http://nginx.org"> | 33 <a href="/"> |
46 <img src="http://nginx.org/nginx.gif" alt="nginx" border="0"/> | 34 <img src="/nginx.png" alt="nginx"/> |
47 </a> | 35 </a> |
48 </td> | 36 </h1> |
49 </tr> | 37 <div> |
38 <xsl:apply-templates select="document(concat($XML, '/menu.xml')) | |
39 /menus/menu[@lang = $lang]/item"/> | |
40 </div> | |
41 </div> | |
50 | 42 |
51 <tr> | 43 <div id="content"> |
52 <td width="70%"><center><h3> | 44 <h2> |
53 <xsl:value-of select="@name"/> <xsl:if test="$YEAR"> <xsl:text>: </xsl:text> <xsl:value-of select="$YEAR"/> </xsl:if> | 45 <xsl:value-of select="@name"/> <xsl:if test="$YEAR"> <xsl:text>: </xsl:text> <xsl:value-of select="$YEAR"/> </xsl:if> |
54 </h3></center></td> | 46 </h2> |
55 | |
56 <td rowspan="2" align="{$MENU_ALIGN}" valign="top"> | |
57 <br/> | |
58 | |
59 <xsl:apply-templates select="document(concat($XML, '/menu.xml')) | |
60 /menus/menu[@lang = $lang]/item"/> | |
61 </td> | |
62 | |
63 </tr> | |
64 | |
65 <tr><td valign="top"> | |
66 | 47 |
67 <xsl:if test="$ORIGIN and document(concat($XML, '/', $ORIGIN))/*/@rev and | 48 <xsl:if test="$ORIGIN and document(concat($XML, '/', $ORIGIN))/*/@rev and |
68 (not(@rev) or | 49 (not(@rev) or |
69 @rev != document(concat($XML, '/', $ORIGIN))/*/@rev)"> | 50 @rev != document(concat($XML, '/', $ORIGIN))/*/@rev)"> |
70 <span> | 51 <span> |
127 <xsl:text> </xsl:text> <xsl:value-of select="@translator"/> <br/> | 108 <xsl:text> </xsl:text> <xsl:value-of select="@translator"/> <br/> |
128 </xsl:if> | 109 </xsl:if> |
129 | 110 |
130 </td></tr></table> | 111 </td></tr></table> |
131 </xsl:if> | 112 </xsl:if> |
132 | 113 </div> |
133 </td></tr> | 114 </div> |
134 | |
135 </table> | |
136 </body> | 115 </body> |
137 | 116 |
138 </xsl:template> | 117 </xsl:template> |
139 | 118 |
140 </xsl:stylesheet> | 119 </xsl:stylesheet> |