| … | |
… | |
| 17 | </xsl:when> |
17 | </xsl:when> |
| 18 | <xsl:otherwise> |
18 | <xsl:otherwise> |
| 19 | <xsl:call-template name="doclayout"/> |
19 | <xsl:call-template name="doclayout"/> |
| 20 | </xsl:otherwise> |
20 | </xsl:otherwise> |
| 21 | </xsl:choose> |
21 | </xsl:choose> |
|
|
22 | </xsl:template> |
|
|
23 | |
|
|
24 | <!-- <sections>, i.e. when user tries to access a book file directly --> |
|
|
25 | <xsl:template match="/sections"> |
|
|
26 | <html> |
|
|
27 | <head> |
|
|
28 | <meta http-equiv="Content-Type" content="text/html"/> |
|
|
29 | <meta http-equiv="REFRESH" content="0; URL=/doc/en/"/> |
|
|
30 | <title>Please use main index</title> |
|
|
31 | </head> |
|
|
32 | <body> |
|
|
33 | Please use the <a href="/doc/en/">main index</a> to access handbook parts. |
|
|
34 | </body> |
|
|
35 | </html> |
| 22 | </xsl:template> |
36 | </xsl:template> |
| 23 | |
37 | |
| 24 | <!-- Content of /book --> |
38 | <!-- Content of /book --> |
| 25 | <xsl:template name="bookcontent"> |
39 | <xsl:template name="bookcontent"> |
| 26 | <xsl:call-template name="menubar" /> |
40 | <xsl:call-template name="menubar" /> |