update default layout to use xslt

This commit is contained in:
ceb 2002-10-27 00:31:41 +00:00
parent 9ea7a1fb72
commit bf2a3bb359

View File

@ -18,6 +18,7 @@
<xsl:variable name="logout_title"><xsl:value-of select="logout_title"/></xsl:variable> <xsl:variable name="logout_title"><xsl:value-of select="logout_title"/></xsl:variable>
<xsl:variable name="about_title"><xsl:value-of select="about_title"/></xsl:variable> <xsl:variable name="about_title"><xsl:value-of select="about_title"/></xsl:variable>
<xsl:variable name="navbar_format"><xsl:value-of select="navbar_format"/></xsl:variable> <xsl:variable name="navbar_format"><xsl:value-of select="navbar_format"/></xsl:variable>
<xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable>
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/> <meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
@ -41,7 +42,7 @@
<table cellspacing="0" cellpadding="0" width="100%"> <table cellspacing="0" cellpadding="0" width="100%">
<tr> <tr>
<xsl:apply-templates select="applications"> <xsl:apply-templates select="applications">
<xsl:with-param name="navbar_format" select="{$navbar_format}"/> <xsl:with-param name="navbar_format" select="navbar_format"/>
</xsl:apply-templates> </xsl:apply-templates>
</tr> </tr>
</table> </table>
@ -87,6 +88,9 @@
<xsl:when test="about"> <xsl:when test="about">
<xsl:call-template name="about"/> <xsl:call-template name="about"/>
</xsl:when> </xsl:when>
<xsl:when test="$app_tpl > 0">
<xsl:call-template name="$app_tpl"/>
</xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of disable-output-escaping="yes" select="body_data"/> <xsl:value-of disable-output-escaping="yes" select="body_data"/>
</xsl:otherwise> </xsl:otherwise>