Mercurial > hg > nginx-site
comparison xsls/link.xsls @ 600:89a4e934d207
Emit a warning with a link to English original if translation is outdated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 20 Jul 2012 09:27:55 +0000 |
parents | be54c443235a |
children | b2db67ca29cc |
comparison
equal
deleted
inserted
replaced
599:992a542565b1 | 600:89a4e934d207 |
---|---|
4 --> | 4 --> |
5 | 5 |
6 X:stylesheet { | 6 X:stylesheet { |
7 | 7 |
8 X:template = "img" { <img src="{@href}"> !!; </img> } | 8 X:template = "img" { <img src="{@href}"> !!; </img> } |
9 | |
10 X:template = "origin" { | |
11 <a href="{document($ORIGIN)/*/@link}"> !!; </a> | |
12 } | |
9 | 13 |
10 X:template = "link[@url]" { | 14 X:template = "link[@url]" { |
11 <a href="{@url}"> | 15 <a href="{@url}"> |
12 X:if "count(node()) != 0" { !!; } else { !{@url} } | 16 X:if "count(node()) != 0" { !!; } else { !{@url} } |
13 </a> | 17 </a> |