update xslt

This commit is contained in:
ceb 2002-10-27 21:30:27 +00:00
parent 5bd8c0a237
commit c4237ef897
2 changed files with 72 additions and 53 deletions

View File

@ -6,8 +6,8 @@
<xsl:template match="about_data">
<table cellpadding="2" cellspacing="2" align="center" class="about">
<xsl:variable name="phpgw_logo"><xsl:value-of select="phpgw_logo"/></xsl:variable>
<xsl:variable name="lang_url_statustext"><xsl:value-of select="lang_url_statustext"/></xsl:variable>
<xsl:variable name="phpgw_logo" select="phpgw_logo"/>
<xsl:variable name="lang_url_statustext" select="lang_url_statustext"/>
<tr>
<td colspan="2">
<a href="http://www.phpgroupware.org" target="_blank" onMouseover="window.status='{$lang_url_statustext}'; return true;" onMouseout="window.status=''; return true;">
@ -24,7 +24,7 @@
</td>
</tr>
<tr>
<td>
<td width="20%">
<xsl:value-of select="lang_version"/>
</td>
<td>
@ -39,70 +39,89 @@
</xsl:template>
<xsl:template match="about_app">
<xsl:variable name="icon" select="icon"/>
<tr>
<td colspan="2" class="th_text">
<xsl:value-of select="app_title"/>
<xsl:if test="icon != ''">
<img src="{$icon}"/>
</xsl:if>
<xsl:value-of select="title"/>
</td>
</tr>
<tr>
<td colspan="2">
<xsl:value-of disable-output-escaping="yes" select="app_descr"/>
<xsl:value-of select="description"/>
</td>
</tr>
<xsl:if test="note != ''">
<tr>
<td colspan="2">
<i><xsl:value-of select="note"/></i>
</td>
</tr>
</xsl:if>
<tr>
<td valign="top">
<xsl:value-of select="lang_written_by"/>
<xsl:value-of select="lang_author"/>
</td>
<td>
<xsl:value-of select="developers"/>
<xsl:value-of select="author"/>
</td>
</tr>
<tr valign="top">
<td>
<xsl:if test="maintainer != ''">
<tr>
<td valign="top">
<xsl:value-of select="lang_maintainer"/>
</td>
<td>
<xsl:value-of select="app_maintainer"/><br/>
<xsl:value-of disable-output-escaping="yes" select="app_maintainer_email"/>
<xsl:apply-templates select="maintainer"/>
</td>
</tr>
</xsl:if>
<tr>
<td>
<xsl:value-of select="lang_version"/>
</td>
<td>
<xsl:value-of select="app_version"/>
<xsl:value-of select="version"/>
</td>
</tr>
<xsl:if test="license != ''">
<tr>
<td>
<xsl:value-of select="lang_license"/>
</td>
<td>
<xsl:value-of select="app_license"/>
<xsl:value-of select="license"/>
</td>
</tr>
<xsl:choose>
<xsl:when test="app_source">
</xsl:if>
<xsl:if test="based_on != ''">
<tr>
<td valign="top"><xsl:value-of select="lang_based_on"/></td>
<td><xsl:value-of select="app_source"/></td>
<td><xsl:value-of select="based_on"/></td>
</tr>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="app_source_url">
</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="app_source_url"/>
<xsl:value-of select="based_on_url"/>
</xsl:attribute>
<xsl:value-of select="app_source_url_name"/>
<xsl:value-of select="based_on_url"/>
</a>
</td>
</tr>
</xsl:when>
</xsl:choose>
</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>
</xsl:template>

View File

@ -49,18 +49,18 @@
</td>
</tr>
<tr width="100%">
<td width="33%" class="info"><xsl:value-of select="user_info_name"/></td>
<td width="25%" class="info"><xsl:value-of select="user_info_name"/></td>
<xsl:choose>
<xsl:when test="current_users">
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
<td width="33%" class="info"><a href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
<td width="25%" class="info"><a href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
</xsl:when>
<xsl:otherwise>
<td width="33%"></td>
<td width="25%"></td>
</xsl:otherwise>
</xsl:choose>
<td width="33%" class="info" align="right"><xsl:value-of select="user_info_date"/></td>
<td>
<td class="info" width="25%" align="right"><xsl:value-of select="user_info_date"/></td>
<td width="25%">
<table cellspacing="0" cellpadding="0" align="right">
<tr>
<td><a href="{$home_link}" onMouseOver="" onMouseOut=""><img src="{$home_img}" border="0" name="nine" alt="{$home_title}" title="{$home_title}"/></a></td>