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:cc="http://web.resource.org/cc/"
|
2008-04-29 13:29:53 +00:00
|
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
2008-03-07 19:49:19 +00:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
2008-04-29 13:29:53 +00:00
|
|
|
xmlns:xforms="http://www.w3.org/2002/xforms"
|
|
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2008-03-07 19:49:19 +00:00
|
|
|
>
|
|
|
|
|
|
|
|
<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-04-25 11:42:50 +00:00
|
|
|
<xsl:call-template name="searchbar" />
|
2008-04-09 01:10:21 +00:00
|
|
|
|
2008-04-25 11:42:50 +00:00
|
|
|
<xsl:if test="string-length(//@username)=0">
|
|
|
|
<xsl:call-template name="loginbox" />
|
|
|
|
</xsl:if>
|
2008-04-09 01:10:21 +00:00
|
|
|
|
2008-04-29 13:29:53 +00:00
|
|
|
<xsl:if test="//message">
|
|
|
|
<xsl:call-template name="message"/>
|
|
|
|
</xsl:if>
|
|
|
|
|
2008-04-25 11:42:50 +00:00
|
|
|
<xsl:choose>
|
2008-04-09 01:10:21 +00:00
|
|
|
|
2008-04-29 13:29:53 +00:00
|
|
|
<xsl:when test="//frontpage">
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="tagcloud" />
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="splashbox" />
|
2008-04-25 11:42:50 +00:00
|
|
|
|
|
|
|
<xsl:call-template name="results"/>
|
2008-03-24 16:04:46 +00:00
|
|
|
</xsl:when>
|
2008-03-07 19:49:19 +00:00
|
|
|
|
2008-04-06 23:56:34 +00:00
|
|
|
<xsl:when test="//page/video">
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="video"/>
|
|
|
|
</xsl:when>
|
|
|
|
|
2008-04-29 13:29:53 +00:00
|
|
|
<xsl:when test="//page/results">
|
2008-03-24 16:04:46 +00:00
|
|
|
<xsl:call-template name="results"/>
|
2008-03-07 19:49:19 +00:00
|
|
|
</xsl:when>
|
2008-04-29 13:29:53 +00:00
|
|
|
|
|
|
|
<xsl:when test="//page/xforms:instance">
|
|
|
|
<xsl:call-template name="uploadform"/>
|
|
|
|
</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="//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>
|