X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=7fc1b6a2705df9dbc567b2d313c51ca6d33194b6;hb=a386dd97793c5b24434f588e791932f9fbcfec1c;hp=874b5f8818e343201d841b79c516a3a3339b560b;hpb=5b516e6be17378ace0e375b9da14a46051bf0f4e;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 874b5f8..7fc1b6a 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}