2008-03-07 19:49:19 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<xsl:stylesheet version="1.0"
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
|
|
xmlns:cc="http://web.resource.org/cc/"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
>
|
|
|
|
|
|
|
|
<xsl:template name="xhtml-body">
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<xsl:if test="//video">
|
|
|
|
<xsl:attribute name="onload">
|
|
|
|
hide_movie()
|
|
|
|
</xsl:attribute>
|
|
|
|
</xsl:if>
|
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="header"/>
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="//frontpage">
|
|
|
|
<xsl:call-template name="searchbar" />
|
|
|
|
<xsl:call-template name="loginbox" />
|
|
|
|
<xsl:call-template name="tagcloud" />
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:if test="//message">
|
|
|
|
<xsl:call-template name="message"/>
|
|
|
|
</xsl:if>
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="splashbox" />
|
|
|
|
</xsl:when>
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:when test="//video">
|
|
|
|
<xsl:call-template name="searchbar" />
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:if test="//message">
|
|
|
|
<xsl:call-template name="message"/>
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
<xsl:call-template name="video"/>
|
|
|
|
</xsl:when>
|
|
|
|
|
|
|
|
<xsl:when test="//search">
|
|
|
|
<xsl:call-template name="searchbar" />
|
|
|
|
<xsl:call-template name="results"/>
|
2008-03-07 19:49:19 +00:00
|
|
|
</xsl:when>
|
2008-03-24 16:04:46 +00:00
|
|
|
</xsl:choose>
|
|
|
|
|
|
|
|
<xsl:choose>
|
2008-03-07 19:49:19 +00:00
|
|
|
<xsl:when test="//registerform">
|
|
|
|
<xsl:call-template name="registerform"/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:when test="//loginform">
|
|
|
|
<xsl:call-template name="loginform"/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:when test="//uploadform">
|
|
|
|
<xsl:call-template name="uploadform"/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:when test="//advancedsearch">
|
|
|
|
<xsl:call-template name="advancedsearch"/>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:when test="//settings">
|
|
|
|
<xsl:call-template name="settings"/>
|
|
|
|
</xsl:when>
|
|
|
|
</xsl:choose>
|
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="footer"/>
|
2008-03-07 19:49:19 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|