egroupware/phpgwapi/templates/default/phpgw_header.xsl
2003-04-27 19:28:13 +00:00

69 lines
2.5 KiB
XML

<!-- $Id$ -->
<xsl:template match="phpgw">
<xsl:variable name="phpgw_css_file" select="phpgw_css_file"/>
<xsl:variable name="theme_css_file" select="theme_css_file"/>
<xsl:variable name="current_app" select="current_app"/>
<xsl:variable name="app_tpl" select="app_tpl"/>
<html>
<head>
<meta name="author" content="phpGroupWare http://www.phpgroupware.org"/>
<meta name="description" content="phpGroupWare"/>
<meta name="keywords" content="phpGroupWare"/>
<meta name="robots" content="noindex"/>
<link rel="icon" href="favicon.ico" type="image/x-ico"/>
<link rel="shortcut icon" href="favicon.ico"/>
<title><xsl:value-of select="website_title"/></title>
<link rel="stylesheet" type="text/css" href="{$phpgw_css_file}"/>
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
</head>
<body>
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
<xsl:choose>
<xsl:when test="app_header">
<tr valign="top" width="100%">
<td>
<xsl:attribute name="class">app_header</xsl:attribute>
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
</td>
</tr>
</xsl:when>
</xsl:choose>
<tr valign="top" width="100%">
<td>
<xsl:choose>
<xsl:when test="$current_app = 'help'">
<xsl:call-template name="help"/>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="$app_tpl != ''">
<xsl:call-template name="app_data"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of disable-output-escaping="yes" select="body_data"/>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<tr valign="bottom">
<td align="center" valign="bottom" class="bottom">
<!-- BEGIN bottom_part -->
<xsl:value-of select="lang_powered_by"/>
<a href="http://www.phpgroupware.org" target="blank" onMouseout="window.status='';return true;" class="bottom">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_phpgw_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
<xsl:text> phpGroupWare </xsl:text>
</a>
<xsl:text> </xsl:text><xsl:value-of select="lang_version"/><xsl:text> </xsl:text><xsl:value-of select="phpgw_version"/>
<!-- END bottom_part -->
</td>
</tr>
</table>
</body>
</html>
</xsl:template>