forked from extern/egroupware
120 lines
3.4 KiB
XML
120 lines
3.4 KiB
XML
<!-- $Id$ -->
|
|
|
|
<xsl:template name="app_delete">
|
|
<xsl:apply-templates select="delete"/>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="delete">
|
|
<table cellpadding="2" cellspacing="2" align="center">
|
|
<xsl:choose>
|
|
<xsl:when test="lang_error_msg != ''">
|
|
<tr class="row_off">
|
|
<td align="center" colspan="2"><xsl:value-of select="lang_error_msg"/></td>
|
|
</tr>
|
|
</xsl:when>
|
|
</xsl:choose>
|
|
<tr>
|
|
<td align="center" colspan="2" class="row_on"><xsl:value-of select="lang_confirm_msg"/></td>
|
|
</tr>
|
|
|
|
<!-- delete sub -->
|
|
<xsl:choose>
|
|
<xsl:when test="subs = 'yes'">
|
|
<tr>
|
|
<td align="center" colspan="2" class="row_off">
|
|
<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>
|
|
|
|
<!-- delete account -->
|
|
|
|
<xsl:choose>
|
|
<xsl:when test="owner_list">
|
|
<tr>
|
|
<td align="center" colspan="2" class="row_off">
|
|
<table>
|
|
<tr>
|
|
<td><xsl:value-of select="lang_new_owner"/></td>
|
|
<td><xsl:value-of select="lang_sub_select_move"/></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</xsl:when>
|
|
</xsl:choose>
|
|
|
|
<!-- delete group -->
|
|
|
|
<xsl:choose>
|
|
<xsl:when test="user_list">
|
|
<tr>
|
|
<td align="center" colspan="2" class="row_off">
|
|
<table>
|
|
<xsl:apply-templates select="user_list"/>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" colspan="2" class="row_on">
|
|
<xsl:value-of select="lang_remove_user"/>
|
|
</td>
|
|
</tr>
|
|
</xsl:when>
|
|
</xsl:choose>
|
|
|
|
<tr>
|
|
<td>
|
|
<xsl:variable name="delete_url"><xsl:value-of select="delete_url"/></xsl:variable>
|
|
<xsl:variable name="lang_yes"><xsl:value-of select="lang_yes"/></xsl:variable>
|
|
<form method="POST" action="{$delete_url}">
|
|
<input type="submit" 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_url"><xsl:value-of select="done_url"/></xsl:variable>
|
|
<a href="{$done_url}" 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>
|
|
</table>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="user_list">
|
|
<xsl:variable name="user_url"><xsl:value-of select="user_url"/></xsl:variable>
|
|
<tr>
|
|
<td>
|
|
<a href="{$user_url}" onMouseout="window.status='';return true;">
|
|
<xsl:attribute name="onMouseover">
|
|
<xsl:text>window.status='</xsl:text>
|
|
<xsl:value-of select="lang_user_url_statustext"/>
|
|
<xsl:text>'; return true;</xsl:text>
|
|
</xsl:attribute>
|
|
<xsl:value-of select="user_name"/>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</xsl:template>
|