X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fxnetgrp%2Fmembres-edit.tpl;h=92a3833c81278b28a7033002976ca141de3e2b29;hb=85ddf64feaef343f5eb818bff53fc3c718428c59;hp=c25d8730fb249eec04312ee6eb6e8ba84bf2d614;hpb=be5a4adb62c3abe6c12fb020cf321bdb244ebc4b;p=platal.git diff --git a/templates/xnetgrp/membres-edit.tpl b/templates/xnetgrp/membres-edit.tpl index c25d873..92a3833 100644 --- a/templates/xnetgrp/membres-edit.tpl +++ b/templates/xnetgrp/membres-edit.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 *} @@ -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,95 +40,124 @@ {/literal} -

{$asso.nom} : gestion des membres

+

{$asso->nom} : gestion des membres

[Retour à l'annuaire]

- Édition du profil de {if "`$user.prenom` `$user.nom`"|trim}{$user.prenom} {$user.nom}{else}{$user.email}{/if} - {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'} - + type eq "virtual"}style="display: none"{/if}> + + + + - + type eq "virtual"}style="display: none"{/if}> + {if !$user->perms} {/if} + {/if} - {if $user.origine neq X} - + {if $user->type eq 'xnet'} + - {foreach from=$alias item=a} + {foreach from=$alias key=address item=sub} {foreachelse} @@ -197,7 +226,7 @@   - +
+ Identifiant unique : + + {$user->hruid} + {icon name="user_edit" title="Administer"} +
Permissions : - + +
+ Poste : + + +
Type d'utilisateur : - + +
+ Nom affiché : + + +
- Prénom : + Nom complet : - +
- Nom : + Nom annuaire : - +
Sexe : - + +
Email : - +
Commentaire : -
+
Poste, origine… (accessible à toutes les personnes autorisées à consulter l'annuaire)
@@ -177,14 +206,14 @@ Alias
- - + + - {$a.alias} + {$address}