forked from extern/egroupware
update xslt
This commit is contained in:
parent
c7c3ba3e66
commit
3227a5dd8b
@ -6,16 +6,22 @@
|
||||
|
||||
<xsl:template match="delete">
|
||||
<table cellpadding="2" cellspacing="2" align="center">
|
||||
<tr>
|
||||
<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"><xsl:value-of select="lang_confirm_msg"/></td>
|
||||
<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">
|
||||
<td align="center" colspan="2" class="row_off">
|
||||
<table>
|
||||
<tr>
|
||||
<td><input type="radio" name="subs" value="move"/></td>
|
||||
@ -30,12 +36,49 @@
|
||||
</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" class="forms" name="confirm" value="{$lang_yes}" onMouseout="window.status='';return true;">
|
||||
<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"/>
|
||||
@ -58,3 +101,19 @@
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user