annotate xsls/download.xsls @ 3079:03b5cd59c55f

Changed name in Russian about menu link.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 09 Apr 2024 18:26:15 +0300
parents 68e8c8dc9489
children
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: 543
diff changeset
1 <!--
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 543
diff changeset
2 Copyright (C) Igor Sysoev
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 543
diff changeset
3 Copyright (C) Nginx, Inc.
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 543
diff changeset
4 -->
be54c443235a Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents: 543
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
727
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
8 X:template = "download" {
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
9 X:var last="@last"
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
10 X:for-each "document(concat($XML, '/versions.xml'))
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
11 /versions/download[@tag = current()/@tag]" {
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
12 <table width="100%">
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
13
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
14 !! "item[position() &lt;= $last]";
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
15
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
16 </table>
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
17 }
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
18 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
19
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
20
727
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
21 X:template = "download/item" {
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
22 <tr>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
23 <td width="20%">
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
24 X:if "position() = 1" {
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
25 <a>
727
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
26 X:attribute "href" {
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
27 X:text{/} !{$LANG} X:text{/CHANGES}
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
28 X:if "$LANG != 'en'" { X:text{.} !{$LANG} }
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
29 X:if "../@changes != ''" { X:text{-} !{../@changes} }
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
30 }
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
31 X:text{CHANGES}
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
32 X:if "$LANG != 'en'" { X:text{.} !{$LANG} }
b2b10d564893 Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents: 721
diff changeset
33 X:if "../@changes != ''" { X:text{-} !{../@changes} }
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
34 </a>
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
35 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
36 </td>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
37
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
38 <td width="30%">
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
39 <a>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
40 X:attribute "href" {
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
41 X:text {/download/} !{@name} X:text{-} !{@ver}
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
42 X:text {.tar.gz}
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
43 }
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
44 !{@name} X:text{-} !{@ver}
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
45 </a>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
46
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
47 X:if "@pgp = 'yes'" {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
48 X:text {&#xA0; }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
49 <a>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
50 X:attribute "href" {
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
51 X:text {/download/} !{@name} X:text{-} !{@ver}
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
52 X:text {.tar.gz.asc}
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
53 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
54 X:text {pgp}
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
55 </a>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
56 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
57 </td>
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 <td>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
60 X:if "@win= 'yes'" {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
61 <a>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
62 X:attribute "href" {
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
63 X:text {/download/} !{@name} X:text{-} !{@ver}
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
64 X:text {.zip}
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
65 }
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
66 !{@name} X:text {/Windows-} !{@ver}
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
67 </a>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
68
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
69 X:if "@pgp = 'yes'" {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
70 X:text {&#xA0; }
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
71 <a>
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
72 X:attribute "href" {
3063
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
73 X:text {/download/} !{@name} X:text{-} !{@ver}
68e8c8dc9489 Download page reworked.
Maxim Dounin <mdounin@mdounin.ru>
parents: 727
diff changeset
74 X:text {.zip.asc}
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
75 }
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
76 X:text {pgp}
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 125
diff changeset
77 </a>
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
78 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
79 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
80 </td>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
81
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
82 </tr>
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
83 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
84
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
85 }