Mercurial > hg > nginx-site
annotate xsls/download.xsls @ 1017:9f9a427a73eb
Fixed broken links to chinese versions of some modules.
The chinese version contains untranslated copies of english documentation for
random_index and realip modules. The result is the appearance of 'translation
to chinese' link for this modules pointing to non-existing document. This
files are removed.
Also, broken links are generated for the chinese version of the "flv" module,
but the translation exists, although not enabled for publication. Since
contents of file looks like a valid translation, it is allowed to be published.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 18 Nov 2013 12:48:10 +0400 |
parents | b2b10d564893 |
children | 68e8c8dc9489 |
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() <= $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 | 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 | 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 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 <td width="20%"> |
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" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 X:text {/download/nginx-} !{@ver} X:text {.tar.gz} |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 X:text {nginx-} !{@ver} |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 </a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 X:if "@pgp = 'yes'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
47 X:text {  } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
48 <a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 X:attribute "href" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
50 X:text {/download/nginx-} !{@ver} X:text {.tar.gz.asc} |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
51 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
52 X:text {pgp} |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 </a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 </td> |
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 X:if "@win= 'yes'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 <a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 X:attribute "href" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
61 X:text {/download/nginx-} !{@ver} X:text {.zip} |
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 X:text {nginx/Windows-} !{@ver} |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
64 </a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
65 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
66 X:if "@pgp = 'yes'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
67 X:text {  } |
132 | 68 <a> |
69 X:attribute "href" { | |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
70 X:text {/download/nginx-} !{@ver} X:text {.zip.asc} |
132 | 71 } |
72 X:text {pgp} | |
73 </a> | |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
74 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
75 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
76 </td> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 </tr> |
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 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
81 } |