Mercurial > hg > nginx-site
annotate xsls/error.xsls @ 833:e23004ce65ef
GeoIP: shortened some descriptions and link scope (Russian).
author | Homutov Vladimir <vl@nginx.com> |
---|---|
date | Wed, 06 Feb 2013 17:28:47 +0400 |
parents | 81ad082bc837 |
children | e6f3391df2ea |
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 |
111
f31230984540
Fixed DOCTYPE generation to include the public system identifier.
Ruslan Ermilov <ru@nginx.com>
parents:
107
diff
changeset
|
8 X:output method="html" version="4.0" indent="no" encoding="utf-8"; |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
10 X:strip-space elements = "*"; |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
11 |
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 -- a current directory of a XSLT script is where the script is stored, |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 -- but not where XSLT processor has been started to run the script |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 --> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 X:param XML = "'../xml'"; |
721
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
17 X:param YEAR; |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
18 X:param TRANS; |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
19 |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
20 X:var LINK = "/error/@link"; |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
21 X:var LANG = "/error/@lang"; |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
22 |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
23 X:include href = "dirname.xslt"; |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
24 X:include href = "menu.xslt"; |
81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
Ruslan Ermilov <ru@nginx.com>
parents:
580
diff
changeset
|
25 X:include href = "ga.xslt"; |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
27 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
28 X:template = "/error" { |
123
7db449e89e92
Unified the use of the "name" attribute instead of "title".
Ruslan Ermilov <ru@nginx.com>
parents:
111
diff
changeset
|
29 <html><head><title> !{@name} </title> |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 |
107
ee725af08951
Two unrelated changes were erroneously committed simultaneously:
Ruslan Ermilov <ru@nginx.com>
parents:
0
diff
changeset
|
31 <style type="text/css">!{ normalize-space(' |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 body { font-family: Georgia, serif; } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 ') } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
34 </style> |
543
9085f0c59dc6
Google Analytics tracking script added to all pages
Sergey Budnevitch <sb@waeme.net>
parents:
123
diff
changeset
|
35 |
9085f0c59dc6
Google Analytics tracking script added to all pages
Sergey Budnevitch <sb@waeme.net>
parents:
123
diff
changeset
|
36 !ga () |
9085f0c59dc6
Google Analytics tracking script added to all pages
Sergey Budnevitch <sb@waeme.net>
parents:
123
diff
changeset
|
37 |
107
ee725af08951
Two unrelated changes were erroneously committed simultaneously:
Ruslan Ermilov <ru@nginx.com>
parents:
0
diff
changeset
|
38 </head> |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 <body> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
41 <table width="100%"> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 <tr> |
123
7db449e89e92
Unified the use of the "name" attribute instead of "title".
Ruslan Ermilov <ru@nginx.com>
parents:
111
diff
changeset
|
43 <td width="70%"><center><h1> !{@name} </h1></center></td> |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 <td rowspan="2" align="right" valign="top"> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 <img src="/nginx.gif" alt="nginx"/><br/> |
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 <br/> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
48 <br/> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
50 !! "document(concat($XML, '/menu.xml')) |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
51 /menus/menu[@lang = current()/@lang]/item"; |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
52 </td> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 </tr> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 </table> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 </body> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 </html> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 } |
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 } |