mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-12 19:14:57 +01:00
added xsl tpls
This commit is contained in:
parent
00b6e9a3a7
commit
7a84f2ef14
@ -1,9 +1,8 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="about">
|
||||
<xsl:template match="about">
|
||||
<table cellpadding="2" cellspacing="2" width="80%" align="center">
|
||||
<xsl:variable name="phpgw_logo"><xsl:value-of select="phpgw_logo"/></xsl:variable>
|
||||
<xsl:variable name="phpgw_version"><xsl:value-of select="phpgw_version"/></xsl:variable>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="http://www.phpgroupware.org" target="_blank"><img src="{$phpgw_logo}" border="0"></a>
|
||||
@ -11,7 +10,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<xsl:value-of select="phpgw_version"/>
|
||||
<xsl:value-of select="lang_version"/><xsl:text>: </xsl:text><xsl:value-of select="phpgw_version"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -32,7 +31,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<xsl:value-of select="lang_app_version"/><xsl:text>: </xsl:text><xsl:value-of select="app_version"/>
|
||||
<xsl:value-of select="lang_version"/><xsl:text>: </xsl:text><xsl:value-of select="app_version"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
<xsl:template name="phpgw">
|
||||
<xsl:variable name="css_path"><xsl:value-of select="css_path"/></xsl:variable>
|
||||
<xsl:variable name="phpgw_charset"><xsl:value-of select="phpgw_charset"/></xsl:variable>
|
||||
<xsl:variable name="phpgw_bg"><xsl:value-of select="phpgw_bg"/></xsl:variable>
|
||||
<xsl:variable name="phpgw_onload"><xsl:value-of select="phpgw_onload"/></xsl:variable>
|
||||
<xsl:variable name="phpgw_top_table_height"><xsl:value-of select="phpgw_top_table_height"/></xsl:variable>
|
||||
@ -12,32 +13,31 @@
|
||||
<xsl:variable name="phpgw_bottom_table_height"><xsl:value-of select="phpgw_bottom_table_height"/></xsl:variable>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={phpgw_head_charset}"/>
|
||||
<meta name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$phpgw_charset}"/>
|
||||
<meta name="author" content="phpGroupWare http://www.phpgroupware.org"/>
|
||||
<meta name="description" content="phpGroupWare"/>
|
||||
<meta name="keywords" content="phpGroupWare"/>
|
||||
<meta name="robots" content="noindex"/>
|
||||
<base target="{phpgw_head_target}"/>
|
||||
<link rel="icon" href="favicon.ico" type="image/x-ico"/>
|
||||
<link rel="shortcut icon" href="favicon.ico"/>
|
||||
<title><xsl:value-of select="phpgw_website_title"/></title>
|
||||
<xsl:apply-templates select="head_js"/>
|
||||
<link rel="stylesheet" type="text/css" href="{$css_path}">
|
||||
</head>
|
||||
<body background="{$phpgw_bg}" onLoad="{phpgw_onload}">
|
||||
<body background="{$phpgw_bg}" onLoad="{$phpgw_onload}">
|
||||
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="100%" height="{$phpgw_top_table_height}" valign="top" colspan="3">
|
||||
<xsl:apply-templates select="phpgw_top"/>
|
||||
<xsl:call-template name="phpgw_top"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="{$phpgw_left_table_width}" height="{$phpgw_body_table_height}" valign="top">
|
||||
<xsl:apply-templates select="phpgw_left"/>
|
||||
<xsl:call-template name="phpgw_left"/>
|
||||
</td>
|
||||
<td width="{$phpgw_body_table_width}" height="{$phpgw_body_table_height}" valign="top">
|
||||
<xsl:apply-templates select="phpgw_msg_box"/>
|
||||
<xsl:apply-templates select="phpgw_body"/>
|
||||
<xsl:call-template name="phpgw_msg_box"/>
|
||||
<xsl:call-template name="phpgw_body"/>
|
||||
</td>
|
||||
<td width="{$phpgw_right_table_width}" height="{$phpgw_body_table_height}" align="right" valign="top">
|
||||
<xsl:apply-templates select="phpgw_right"/>
|
||||
@ -45,7 +45,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" height="{$phpgw_bottom_table_height}" valign="top" colspan="3">
|
||||
<xsl:apply-templates select="phpgw_bottom"/>
|
||||
<xsl:call-template name="phpgw_bottom"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
15
phpgwapi/templates/default/phpgw_bottom.xsl
Normal file
15
phpgwapi/templates/default/phpgw_bottom.xsl
Normal file
@ -0,0 +1,15 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="phpgw_bottom">
|
||||
<xsl:variable name="phpgw_url"><xsl:value-of select="phpgw_url"/></xsl:variable>
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="navbar">
|
||||
<tr>
|
||||
<td valign="middle" align="center">
|
||||
<xsl:text>Powered by </xsl:text>
|
||||
<a href="{phpgw_url}" target="_blank"><xsl:text>phpGroupWare</xsl:text></a>
|
||||
<xsl:text> version </xsl:text>
|
||||
<xsl:value-of select="phpgw_version"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:template>
|
6
phpgwapi/templates/default/phpgw_left.xsl
Normal file
6
phpgwapi/templates/default/phpgw_left.xsl
Normal file
@ -0,0 +1,6 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="phpgw_left">
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
</table>
|
||||
</xsl:template>
|
6
phpgwapi/templates/default/phpgw_right.xsl
Normal file
6
phpgwapi/templates/default/phpgw_right.xsl
Normal file
@ -0,0 +1,6 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="phpgw_right">
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
</table>
|
||||
</xsl:template>
|
25
phpgwapi/templates/default/phpgw_top.xsl
Normal file
25
phpgwapi/templates/default/phpgw_top.xsl
Normal file
@ -0,0 +1,25 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template name="phpgw_top">
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr class="navbar">
|
||||
<xsl:apply-templates select="app_list"/>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="user_info"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><xsl:value-of select="current_users"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="app_list">
|
||||
<xsl:variable name="app_link"><xsl:value-of select="app_link"/></xsl:variable>
|
||||
<xsl:variable name="app_icon"><xsl:value-of select="app_icon"/></xsl:variable>
|
||||
<td>
|
||||
<a href="{$app_link}" target="_top"><img src="{$app_icon}" border="0"></a>
|
||||
</td>
|
||||
</xsl:template>
|
Loading…
Reference in New Issue
Block a user