X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=1b506c6137c8dc84aad7a6d8a4e9cb5fbd45f94b;hb=75691c6015d22f2630ea2eefcad0e23f20b4c347;hp=6baa2ecb1f291834922d34723335cce3f3919a75;hpb=0c50ac76147e7c3bffa90501559bdef63bb689e3;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 6baa2ec..1b506c6 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,7 +24,7 @@ {literal} function showInformations(box) { - var state = (box.value == 'ext') ? '' : 'none'; + var state = (box.value != 'virtual') ? '' : 'none'; document.getElementById('prenom').style.display = state; document.getElementById('sexe').style.display = state; document.getElementById('make_X').style.display = state; @@ -40,87 +40,94 @@ {/literal} -

{$asso.nom} : gestion des membres

+

{$asso->nom} : gestion des membres

[Retour à l'annuaire]

- Édition du profil de {$user.prenom} {$user.nom} - {if $user.origine eq 'X'} - (X{$user.promo}) - {icon name=user_suit title="fiche"} - {/if} - {icon name=delete title="Suppression du compte"} - {icon name=email title="mail"} + Édition du profil de {profile user=$user groupperms=false sex=false promo=true} + {icon name=email title="mail"}

+ {xsrf_token_field} - {if $user.origine neq X} + {if !$user->profile()} - + type eq "virtual"}style="display: none"{/if}> - + type eq "virtual"}style="display: none"{/if}> - + {/if} + + + + + {if $user->type eq 'xnet'} + - {foreach from=$alias item=a} + {foreach from=$alias key=address item=sub} {foreachelse}
- Permissions: + Permissions : - + +
Type d'utilisateur : - profile()} disabled="disabled"{/if}> + +
- Prénom : + Nom affiché : - + profile()} disabled="disabled"{/if} />
- Nom : + Nom complet : - + profile()} disabled="disabled"{/if} />
Sexe : - profile()} disabled="disabled"{/if}> + +
- Email: + Email : - + profile()} disabled="disabled"{/if} />
+ Commentaire : + +
+ Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire) +
- + Alias
- - + + - {$a.alias} + {$address}