X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=acad6986c268f9b5732e0421fa95e74eb40eb204;hb=d49b4a9a031549236efab82b88b58c8cf3c1ed6c;hp=23db81351bb4cd22a018f517de024ebc9e5e67d1;hpb=d0327f6de73e81c4bcc656471ca4161e4f1e1e1b;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index 23db813..acad698 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-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -24,10 +24,11 @@ {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; + document.getElementById('password').style.display = state; } function showXInput(box) @@ -40,87 +41,144 @@ {/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 hasPerm('admin')} + + {/if} + + + - {if $user.origine neq X} + + + + + {if $user->type eq 'virtual' || ($user->type eq 'xnet' && !$user->perms)} - + + + + + + + + + + + + + {if $user->type neq "virtual"} + + + + + + + + + {/if} + type eq "virtual"}style="display: none"{/if}> + {if !$user->perms} - + {/if} + {/if} + + {if $asso->has_nl} - + {/if} + {if $user->type eq 'xnet'} + {/if} + {if $user->type eq 'xnet' && $suggest} + + + + {/if} + {if $user->type eq 'xnet' && $pending_xnet_account} + + + + {/if}
- Permissions: + Identifiant unique : -
+ Permissions : + +
+ Poste : + + +
Type d'utilisateur : - + +
Nom complet :{$user->fullName()}
Nom annuaire :{$user->directoryName()}
Nom : + +
Prénom : + +
Nom affiché : + +
- Prénom : + Sexe : - +
- Nom : + Email : - +
- Sexe : + Commentaire : - +
+ Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire)
- Email: + Newsletter : - + +  -  +
- +
+ +
+ +

Abonnement aux listes

@@ -165,14 +247,14 @@ Alias - {foreach from=$alias item=a} + {foreach from=$alias key=address item=sub} - - + + - {$a.alias} + {$address} {foreachelse} @@ -182,10 +264,10 @@

- +   -
+