forked from extern/egroupware
update xslt
This commit is contained in:
parent
5bd8c0a237
commit
c4237ef897
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
<xsl:template match="about_data">
|
<xsl:template match="about_data">
|
||||||
<table cellpadding="2" cellspacing="2" align="center" class="about">
|
<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="phpgw_logo" select="phpgw_logo"/>
|
||||||
<xsl:variable name="lang_url_statustext"><xsl:value-of select="lang_url_statustext"/></xsl:variable>
|
<xsl:variable name="lang_url_statustext" select="lang_url_statustext"/>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<a href="http://www.phpgroupware.org" target="_blank" onMouseover="window.status='{$lang_url_statustext}'; return true;" onMouseout="window.status=''; return true;">
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td width="20%">
|
||||||
<xsl:value-of select="lang_version"/>
|
<xsl:value-of select="lang_version"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -39,70 +39,89 @@
|
|||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="about_app">
|
<xsl:template match="about_app">
|
||||||
|
<xsl:variable name="icon" select="icon"/>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" class="th_text">
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<xsl:value-of disable-output-escaping="yes" select="app_descr"/>
|
<xsl:value-of select="description"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<xsl:if test="note != ''">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<i><xsl:value-of select="note"/></i>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</xsl:if>
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<xsl:value-of select="lang_written_by"/>
|
<xsl:value-of select="lang_author"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<xsl:value-of select="developers"/>
|
<xsl:value-of select="author"/>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr valign="top">
|
|
||||||
<td>
|
|
||||||
<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"/>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<xsl:value-of select="lang_version"/>
|
<xsl:value-of select="lang_version"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<xsl:value-of select="app_version"/>
|
<xsl:value-of select="version"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<xsl:if test="license != ''">
|
||||||
<td>
|
<tr>
|
||||||
<xsl:value-of select="lang_license"/>
|
<td>
|
||||||
</td>
|
<xsl:value-of select="lang_license"/>
|
||||||
<td>
|
</td>
|
||||||
<xsl:value-of select="app_license"/>
|
<td>
|
||||||
</td>
|
<xsl:value-of select="license"/>
|
||||||
</tr>
|
</td>
|
||||||
<xsl:choose>
|
</tr>
|
||||||
<xsl:when test="app_source">
|
</xsl:if>
|
||||||
<tr>
|
<xsl:if test="based_on != ''">
|
||||||
<td valign="top"><xsl:value-of select="lang_based_on"/></td>
|
<tr>
|
||||||
<td><xsl:value-of select="app_source"/></td>
|
<td valign="top"><xsl:value-of select="lang_based_on"/></td>
|
||||||
</tr>
|
<td><xsl:value-of select="based_on"/></td>
|
||||||
</xsl:when>
|
</tr>
|
||||||
</xsl:choose>
|
</xsl:if>
|
||||||
<xsl:choose>
|
<xsl:if test="based_on_url != ''">
|
||||||
<xsl:when test="app_source_url">
|
<tr>
|
||||||
<tr>
|
<td height="5"></td>
|
||||||
<td height="5"></td>
|
<td>
|
||||||
<td>
|
<a target="_blank">
|
||||||
<a target="_blank">
|
<xsl:attribute name="href">
|
||||||
<xsl:attribute name="href">
|
<xsl:value-of select="based_on_url"/>
|
||||||
<xsl:value-of select="app_source_url"/>
|
</xsl:attribute>
|
||||||
</xsl:attribute>
|
<xsl:value-of select="based_on_url"/>
|
||||||
<xsl:value-of select="app_source_url_name"/>
|
</a>
|
||||||
</a>
|
</td>
|
||||||
</td>
|
</tr>
|
||||||
</tr>
|
</xsl:if>
|
||||||
</xsl:when>
|
</xsl:template>
|
||||||
</xsl:choose>
|
|
||||||
|
<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>
|
</xsl:template>
|
||||||
|
@ -49,18 +49,18 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr width="100%">
|
<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:choose>
|
||||||
<xsl:when test="current_users">
|
<xsl:when test="current_users">
|
||||||
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
|
<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:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<td width="33%"></td>
|
<td width="25%"></td>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
<td width="33%" class="info" align="right"><xsl:value-of select="user_info_date"/></td>
|
<td class="info" width="25%" align="right"><xsl:value-of select="user_info_date"/></td>
|
||||||
<td>
|
<td width="25%">
|
||||||
<table cellspacing="0" cellpadding="0" align="right">
|
<table cellspacing="0" cellpadding="0" align="right">
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{$home_link}" onMouseOver="" onMouseOut=""><img src="{$home_img}" border="0" name="nine" alt="{$home_title}" title="{$home_title}"/></a></td>
|
<td><a href="{$home_link}" onMouseOver="" onMouseOut=""><img src="{$home_img}" border="0" name="nine" alt="{$home_title}" title="{$home_title}"/></a></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user