mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
update default layout to use xslt
This commit is contained in:
parent
9ea7a1fb72
commit
bf2a3bb359
@ -18,6 +18,7 @@
|
||||
<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="navbar_format"><xsl:value-of select="navbar_format"/></xsl:variable>
|
||||
<xsl:variable name="app_tpl"><xsl:value-of select="app_tpl"/></xsl:variable>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$charset}"/>
|
||||
@ -41,7 +42,7 @@
|
||||
<table cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
@ -87,6 +88,9 @@
|
||||
<xsl:when test="about">
|
||||
<xsl:call-template name="about"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="$app_tpl > 0">
|
||||
<xsl:call-template name="$app_tpl"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body_data"/>
|
||||
</xsl:otherwise>
|
||||
|
Loading…
Reference in New Issue
Block a user