annotate xsls/body.xsls @ 1293:ae87dd0f3953

Banner text updated, nginx.conf 2014 announced.
author Maxim Konovalov <maxim@nginx.com>
date Wed, 17 Sep 2014 07:55:34 +0000
parents 9578a7658b95
children f0383f5cfbb8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
580
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 131
diff changeset
1 <!--
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 131
diff changeset
2 Copyright (C) Igor Sysoev
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 131
diff changeset
3 Copyright (C) Nginx, Inc.
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 131
diff changeset
4 -->
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 131
diff changeset
5
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
6 X:stylesheet {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
7
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
8 X:template body (lang) {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
9
91
36f1994d7fa1 Made index alignment more natural.
Ruslan Ermilov <ru@nginx.com>
parents: 81
diff changeset
10 X:variable MENU_ALIGN = {
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
11 X:if "$lang = 'he'" { X:text {left} } else { X:text {right} }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
12 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
13
91
36f1994d7fa1 Made index alignment more natural.
Ruslan Ermilov <ru@nginx.com>
parents: 81
diff changeset
14 X:variable INDEX_ALIGN = {
36f1994d7fa1 Made index alignment more natural.
Ruslan Ermilov <ru@nginx.com>
parents: 81
diff changeset
15 X:if "$lang = 'he'" { X:text {right} } else { X:text {left} }
36f1994d7fa1 Made index alignment more natural.
Ruslan Ermilov <ru@nginx.com>
parents: 81
diff changeset
16 }
36f1994d7fa1 Made index alignment more natural.
Ruslan Ermilov <ru@nginx.com>
parents: 81
diff changeset
17
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
18 <body>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
19 <table width="100%">
780
ac8ea1e005bf Removed extraneous table added in r692.
Ruslan Ermilov <ru@nginx.com>
parents: 692
diff changeset
20 <tr>
691
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
21 <td width="70%">
692
31ba6a104186 Fixed the logo location and banner text direction for the Hebrew.
Vladimir Homutov <vl@nginx.com>
parents: 691
diff changeset
22 <div id="banner">
31ba6a104186 Fixed the logo location and banner text direction for the Hebrew.
Vladimir Homutov <vl@nginx.com>
parents: 691
diff changeset
23 X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } }
691
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
24 <center>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
25 <table>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
26 <tr>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
27 <td align="center">
1293
ae87dd0f3953 Banner text updated, nginx.conf 2014 announced.
Maxim Konovalov <maxim@nginx.com>
parents: 1280
diff changeset
28 <strong>Join our upcoming user conference,
ae87dd0f3953 Banner text updated, nginx.conf 2014 announced.
Maxim Konovalov <maxim@nginx.com>
parents: 1280
diff changeset
29 <a href="http://nginx.com/nginxconf/?utm_source=nginxorg&amp;utm_medium=banner&amp;utm_campaign=nginxconf2014"
ae87dd0f3953 Banner text updated, nginx.conf 2014 announced.
Maxim Konovalov <maxim@nginx.com>
parents: 1280
diff changeset
30 onClick="ga('send', 'event', 'banner', 'click', 'nginxconf14');">nginx.conf 2014</a>.</strong>
691
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
31 </td>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
32 </tr>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
33 <tr>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
34 <td align="center">
1293
ae87dd0f3953 Banner text updated, nginx.conf 2014 announced.
Maxim Konovalov <maxim@nginx.com>
parents: 1280
diff changeset
35 <i>Learn, share, and celebrate 10 years of NGINX! Oct. 20-22,
ae87dd0f3953 Banner text updated, nginx.conf 2014 announced.
Maxim Konovalov <maxim@nginx.com>
parents: 1280
diff changeset
36 Hyatt Regency San Francisco Airport.</i>
691
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
37 </td>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
38 </tr>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
39 </table>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
40 </center>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
41 </div>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
42 </td>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
43 <td align="right">
692
31ba6a104186 Fixed the logo location and banner text direction for the Hebrew.
Vladimir Homutov <vl@nginx.com>
parents: 691
diff changeset
44 X:if "@lang = 'he'" { X:attribute "align" { X:text{left} } }
691
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
45 <a href="http://nginx.org">
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
46 <img src="http://nginx.org/nginx.gif" alt="nginx" border="0"/>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
47 </a>
023e9f139c3c Added 'professional services' banner to the site header.
Vladimir Homutov <vl@nginx.com>
parents: 648
diff changeset
48 </td>
780
ac8ea1e005bf Removed extraneous table added in r692.
Ruslan Ermilov <ru@nginx.com>
parents: 692
diff changeset
49 </tr>
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
50
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
51 <tr>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
52 <td width="70%"><center><h3>
123
7db449e89e92 Unified the use of the "name" attribute instead of "title".
Ruslan Ermilov <ru@nginx.com>
parents: 121
diff changeset
53 !{@name} X:if "$YEAR" { X:text{: } !{$YEAR} }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
54 </h3></center></td>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
55
91
36f1994d7fa1 Made index alignment more natural.
Ruslan Ermilov <ru@nginx.com>
parents: 81
diff changeset
56 <td rowspan="2" align="{$MENU_ALIGN}" valign="top">
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
57 <br/>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
58
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
59 !! "document(concat($XML, '/menu.xml'))
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
60 /menus/menu[@lang = $lang]/item";
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
61 </td>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
62
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
63 </tr>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
64
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
65 <tr><td valign="top">
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
66
604
b2db67ca29cc Made a link to original relative.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
67 X:if "$ORIGIN and document(concat($XML, '/', $ORIGIN))/*/@rev and
b2db67ca29cc Made a link to original relative.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
68 (not(@rev) or
b2db67ca29cc Made a link to original relative.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
69 @rev != document(concat($XML, '/', $ORIGIN))/*/@rev)"
b2db67ca29cc Made a link to original relative.
Ruslan Ermilov <ru@nginx.com>
parents: 600
diff changeset
70 {
600
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
71 <span>
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
72
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
73 X:if "@lang = 'he'" { X:attribute "class" { X:text{ltr} } }
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
74
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
75 <blockquote class="note">
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
76
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
77 X:if "document(concat($XML, '/i18n.xml'))
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
78 /i18n/text[@lang = $lang]/item[@id='outdated']" {
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
79 !! "document(concat($XML, '/i18n.xml'))
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
80 /i18n/text[@lang = $lang]/item[@id='outdated']";
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
81 } else {
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
82 !! "document(concat($XML, '/i18n.xml'))
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
83 /i18n/text[@lang = 'en']/item[@id='outdated']";
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
84 }
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
85
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
86 </blockquote>
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
87 </span>
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
88 }
89a4e934d207 Emit a warning with a link to English original if translation is outdated.
Ruslan Ermilov <ru@nginx.com>
parents: 598
diff changeset
89
590
05761a8e38f6 Added an option to disable generation of TOC.
Ruslan Ermilov <ru@nginx.com>
parents: 580
diff changeset
90 X:if "@toc = 'yes' and section[@id and @name]" {
131
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
91 <table width="100%"><tr><td align="{$INDEX_ALIGN}">
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
92 X:for-each "section[@id and @name]" {
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
93 <a href="#{@id}"> !{@name} </a><br/>
607
a8f7b93b0a5f Allow article sections to be nested.
Ruslan Ermilov <ru@nginx.com>
parents: 604
diff changeset
94 X:for-each "section[@id and @name]" {
a8f7b93b0a5f Allow article sections to be nested.
Ruslan Ermilov <ru@nginx.com>
parents: 604
diff changeset
95 X:text{&#160;&#160;&#160;&#160;&#160;}
a8f7b93b0a5f Allow article sections to be nested.
Ruslan Ermilov <ru@nginx.com>
parents: 604
diff changeset
96 <a href="#{@id}"> !{@name} </a><br/>
a8f7b93b0a5f Allow article sections to be nested.
Ruslan Ermilov <ru@nginx.com>
parents: 604
diff changeset
97 }
131
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
98 X:if "@id = 'directives'" {
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
99 X:for-each "directive[@name]" {
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
100 X:text{&#160;&#160;&#160;&#160;&#160;}
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
101 <a href="#{@name}"> !{@name} </a><br/>
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
102 }
81
5a2dcd623666 In the modules documents, the list of directives is now additionally
Ruslan Ermilov <ru@nginx.com>
parents: 41
diff changeset
103 }
32
2bcfb5f75e06 Supporting new format of <module> and <section>:
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
104 }
131
8beaff4b3b6b Empty table was generated if document has no sections, or they are
Ruslan Ermilov <ru@nginx.com>
parents: 123
diff changeset
105 </td></tr></table>
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
106 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
107
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
108 !!;
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
109
598
1902d38f0b05 "editor" and "translator" in articles are now output regardless of
Ruslan Ermilov <ru@nginx.com>
parents: 590
diff changeset
110 X:if "@author or @editor or @translator" {
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
111 <table width="100%"><tr><td align="right">
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
112
598
1902d38f0b05 "editor" and "translator" in articles are now output regardless of
Ruslan Ermilov <ru@nginx.com>
parents: 590
diff changeset
113 X:if "@author" {
1902d38f0b05 "editor" and "translator" in articles are now output regardless of
Ruslan Ermilov <ru@nginx.com>
parents: 590
diff changeset
114 !{document(concat($XML, '/i18n.xml'))
1902d38f0b05 "editor" and "translator" in articles are now output regardless of
Ruslan Ermilov <ru@nginx.com>
parents: 590
diff changeset
115 /i18n/text[@lang = $lang]/item[@id='author']}
1902d38f0b05 "editor" and "translator" in articles are now output regardless of
Ruslan Ermilov <ru@nginx.com>
parents: 590
diff changeset
116 X:text { } !{@author} <br/>
1902d38f0b05 "editor" and "translator" in articles are now output regardless of
Ruslan Ermilov <ru@nginx.com>
parents: 590
diff changeset
117 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
118
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
119 X:if "@editor" {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
120 !{document(concat($XML, '/i18n.xml'))
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
121 /i18n/text[@lang = $lang]/item[@id='editor']}
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
122 X:text { } !{@editor} <br/>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
123 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
124
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
125 X:if "@translator" {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
126 !{document(concat($XML, '/i18n.xml'))
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
127 /i18n/text[@lang = $lang]/item[@id='translator']}
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
128 X:text { } !{@translator} <br/>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
129 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
130
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
131 </td></tr></table>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
132 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
133
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
134 </td></tr>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
135
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
136 </table>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
137 </body>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
138
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
139 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
140
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
141 }