added msgbox xsl tpl

This commit is contained in:
ceb 2002-10-18 00:12:37 +00:00
parent d63e2607f8
commit 993f57719b

View File

@ -0,0 +1,24 @@
<!-- $Id$ -->
<xsl:template match="msgbox">
<xsl:apply-templates select="msgbox_data"/>
</xsl:template>
<xsl:template match="msgbox_data">
<table cellpadding="2" cellspacing="2" align="center" bgcolor="#FFFFFF">
<tr>
<td align="center">
<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}" 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:value-of select="msgbox_text"/>
</td>
</tr>
</table>
</xsl:template>