X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=b60f662e54c5222034baf8ba794ba85f4ac4bfeb;hb=afe6e01ca6b3e2ba559a26bb5375aa03737c5e12;hp=17563ffe7de56eedfa713e594b5f97884257bdb6;hpb=83353c716cfbfee0acdd353005a6548fd657e40e;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 17563ff..b60f662 100644 --- a/templates/admin/user.tpl +++ b/templates/admin/user.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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}