X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=596f8acf4b29e7abfd5f26612bfc4426fdae81ec;hb=173c80d7c9cd5fff543d86af380de6de028358eb;hp=ee9353262b55eabfa85a40b8e1a565d464a14271;hpb=4b88dabdf0236d2b7a147299eb7623c300bed770;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index ee93532..596f8ac 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 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,104 @@ {/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->profile() || !$user->perms} + + + + + {/if} - + {if $user->type eq 'xnet'} + - {foreach from=$alias item=a} + {foreach from=$alias key=address item=sub} {foreachelse} @@ -185,7 +202,7 @@   - +
- Permissions: + Permissions : - + +
- Type d'utilisateur : + Type d'utilisateur : - + +
- Prénom : + Nom affiché : - +
- Nom : + Nom complet : - +
- Sexe : + Nom annuaire : - +
+ Sexe : + +
+ Email : + + +
- Email: + Commentaire : - +
+ Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire)
- - + + Alias
- - + + - {$a.alias} + {$address}