Mercurial > hg > nginx-site
comparison xslt/menu.xslt @ 707:b133b1f44765
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 04 Oct 2012 15:02:55 +0000 |
parents | 2ced25001893 |
children | 2c57830e0149 |
comparison
equal
deleted
inserted
replaced
706:cd0d1f0130db | 707:b133b1f44765 |
---|---|
22 </xsl:when> | 22 </xsl:when> |
23 | 23 |
24 <xsl:otherwise> | 24 <xsl:otherwise> |
25 <xsl:choose> | 25 <xsl:choose> |
26 | 26 |
27 <xsl:when test="@switchlang != ''"> | 27 <xsl:when test="$TRANS and @switchlang"> |
28 <xsl:choose> | 28 <xsl:choose> |
29 | 29 |
30 <xsl:when test="contains($TRANS, @switchlang)"> | 30 <xsl:when test="contains($TRANS, @switchlang)"> |
31 | 31 |
32 <a> | 32 <a> |
33 | 33 |
34 <xsl:attribute name="href"> | 34 <xsl:attribute name="href"> |
35 <xsl:choose> | |
36 | 35 |
37 <xsl:when test="$ROOT != '' "> | 36 <xsl:value-of select=" concat($ROOT, '/', @switchlang, '/', substring-after($LINK, concat('/', $LANG, '/')))"/> |
38 | |
39 <xsl:value-of select=" concat($ROOT, '/', @switchlang, '/', $NOLANGORIGIN)"/> | |
40 </xsl:when> | |
41 | |
42 <xsl:otherwise> | |
43 | |
44 <xsl:value-of select=" concat(@switchlang, '/', $NOLANGORIGIN)"/> | |
45 </xsl:otherwise> | |
46 </xsl:choose> | |
47 </xsl:attribute> | 37 </xsl:attribute> |
48 | 38 |
49 <xsl:value-of select=" normalize-space(text())"/> | 39 <xsl:value-of select=" normalize-space(text())"/> |
50 | 40 |
51 </a> | 41 </a> |