You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.6 KiB
47 lines
1.6 KiB
<?xml version="1.0" encoding="Windows-1251"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
|
|
<xsl:import href="Header.xslt"/>
|
|
<xsl:output method="xml" indent="no" encoding="UCS-2"/>
|
|
<xsl:template match="/root">
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="/static/css/global.css" type="text/css" />
|
|
<link rel="stylesheet" href="/static/css/coffeehaus.css" type="text/css" />
|
|
<link rel="shortcut icon" href="/static/favicons/smirk.ico" type="image/x-icon" />
|
|
<title><xsl:value-of select="title"/></title>
|
|
</head>
|
|
<body>
|
|
<xsl:call-template name="header"/>
|
|
<xsl:call-template name="specific"/>
|
|
<br />
|
|
<span>Data used for authoring this XHTML document:</span>
|
|
<xmp><xsl:copy-of select="/"/></xmp>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="parent" mode="breadcrumbsPart">
|
|
<xsl:apply-templates select="*/parent" mode="breadcrumbsPart"/>
|
|
<xsl:if test="category/id">
|
|
<a>
|
|
<xsl:attribute name="href">/Boards/</xsl:attribute>
|
|
<xsl:value-of select="category/name"/>
|
|
</a>
|
|
<span> >> </span>
|
|
</xsl:if>
|
|
<xsl:if test="board/id">
|
|
<a>
|
|
<xsl:attribute name="href">/Board/<xsl:value-of select="board/id"/>/</xsl:attribute>
|
|
<xsl:value-of select="board/name"/>
|
|
</a>
|
|
<span> >> </span>
|
|
</xsl:if>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="currentLocation" mode="breadcrumbs">
|
|
<xsl:apply-templates select="*/parent" mode="breadcrumbsPart"/>
|
|
<xsl:value-of select="*/name"/>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|
|
|
|
|