egroupware/phpgwapi/templates/default/about.xsl

128 lines
3.1 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>
<td colspan="2" class="th_text">
2002-10-27 22:30:27 +01:00
<xsl:if test="icon != ''">
<img src="{$icon}"/>
</xsl:if>
<xsl:value-of select="title"/>
2002-09-29 06:14:35 +02:00
</td>
</tr>
<tr>
<td colspan="2">
2002-10-27 22:30:27 +01:00
<xsl:value-of 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">
<i><xsl:value-of select="note"/></i>
</td>
</tr>
</xsl:if>
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-27 22:30:27 +01:00
<xsl:value-of select="author"/>
2002-10-26 22:33:04 +02:00
</td>
</tr>
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><xsl:value-of select="based_on"/></td>
</tr>
</xsl:if>
<xsl:if test="based_on_url != ''">
<tr>
<td height="5"></td>
<td>
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="based_on_url"/>
</xsl:attribute>
<xsl:value-of select="based_on_url"/>
</a>
</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>