X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fuser.tpl;h=b60f662e54c5222034baf8ba794ba85f4ac4bfeb;hb=afe6e01ca6b3e2ba559a26bb5375aa03737c5e12;hp=5c7a2894b7f08a99da90ae709440ff2fa4e7f675;hpb=1844170a21298371765ee2313669fa21f939421d;p=platal.git diff --git a/templates/admin/user.tpl b/templates/admin/user.tpl index 5c7a289..b60f662 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.uid} ({$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} -{/literal} -
- {xsrf_token_field} - - - - - - - - - - - - - -
- Administrer -
- Il est possible d'entrer ici n'importe quelle adresse mail : redirection, melix, ou alias. -
- -
-    -    - -
-
+ {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}