[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/templates/default confirm_custom.xsl, 1.2
From: |
ceb |
Subject: |
[Phpgroupware-cvs] property/templates/default confirm_custom.xsl, 1.2 |
Date: |
Thu, 24 Feb 2005 14:36:32 -0000 |
Update of property/templates/default
Added Files:
Branch: MAIN
confirm_custom.xsl lines: +76 -0
Log Message:
committed prop-18-branch version to head
====================================================
Index: confirm_custom.xsl
<!-- $Id: confirm_custom.xsl,v 1.2 2005/01/13 17:00:04 ceb Exp $ -->
<xsl:template name="app_data">
<xsl:choose>
<xsl:when test="confirm">
<xsl:apply-templates select="confirm"/>
</xsl:when>
</xsl:choose>
</xsl:template>
<!-- update_cat -->
<xsl:template match="confirm">
<table cellpadding="2" cellspacing="2" align="center">
<xsl:choose>
<xsl:when test="msgbox_data != ''">
<tr>
<td align="left" colspan="3">
<xsl:call-template
name="msgbox"/>
</td>
</tr>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="lang_confirm_msg != ''">
<tr>
<td align="center"
colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
</tr>
<tr>
<td>
<xsl:variable
name="run_action"><xsl:value-of select="run_action"/></xsl:variable>
<xsl:variable
name="lang_yes"><xsl:value-of select="lang_yes"/></xsl:variable>
<form method="POST"
action="{$run_action}">
<input type="submit"
class="forms" name="confirm" value="{$lang_yes}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_yes_statustext"/>
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
</form>
</td>
<td align="right">
<xsl:variable
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
<a href="{$done_action}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_no_statustext"/>
<xsl:text>';
return true;</xsl:text>
</xsl:attribute>
<xsl:value-of
select="lang_no"/>
</a>
</td>
</tr>
</xsl:when>
<xsl:otherwise>
<tr>
<td align="center">
<xsl:variable
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
<a href="{$done_action}"
onMouseout="window.status='';return true;">
<xsl:attribute
name="onMouseover">
<xsl:text>window.status='</xsl:text>
<xsl:value-of select="lang_done_statustext"/>
<xsl:text>';
return true;</xsl:text>
</xsl:attribute>
<xsl:value-of
select="lang_done"/>
</a>
</td>
</tr>
</xsl:otherwise>
</xsl:choose>
</table>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/templates/default confirm_custom.xsl, 1.2,
ceb <=