egroupware/phpgwapi/templates/default/msgbox.xsl

29 lines
1.0 KiB
XML
Raw Normal View History

2002-10-18 02:12:37 +02:00
<!-- $Id$ -->
2002-10-18 23:44:30 +02:00
<xsl:template name="msgbox">
2002-10-18 02:12:37 +02:00
<xsl:apply-templates select="msgbox_data"/>
</xsl:template>
<xsl:template match="msgbox_data">
<table cellpadding="2" cellspacing="0" align="center" class="msgbox">
2002-10-18 02:12:37 +02:00
<tr>
<td align="center" valign="middle">
2003-04-27 21:28:13 +02:00
<xsl:choose>
<xsl:when test="msgbox_img != ''">
<xsl:variable name="msgbox_img"><xsl:value-of select="msgbox_img"/></xsl:variable>
<xsl:variable name="msgbox_img_alt"><xsl:value-of select="msgbox_img_alt"/></xsl:variable>
<img src="{$msgbox_img}" alt="{$msgbox_img_alt}" title="{$msgbox_img_alt}" onMouseout="window.status='';return true;">
<xsl:attribute name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_msgbox_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</img><xsl:text>&nbsp;</xsl:text>
</xsl:when>
</xsl:choose>
<xsl:value-of disable-output-escaping="yes" select="msgbox_text"/>
2002-10-18 02:12:37 +02:00
</td>
</tr>
</table>
</xsl:template>