egroupware/phpgwapi/templates/default/app_delete.xsl

61 lines
2.0 KiB
XML
Raw Normal View History

2002-09-26 03:49:15 +02:00
<!-- $Id$ -->
2002-11-02 23:25:14 +01:00
<xsl:template name="app_delete">
<xsl:apply-templates select="delete"/>
</xsl:template>
2002-09-26 03:49:15 +02:00
<xsl:template match="delete">
2002-09-27 03:09:37 +02:00
<table cellpadding="2" cellspacing="2" align="center">
2003-04-21 00:14:39 +02:00
<tr>
<td align="center" colspan="2"><xsl:value-of select="lang_error_msg"/></td>
</tr>
2002-09-26 03:49:15 +02:00
<tr>
<td align="center" colspan="2"><xsl:value-of select="lang_confirm_msg"/></td>
</tr>
2003-04-21 00:14:39 +02:00
<xsl:choose>
<xsl:when test="subs = 'yes'">
<tr>
<td align="center" colspan="2">
<table>
<tr>
<td><input type="radio" name="subs" value="move"/></td>
<td><xsl:value-of select="lang_sub_select_move"/></td>
</tr>
<tr>
<td><input type="radio" name="subs" value="drop"/></td>
<td><xsl:value-of select="lang_sub_select_drop"/></td>
</tr>
</table>
</td>
</tr>
</xsl:when>
</xsl:choose>
2002-09-26 03:49:15 +02:00
<tr>
<td>
2003-04-20 16:15:01 +02:00
<xsl:variable name="delete_url"><xsl:value-of select="delete_url"/></xsl:variable>
2002-09-26 03:49:15 +02:00
<xsl:variable name="lang_yes"><xsl:value-of select="lang_yes"/></xsl:variable>
2003-04-20 16:15:01 +02:00
<form method="POST" action="{$delete_url}">
2002-10-03 05:47:43 +02:00
<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>
2002-09-26 03:49:15 +02:00
</form>
</td>
<td align="right">
2003-04-20 16:15:01 +02:00
<xsl:variable name="done_url"><xsl:value-of select="done_url"/></xsl:variable>
<a href="{$done_url}" onMouseout="window.status='';return true;">
2002-10-03 05:47:43 +02:00
<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>
2002-09-26 03:49:15 +02:00
</td>
</tr>
</table>
</xsl:template>