mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
update default layout to use xslt
This commit is contained in:
parent
405e2b5c65
commit
9ea7a1fb72
@ -17,7 +17,7 @@
|
|||||||
<xsl:variable name="prefs_title"><xsl:value-of select="prefs_title"/></xsl:variable>
|
<xsl:variable name="prefs_title"><xsl:value-of select="prefs_title"/></xsl:variable>
|
||||||
<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="phpgw_body"><xsl:value-of select="phpgw_body"/></xsl:variable>
|
<xsl:variable name="navbar_format"><xsl:value-of select="navbar_format"/></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}"/>
|
||||||
@ -40,7 +40,9 @@
|
|||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
<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:apply-templates>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
@ -113,6 +115,7 @@
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="applications">
|
<xsl:template match="applications">
|
||||||
|
<xsl:param name="navbar_format" select="'icon'"/>
|
||||||
<xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
|
<xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
|
||||||
<xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
|
<xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
|
||||||
<xsl:variable name="icon"><xsl:value-of select="icon"/></xsl:variable>
|
<xsl:variable name="icon"><xsl:value-of select="icon"/></xsl:variable>
|
||||||
|
Loading…
Reference in New Issue
Block a user