egroupware/phpgwapi/templates/default/about.xsl

144 lines
3.7 KiB
XML
Raw Normal View History

2002-09-29 06:14:35 +02:00
<!-- $Id$ -->
2002-10-26 02:33:22 +02:00
<xsl:template name="about">
<xsl:apply-templates select="about_data"/>
</xsl:template>
<xsl:template match="about_data">
2002-10-20 00:19:11 +02:00
<table cellpadding="2" cellspacing="2" align="center" class="about">
2002-10-27 22:30:27 +01:00
<xsl:variable name="phpgw_logo" select="phpgw_logo"/>
<xsl:variable name="lang_url_statustext" select="lang_url_statustext"/>
2002-09-29 06:14:35 +02:00
<tr>
<td colspan="2">
2002-10-03 05:10:24 +02:00
<a href="http://www.phpgroupware.org" target="_blank" onMouseover="window.status='{$lang_url_statustext}'; return true;" onMouseout="window.status=''; return true;">
<img src="{$phpgw_logo}/logo.png" border="0" alt="{$lang_url_statustext}"/>
</a>
2002-09-29 06:14:35 +02:00
</td>
</tr>
<tr>
<td colspan="2">
2002-10-03 05:10:24 +02:00
<a href="http://www.phpgroupware.org" target="_blank" onMouseover="window.status='{$lang_url_statustext}'; return true;" onMouseout="window.status=''; return true;">
<xsl:text>phpGroupWare </xsl:text>
</a>
<xsl:value-of select="phpgw_descr"/>
2002-09-29 06:14:35 +02:00
</td>
</tr>
<tr>
2002-10-27 22:30:27 +01:00
<td width="20%">
<xsl:value-of select="lang_version"/>
</td>
<td>
<xsl:value-of select="phpgw_version"/>
2002-09-29 06:14:35 +02:00
</td>
</tr>
<tr>
<td height="15"> </td>
</tr>
<xsl:apply-templates select="about_app"/>
2002-09-29 06:14:35 +02:00
</table>
</xsl:template>
<xsl:template match="about_app">
2002-10-27 22:30:27 +01:00
<xsl:variable name="icon" select="icon"/>
2002-09-29 06:14:35 +02:00
<tr>
2002-10-28 00:55:23 +01:00
<td colspan="2" valign="middle" class="th_text">
2002-10-27 22:30:27 +01:00
<xsl:if test="icon != ''">
2002-11-09 02:02:55 +01:00
<img src="{$icon}"/>&nbsp;
2002-10-27 22:30:27 +01:00
</xsl:if>
<xsl:value-of select="title"/>
2002-09-29 06:14:35 +02:00
</td>
</tr>
<tr>
<td colspan="2">
2002-10-28 00:55:23 +01:00
<xsl:value-of disable-output-escaping="yes" select="description"/>
2002-09-29 06:14:35 +02:00
</td>
</tr>
2002-10-27 22:30:27 +01:00
<xsl:if test="note != ''">
<tr>
<td colspan="2">
2002-10-28 02:31:33 +01:00
<i><xsl:value-of disable-output-escaping="yes" select="note"/></i>
2002-10-27 22:30:27 +01:00
</td>
</tr>
</xsl:if>
2002-10-28 00:55:23 +01:00
<xsl:if test="author != ''">
2002-09-29 06:14:35 +02:00
<tr>
<td valign="top">
2002-10-27 22:30:27 +01:00
<xsl:value-of select="lang_author"/>
2002-10-26 22:33:04 +02:00
</td>
<td>
2002-10-28 00:55:23 +01:00
<xsl:apply-templates select="author"/>
2002-10-26 22:33:04 +02:00
</td>
</tr>
2002-10-28 00:55:23 +01:00
</xsl:if>
2002-10-27 22:30:27 +01:00
<xsl:if test="maintainer != ''">
<tr>
<td valign="top">
<xsl:value-of select="lang_maintainer"/>
</td>
<td>
<xsl:apply-templates select="maintainer"/>
</td>
</tr>
</xsl:if>
2002-09-29 06:14:35 +02:00
<tr>
<td>
<xsl:value-of select="lang_version"/>
2002-09-29 06:14:35 +02:00
</td>
<td>
2002-10-27 22:30:27 +01:00
<xsl:value-of select="version"/>
2002-09-29 06:14:35 +02:00
</td>
</tr>
2002-10-27 22:30:27 +01:00
<xsl:if test="license != ''">
<tr>
<td>
<xsl:value-of select="lang_license"/>
</td>
<td>
<xsl:value-of select="license"/>
</td>
</tr>
</xsl:if>
<xsl:if test="based_on != ''">
<tr>
<td valign="top"><xsl:value-of select="lang_based_on"/></td>
<td>
2002-10-28 00:55:23 +01:00
<xsl:apply-templates select="based_on"/>
2002-10-27 22:30:27 +01:00
</td>
</tr>
</xsl:if>
</xsl:template>
<xsl:template match="maintainer">
<xsl:variable name="email"><xsl:value-of select="email"/></xsl:variable>
<table>
<tr>
<td><xsl:value-of select="name"/><xsl:text> [</xsl:text><a href="mailto:{$email}"><xsl:value-of select="email"/></a><xsl:text>]</xsl:text></td>
</tr>
</table>
2002-09-29 06:14:35 +02:00
</xsl:template>
2002-10-28 00:55:23 +01:00
<xsl:template match="author">
<xsl:variable name="email"><xsl:value-of select="email"/></xsl:variable>
<table>
<tr>
<td><xsl:value-of select="name"/><xsl:text> [</xsl:text><a href="mailto:{$email}"><xsl:value-of select="email"/></a><xsl:text>]</xsl:text></td>
</tr>
</table>
</xsl:template>
<xsl:template match="based_on">
<xsl:variable name="email"><xsl:value-of select="email"/></xsl:variable>
<xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
<table>
<tr>
<td><xsl:value-of select="info"/></td>
</tr>
<tr>
<td><a href="mailto:{$email}"><xsl:value-of select="email"/></a></td>
</tr>
<tr>
<td><a href="{$url}" target="_blank"><xsl:value-of select="url"/></a></td>
</tr>
</table>
</xsl:template>