X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=10ad40ad00171cc38a121430d90e011d35a8642f;hb=ce0d7be772306674fadaf020511871aba1683816;hp=822b4714b549e36fcc6f7dc6802ee68845261513;hpb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 822b471..10ad40a 100644 --- a/templates/admin/user.tpl +++ b/templates/admin/user.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -21,26 +21,38 @@ {**************************************************************************} -{if $smarty.post.u_kill_conf} -
+{if t($smarty.post.delete_account)} + {xsrf_token_field} -
- - Confirmer la suppression de l'utilisateur {$smarty.request.user_id} ({$mr.prenom} {$mr.nom} - X{$mr.promo})   - -
+
+ Confirmer la suppression de l'utilisateur {$user->hruid} + + {if $user->hasProfile()} +

+ Vider la fiche de + l'utilisateur. +

+ {else} +

+ state eq 'pending'}checked="checked"{/if} /> Supprimer le compte définitivement. +

+ {/if} +

+ + + +

+
-{elseif $user} +{elseif t($smarty.post.erase_account)} +

+ Retourner à la gestion des comptes +

+{else} {literal}